Skip to contentSkip to conversation

UML static linking and embedded library

uml-devel Ritesh Raj Sarraf 3 participants 4 messages Apr 3, 2012 – Apr 5, 2012 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello Richard and others,

I currently have 2 severity E(rrors) lintian rejects for the build I am preparing for Debian.

The details for both the rejects are explained at:

http://lintian.debian.org/tags/binary-or-shlib-defines-rpath.html
http://lintian.debian.org/tags/embedded-library.html

Richard, Is this something that can be worked out upstream?

If there were decisions cautiously made for a reason, I can work it out with an override to lintian. Just that I want to check out with you guys first.

Ritesh

-------- Original Message --------
Subject: user-mode-linux_3.2-1um-1_i386.changes REJECTED
Date: Mon, 02 Apr 2012 15:35:36 +0000
From: Debian FTP Masters <[email protected]>
To: Ritesh Raj Sarraf <[email protected]>, User Mode Linux Maintainers <[email protected]>

Reject Reasons:
user-mode-linux: lintian output: 'binary-or-shlib-defines-rpath usr/bin/linux.uml /lib', automatically rejected package.
user-mode-linux: If you have a good reason, you may override this lintian tag.

user-mode-linux: lintian output: 'embedded-library usr/bin/linux.uml:
libpcap', automatically rejected package.
user-mode-linux: If you have a good reason, you may override this lintian tag.

===

Please feel free to respond to this email if you don't understand why your files were rejected, or if you upload new files which address our concerns.

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw
Quoted 5 lines · Ritesh Raj Sarraf

Hello Richard and others,

I currently have 2 severity E(rrors) lintian rejects for the build I am preparing for Debian.

Quoted 7 lines

The details for both the rejects are explained at:

http://lintian.debian.org/tags/binary-or-shlib-defines-rpath.html
http://lintian.debian.org/tags/embedded-library.html

Richard, Is this something that can be worked out upstream?

Solving the first issue is straight forward.
For the second one I've to think a bit why Jeff took the current static linking approach.

Expect patches for both issues in 3.5. :-)

Signature · 12 lines
Thanks,
//richard

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#3 lore raw
Quoted 5 lines · richard -rw- weinberger

Solving the first issue is straight forward.
For the second one I've to think a bit why Jeff took the current static linking approach.

Expect patches for both issues in 3.5. :-)

Thanks. Can you prepare the patch?

We are going to ship Debian 7 (Wheezy) with kernel v3.2. Based on what you prepare, I will backport it.

Thanks,
Ritesh

Signature · 13 lines
Given the large number of mailing lists I follow, I request you to CC me
in replies for quicker response


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#4 lore raw
Quoted 11 lines · Ritesh Raj Sarraf
Quoted 5 lines · richard -rw- weinberger

Solving the first issue is straight forward.
For the second one I've to think a bit why Jeff took the current static linking approach.

Expect patches for both issues in 3.5. :-)

Thanks. Can you prepare the patch?

We are going to ship Debian 7 (Wheezy) with kernel v3.2. Based on what you prepare, I will backport it.

the rpath one should be as simple as the attached one but honestly I kind of recall there was a reason for RPATH to be defined. Maybe that reason is no longer valid though...

---
commit ea13ff7608ea92df6ffa41e1124e5d3e6d7984fb

Author: Mattia Dongili <[email protected]>
Date:   Fri Apr 6 07:18:17 2012 +0900

Remove unnecessary RPATH definition

arch/um/Makefile +0 -1
index 55c0661..b836776 100644
@@ -105,7 +105,6 @@ archheaders:
 archprepare: include/generated/user_constants.h
 
 LINK-$(CONFIG_LD_SCRIPT_STATIC) += -static
-LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib
 
 CFLAGS_NO_HARDENING := $(call cc-option, -fno-PIC,) $(call cc-option, -fno-pic,) \
 	$(call cc-option, -fno-stack-protector,) \
arch/x86/Makefile.um +0 -3
index 4be406a..8368350 100644
@@ -47,9 +47,6 @@ KBUILD_CPPFLAGS += -m64
 ELF_ARCH := i386:x86-64
 ELF_FORMAT := elf64-x86-64
 
-# Not on all 64-bit distros /lib is a symlink to /lib64. PLD is an example.
-
-LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib64
 LINK-y += -m64
 
 # Do unit-at-a-time unconditionally on x86_64, following the host
Signature · 12 lines
mattia
:wq!

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel