LLVM breaks buildworld
Dimitry Andric
dimitry at andric.com
Thu Sep 27 20:32:40 UTC 2018
On 27 Sep 2018, at 22:06, Steve Kargl <sgk at troutmask.apl.washington.edu> wrote:
>
> 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. :(.
Looks like one flipped bit, indeed. Maybe Subversion's pristine copy
was bad to begin with?
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180927/b5e52e2b/attachment.sig>
More information about the freebsd-current
mailing list