Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[FIXED] [ps3] gdb spu-elf crossdev emerge issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
RedMercury
n00b
n00b


Joined: 22 Jul 2006
Posts: 3

PostPosted: Wed Dec 12, 2007 3:49 am    Post subject: [FIXED] [ps3] gdb spu-elf crossdev emerge issue Reply with quote

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
Back to top
View user's profile Send private message
RedMercury
n00b
n00b


Joined: 22 Jul 2006
Posts: 3

PostPosted: Wed Dec 12, 2007 5:35 pm    Post subject: Reply with quote

Fixed: I just deleted all files containing gdb from layman/toolchain/* so it diverted to the normal portage tree for GDB. I've tested an SPU program with GDB and it works a treat.

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum