svn commit: r458224 - head/games/aquaria
Jan Beich
jbeich at FreeBSD.org
Sat Jan 6 05:58:43 UTC 2018
Author: jbeich
Date: Sat Jan 6 05:58:42 2018
New Revision: 458224
URL: https://svnweb.freebsd.org/changeset/ports/458224
Log:
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)
Modified:
head/games/aquaria/Makefile (contents, props changed)
Modified: head/games/aquaria/Makefile
==============================================================================
--- head/games/aquaria/Makefile Sat Jan 6 05:58:28 2018 (r458223)
+++ head/games/aquaria/Makefile Sat Jan 6 05:58:42 2018 (r458224)
@@ -37,6 +37,7 @@ CMAKE_OFF= AQUARIA_INTERNAL_FREETYPE \
AQUARIA_INTERNAL_TINYXML2 \
AQUARIA_INTERNAL_ZLIB
LDFLAGS+= -Wl,--as-needed # avoid overlinking (vorbis deps)
+LLD_UNSAFE= yes # XXX ports/219089
SUB_FILES= pkg-message
PLIST_FILES= bin/aquaria
PORTDATA= *
More information about the svn-ports-head
mailing list