On Sat, Jun 25, 2005 at 11:02:16PM +0200, Kurt Roeckx wrote:
> Package: perdition
> Version: 1.17-1
> Severity: serious
> Tags: sid
> 
> Hi,
> 
> Your package is is not using -fPIC to make a shared lib.  This
> does not work on some arches, and results in your package
> failing to build:
> make[5]: Entering directory `/build/buildd/perdition-1.17/perdition/db/daemon'
> gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../ -I../../../perdition 
> -I../../../libjain -DPERDITIONDB_BDB_SYSCONFDIR=\"/etc/perdition\"    -g -O2 
> -c packet.c
> rm -f libperditiondb_daemon_packet.a
> ar cru libperditiondb_daemon_packet.a packet.o
> ranlib libperditiondb_daemon_packet.a
> [...]
> gcc -shared  .libs/perditiondb_daemon.o .libs/unix_socket.o  -ldb 
> -L/build/buildd/perdition-1.17/perdition/db/daemon 
> -lperditiondb_daemon_packet  -Wl,-soname -Wl,libperditiondb_daemon.so.0 -o 
> .libs/libperditiondb_daemon.so.0.0.0  -ldb 
> -L/build/buildd/perdition-1.17/perdition/db/daemon -lperditiondb_daemon_packet
> /usr/bin/ld: 
> /build/buildd/perdition-1.17/perdition/db/daemon/libperditiondb_da
> emon_packet.a(packet.o): relocation R_X86_64_32 can not be used when making a 
> s
> hared object; recompile with -fPIC
> /build/buildd/perdition-1.17/perdition/db/daemon/libperditiondb_daemon_packet.a:
>  could not read symbols: Bad value
> 
> Note that the packet.c did not get build using libtool,
> while the rest did.  libtool correctly set -fPIC to make
> the shared version for the other files that are getting
> linked in.
> 
> Policy section 10.2 says that shared libs should be build
> using -fPIC and static should be build without it.

Hi Kurt,

This bit of code has been highly problematic forever.
Thanks for bringing its still-broken state to my attention.
I will have another go at rearanging the code.
Any suggestions are more than welcome.

-- 
Horms


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to