Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 21:42:09 +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: r465763 - head/audio/oss
Message-ID:  <201803272142.w2RLg9N5093889@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste (src committer)
Date: Tue Mar 27 21:42:08 2018
New Revision: 465763
URL: https://svnweb.freebsd.org/changeset/ports/465763

Log:
  audio/oss: set LLD_UNSAFE to link using ld.bfd
  
  This port fails when attempting to link with lld as the system linker.
  It passes -fPIC to the linker, which is actually a compiler flag.
  ld.bfd accepts the flag but it results in a bogus DT_AUXILIARY entry
  in the ouptut:
  
  Dynamic section at offset 0x5000 contains 15 entries:
    Tag                Type                  Name/Value
   0x000000007ffffffd AUXILIARY            Auxiliary library: [PIC]
  
  PR:		221807
  Approved by:	portmgr (LLD_UNSAFE blanket)
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/audio/oss/Makefile

Modified: head/audio/oss/Makefile
==============================================================================
--- head/audio/oss/Makefile	Tue Mar 27 21:38:01 2018	(r465762)
+++ head/audio/oss/Makefile	Tue Mar 27 21:42:08 2018	(r465763)
@@ -23,6 +23,7 @@ USE_GNOME=	gtk20
 USE_RC_SUBR=	oss
 SUB_FILES=	pkg-install pkg-deinstall
 ONLY_FOR_ARCHS=	amd64 i386
+LLD_UNSAFE=	yes
 
 KMODDIR=	${PREFIX}/lib/oss/modules
 



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