View previous topic :: View next topic |
Author |
Message |
RFLudwick n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Apr 2007 Posts: 35
|
Posted: Fri Dec 28, 2012 5:42 pm Post subject: crossdev fails on cross-glibc |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54866 Location: 56N 3W
|
Posted: Fri Dec 28, 2012 6:02 pm Post subject: |
|
|
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 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 |
|
![](templates/gentoo/images/spacer.gif) |
RFLudwick n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Apr 2007 Posts: 35
|
Posted: Wed Jan 02, 2013 3:19 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|