From owner-svn-ports-all@freebsd.org Wed Oct 9 17:41:22 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F2CC3129A8B; Wed, 9 Oct 2019 17:41:22 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pM2p61Zhz3FF9; Wed, 9 Oct 2019 17:41:22 +0000 (UTC) (envelope-from brooks@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 B27EB1BFB3; Wed, 9 Oct 2019 17:41:22 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x99HfMK1013866; Wed, 9 Oct 2019 17:41:22 GMT (envelope-from brooks@FreeBSD.org) Received: (from brooks@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x99HfM5g013865; Wed, 9 Oct 2019 17:41:22 GMT (envelope-from brooks@FreeBSD.org) Message-Id: <201910091741.x99HfM5g013865@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brooks set sender to brooks@FreeBSD.org using -f From: Brooks Davis Date: Wed, 9 Oct 2019 17:41:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514175 - head/devel/llvm70 X-SVN-Group: ports-head X-SVN-Commit-Author: brooks X-SVN-Commit-Paths: head/devel/llvm70 X-SVN-Commit-Revision: 514175 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.29 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, 09 Oct 2019 17:41:23 -0000 Author: brooks Date: Wed Oct 9 17:41:22 2019 New Revision: 514175 URL: https://svnweb.freebsd.org/changeset/ports/514175 Log: ttempt to work around a problem with binutils not liking the armv6 code generated by LLVM 7. PR: 235282 Requested by: jbeich Modified: head/devel/llvm70/Makefile Modified: head/devel/llvm70/Makefile ============================================================================== --- head/devel/llvm70/Makefile Wed Oct 9 17:29:40 2019 (r514174) +++ head/devel/llvm70/Makefile Wed Oct 9 17:41:22 2019 (r514175) @@ -208,6 +208,12 @@ MAN1SRCS+= bugpoint.1 dsymutil.1 llc.1 lli.1 llvm-ar.1 .include .include "${.CURDIR}/Makefile.COMMANDS" +# Use lld for armv6 on clang 7 and up to avoid binutils ld issues +# PR: 235282 +if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 70 +LDFLAGS_armv6=-fuse-ld=lld +.endif + _CRTLIBDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/lib/clang/${LLVM_RELEASE}/lib/freebsd _CRTBLDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/share _COMPILER_RT_BLACKLISTS= cfi_blacklist.txt