[PATCH] Add --enable-static-pie variants to x86_64, x32 and i686

Joseph Myers joseph@codesourcery.com
Tue Dec 19 16:55:00 GMT 2017


I see

FAIL: glibcs-x86_64-linux-gnu-static-pie check

with both GCC 6 and GCC 7, a linker error building elf/tst-prelink.

This is:

/scratch/jmyers/glibc-bot/install/compilers/x86_64-linux-gnu/lib/gcc/x86_64-glibc-linux-gnu/7.2.1/../../../../x86_64-glibc-linux-gnu/bin/ld: /scratch/jmyers/glibc-bot/build/glibcs/x86_64-linux-gnu-static-pie/glibc/elf/tst-prelink.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC

(and the same with GCC 6).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list