[Bug 261760] dlopen asserts instead of returning an error

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Feb 2022 01:31:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261760

Yuri Victorovich <yuri@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #231592|text/x-c++src               |text/plain
          mime type|                            |

--- Comment #14 from Yuri Victorovich <yuri@freebsd.org> ---
Created attachment 231592
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231592&action=edit
shlib.cpp

I am building the shared library libx.so from the attached shlib.cpp using the
attached script mk-shlib.sh

Regardless of the order of -pthread and -lGL in mk-shlib.sh it still produces
the broken shared library.

Is this a toolchain problem that changing the order of libraries in the command
line doesn't change the order they are loaded in?

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