sundaram dodia
2014-07-22 11:23:23 UTC
Hi,
I am currently working for OR1k simulation setup(with future plan is to
implement OR_1200 soc design on Virtex-7 based hardware)
Have followed
https://opencores.org/or1k/OpenRISC_GNU_tool_chain#Prerequisites
steps for building Linux (uClibc) toolchain (or1k-linux-uclibc).
i was able to finish first 2 step but hitting issue during gcc stage-1
error snap is as below,
configure:3605: /opt/or1k_uclibc/openrisc/build-gcc/./gcc/xgcc
-B/opt/or1k_uclibc/openrisc/build-gcc/./gcc/
-B/opt/or1k_uclibc/or1k-toolchain/or1k-linux-uclibc/bin/
-B/opt/or1k_uclibc/or1k-toolchain/or1k-linux-uclibc/lib/ -isystem
/opt/or1k_uclibc/or1k-toolchain/or1k-linux-uclibc/include -isystem
/opt/or1k_uclibc/or1k-toolchain/or1k-linux-uclibc/sys-include -c -g -O2
conftest.c >&5
/opt/or1k_uclibc/openrisc/build-gcc/./gcc/as: 106: exec: -o: not found
configure:3609: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3623: error: in
`/opt/or1k_uclibc/openrisc/build-gcc/or1k-linux-uclibc/libgcc':
configure:3626: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
I have tried couple of solutions & configuration mode for resolving the
issue but not getting any clue to solve it please help me to resolve the
issue.
*Below are my system configurations.*
OS:- Ubuntu 14.04 32 bit
Processor i686
Note:- have took latest source for compilation.
please find attached config.log.
Regards
Dodia
I am currently working for OR1k simulation setup(with future plan is to
implement OR_1200 soc design on Virtex-7 based hardware)
Have followed
https://opencores.org/or1k/OpenRISC_GNU_tool_chain#Prerequisites
steps for building Linux (uClibc) toolchain (or1k-linux-uclibc).
i was able to finish first 2 step but hitting issue during gcc stage-1
error snap is as below,
configure:3605: /opt/or1k_uclibc/openrisc/build-gcc/./gcc/xgcc
-B/opt/or1k_uclibc/openrisc/build-gcc/./gcc/
-B/opt/or1k_uclibc/or1k-toolchain/or1k-linux-uclibc/bin/
-B/opt/or1k_uclibc/or1k-toolchain/or1k-linux-uclibc/lib/ -isystem
/opt/or1k_uclibc/or1k-toolchain/or1k-linux-uclibc/include -isystem
/opt/or1k_uclibc/or1k-toolchain/or1k-linux-uclibc/sys-include -c -g -O2
conftest.c >&5
/opt/or1k_uclibc/openrisc/build-gcc/./gcc/as: 106: exec: -o: not found
configure:3609: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3623: error: in
`/opt/or1k_uclibc/openrisc/build-gcc/or1k-linux-uclibc/libgcc':
configure:3626: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
I have tried couple of solutions & configuration mode for resolving the
issue but not getting any clue to solve it please help me to resolve the
issue.
*Below are my system configurations.*
OS:- Ubuntu 14.04 32 bit
Processor i686
Note:- have took latest source for compilation.
please find attached config.log.
Regards
Dodia