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

Bug 931599

Summary: dev-libs/mpdecimal-4.0.0 fails to compile: x86_64-pc-linux-gnu-ld: unrecognized option -Wl,-soname,libmpdec.so.4
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-05-08 19:03:10 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/mpdecimal-4.0.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-08 19:03:11 UTC
Created attachment 892539 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-08 19:03:47 UTC
It's invoking LD directly instead of using the compiler driver...
Comment 3 Larry the Git Cow gentoo-dev 2024-05-09 13:23:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e2a22d0add591a966424c9d7c602ff372db0eb7

commit 7e2a22d0add591a966424c9d7c602ff372db0eb7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-05-09 13:18:04 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-09 13:23:00 +0000

    dev-libs/mpdecimal: Override linker vars as well
    
    Closes: https://bugs.gentoo.org/931599
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-libs/mpdecimal/mpdecimal-4.0.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)