[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Toolchain sources for linux-microblaze-mmu



Hi Steve,

Steven Hein wrote:
I see that some folks are having success building this
new toolchain......but I'm not.       :-(

I'm using this command sequence to build the tools:

./build_linux_binutils.sh
./build_linux_gcc.sh
./build_linux_glibc.sh
./build_linux_gdb.sh

That sequence is correct.

And my build_linux_gcc build fails with this error:
/tmp/tools/microblaze-mmu-tools/release/lin/bin/mb-linux-as: unrecognized option `-Qy'
make[2]: *** [g++spec.o] Error 1
make[2]: Leaving directory `/tmp/tools/microblaze-mmu-tools/build/lin/bld_gcc/build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/tmp/tools/microblaze-mmu-tools/build/lin/bld_gcc/build'
make: *** [all] Error 2

Does anyone have any suggestions?    Am I using the wrong
sequence?     I'm building on a 32-bit Fedora 8 platform....
I'd appreciate any help!

I think you'll need to get a bit forensic on the error logs. The build scripts emit config and make logs in the ./build/bld_gcc/*_log subdirs.

Take a look, see if you can find the offending invokation of mb-linux-as with the -Qy option. Re-run that from the command line, make sure it's the same error. Try rerunning without that option, see what happens.

I'll try to dig out my build logs see if I can see whether your problem is

(a) your binutls is failing to accept -Qy when it should, or
(b) gcc's build is erroneously specifying this option.

This stuff is all part of why I hate building gcc. Life is better when I can pretend it is a binary blob that just works.

Cheers,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/