This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add --enable-static-pie variants to x86_64, x32 and i686
On Tue, Dec 19, 2017 at 8:55 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> 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).
This is:
https://sourceware.org/bugzilla/show_bug.cgi?id=22630
--
H.J.