OpenCores
Issue List
toolchain install error #118
Closed carbon301 opened this issue over 13 years ago
carbon301 commented over 13 years ago

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 make2: rsp-server.lo Error 1 make2: Leaving directory `/home/chkao/or32-build/or1ksim-0.4.0/debug' make1: all-recursive Error 1 make1: Leaving directory `/home/chkao/or32-build/or1ksim-0.4.0' make: *** all Error 2

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

thx.

julius commented over 13 years ago

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?

carbon301 commented over 13 years ago

I typed $gcc --version and the first line of output :

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

jeremybennett commented over 13 years ago
<p> This is believed fixed in Or1ksim 0.5.0rc2. Marking closed. </p>
jeremybennett closed this over 13 years ago

Assignee
No one
Labels
Request