Dan Kegel
Thu Jul 10 21:31:00 GMT 2003

Charles Lockhart wrote:
> Has anyone tried building a toolchain for the xilinx Virtex 2 Pro/IBM 
> PowerPC405 chip?  Results?

I'm trying to build a gcc3.2.3 toolchain right now for the PowerPC405.
There are a number of patches needed to support PPC without
FPU, and a few more to work around the ppc405's erratum 77.

I had this working with an earlier release of gcc / glibc...
see for my notes from back then.
If/when I get it working with modern gcc, I'll release a version
of crosstool with the needed patches built in.

At the moment, my static test apps are crashing with:

Program received signal SIGILL, Illegal instruction.
0x10012aac in __setfpucw ()
(gdb) bt
#0  0x10012aac in __setfpucw ()
#1  0x1000ec40 in init ()
#2  0x1000eca4 in __libc_init_first ()
#3  0x100004a8 in __libc_start_main ()

so I guess I didn't fully disable the FPU :-)
If I'm lucky, I just need to specify -mcpu=405 when building my glibc,
or something like that... maybe --with-cpu=405 is broken.  I'm rebuilding
now with -g, maybe that'll tell me more.
- Dan

Dan Kegel

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list