The openrisc bugtracker has been moved to: bugzilla.opencores.org. This page is read-only
toolchain installation on ubuntu 8.10
Information:
Type :: REQUEST
Status :: CLOSED
Assigned to ::
Julius, Baxter
Description:
Hi i tried to install the toolchain on ubuntu 8.10 ,but at the end of the installation the shell displays me this message :
Error during toolchain installation.
Please report this to the script maintainers.
A useful report would contain information such as the tools being built/"make"d when the error occurred and the relevant
lines of console output or log file relating to the error. It
also helps to include information about your the host OS and
version of GCC.
A good place to look for solutions, and report any bugs, is at
the OpenRISC project's bug tracker on OpenCores.org:
Can anyone help me, please?
Comments:
| Gupta, Saurabh | Nov 1, 2010 |
|---|---|
| I have similar error as leg strong has posted. Kindly please tell me what more information do you need to solve the problem. Thank you. | |
| Baxter, Julius | Oct 29, 2010 |
|---|---|
|
The last error here relates to or1ksim-0.4.0, the latest toolchain install script is using or1ksim-0.5.0rc2 and I'm quite sure these warnings have been resolved.
I am closing this as it's becoming more of a thread for bugs, rather than reports of a particular one. |
|
| leg, strong | Jul 12, 2010 |
|---|---|
|
And here is the problem:
=========================================================== /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/strongleg/Project/OpenRISC/or32-build/or1ksim-0.4.0/debug' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/strongleg/Project/OpenRISC/or32-build/or1ksim-0.4.0' make: *** [all] Error 2 ======================================================== It seems thers is a warning, but the compiler was told to treat any warning to be error |
|
| Baxter, Julius | Apr 16, 2010 |
|---|---|
|
Sorry, ignore my last comment, that was an accidental repost!
It looks like gmp.h is missing. I will look into what is needed. Regarding the or1ksim symlink thing, that's a different story, I'll also pass an eye over what the script is doing there. |
|
| Baxter, Julius | Apr 16, 2010 |
|---|---|
|
I will need more information about what went wrong.
Seehyun, can you look at the last log file it output to, gcc-4.2.2-rebuild-make.log, and see if you can spot the error message? |
|
| Kim, Seehyun | Apr 16, 2010 |
|---|---|
|
Julius,
I found the error message in config.log as follows: configure:2338: checking for correct version of gmp.h configure:2351: gcc -c -g -O2 conftest.c 1>&5 configure:2341:17: error: gmp.h: No such file or directory configure: In function 'main': configure:2345: error: 'choke' undeclared (first use in this function) configure:2345: error: (Each undeclared identifier is reported only once configure:2345: error: for each function it appears in.) configure:2345: error: expected ';' before 'me' configure: failed program was: #line 2340 "configure" #include "confdefs.h" #include "gmp.h" int main() { #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1) choke me #endif ; return 0; } There must be some packages to be installed in advance, right? |
|
| ingellis, giancarlo | Apr 15, 2010 |
|---|---|
|
sorry I forgot to paste the first part ....i hope it will be useful
Logging output to or1ksim-0.3.0-make.log Symbolically linking /usr/local/or1k/or1ksim-0.3.0 to /usr/local/or1k/or1ksim Symlink /usr/local/or1k/or1ksim already exists. Updating to this version unlink: cannot unlink `/usr/local/or1k/or1ksim': Is a directory ############################ERROR############################# Error during toolchain installation. Please report this to the script maintainers. A useful report would contain information such as the tool being built/"make"d when the error occurred and the relevant lines of console output or log file relating to the error. It also helps to include information about your the host OS and version of GCC. A good place to look for solutions, and report any bugs, is at the OpenRISC project's bug tracker on OpenCores.org: http://opencores.org/openrisc,bugtracker . |
|
| Baxter, Julius | Apr 15, 2010 |
|---|---|
|
I will need more information about what went wrong.
Seehyun, can you look at the last log file it output to, gcc-4.2.2-rebuild-make.log, and see if you can spot the error message? |
|
| Kim, Seehyun | Apr 15, 2010 |
|---|---|
|
I've got the same issue. For me, the script stopped at "Re-building or-32 gcc". The log message is like below:
|
|
Post a comment:
Login to post comments!
