From owner-svn-src-projects@FreeBSD.ORG Tue Mar 24 22:10:41 2015 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 617E52E9; Tue, 24 Mar 2015 22:10:41 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D5D2F5E; Tue, 24 Mar 2015 22:10:40 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::fd19:2a7a:92ce:f888] (unknown [IPv6:2001:7b8:3a7:0:fd19:2a7a:92ce:f888]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 790645C48; Tue, 24 Mar 2015 23:10:32 +0100 (CET) Subject: Re: svn commit: r280467 - projects/lld-import/lib/clang Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_D1D99A2F-CC5E-470E-825C-D41DCD16A276"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b6 From: Dimitry Andric In-Reply-To: <20150324215504.GA51142@vlakno.cz> Date: Tue, 24 Mar 2015 23:10:21 +0100 Message-Id: <9ADB0EEC-907A-402C-87EB-2444CE2C1B4C@FreeBSD.org> References: <201503242153.t2OLrHN8024481@svn.freebsd.org> <20150324215504.GA51142@vlakno.cz> To: Roman Divacky X-Mailer: Apple Mail (2.2070.6) Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 22:10:41 -0000 --Apple-Mail=_D1D99A2F-CC5E-470E-825C-D41DCD16A276 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 24 Mar 2015, at 22:55, Roman Divacky wrote: >=20 > On Tue, Mar 24, 2015 at 09:53:17PM +0000, Dimitry Andric wrote: >> Author: dim >> Date: Tue Mar 24 21:53:16 2015 >> New Revision: 280467 >> URL: https://svnweb.freebsd.org/changeset/base/280467 >>=20 >> Log: >> Add lld build glue to clang.build.mk. >>=20 >> Modified: >> projects/lld-import/lib/clang/clang.build.mk >>=20 >> Modified: projects/lld-import/lib/clang/clang.build.mk >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >> --- projects/lld-import/lib/clang/clang.build.mk Tue Mar 24 = 21:49:08 2015 (r280466) >> +++ projects/lld-import/lib/clang/clang.build.mk Tue Mar 24 = 21:53:16 2015 (r280467) >> @@ -3,6 +3,7 @@ >> .include >>=20 >> CLANG_SRCS=3D ${LLVM_SRCS}/tools/clang >> +LLD_SRCS=3D ${LLVM_SRCS}/tools/lld >>=20 >> CFLAGS+=3D -I${LLVM_SRCS}/include -I${CLANG_SRCS}/include \ >> -I${LLVM_SRCS}/${SRCDIR} ${INCDIR:C/^/-I${LLVM_SRCS}\//} = -I. \ >> @@ -220,6 +221,13 @@ Checkers.inc.h: ${CLANG_SRCS}/lib/Static >> -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o = ${.TARGET} \ >> ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td >>=20 >> +.for hdr in Core DarwinLd GnuLd UniversalDriver WinLink >=20 > Why are we building DarwinLd and WinLink ? Is it hard to change the = source > to not call into these so it links without it? Or is the code = trivially small > so it doesnt make any difference? We're not yet at that stage. Upstream has this all as hard dependencies for now, but that might change later. I want to get this building and working now, optimization can come = later. -Dimitry --Apple-Mail=_D1D99A2F-CC5E-470E-825C-D41DCD16A276 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.27 iEYEARECAAYFAlUR4NYACgkQsF6jCi4glqPOCACbBcp3njiPn+U59isLABNfY8Jx WxEAnjnCKGy/IJ70qnhLEYIfYp0KpCT6 =UQUL -----END PGP SIGNATURE----- --Apple-Mail=_D1D99A2F-CC5E-470E-825C-D41DCD16A276--