Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2018 06:01:14 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r458226 - branches/2018Q1/games/aquaria
Message-ID:  <201801060601.w0661E9j015886@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Jan  6 06:01:14 2018
New Revision: 458226
URL: https://svnweb.freebsd.org/changeset/ports/458226

Log:
  MFH: r458224
  
  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)
  Approved by:	ports-secteam blanket

Modified:
  branches/2018Q1/games/aquaria/Makefile
Directory Properties:
  branches/2018Q1/   (props changed)

Modified: branches/2018Q1/games/aquaria/Makefile
==============================================================================
--- branches/2018Q1/games/aquaria/Makefile	Sat Jan  6 06:00:01 2018	(r458225)
+++ branches/2018Q1/games/aquaria/Makefile	Sat Jan  6 06:01:14 2018	(r458226)
@@ -37,6 +37,7 @@ CMAKE_ARGS+=	-DAQUARIA_DEFAULT_DATA_DIR="${DATADIR}" \
 		-DAQUARIA_INTERNAL_TINYXML2=off \
 		-DAQUARIA_INTERNAL_ZLIB=off
 LDFLAGS+=	-Wl,--as-needed # avoid overlinking (vorbis deps)
+LLD_UNSAFE=	yes # XXX ports/219089
 SUB_FILES=	pkg-message
 PLIST_FILES=	bin/aquaria
 PORTDATA=	*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801060601.w0661E9j015886>