This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
tst-prelink fails when built with -fPIC
- From: Aurelien Jarno <aurelien at aurel32 dot net>
- To: libc-alpha at sourceware dot org
- Date: Fri, 25 Nov 2016 11:28:32 +0100
- Subject: tst-prelink fails when built with -fPIC
- Authentication-results: sourceware.org; auth=none
Hi all,
Debian builds gcc 6.2 with --enable-default-pie, which correspond to
always passing -pie -fPIE -fPIC. This causes the tst-prelink to fail on
many architectures (at least arm, aarch64, i386, mips*) due to the use
of -fPIC.
Would it make sense to build this test with -fno-PIC? In that case I'll
send a patch.
Thanks,
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net