Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573346 - dev-libs/gmp-6.1.0 fails to crossemerge
Summary: dev-libs/gmp-6.1.0 fails to crossemerge
Status: RESOLVED DUPLICATE of bug 572038
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 23:12 UTC by Daniel Wagener
Modified: 2016-06-21 02:09 UTC (History)
0 users

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


Attachments
build.log (build.log,565.53 KB, text/plain)
2016-01-29 23:14 UTC, Daniel Wagener
Details
emerge --info (emerge_info,7.62 KB, text/plain)
2016-01-29 23:16 UTC, Daniel Wagener
Details
emerge -pqv '=dev-libs/gmp-6.1.0::gentoo' (emerge_pqv,626 bytes, text/plain)
2016-01-29 23:19 UTC, Daniel Wagener
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Wagener 2016-01-29 23:12:18 UTC
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
Comment 1 Daniel Wagener 2016-01-29 23:14:28 UTC
Created attachment 424192 [details]
build.log
Comment 2 Daniel Wagener 2016-01-29 23:16:14 UTC
Created attachment 424194 [details]
emerge --info
Comment 3 Daniel Wagener 2016-01-29 23:19:48 UTC
Created attachment 424196 [details]
emerge -pqv '=dev-libs/gmp-6.1.0::gentoo'

this is host…
Comment 4 Peter Levine 2016-02-03 05:27:25 UTC
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.
Comment 5 Peter Levine 2016-02-03 05:29:15 UTC
(In reply to Peter Levine from comment #4)
> causes it to successfully build.

Install and merge, I meant
Comment 6 SpanKY gentoo-dev 2016-06-21 02:09:21 UTC
seems to work now with current tree

*** This bug has been marked as a duplicate of bug 572038 ***