RedMercury n00b
Joined: 22 Jul 2006 Posts: 3
|
Posted: Wed Dec 12, 2007 3:49 am Post subject: [FIXED] [ps3] gdb spu-elf crossdev emerge issue |
|
|
Hello,
I've got a PS3 system running gentoo. I've managed to use crossdev to get the spu toolchain up and running, apart from gdb-spu. I'm using the lu_zero overlay, layman -a cell, layman -a toolchain, and deleted the lu_zero toolchain/binutils (so I could actually build the spu toolchain).
Now, trying to get the gdb part working, I issue the command:
ps3 daniel # crossdev --ex-only --ex-gdb spu-elf
and I get:
>>> Unpacking source...
>>> Unpacking gdb-weekly-6.7.50.20071127.tar.bz2 to /var/tmp/cross/spu-elf/portage/cross-spu-elf/gdb-6.7.50.20071127/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/cross/spu-elf/portage/cross-spu-elf/gdb-6.7.50.20071127/work/gdb-6.7.50.20071127 ...
* econf: updating gdb-6.7.50.20071127/readline/support/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating gdb-6.7.50.20071127/readline/support/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating gdb-6.7.50.20071127/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating gdb-6.7.50.20071127/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=powerpc64-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --program-suffix=-6.7.50.20071127 --disable-werror --enable-nls --libdir=/usr/lib --target=spu-elf --build=powerpc64-unknown-linux-gnu
checking build system type... powerpc64-unknown-linux-gnu
..lots more stuff in log...
ending in the error:
>>> Completed installing gdb-6.7.50.20071127 into /var/tmp/cross/spu-elf/portage/cross-spu-elf/gdb-6.7.50.20071127/image/
strip: powerpc64-unknown-linux-gnu-strip --strip-unneeded -R .comment
usr/bin/gdb-6.7.50.20071127
usr/bin/gdbserver-6.7.50.20071127
usr/bin/gdbtui-6.7.50.20071127
lib64/libiberty.a
* QA Notice: Excessive files found in the / partition
* /var/tmp/cross/spu-elf/portage/cross-spu-elf/gdb-6.7.50.20071127/image/lib64/libiberty.a
*
* ERROR: cross-spu-elf/gdb-6.7.50.20071127 failed.
* Call stack:
* misc-functions.sh, line 576: Called install_qa_check
* misc-functions.sh, line 268: Called die
* The specific snippet of code:
* die "static archives (*.a) and libtool library files (*.la) do not belong in /"
* The die message:
* static archives (*.a) and libtool library files (*.la) do not belong in /
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/cross/spu-elf/portage/cross-spu-elf/gdb-6.7.50.20071127/temp/build.log'.
*
Now one thing that I had to do is put the keywork ppc64 in the overlay's ebuild. I could have put it in package.keywords, but it keeps getting overwritten by crossdev. Any ideas where these *.a files and *.la files should live, if not in / ?
Thanks for any help!
EDIT: I don't think it is actually / as in the root mount point, I think it is using / as meaning the build area in /var/tmp |
|