Bug#280445: libpthread miscompiled (wrong pic options) on s390
Package: libc6
Version: 2.3.2.ds1-18
Severity: serious
While the details previously mailed to me have alas now been lost, I
believe there is an upstream libc fix for s390 which is not yet in the
Debian package. In short, libpthread must be compiled with a certain
pic option (-fPIC or -fpic, not sure which) to prevent the following
relocation problem when compiling lam, for example:
cc -shared -Wl,-soname=liblam.so.4 -o debian/tmp/usr/lib/liblam.so.4.0 tmp/*/*.o -lpthread -lutil -ldl
/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
Hopefully Gerhard can give more information if needed.
Please let me know if this is a quick fix for Sarge, or whether I
should attempt a workaround in lam.
Take care,
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.20
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- no debconf information
Reply to: