Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81058 - Package readline doesn't build properly on solaris
Summary: Package readline doesn't build properly on solaris
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-06 18:35 UTC by devsk
Modified: 2005-02-10 21:10 UTC (History)
0 users

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


Attachments
pass appropriate options to linker for solaris (libreadline-shobj_conf.patch,736 bytes, patch)
2005-02-06 18:36 UTC, devsk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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