OpenCores
no use no use 1/1 no use no use
or32-elf-gcc:crt0.S:36: Error: invalid character '.'
by fcerisier on Feb 6, 2013
fcerisier
Posts: 1
Joined: Nov 5, 2009
Last seen: Feb 9, 2025
Hi,

I'm trying to setup all the latest OrpSoC and tool chain.
I have used it in the past and had no issue.


While trying to compile the OrpSoC tests, I get the following error:
> svn co http://opencores.org/ocsvn/openrisc/openrisc/trunk
> cd orpsocv2/sim/run
> make rtl-tests
...
crt0.S: Assembler messages:
crt0.S:36: Error: invalid character '.' in mnemonic
crt0.S:37: Error: invalid character '.' in mnemonic
...

while compiling the crt0.o under orpsocv2/sw/drivers/or1200

The error points to l.movhi instruction which is not recognised by or32-elf-gcc


I'm running under a CentOS 5.9
I have installed libmpfr libgmp libmpc from sources as there is no packages under yum.

I have installed or32-elf tool chain from the link provided on the wiki
ftp://ocuser:ocuser@openrisc.opencores.org/toolchain/or32-elf-1.0rc1-CentOS-x86_64.tar.bz2

So I think I'm all on latest revisions of everything.


Anyone has an idea what is wrong ? Or where to investigate ?

I'm trying to install the tool chain from the source to check if there is any difference.

Regards,
Fran�§ois


no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.