From owner-svn-ports-all@freebsd.org Wed Sep 26 13:55:28 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE1B510AD9A6; Wed, 26 Sep 2018 13:55:28 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 923A97E9E4; Wed, 26 Sep 2018 13:55:28 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 88DA918168; Wed, 26 Sep 2018 13:55:28 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8QDtSod089512; Wed, 26 Sep 2018 13:55:28 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8QDtSe6089511; Wed, 26 Sep 2018 13:55:28 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201809261355.w8QDtSe6089511@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Wed, 26 Sep 2018 13:55:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480740 - head/emulators/tuxnes X-SVN-Group: ports-head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: head/emulators/tuxnes X-SVN-Commit-Revision: 480740 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2018 13:55:29 -0000 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 \