https://sourceware.org/bugzilla/show_bug.cgi?id=32816
--- Comment #2 from Aliaksey Kandratsenka ---
As noted above, I have tried --no-as-needed. And yes it kinda "works", but it
is not great.
There several imperfections with --no-as-needed:
*) automake stuff insists on having only -lfoobar (and
: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: alkondratenko at gmail dot com
Target Milestone: ---
So I have libprofiler.so which is part of gperftools (.so contains CPU
profiling library). The program I link