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

Bug 241946

Summary: x11-misc/habak: --as-needed "fix" is just breaking the build further
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
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    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-14 12:34:31 UTC
The current --as-needed "fix" in the ebuild is making the build of habak worse, since you're moving LDFLAGS from just after the compiler to the end, so that they are _ignored_ for all the object files and libraries (LDFLAGS are positional: they only work for the inputs coming _after_ them).

If you look at the --as-needed fixing guide there's the proper order of parameters in a linking call to the compiler. In the mean time I'd suggest to remove that "fix" and let the package fail rather than hiding a bug.

Thanks,
Diego
Comment 1 Łukasz Damentko (RETIRED) gentoo-dev 2008-10-30 16:12:45 UTC
Reassigning to maintainer-needed since lucass has left Gentoo, bug #50581"
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-13 23:28:21 UTC
Closing this since I reopened the other one and reverted the so-called fix.