Camm Maguire wrote:
... /usr/lib/libpthread_nonshared.a(pthread_atfork.os)(.text+0x24): In function `__pthread_atfork': /build/buildd/glibc-2.3.2.ds1/build-tree/glibc-2.3.2/linuxthreads/pthread_atfork.c:39: relocation truncated to fit: R_390_GOT12 __dso_handle collect2: ld returned 1 exit status make: *** [debian/tmp/usr/lib/liblam.so.4.0] Error 1 Lam has always built successfully on s390 before -- is this a (hopefully transient) new bug in the threads library?
Hi,I was told, that the libpthread_nonshared.a has to be built with -fPIC (not -fpic). I am not sure if the following patch has been applied to Debians glibc
2003-07-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/m68k/Makefile: Remove CLFAGS-.oS addition. * Makeconfig (CFLAGS-.oS): Use PIC-ccflag instead of pic-ccflag. (PIC-ccflag): Define. Regards, Gerhard