I am getting the same error as Clint Adams (Message 20) with just bintuils (and without binutils-gold)
rajulocal@hogwarts:~/x$ cat test.c int main(int argc, char **argv) { return 0; } rajulocal@hogwarts:~/x$ gcc -static -Wl,--export-dynamic test.c /usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie collect2: error: ld returned 1 exit status rajulocal@hogwarts:~/x$ dpkg -l gcc binutils libc6 ii binutils 2.22-8 amd64 GNU assembler, linker and binary utilities ii gcc 4:4.7.2-1 amd64 GNU C compiler ii libc6:amd64 2.13-38 amd64 Embedded GNU C Library: Shared libraries ii libc6:i386 2.13-38 i386 Embedded GNU C Library: Shared libraries rajulocal@hogwarts:~/x$ uname -a Linux hogwarts 3.2.0-4-amd64 #1 SMP Debian 3.2.39-2 x86_64 GNU/Linux This machine is a mixture of Debian Wheezy and Squeeze. -- Kamaraju S. Kusumanchi http://malayamaarutham.blogspot.com/