Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277656 - app-misc/activylircd: fails with forced --as-needed
Summary: app-misc/activylircd: fails with forced --as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Helmut Auer
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2009-07-13 14:12 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-07-13 14:37 UTC (History)
2 users (show)

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

Build log (activylircd-0.4:20090713-125347.log,2.97 KB, text/plain)
2009-07-13 14:13 UTC, Diego Elio Pettenò (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-13 14:12:45 UTC
I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-13 14:13:13 UTC
Created attachment 197785 [details]
Build log
Comment 2 Matthias Schwarzott gentoo-dev 2009-07-13 14:37:46 UTC
Added a patch to insert LDFLAGS into the $(CC) lines of the Makefile.
Reorder compiler parameters to make --as-needed no longer fail (move libs to the end of the line).