Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2018 09:06:33 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
To:        sgk@troutmask.apl.washington.edu
Cc:        freebsd-current@freebsd.org
Subject:   Re: LLVM breaks buildworld
Message-ID:  <201809281606.w8SG6XWE077967@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <20180927200629.GA24307@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Thu, Sep 27, 2018 at 12:39:07PM -0700, Steve Kargl wrote:
> > On Thu, Sep 27, 2018 at 12:34:39PM -0700, Steve Kargl wrote:
> > > cd /usr/obj
> > > rm -f usr
> > > cd /usr/src
> > > svn update
> > > make buildworld
> > > (wait a long time)
> > > 
> > > ===> lib/clang/libllvm (all)
> > > llvm-tblgen -gen-asm-matcher  -I /usr/src/contrib/llvm/include -I /usr/src/contrib/llvm/lib/Target/Mips  -d MipsGenAsmMatcher.inc.d -o MipsGenAsmMatcher.inc  /usr/src/contrib/llvm/lib/Target/Mips/Mips.td
> > > Included from /usr/src/contrib/llvm/lib/Target/Mips/Mips.td:57:
> > > Included from /usr/src/contrib/llvm/lib/Target/Mips/MipsInstrInfo.td:3010:
> > > /usr/src/contrib/llvm/lib/Target/Mips/MipsDSPInstrInfo.td:1142:25: error: Couldn't find class 'SHRD_QB_ENC'
> > > def SHRL_QB : DspMMRel, SHRD_QB_ENC, SHRL_QB_DESC;
> > >                         ^
> > 
> > % find /usr/src/contrib/llvm -type f | xargs grep SHRD_QB                                                                                                                                                                     
> > /usr/src/contrib/llvm/lib/Target/Mips/MipsDSPInstrInfo.td:def SHRL_QB : DspMMRel, SHRD_QB_ENC, SHRL_QB_DESC;
> > 
> > 
> > This is only place under llvm that SHRD_QB appears?
> > 
> 
> Hmmm, deleting the file MipsDSPInstrInfo.td seems to flip
> SHRD to SHRL. Oddly, 'svn diff' did not show a diff with
> the corrupt file. :(.

I do not like this difference about cvs and svn,
cvs would of given you a ? on a file added to the
tree, svn ingores extra files during a svn diff,
to see extra files in your tree run 
svn status

nas1:root {1002}# cd /usr/src
nas1:root {1003}# cd bin/ls
nas1:root {1004}# svn diff
nas1:root {1005}# touch foo
nas1:root {1006}# svn diff
nas1:root {1007}# svn status
?       foo


-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809281606.w8SG6XWE077967>