Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2017 16:24:15 +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: r457512 - head/audio/alure
Message-ID:  <201712291624.vBTGOF6b002796@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste (src committer)
Date: Fri Dec 29 16:24:15 2017
New Revision: 457512
URL: https://svnweb.freebsd.org/changeset/ports/457512

Log:
  audio/alure: 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: alureInitDevice
  >>> defined in libalure.so.1.2.0
  >>> referenced by examples/alurestream.c
  >>>               CMakeFiles/alurestream.dir/examples/alurestream.o:(main)
  
  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).
  
  PR:		214864, 219089
  Approved by:	portmgr (LLD_UNSAFE blanket)
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/audio/alure/Makefile

Modified: head/audio/alure/Makefile
==============================================================================
--- head/audio/alure/Makefile	Fri Dec 29 16:16:00 2017	(r457511)
+++ head/audio/alure/Makefile	Fri Dec 29 16:24:15 2017	(r457512)
@@ -1,4 +1,4 @@
-# Created by: nemysis <nemysis@gmx.ch>
+ # Created by: nemysis <nemysis@gmx.ch2
 # $FreeBSD$
 
 PORTNAME=	alure
@@ -14,6 +14,7 @@ LICENSE=	MIT
 
 USES=		cmake openal:soft pkgconfig
 USE_LDCONFIG=	yes
+LLD_UNSAFE=	yes	# lld disallows preemption of protected visibility syms
 CMAKE_ARGS=	-DBUILD_STATIC:BOOL=FALSE
 
 PORTDOCS=	*



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