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

Bug 248017

Summary: net-irc/ezbounce: fails with forced --as-needed
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Packages in net-irc <net-irc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/proj/en/qa/asneeded.xml
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: Build log
Patch to move libraries to the end of the command that builds ezbounce

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-21 17:29:34 UTC
I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details).

Check the attached build log.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-21 17:29:58 UTC
Created attachment 172733 [details]
Build log
Comment 2 Kevin Pyle 2009-01-25 22:29:06 UTC
Created attachment 179706 [details, diff]
Patch to move libraries to the end of the command that builds ezbounce

This is the typical problem of specifying libraries too early in the link line.  The patch moves the libraries to the end, after the object files have been referenced.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-02 12:53:31 UTC
Thanks for the patch Kevin, fixed now.