Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2018 13:55:28 +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: r480740 - head/emulators/tuxnes
Message-ID:  <201809261355.w8QDtSe6089511@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste (src committer)
Date: Wed Sep 26 13:55:28 2018
New Revision: 480740
URL: https://svnweb.freebsd.org/changeset/ports/480740

Log:
  emulators/tuxnes: set LLD_UNSAFE on i386
  
  This port builds and runs a build tool, which segfaults when lld is the
  i386 system linker:
  
  cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing  -pipe -Wall
      -I/usr/local/include  -I/usr/local/include -fstack-protector
      -o comptbl  comptbl.o  -lm -lz -lXext -lXpm   -lSM -lICE -lX11
      -L/usr/local/lib
  ./comptbl
  gmake[1]: *** [Makefile:414: compdata] Segmentation fault (core dumped)
  
  PR:		214864
  Approved by:	portmgr (lld blanket)
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/emulators/tuxnes/Makefile

Modified: head/emulators/tuxnes/Makefile
==============================================================================
--- head/emulators/tuxnes/Makefile	Wed Sep 26 13:40:53 2018	(r480739)
+++ head/emulators/tuxnes/Makefile	Wed Sep 26 13:55:28 2018	(r480740)
@@ -30,6 +30,10 @@ DESKTOP_ENTRIES="TuxNES" "" "${PREFIX}/share/pixmaps/t
 .if ${COMPILER_TYPE} == "clang"
 CPPFLAGS+=	-no-integrated-as
 .endif
+.if ${ARCH} == "i386"
+# Build tool "compdata" segfaults when linked with lld
+LLD_UNSAFE=	yes
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e \



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