PPC64 GOT alignment trouble

Andrew Stubbs andrew_stubbs@mentor.com
Mon Oct 19 15:01:00 GMT 2015


On 19/10/15 12:00, Alan Modra wrote:
> On Mon, Oct 19, 2015 at 10:23:33AM +0100, Andrew Stubbs wrote:
>> On 18/10/15 02:51, Alan Modra wrote:
>>> So I applied the patch and ran the testsuite on powerpc64-linux.
>>> Turns out I was correct to suspect the warning would trigger when it
>>> shouldn't.  These new failures appeared:
>>
>> Huh? I ran those tests and they pass!
>>
>> Just to be sure, I've just rebuilt and re-run, twice, and they still pass.
>
> I was testing natively, but I see a whole lot of errors on an
> x86_64-linux to powerpc64-linux cross too, configured using
>
> /src/binutils-gdb/configure --build=x86_64-linux \
> --target=powerpc64-linux --disable-nls --enable-plugins \
> --disable-gdb --disable-sim --disable-readline --disable-libdecnumber

I've got

/path/to/binutils/configure --build=i686-pc-linux-gnu \
         --target=powerpc-linux-gnu --host=i686-pc-linux-gnu \
         --enable-64-bit-bfd --disable-gdb \
         --disable-libdecnumber --disable-readline \
         --disable-sim --disable-nls --enable-plugins

Looks like the main difference is mine runs on 32-bit hosts. I hope 
that's not significant!

/me goes to check.

Andrew



More information about the Binutils mailing list