SOURCES: ktorrent-znow.patch (NEW) - -z now not recognized on ppc ...
sparky at pld-linux.org
sparky at pld-linux.org
Thu Oct 12 19:55:07 CEST 2006
On Thu, Oct 12, 2006 at 07:37:29PM +0200, glen wrote:
> Author: glen Date: Thu Oct 12 17:37:29 2006 GMT
> Module: SOURCES Tag: HEAD
> ---- Log message:
> - -z now not recognized on ppc and alpha
> +-LDFLAGS="$LDFLAGS -Wl -z now"
libtool script is changing order of arguments depending on what it
thinks they are, so using spaces in this case is totaly incorrect
because -Wl is treated like linker flag, -z probably as compiler flag
and 'now' as object file
AC binutils have -z now option on ppc:
$ ld --help | egrep 'elf32ppc.*:|-z now'
elf32ppclinux:
-z now Mark object non-lazy runtime binding
elf32ppc:
-z now Mark object non-lazy runtime binding
elf32ppcsim:
-z now Mark object non-lazy runtime binding
$ rpm -qf /usr/bin/ld
binutils-2.15.94.0.2.2-2
try:
LDFLAGS="$LDFLAGS -Wl,-z,now"
or:
LDFLAGS="$LDFLAGS -Wl,-z -Wl,now"
--
____ Sparky{PI] -- Przemyslaw _ ___ _ _ ........... LANG...Pl..Ca..Es..En
/____) ___ ___ _ _ || Iskra | | _ \| | | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// < | _/| | | : JID......sparky<at>jabberes.org
(____/|| (_-_|_|| ||\\ || |_ |_| |_| _| : Mail....sparky<at>pld-linux.org
More information about the pld-devel-en
mailing list