tst-prelink fails when built with -fPIC

Aurelien Jarno aurelien@aurel32.net
Fri Nov 25 14:12:00 GMT 2016


On 2016-11-25 12:49, Florian Weimer wrote:
> On 11/25/2016 11:28 AM, Aurelien Jarno wrote:
> >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.
> 
> What does the failure look like?

Running tst-prelink with LD_TRACE_PRELINKING=1 doesn't output the
following line for the stdout symbol:

  conflict 0xf7532000 0x00008598 -> 0x56559000 0x00003124 x 0xf7532000 0x001b3dfc /0 stdout

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net



More information about the Libc-alpha mailing list