This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tst-prelink fails when built with -fPIC


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]