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

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



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

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!

Thanks,
Steve Hein
SGI, Inc.




John Yin wrote:
John,

FYI, I built the new tools and it works.  Tested it by
building a MMU enabled 2.6 kernel.  This also solved
my problem with the "Floating point exception" error
on the previous tools.

Thanks for sending out the link.

john
--- John Williams <jwilliams@xxxxxxxxxxxxxx> wrote:

  
Hi Greg,

Greg Steuck wrote:

    
Would it be possible to make the source code
      
bundle used for building
    
the cross compiler toolchain inside of this tar
      
ball available?
    
http://developer.petalogix.com/downloads/petalinux-mmu-v0.10.tar.gz
  
I've very recently received an updated MMU toolchain
from Xilinx (thanks 
Vasanth), which I've uploaded to the following URL:


    
http://developer.petalogix.com/downloads/microblaze-mmu-tools.tar.gz
  
It's about a 100Mb tarball, with build scripts and a
README.

The main thing I've done to this (in additions to
improvements from 
Xilinx since the first release) is to build gcc and
glibc against the 
PetaLinux 2.6.20 kernel headers.  In the earlier
release we had a built 
against 2.6.13 headers, which while not causing
obvious problems was 
still not correct when targeting a 2.6.20 kernel.

I've tested this toolchain here and it seems to be
working well - might 
as well get you trying the most recent version.

If you definitely want the older ones let me know
and I'll try to pull 
out a source package.  It was a much less friendly
build process than 
the new release, and required manual hackery to
wedge it into the 
PetaLinux /tools/* heirarchy.  The new build is much
cleaner in that 
respect.

This new build is also sort-of multilib'd - it
builds 3 versions for the 
m, bs, and bs/m combinations, and installes them in
a lib_proper 
directory.  It's not true multilib but it's a good
start.

I've modified the PetaLinux MMU build scripts to
pick up the correct 
version when assembling the root filesystem - this
will be in the next 
MMU release package which I hope to get out as soon
as next week if I can.

    
The prebuilt one inside of that archive doesn't
      
work on my glibc-2.3.6
    
based i386 Linux system. If I try to run, for
      
example, mb-linux-gcc, the
    
program dies inside ld-linux.so with a division by
      
zero
    
exception. Apparently the binaries are not
      
compatible with that version
    
of glibc.
      
That might explain it - the workstation where I
built those tools uses 
glibc 2.5... sigh...

    
I will happily run a build if we could get the
      
source and any
    
scripts/documentation that would allow us to
      
produce the
    
toolchain locally.
      
Let me know how you go with this package.

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/
  
    



      
___________________________
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/