Bug#252943: gnat-3.3: Libgnat seems to be build without -fPIC on amd64
Package: gnat-3.3
Version: 1:3.3.4-1
Severity: normal
Hi,
you probably can't do anything about but maybe you can check if the same
happens on other archs, ia64 for example.
It seems like libgnat is build without -fPIC
O|114.41|gnatgcc -o debian/tmp/libgnadeodbc.so.1.5.1 -shared -fPIC debian/tmp/obj/*.o \
O|114.41| -Wl,--soname,libgnadeodbc.so.1 \
O|114.41| -L/usr/lib/gcc-lib/`gnatgcc -dumpmachine`/`gnatgcc -dumpversion`/adalib -lgnat
E|115.09|/usr/bin/ld: /usr/lib/gcc-lib/x86_64-linux/3.3.4/adalib/libgnat.a(a-except.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
E|115.10|/usr/lib/gcc-lib/x86_64-linux/3.3.4/adalib/libgnat.a: could not read symbols: Bad value
E|115.10|collect2: ld returned 1 exit status
I will rebuild gcc and upload a full build log to alioth, in case you
are intrested.
MfG
Goswin
-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=C
Versions of packages gnat-3.3 depends on:
ii gcc-3.3 1:3.3.4-1 The GNU C compiler
ii gcc-3.3-base 1:3.3.4-1 The GNU Compiler Collection (base
ii libc6 2.3.2.ds1-13.0.0.1 GNU C Library: Shared libraries an
-- no debconf information
Reply to: