Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 281595

Summary: dev-libs/elfutils-0.140 does not cross-compile
Product: Gentoo Linux Reporter: Christopher Friedt <chrisfriedt>
Component: [OLD] UnspecifiedAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: clabbe.montjoie
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christopher Friedt 2009-08-15 17:33:56 UTC
when cross-compiling elfutils for arm, it believe that it is being built for the CBUILD architecture and dies when it tries to execute the non-native binary.

=======================================================
armv5tel-softfloat-linux-gnueabi-gcc -Wall -Wshadow -Wunused  -std=gnu99 -fpic   -Os -pipe -mcpu=iwmmxt -fomit-frame-pointer -I/usr/armv5tel-softfloat-linux-gnueabi/usr/include/ -I/usr/armv5tel-softfloat-linux-gnueabi/include/  -L/usr/armv5tel-softfloat-linux-gnueabi/lib -L/usr/armv5tel-softfloat-linux-gnueabi/usr/lib -o i386_gendis i386_gendis.o i386_lex.o i386_parse.o ../lib/libeu.a -lm  
m4 -Di386 -DDISASSEMBLER ./defs/i386 | ./i386_gendis - > i386_dis.h
/bin/sh: ./i386_gendis: cannot execute binary file
make[2]: *** [i386_dis.h] Error 126
make[2]: Leaving directory `/usr/armv5tel-softfloat-linux-gnueabi/tmp/portage/dev-libs/elfutils-0.140/work/elfutils-0.140/libcpu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/armv5tel-softfloat-linux-gnueabi/tmp/portage/dev-libs/elfutils-0.140/work/elfutils-0.140'
make: *** [all] Error 2




Reproducible: Always

Steps to Reproduce:
1.armv5tel-softfloat-linux-gnueabi-emerge elfutils
2.
3.

Actual Results:  
failure

Expected Results:  
success
Comment 1 SpanKY gentoo-dev 2012-04-09 20:00:48 UTC
latest versions cross compile now
Comment 2 SpanKY gentoo-dev 2013-03-29 16:06:02 UTC
*** Bug 463652 has been marked as a duplicate of this bug. ***