This bug is to track packages which bugs that crop up related to --as-needed. Information about --as-needed can be found at:
Please add depends on bug #130199
please add depends on http://bugs.gentoo.org/show_bug.cgi?id=113975
Please add "depends on <A HREF="http://bugs.gentoo.org/show_bug.cgi?id=140179">bug #140179</A>
There is no QA policy anywhere about this. Its probably a nice thing to fix, but nothing QA is going to be actively pursuing right now. I'm reassigning this to flameeyes since he was the one that published that document under QA's space on gentoo.org.
Please add depends on bug #232416
This bug should also depend on bug 244547.
Please use a different tracker bug for --as-needed breakages when forced on with gcc spec files stuff, that don't break with LDFLAGS set in make.conf or otherwise.
Then this tracker can show if a user enabling it in LDFLAGS is safe or not, while the other shows what needs fixing before a spec file based approach is viable if that is desired and what could use some fixing to honor LDFLAGS more.
This tracker is filled with too many bugs already, so as this is a different case, I think different trackers would make perfect sense and sanity, while the council discussion in #234710 can be made to be blocked by this and the other proposed tracker when a spec file based approach is decided to be preferred for a global scope enabling. (and no, I don't agree with that approach as to my knowledge it affects out-of-portage gcc usage as well)
Please keep everything that fails with as-needed on this tracker. If we want to break it up later, we can, but I'd rather have one place to find every single thing that fails when built with as-needed (be it via LDFLAGS, or forced if necessary).
I believe bug #337788 should be added. sys-devel/gcc-4.4.4-r2 no respect for LDFLAGS
(In reply to comment #9)
> I believe bug #337788 should be added. sys-devel/gcc-4.4.4-r2 no respect for
Failing with --as-needed is not the same as disrespecting LDFLAGS.
I thinks, this bug depend to http://bugs.gentoo.org/show_bug.cgi?id=362685
Please add depends on: