Trying to use clang/head and XCC

Dimitry Andric dim at FreeBSD.org
Wed May 20 18:02:39 UTC 2015


On 20 May 2015, at 18:10, Sean Bruno <sbruno at ignoranthack.me> wrote:
> 
> Signed PGP part
> On 05/19/15 23:09, Dimitry Andric wrote:
> > 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
> >
> 
> 
> Should this be included upstream?

Possibly. I'll submit a review, and we'll see.

-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/56d29f70/attachment.sig>


More information about the freebsd-hackers mailing list