OpenCores

The openrisc bugtracker has been moved to: bugzilla.opencores.org. This page is read-only

toolchain install error

Back to bugtracker overview.

Information:
Type :: REQUEST
Status :: CLOSED
Assigned to :: nobody

Description:
I wanted to install GNU toolchains on Linux CentOS , but there are some error occured when installing it.



############################## Building or1ksim ################################

Decompressing source

Configuring or1ksim-0.4.0: --target=or32-elf --prefix=/home/chkao/or1ksim-0.4.0

Making and installing or1ksim-0.4.0
Logging output to or1ksim-0.4.0-make.log

############################ERROR#############################

Error during toolchain installation.


I went to check or1ksim-0.4.0-make.log and found Error message:


mv -f .deps/jtag.Tpo .deps/jtag.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT rsp-server.lo -MD -MP -MF .deps/rsp-server.Tpo -c -o rsp-server.lo rsp-server.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT rsp-server.lo -MD -MP -MF .deps/rsp-server.Tpo -c rsp-server.c -fPIC -DPIC -o .libs/rsp-server.o
cc1: warnings being treated as errors
rsp-server.c: In function ‘rsp_remove_matchpoint’:
rsp-server.c:2233: warning: dereferencing type-punned pointer will break strict-aliasing rules
rsp-server.c: In function ‘rsp_insert_matchpoint’:
rsp-server.c:2313: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[2]: *** [rsp-server.lo] Error 1
make[2]: Leaving directory `/home/chkao/or32-build/or1ksim-0.4.0/debug'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chkao/or32-build/or1ksim-0.4.0'
make: *** [all] Error 2

uh....how can I solve this problem???

thx.




Comments:

Bennett, Jeremy Oct 2, 2010

This is believed fixed in Or1ksim 0.5.0rc2. Marking closed.

kao, chih heng Aug 12, 2010
I typed $gcc --version
and the first line of output :

gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)

Baxter, Julius Aug 11, 2010
That's just a warning that's triggering an error during compilation of or1ksim.

Which version of GCC does the host system have?

Can you run:
$ gcc --version

then reply with the first line of output?

Post a comment:
Login to post comments!

Back to bugtracker overview.

© copyright 1999-2012 OpenCores.org, equivalent to ORSoC AB, all rights reserved. OpenCores®, registered trademark.