Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448348 - sys-fs/aufs-util-3.6 fails to cross-compile: ./ver: ./ver: cannot execute binary file
Summary: sys-fs/aufs-util-3.6 fails to cross-compile: ./ver: ./ver: cannot execute bin...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-23 23:57 UTC by Dennis Schridde
Modified: 2014-12-24 06:11 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 Dennis Schridde 2012-12-23 23:57:08 UTC
>>> Compiling source in /var/tmp/cross-powerpc64-unknown-linux-gnu/portage/sys-fs/aufs-util-3.6/work/aufs-util-3.6 ...
make -j3 
/mnt/ppc64/etc/crossdev-target/gcc -pipe -O2 -mcpu=cell -mabi=altivec -mgen-cell-microcode -I./libau -Wall  -I/mnt/ppc64/usr/src/linux-3.6.11-aufs//include -DMOUNT_CMD_PATH=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu  ver.c   -o ver
./ver
./ver: ./ver: cannot execute binary file
make: *** [ver_test] Error 126
rm ver
 * ERROR: sys-fs/aufs-util-3.6 failed (compile phase):


Reproducible: Always
Comment 1 Chris Reffett gentoo-dev Security 2012-12-25 03:33:56 UTC
Attach full build.log and paste emerge --info, please. (Also, just from looking at it: the error is probably because it's trying to execute a binary file that was built by a cross-compiler, which would almost certainly fail)
Comment 2 Jeroen Roovers gentoo-dev 2012-12-25 16:14:13 UTC
(In reply to comment #1)
> Attach full build.log and paste emerge --info, please.

All the required info is already here.