This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ppc64 and @tocbase
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Tue, 22 Sep 2015 11:35:39 +0200
- Subject: Re: ppc64 and @tocbase
- Authentication-results: sourceware.org; auth=none
- References: <56010D20 dot 1050206 at embedded-brains dot de> <20150922092300 dot GA29590 at bubble dot grove dot modra dot org>
On 22/09/15 11:23, Alan Modra wrote:
On Tue, Sep 22, 2015 at 10:11:12AM +0200, Sebastian Huber wrote:
powerpc-rtems4.12-gcc -m64 -O2 -c test.c -save-temps ; cat test.s
test.s: Assembler messages:
test.s:9: Error: junk at end of line, first unrecognized character is `@'
This one is because your assembler is in 32-bit mode.
Ok, so GCC doesn't pass enough options to the assembler.
test.s:14: Error: symbol `f' is already defined
Not sure exactly what's going on here, but check DEFAULT_ABI. My
guess is that it isn't ABI_AIX or ABI_ELFv2, in which case you're
trying to build a seriously bit-rotted 64-bit ABI_V4 compiler.
Thanks for the hint. It seems to be a seriously misconfigured GCC 6.0.
It is my first attempt to create a bi-arch powerpc-rtems GCC target
configuration.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.