Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Feb 2022 01:31:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261760] dlopen asserts instead of returning an error
Message-ID:  <bug-261760-227-HxPe3sS99W@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261760-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261760-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261760

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=3D231592&action=
=3Dedit
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 produc=
es
the broken shared library.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261760-227-HxPe3sS99W>