https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286537

Konstantin Belousov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Konstantin Belousov <[email protected]> ---
(In reply to igor.polovykh from comment #3)
As you see, libthr is listed in the NEEDED libs first.  Since initalizers are
run in the reverse order (if libA is after libB, libA should be ready for libB
initialization), libc++ init is executed when libthr is not yet prepared.

As a workaround, you could try to run your binary with
LD_PRELOAD=/lib/libthr.so.3,
as the proper fix, change the order of the libraries on the linker command
line.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to