Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2017 19:40:14 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448999 - head/audio/openal-soft
Message-ID:  <201708301940.v7UJeExd094788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste (src committer)
Date: Wed Aug 30 19:40:14 2017
New Revision: 448999
URL: https://svnweb.freebsd.org/changeset/ports/448999

Log:
  audio/openal-soft: set LLD_UNSAFE
  
  Linking with LLD currently fails due to preemption of symbols with
  protected visibility in a shared object:
  
  /usr/bin/ld: error: cannot preempt symbol: alIsExtensionPresent
  >>> defined in libopenal.so.1.18.0
  >>> referenced by examples/altonegen.c
  >>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)
  
  /usr/bin/ld: error: cannot preempt symbol: alcGetCurrentContext
  >>> defined in libopenal.so.1.18.0
  >>> referenced by examples/altonegen.c
  >>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)
  
  /usr/bin/ld: error: cannot preempt symbol: alcGetContextsDevice
  >>> defined in libopenal.so.1.18.0
  >>> referenced by examples/altonegen.c
  >>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)
  ...
  
  (Ports that depend on audio/openal-soft may also need to be tagged with
  LLD_UNSAFE.)
  
  PR:		219089
  Approved by:	kwm
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/audio/openal-soft/Makefile

Modified: head/audio/openal-soft/Makefile
==============================================================================
--- head/audio/openal-soft/Makefile	Wed Aug 30 19:32:00 2017	(r448998)
+++ head/audio/openal-soft/Makefile	Wed Aug 30 19:40:14 2017	(r448999)
@@ -16,6 +16,7 @@ CONFLICTS=	openal-200[0-9]*
 
 USES=		tar:bzip2 cmake compiler:c11
 USE_LDCONFIG=	yes
+LLD_UNSAFE=	yes
 CMAKE_ARGS=	-DSHARE_INSTALL_DIR:STRING=${ETCDIR} \
 		-DALSOFT_REQUIRE_OSS:BOOL=OFF \
 		-DALSOFT_REQUIRE_JACK:BOOL=OFF \



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