From owner-freebsd-hackers@FreeBSD.ORG Wed May 20 18:02:39 2015 Return-Path: Delivered-To: freebsd-hackers@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 61C43E61; Wed, 20 May 2015 18:02:39 +0000 (UTC) Received: from tensor.andric.com (unknown [IPv6:2001:7b8:3a7:0:20e:cff:fea0:e4a2]) (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 1B21B1FF0; Wed, 20 May 2015 18:02:39 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::fcb6:dce0:5147:d411] (unknown [IPv6:2001:7b8:3a7:0:fcb6:dce0:5147:d411]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C902423B7C; Wed, 20 May 2015 20:02:33 +0200 (CEST) Subject: Re: Trying to use clang/head and XCC Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/signed; boundary="Apple-Mail=_5DEEEE1B-9B74-4D27-AE69-B274CE849E79"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b6 From: Dimitry Andric In-Reply-To: <555CB20D.8040007@ignoranthack.me> Date: Wed, 20 May 2015 20:02:29 +0200 Cc: Brooks Davis , "freebsd-hackers@freebsd.org" Message-Id: <6DB19ADD-A18E-44BE-A3F7-936BB43F751B@FreeBSD.org> References: <555B638E.4020405@ignoranthack.me> <20150519165332.GA36377@spindle.one-eyed-alien.net> <555B91E8.9010309@ignoranthack.me> <20150519202153.GB36377@spindle.one-eyed-alien.net> <555BE7A1.3040808@ignoranthack.me> <20150520045234.GA83978@spindle.one-eyed-alien.net> <555CB20D.8040007@ignoranthack.me> To: sbruno@freebsd.org X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 18:02:39 -0000 --Apple-Mail=_5DEEEE1B-9B74-4D27-AE69-B274CE849E79 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=windows-1252 On 20 May 2015, at 18:10, Sean Bruno wrote: > > Signed PGP part > On 05/19/15 23:09, Dimitry Andric wrote: > > On 20 May 2015, at 06:52, Brooks Davis wrote: > >> > >> On Tue, May 19, 2015 at 06:47:13PM -0700, Sean Bruno wrote: > > ... > >>> clang (LLVM option parsing): Unknown command line argument > >>> '-enable-gvn=false'. Try: 'clang (LLVM option parsing) -help' > >>> clang (LLVM option parsing): Did you mean '-enable-pre=false'? > >>> *** Error code 1 > >> > >> IIRC -enable-gvn=false is a local option Dimitry added to our > >> clang. I don't remember the suggested workaround off hand. > > > > https://svnweb.freebsd.org/base/head/contrib/llvm/patches/patch-04-add > -llvm-gvn-option.diff?view=co > > > > Alternatively, just skip building boot2, if you don't need it. > > > > -Dimitry > > > > > Should this be included upstream? Possibly. I'll submit a review, and we'll see. -Dimitry --Apple-Mail=_5DEEEE1B-9B74-4D27-AE69-B274CE849E79 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 iEYEARECAAYFAlVczDkACgkQsF6jCi4glqPBVgCeITzK2YKPaJw0rSLip1nUxqA1 xN8Anj8A5Kln9Ics46dpuO/Qx7w/50Dq =0ujc -----END PGP SIGNATURE----- --Apple-Mail=_5DEEEE1B-9B74-4D27-AE69-B274CE849E79--