Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255494 - x11-libs/fltk-2.0_pre6525: fails with --as-needed
Summary: x11-libs/fltk-2.0_pre6525: fails with --as-needed
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2009-01-19 11:24 UTC by Christian Ruppert (idl0r)
Modified: 2009-05-08 14:35 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,23.02 KB, text/plain)
2009-01-19 11:25 UTC, Christian Ruppert (idl0r)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ruppert (idl0r) gentoo-dev 2009-01-19 11:24: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).

Please note that this bug _might_ apply to -Wl,--as-needed in LDFLAGS as well;
in both cases it should be fixed. Also, if this is due to the package in
question not respecting user-defined LDFLAGS, you should get to fix that too.

Check the attached build log.
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2009-01-19 11:25:09 UTC
Created attachment 178975 [details]
build.log
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2009-04-10 21:32:07 UTC
Works fine with --as-needed in LDFLAGS. For the more advanced case please submit a patch ;-)
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2009-05-08 14:35:25 UTC
I added a patch from upstream ML, can you test if this issue is resolved in the new snapshot (2.0_pre6786)?