| « Fixing errors on the toolchain | Cell Toolchain - part II - act I - running in the gcc-cell lair » |
First gentoo system image for Cell done
It is basically a standard ppc64 image with gcc-cell native, the spe-elf toolchain and libspe. I tested it with the sistemsym a bit today and seems working as should soon I'll try to make a proper image for the simulator with a quite stripped down baselayout (since looks like it doesn't like at all doing much I/O from and to the disk but is blazing fast on memory, out init system uses too much the disk...)
Screenshots and instructions about how to craft it soon =)
2 comments
Comment from: Felipe [Visitor]
Have tried to use ir and have stucked in several errors, don't know exactly what is causing it...
1- crossdev -t spu (with all those parameters)
Caused an error on a missing Manifest in linux-headers. Easy to bypass
2- crossdev -t spu
new error in linux-headers...so I emerged it to see what is going on:
* Applying 2.6.16-ppc-memory.patch (-p0+) ... [ ok ]
* Applying 2.6.16-ppc-timex.patch (-p0+) ... [ ok ]
* Applying 2.6.16-ppc64-mc_types.patch (-p0+) ... [ ok ]
* Applying 2.6.16-rtc-includes.patch (-p0+) ... [ ok ]
* Applying 2.6.16-xfsprogs-swab-collision.patch (-p0+) ... [ ok ]
* Applying 2.6.8.1-strict-ansi-fix.patch (-p0+) ... [ ok ]
QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-spu-elf/linux-headers-2.6.16-r1
Here is the output:
!!! ERROR: cross-spu-elf/linux-headers-2.6.16-r1 failed.
Call stack:
ebuild.sh, line 1543: Called dyn_unpack
ebuild.sh, line 709: Called src_unpack
linux-headers-2.6.16-r1.ebuild, line 35: Called kernel-2_src_unpack
kernel-2.eclass, line 1001: Called unpack_2_6
kernel-2.eclass, line 361: Called die
!!! make mrproper failed
3- crossdev -t ppu
It locks simply, examining the process tables shows an ld eventually coming and going, logs stops exiting a make, very strange, can post here if necessary
1- crossdev -t spu (with all those parameters)
Caused an error on a missing Manifest in linux-headers. Easy to bypass
2- crossdev -t spu
new error in linux-headers...so I emerged it to see what is going on:
* Applying 2.6.16-ppc-memory.patch (-p0+) ... [ ok ]
* Applying 2.6.16-ppc-timex.patch (-p0+) ... [ ok ]
* Applying 2.6.16-ppc64-mc_types.patch (-p0+) ... [ ok ]
* Applying 2.6.16-rtc-includes.patch (-p0+) ... [ ok ]
* Applying 2.6.16-xfsprogs-swab-collision.patch (-p0+) ... [ ok ]
* Applying 2.6.8.1-strict-ansi-fix.patch (-p0+) ... [ ok ]
QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-spu-elf/linux-headers-2.6.16-r1
Here is the output:
!!! ERROR: cross-spu-elf/linux-headers-2.6.16-r1 failed.
Call stack:
ebuild.sh, line 1543: Called dyn_unpack
ebuild.sh, line 709: Called src_unpack
linux-headers-2.6.16-r1.ebuild, line 35: Called kernel-2_src_unpack
kernel-2.eclass, line 1001: Called unpack_2_6
kernel-2.eclass, line 361: Called die
!!! make mrproper failed
3- crossdev -t ppu
It locks simply, examining the process tables shows an ld eventually coming and going, logs stops exiting a make, very strange, can post here if necessary
08/08/06 @ 18:12
Comment from: Luca Barbato [Member]
For the linux headers and spu the simplest solution is to remove them (I'll do soon)
for the ppu ld issue looks like you built binutils with a toolchain too old, I know it is a pain but first update the host system to the latest ~ppc and then build it, it works as should.
for the ppu ld issue looks like you built binutils with a toolchain too old, I know it is a pain but first update the host system to the latest ~ppc and then build it, it works as should.
08/08/06 @ 18:55