Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC

Bug 448348

Summary: sys-fs/aufs-util-3.6 fails to cross-compile: ./ver: ./ver: cannot execute binary file
Product: Gentoo Linux Reporter: Dennis Schridde <devurandom>
Component: [OLD] Core systemAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal CC: creffett
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 (RETIRED) 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.