On 6/4/10, Clint Adams <sch...@debian.org> wrote: > On Fri, Jun 04, 2010 at 11:01:11PM -0300, Nicolás Alvarez wrote: >> gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic -static >> conftest.c -ldl > > % gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic -static > conftest.c -ldl > /tmp/cc5vF3ae.o: In function `main': > /tmp/conftest.c:56: warning: Using 'dlopen' in statically linked > applications requires at runtime the shared libraries from the glibc version > used for linking > /usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in > `/usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/libc.a(strcmp.o)' can > not be used when making an executable; recompile with -fPIE and relink with > -pie > collect2: ld returned 1 exit status > > > What gcc and binutils are you using?
gcc (Debian 4.4.4-1) 4.4.4 GNU gold (GNU Binutils for Debian 2.20.1-system.20100303) 1.9 -- Nicolas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org