Hallo, All!

You know that Debian supports lots of arch's: arm, hppa, ia64, m68k, 
hurd, sh390, i386 ... And it has set up an even better infrastructure 
to build on all these archs even faster and that means ... build 
failures come faster!

This might be of interest to you:

Bug#171510: libggi_1:2.0.1+rc3-1(hppa/unstable): FTBFS: non-PIC in 
shared lib
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 
Package: libggi
Version: 1:2.0.1+rc3-1
Severity: serious

There was an error while trying to autobuild your package:
Shared libraries can only contain code that is built with -fPIC.
 ...
A full build log can be found at:
http://buildd.debian.org/build.php?arch=hppa&pkg=libggi&ver=1:2.0.1+rc3-1


Here is the last part of it:

gcc -shared  dga.lo  -Wl,--rpath 
-Wl,/build/buildd/libggi-2.0.1+rc3/ggi/.libs  -L/usr/lib 
../../../../ggi/.libs/libggi.so /usr/lib/libgii.so /usr/lib/libgg.so 
-L/usr/X11R6/lib -lX11 -lXext -lXxf86dga   -Wl,-soname 
-Wl,helper_x_dga.so -Wl,-retain-symbols-file -Wl,./EXPSYMS -o 
.libs/helper_x_dga.so
/usr/bin/ld: /usr/X11R6/lib/libXxf86dga.a(XF86DGA.o): relocation 
R_PARISC_DPREL21L can not be used when making a shared object; 
recompile with -fPIC
/usr/X11R6/lib/libXxf86dga.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[6]: *** [helper_x_dga.la] Error 1


Sigh, just wanted to go test ggi applications.
Seems, i've got to do some more. If i only knew what ...

'Some' hours later: in short: xf86dga was not built with -fPIC.
No dynamic lib may link a static lib (like, eg.  xf86dga) - not 
supported by some loaders. There are, however, as a workaround for 
dl_open'ed modules some xlibs built with -fPIC, mainly xf86dga here.

The long version can be found here:
http://lists.debian.org/debian-devel/2001/debian-devel-200111/msg00028.html

cu, martin

Reply via email to