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

Bug 579452

Summary: dev-libs/gmp-6.0.0a: causes broken expr (and maybe other things)
Product: Gentoo/Alt Reporter: * <rfc469>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description * 2016-04-09 17:23:38 UTC
My system is OS X El Capitan (10.11.4).
I'm using an installation built with a successful bootstrap from bug 564814.
Using USE=gmp and linking against dev-libs/gmp-6.0.0a creates (at least) a broken expr on my system:

$ /opt/gentoo/bin/expr 262144 / 4
Segmentation fault: 11

That breaks the check for maximum length of command line arguments in configure, which may also break libtool. When I try to build anything with libtool after that it fails to link everything and I (sometimes but not always) get errors like:
ld: symbol(s) not found for architecture x86_64

See for example bug 578468 and bug 578566.

It seems to be fixed with dev-libs/gmp-6.1.0.

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2016-04-13 16:22:35 UTC
synced, thanks