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

Bug 81058

Summary: Package readline doesn't build properly on solaris
Product: Gentoo Linux Reporter: devsk <funtoos>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pass appropriate options to linker for solaris

Description devsk 2005-02-06 18:35:34 UTC
emerge sys-libs/readline fails on solaris because ${S}/support/shobj-conf specifies both '-shared' and '-Wl,-i' to gcc which fails. The flags don't work for gnu linker but for solaris linker. The attached patch determines whether the linker used by gcc is a gnu linker or not and appropriately passes the right options.

This patch doesn't affect Linux functionality.
Comment 1 devsk 2005-02-06 18:36:19 UTC
Created attachment 50591 [details, diff]
pass appropriate options to linker for solaris
Comment 2 SpanKY gentoo-dev 2005-02-10 05:54:41 UTC
please send this patch upstream if you havent already
Comment 3 devsk 2005-02-10 07:34:34 UTC
I did send it upstream...but you know, the water just trickles from upstream compared to the river that is gentoo...:) so, can you please leave it open for a while and if people upstream are not keen, then we can look into moving it into the ebuild.

thanks.
Comment 4 SpanKY gentoo-dev 2005-02-10 08:52:16 UTC
i was going to add it to the ebuild, i just dont like fixes sitting in
Gentoo and never being sent upstream
Comment 5 SpanKY gentoo-dev 2005-02-10 21:10:27 UTC
now in portage