Package: gcc Version: 4:4.7.2-1 Severity: important gcc cannot compile programs in amd64 with the -fPIE and -pie security flags. It seems that crt1.o is not compiled with -fPIC. I tested this with the "transmission" package:
Flags used: export CFLAGS="-pipe -O2 -fPIE" export CXXFLAGS="${CFLAGS}" export LDFLAGS="-Wl,-pie" ./configure Terminal output: checking whether the C compiler works... no configure: error: in `/home/riley/Desktop/transmission-2.77': configure: error: C compiler cannot create executables See `config.log' for more details Relevant content in config.log: configure:3759: checking whether the C compiler works configure:3781: gcc -pipe -O2 -fPIE -Wl,-pie conftest.c >&5 /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: relocation R_X86_64_32S against `__libc_csu_fini' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status