[Bug ld/32816] --{undefined,--require-defined} appears to fail against shared libraries

2025-04-04 Thread alkondratenko at gmail dot com
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

[Bug ld/32816] New: --{undefined,--require-defined} appears to fail against shared libraries

2025-03-23 Thread alkondratenko at gmail dot com
: 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