virtex2pro?
Dan Kegel
dank@kegel.com
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 http://kegel.com/xgcc3 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
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list