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
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 19 Dec 2017 16:55:19 +0000
- Subject: Re: [PATCH] Add --enable-static-pie variants to x86_64, x32 and i686
- Authentication-results: sourceware.org; auth=none
- References: <20171219010956.GA3478@gmail.com>
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