Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 02:26:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        games@FreeBSD.org
Subject:   [Bug 226980] openal-using ports fail to link when lld is the system linker
Message-ID:  <bug-226980-32059-Puyf8FTn5O@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-226980-32059@https.bugs.freebsd.org/bugzilla/>
References:  <bug-226980-32059@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=3D226980

maskray <emacsray@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emacsray@gmail.com

--- Comment #63 from maskray <emacsray@gmail.com> ---
Position-dependent object files compiled for main executable cannot call
protected functions defined in DSOs (PLT cannot be created as otherwise add=
ress
uniqueness is not guaranteed), e.g.

/usr/bin/ld: error: cannot preempt symbol: alcGetIntegerv
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by audio_openal.c
>>>               audio_openal.c.o:(openal_input)

alcGetIntegerv is STV_PROTECTED defined in a DSO. These object files for ma=
in
programs are incorrectly compiled without -fPIC/-fPIE. More appropriate fix=
es
might be add -fPIE to these programs depending on openal.

https://bugs.llvm.org//show_bug.cgi?id=3D30960 you'll get similar link erro=
rs if
you use modern binutils.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226980-32059-Puyf8FTn5O>