Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] uml: fix dynamic linking on some 64-bit distros

With Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>

The current UML build assumes that on x86-64 systems, /lib is a symlink
to /lib64, but in some distributions (like PLD and CentOS) they are
separate directories, so the 64 bit library loader isn't found. This
patch inserts /lib64 at the start of the rpath on x86-64 UML builds.

Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Rob Landley and committed by
Linus Torvalds
53c0b59d 9ce7677c

+4
+4
arch/um/Makefile-x86_64
··· 12 12 13 13 ELF_ARCH := i386:x86-64 14 14 ELF_FORMAT := elf64-x86-64 15 + 16 + # Not on all 64-bit distros /lib is a symlink to /lib64. PLD is an example. 17 + 18 + LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib64