freebsd-ports/games/aquaria
Jan Beich 92c3792abf games/aquaria: unbreak with LLD by default
Linking with LLD currently fails due to preemption of symbols with
protected visibility in a shared object:

/usr/bin/ld: error: cannot preempt symbol: alGetSourcei
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by BBGE/FmodOpenALBridge.cpp
>>>               CMakeFiles/aquaria.dir/BBGE/FmodOpenALBridge.cpp.o:(OggDecoder::decode_loop(OggDecoder*))

/usr/bin/ld: error: cannot preempt symbol: alSourceUnqueueBuffers
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by BBGE/FmodOpenALBridge.cpp
>>>               CMakeFiles/aquaria.dir/BBGE/FmodOpenALBridge.cpp.o:(OggDecoder::decode_loop(OggDecoder*))
[...]

For now set LLD_UNSAFE=yes so that the port will continue to link with
ld.bfd if /usr/bin/ld is lld, until the issue can be addressed (with a
change in openal-soft or in lld).

Reported by:	antoine (via bug 214864)
2018-01-06 05:58:42 +00:00
..
files games/aquaria: unbreak build with Clang 6 (C++14 by default) 2018-01-06 05:58:28 +00:00
distinfo
Makefile games/aquaria: unbreak with LLD by default 2018-01-06 05:58:42 +00:00
pkg-descr