Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281595 - dev-libs/elfutils-0.140 does not cross-compile
Summary: dev-libs/elfutils-0.140 does not cross-compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 463652 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-15 17:33 UTC by Christopher Friedt
Modified: 2013-03-29 16:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***