On Tue, Dec 1, 2020 at 7:56 AM Thomas Andrejak <thomas.andre...@gmail.com> wrote: > > Can you explain what GCC options can interfere with this ?
--as-needed caused problems in the past. I think it was a linker bug. On occasion you needed to tame the linker with -Wl,--no-as-needed. The weird thing was, the need for -Wl,--no-as-needed was intermittent. Aslo see http://gcc.1065356.n8.nabble.com/g-Wl-as-needed-pthread-behaviour-td970392.html. Jeff