From owner-svn-ports-all@freebsd.org Tue Mar 27 17:45:31 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 28357F6F545; Tue, 27 Mar 2018 17:45:31 +0000 (UTC) (envelope-from tobik@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 CF0AE7530F; Tue, 27 Mar 2018 17:45:30 +0000 (UTC) (envelope-from tobik@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 CA01B1F589; Tue, 27 Mar 2018 17:45:30 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2RHjUa9070332; Tue, 27 Mar 2018 17:45:30 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2RHjUHI070331; Tue, 27 Mar 2018 17:45:30 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201803271745.w2RHjUHI070331@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 27 Mar 2018 17:45:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465725 - head/lang/myrddin X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/lang/myrddin X-SVN-Commit-Revision: 465725 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.25 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: Tue, 27 Mar 2018 17:45:31 -0000 Author: tobik Date: Tue Mar 27 17:45:30 2018 New Revision: 465725 URL: https://svnweb.freebsd.org/changeset/ports/465725 Log: lang/myrddin: Fix build when ld is ld.lld ld: error: : section sh_addralign is not a power of 2 Myrddin's build system directly calls ld so LLD_UNSAFE can't work here. Workaround the issue by adding a binary alias to ld.bfd to fix the build for now. PR: 226986 Reported by: emaste Modified: head/lang/myrddin/Makefile Modified: head/lang/myrddin/Makefile ============================================================================== --- head/lang/myrddin/Makefile Tue Mar 27 17:40:06 2018 (r465724) +++ head/lang/myrddin/Makefile Tue Mar 27 17:45:30 2018 (r465725) @@ -17,8 +17,12 @@ USES= gmake HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix "${PREFIX}" -WRKSRC= ${WRKDIR}/mc TEST_TARGET= check +WRKSRC= ${WRKDIR}/mc + +# Myrddin is LLD_UNSAFE: +# ld: error: : section sh_addralign is not a power of 2 +BINARY_ALIAS= ld=ld.bfd OPTIONS_DEFINE= DEBUG VIM OPTIONS_DEFAULT= VIM