Trying to use clang/head and XCC

Dimitry Andric dim at FreeBSD.org
Wed May 20 06:10:13 UTC 2015


On 20 May 2015, at 06:52, Brooks Davis <brooks at freebsd.org> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150520/8d44bd7d/attachment.sig>


More information about the freebsd-hackers mailing list