hello all, I'm trying to compile the microblaze-toolchain from source on a 64 bits linux system, but got stuck. The source from the petalogix repository doesn't compile. a first problem was solved with help of colleague: a declaration error in 2 header files of binutils/gas (just wondering if this is done on purpose by petalogix..). Anyhow, compilation proceeded with building of gcc, but it stopped after the first xgcc line after mkinstalldirs libgcc etc. I subsituted as cflag -m32 to force 32 bits cross tools and the build process got a bit further, but still an error. The following line is stopper:
_floatdisf.o /usr/local/microblaze/microblaze-toolchain-sources/build/lin/bld_gcc/gcc/xgcc
-B/usr/local/microblaze/microblaze-toolchain-sources/build/lin/bld_gcc/gcc/
-B/usr/local/microblaze/microblaze-toolchain-sources/release/lin/microblaze/microblaze/bin/
-B/usr/local/microblaze/microblaze-toolchain-sources/release/lin/microblaze/microblaze/lib/
-isystem /usr/local/microblaze/microblaze-toolchain-sources/release/lin/microblaze/microblaze/include
-isystem /usr/local/microblaze/microblaze-toolchain-sources/release/lin/microblaze/microblaze/sys-include
-O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -g
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I.
-I/usr/local/microblaze/microblaze-toolchain-sources/srcs/gcc/gcc
-I/usr/local/microblaze/microblaze-toolchain-sources/srcs/gcc/gcc/.
-I/usr/local/microblaze/microblaze-toolchain-sources/srcs/gcc/gcc/../include
-DL_fixunsdfsi -c /usr/local/microblaze/microblaze-toolchain-sources/srcs/gcc/gcc/libgcc2.c -o libgcc/./_fixunsdfsi.o /tmp/cceNkJta.s: Assembler messages: /tmp/cceNkJta.s:124: Error: operand must be absolute in range -2147483648..2147483647, not -1042284544 make[2]: *** [libgcc/./_fixunsdfsi.o] Error 1 make[2]: Leaving directory `/ usr/local/microblaze/microblaze-toolchain-sources/build/lin/bld_gcc/gcc
Somebody any idea how to solve this? Anybody succesful with building this toolchain with a 64 bit linux system (it's running suse 10.2)? Anybody willing to put a ready-to-run toolchain in a tarball somewhere?
Taco