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

Bug 446104

Summary: sys-apps/coreutils-8.20: cross-compiling fails: /bin/sh: src/make-prime-list: cannot execute binary file
Product: Gentoo Linux Reporter: Ambroz Bizjak <ambrop7>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand, steev, zerochaos
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Ambroz Bizjak 2012-12-05 14:12:34 UTC
There seems to be a regression in coreutils from 8.16 to 8.20 that causes a build failure when cross compiling. The build system attempts to execute a cross-compiled binary "make_prime_list".

Reproducible: Always
Comment 1 Ambroz Bizjak 2012-12-05 14:13:14 UTC
Created attachment 331538 [details]
build log
Comment 2 SpanKY gentoo-dev 2012-12-07 20:39:17 UTC
upstream has fixed this in their git already.  i added a hack patch for 8.20.

http://sources.gentoo.org/gentoo/src/patchsets/coreutils/8.20/050_all_coreutils-primes.patch?rev=1.1