u-boot-tools fails to cross-compile

Bug #299426 reported by Jacob Godserv
2
Affects Status Importance Assigned to Milestone
Gentoo for Pandora
Won't Fix
Critical
Jacob Godserv

Bug Description

[environment]
$ROOT: /usr/armv7a-softfloat-linux-gnueabi
$SYSROOT: /usr/armv7a-softfloat-linux-gnueabi
$PORTAGE_CONFIGROOT: /usr/armv7a-softfloat-linux-gnueabi
$CBUILD: i686-pc-linux-gnu

[software]
cross-armv7a-softfloat-linux-gnueabi/binutils-2.18-r3
cross-armv7a-softfloat-linux-gnueabi/gcc-4.3.2-r1
cross-armv7a-softfloat-linux-gnueabi/glibc-2.6.1
cross-armv7a-softfloat-linux-gnueabi/linux-headers-2.6.23-r3

[error]
arm-linux-gcc cannot be found (or something similar ;)

[discussion]
u-boot-tools does not obey the environment variables given, and instead uses a static value of "arm-linux-gcc" as its compiler.

Revision history for this message
Jacob Godserv (fun2program8) wrote :

I need someone else to confirm this bug by attempting to compile u-boot-tools using the latest instructions from docs/base-software-install.txt.

Changed in gentoo-arm-pandora:
assignee: nobody → fun2program8
Revision history for this message
Viridior (jacobgalbreath) wrote :

I'm willing to bet this is a problem that I've seen before with crossdev assigning the wrong toolchain. I usually start by checking gcc-config, binutils-config, and then source /etc/profile, etc.

Changed in gentoo-arm-pandora:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Viridior (jacobgalbreath) wrote :

This is a problem with the Makefile/cross-emerge... defaults to 'arm-linux-gnu' as toolchain if CROSS_COMPILE is not set, which it should be... workaround would be either making a 'arm-linux-gnu' pointer to reference a real toolchain or patch u-boot-tools makefile to work correctly.

Changed in gentoo-arm-pandora:
importance: High → Critical
Revision history for this message
Jacob Godserv (fun2program8) wrote :

Yep, I'm going to work on the fix this week. Thanks for confirming!

Changed in gentoo-arm-pandora:
status: Confirmed → In Progress
Revision history for this message
Jacob Godserv (fun2program8) wrote :

Viridior, I'd like to continue to patch bugs, but I don't want to do it unless we need it. I'm going to mark this bug as Won't Fix until further notice.

Changed in gentoo-arm-pandora:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.