- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I tried to compile the Toolchain with the instructions given in http://www.nioswiki.com/installnios2linux (http://www.nioswiki.com/installnios2linux). It works fine inside my vmware opensuse-i686-image but not on my (new) opensuse x64 installation. if i enter: > linux32 make gcc elf3flt# linux32 is same like setarch i386 the compilationprocess allways fails with the message: /home/dmei/nios2-linux/toolchain-build/build/gcc-build/gcc/xgcc -shared-libgcc -B/home/dmei/nios2-linux/toolchain-build/build/gcc-build/gcc/ -nostdinc++ -L/home/dmei/nios2-linux/toolchain-build/build/gcc-build/nios2-linux-uclibc/mno-hw-mul/libstdc++-v3/src -L/home/dmei/nios2-linux/toolchain-build/build/gcc-build/nios2-linux-uclibc/mno-hw-mul/libstdc++-v3/src/.libs -B/home/dmei/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/bin/ -B/home/dmei/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/lib/ -isystem /home/dmei/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include -isystem /home/dmei/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/sys-include -mno-hw-mul -I/home/dmei/nios2-linux/gcc3/libstdc++-v3/../gcc -I/home/dmei/nios2-linux/toolchain-build/build/gcc-build/nios2-linux-uclibc/mno-hw-mul/libstdc++-v3/include/nios2-linux-uclibc -I/home/dmei/nios2-linux/toolchain-build/build/gcc-build/nios2-linux-uclibc/mno-hw-mul/libstdc++-v3/include-I/home/dmei/nios2-linux/gcc3/libstdc++-v3/libsupc++ -g -Os -g -Os -mno-hw-mul -fno-implicit-templates -Wall -W -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c /home/dmei/nios2-linux/toolchain-build/../gcc3/libstdc++-v3/libsupc++/eh_alloc.cc -o eh_alloc.o /tmp/ccpMzIcj.s: Assembler messages: /tmp/ccpMzIcj.s:1148: Internal error! Assertion failure in md_number_to_chars at /home/dmei/nios2-linux/toolchain-build/../binutils/gas/config/tc-nios2.c line 1353. Please report this bug. I found some information on google, but it only apply to the line 1837 and 1882 in tc-nios2.c. My Hostmachine is a OpenSuse 11.1, DualCore with x64Relase. gcc --version is gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] Thanks for any further input. domeLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IFAIR, There is a setting you need to do to compile the toolchain (and maybe also to use it) on a 64 bit system. I think instructions are given in the Wiki.
-Michael- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I spend a lot of time tto compile the toolchain under x86 64bits. However it doesn't work. My best advice is : use the toolchain under 32 bits architecture only. ;) If someone disagree. Please tell me how to do it. :rolleyes: (idea: the problem come from C long int conversion : in the nc_nios2.c)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page