installation tries to relink against host's libm, cross-ld bails out Reproducible: Always Steps to Reproduce: 1. setup cross toolchain via crossdev 2. emerge dev-libs/gpm or @system 3. observe Actual Results: crossemerge fails Expected Results: installation links against target's libm or does not relink at all, emerge succeeds ebuild avoids autotools, states this is necessary because it is a gcc dependency
Created attachment 424192 [details] build.log
Created attachment 424194 [details] emerge --info
Created attachment 424196 [details] emerge -pqv '=dev-libs/gmp-6.1.0::gentoo' this is host…
I can confirm this bug while cross-compiling (CHOST=armv7a-hardfloat-linux-gnueabi CBUILD=x86_64-pc-linux-gnu). Adding the "--with-sysroot=" configure option with the correct ROOT directory doesn't help. Adding "-L" with the correct library location (in my case -L/usr/armv7a-hardfloat-linux-gnueabi/usr/lib) to the LDFLAGS as a workaround causes it to successfully build.
(In reply to Peter Levine from comment #4) > causes it to successfully build. Install and merge, I meant
seems to work now with current tree *** This bug has been marked as a duplicate of bug 572038 ***