Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2015 23:10:21 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        svn-src-projects@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r280467 - projects/lld-import/lib/clang
Message-ID:  <9ADB0EEC-907A-402C-87EB-2444CE2C1B4C@FreeBSD.org>
In-Reply-To: <20150324215504.GA51142@vlakno.cz>
References:  <201503242153.t2OLrHN8024481@svn.freebsd.org> <20150324215504.GA51142@vlakno.cz>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 24 Mar 2015, at 22:55, Roman Divacky <rdivacky@freebsd.org> wrote:
> 
> 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
>> 
>> Log:
>>  Add lld build glue to clang.build.mk.
>> 
>> Modified:
>>  projects/lld-import/lib/clang/clang.build.mk
>> 
>> Modified: projects/lld-import/lib/clang/clang.build.mk
>> ==============================================================================
>> --- 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 <src.opts.mk>
>> 
>> CLANG_SRCS=	${LLVM_SRCS}/tools/clang
>> +LLD_SRCS=	${LLVM_SRCS}/tools/lld
>> 
>> CFLAGS+=	-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
>> 
>> +.for hdr in Core DarwinLd GnuLd UniversalDriver WinLink
> 
> 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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.27

iEYEARECAAYFAlUR4NYACgkQsF6jCi4glqPOCACbBcp3njiPn+U59isLABNfY8Jx
WxEAnjnCKGy/IJ70qnhLEYIfYp0KpCT6
=UQUL
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9ADB0EEC-907A-402C-87EB-2444CE2C1B4C>