Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
crossdev fails on cross-glibc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
RFLudwick
n00b
n00b


Joined: 03 Apr 2007
Posts: 35

PostPosted: Fri Dec 28, 2012 5:42 pm    Post subject: crossdev fails on cross-glibc Reply with quote

I'm building Gentoo for the Raspberry Pi, and I'm absolutely stuck on getting the crossdev toolchain built. Using the command:

Code:
crossdev -S -v -t armv6j-hardfloat-linux-gnueabi


build.log: http://pastebin.com/xx9piSck
config.log: http://pastebin.com/XsfyYL5u

I've tried using the following command to invoke a different libc version:

Code:
crossdev -S -v --l "=2.17" -t armv6j-hardfloat-linux-gnueabi


Same error on that one. I've tried modifying the following file to specify the arch properly:

Code:
/usr/armv6j-hardfloat-linux-gnueabi/etc/portage/make.conf


Same error too. I've already updated to the latest GCC version for my local machine and the target. I have no idea how to fix the problem. I've already stopped by #gentoo on freenode, and they sent me here...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Fri Dec 28, 2012 6:02 pm    Post subject: Reply with quote

RFLudwick,

Whan I built it on a ~amd64 box I used
Code:
crossdev -v -t armv6j-hardfloat-linux-gnueabi
thats without the stable switch.
Today I get sys-devel/crossdev-20120913 and
Code:
crossdev -v -t armv6j-hardfloat-linux-gnueabi
(without the -S) builds a cross toolchain for me.

Your
Code:
emerge --info
may help.

Also look in your /lib, /usr/lib and so on for any *.la files. They are not needed and will be a cause of link failures when you do start building ARM code in your cross environment.
Don't delete them right now, move them into a sub directory called ./old_la_files, in case you ever find a use for them.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RFLudwick
n00b
n00b


Joined: 03 Apr 2007
Posts: 35

PostPosted: Wed Jan 02, 2013 3:19 pm    Post subject: Reply with quote

I first tried moving all of the .la files to an _old_la_files directory within each directory that held .la files. No go there. But then I removed the stable flag from crossdev, and that did the trick. I don't know if it was the combination of the .la files move, or just the non-stable toolchain build, but that was it. I haven't been able to use the toolchain yet, but nonetheless that did the trick. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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