Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Dec 2017 20:09:10 +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: r457313 - head/lang/mono
Message-ID:  <201712262009.vBQK9A1p068313@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste (src committer)
Date: Tue Dec 26 20:09:09 2017
New Revision: 457313
URL: https://svnweb.freebsd.org/changeset/ports/457313

Log:
  lang/mono: set LLD_UNSAFE to avoid linking with lld
  
  mono fails to link with lld because lld defaults to -ztext and does not
  allow relocations in readonly segments (such as the one containing
  .text).  For now just fall back to linking with ld.bfd if the system ld
  is lld.
  
  PR:		214864
  Approved by:	portmgr (LLD_UNSAFE blanket)
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/lang/mono/Makefile

Modified: head/lang/mono/Makefile
==============================================================================
--- head/lang/mono/Makefile	Tue Dec 26 19:30:17 2017	(r457312)
+++ head/lang/mono/Makefile	Tue Dec 26 20:09:09 2017	(r457313)
@@ -57,6 +57,7 @@ USE_GNOME=	glib20
 USE_PERL5=	build
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
+LLD_UNSAFE=	yes
 SHEBANG_FILES=	scripts/mono-heapviz
 
 CONFIGURE_ARGS=	--disable-dtrace



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