This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PPC64 GOT alignment trouble
- From: Alan Modra <amodra at gmail dot com>
- To: Andrew Stubbs <andrew_stubbs at mentor dot com>
- Cc: Andrew Stubbs <ams at codesourcery dot com>, Binutils <binutils at sourceware dot org>
- Date: Tue, 20 Oct 2015 10:39:54 +1030
- Subject: Re: PPC64 GOT alignment trouble
- Authentication-results: sourceware.org; auth=none
- References: <561F7683 dot 7070304 at codesourcery dot com> <561F8E92 dot 2060002 at codesourcery dot com> <20151015142143 dot GC13961 at bubble dot grove dot modra dot org> <5621240F dot 9010901 at codesourcery dot com> <20151018015103 dot GF13961 at bubble dot grove dot modra dot org> <5624B695 dot 8090909 at codesourcery dot com> <20151019110056 dot GI13961 at bubble dot grove dot modra dot org> <562505C2 dot 2090407 at mentor dot com>
On Mon, Oct 19, 2015 at 04:01:22PM +0100, Andrew Stubbs wrote:
> On 19/10/15 12:00, Alan Modra wrote:
> >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!
No, the main difference is that you have a powerpc-linux target while
I have powerpc64-linux. Your binutils has support for
powerpc64-linux, but I doubt you are testing powerpc64-linux.
--
Alan Modra
Australia Development Lab, IBM