This is the mail archive of the mailing list for the binutils 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: ppc64 and @tocbase

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  :
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

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