>This looks like more of a glibc question than a gcc question. I would >suggest reading > https://sourceware.org/glibc/wiki/Testing/Builds Yes I am able to link to the new glibc with "-Wl,-rpath" and "-Wl,--dynamic-linker ". But, even with the default libc on the system, I am not able to link statically. $ gcc -o test -Wl,--emit-relocs -Wl,-Bstatic test.o /usr/bin/ld: cannot find -lgcc_s/usr/bin/ld: cannot find -lgcc_s collect2: error: ld returned 1 exit status I ask that on glibc list, but it seems that this is a gcc related problem.I am confused... Regards, Mahmood | | | | Testing/Builds - glibc wiki | | |