Package: dietlibc-dev Version: 0.31-1.2 Severity: important I cannot build a shared library linked with dietlibc on amd64 (but it works on i386). Here is an example with the error message:
$ cat > dso.c int toto1(){} $ diet gcc -o dso.o -c dso.c $ diet gcc -shared -o libdso.so dso.o /usr/bin/ld: dso.o: relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC dso.o: could not read symbols: Bad value collect2: ld returned 1 exit status $ $ diet gcc -fPIC -o dso.o -c dso.c $ diet gcc -shared -o libdso.so dso.o /usr/bin/ld: /usr/lib/diet/lib-x86_64/libc.a(errno_location.o): relocation R_X86_64_32 against `errno' can not be used when making a shared object; recompile with -fPIC /usr/lib/diet/lib-x86_64/libc.a: could not read symbols: Bad value collect2: ld returned 1 exit status (and that works on sid/i386 without -fPIC) -- System Information: Debian Release: 5.0.5 APT prefers stable APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash dietlibc-dev depends on no packages. Versions of packages dietlibc-dev recommends: pn dietlibc <none> (no description available) Versions of packages dietlibc-dev suggests: ii dietlibc-doc 0.31-1.2 diet libc documentation - a libc o -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org