Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2018 22:32:35 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        sgk@troutmask.apl.washington.edu
Cc:        freebsd-current@freebsd.org
Subject:   Re: LLVM breaks buildworld
Message-ID:  <374C8578-58C1-4125-BAE0-A084A712EF7D@andric.com>
In-Reply-To: <20180927200629.GA24307@troutmask.apl.washington.edu>
References:  <20180927193439.GA74697@troutmask.apl.washington.edu> <20180927193907.GA74777@troutmask.apl.washington.edu> <20180927200629.GA24307@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_3D882A82-803E-4C9D-8437-B8F13B45765C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 27 Sep 2018, at 22:06, Steve Kargl <sgk@troutmask.apl.washington.edu> =
wrote:
>=20
> 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)
>>>=20
>>> =3D=3D=3D> 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;
>>>                        ^
>>=20
>> % 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;
>>=20
>>=20
>> This is only place under llvm that SHRD_QB appears?
>>=20
>=20
> 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


--Apple-Mail=_3D882A82-803E-4C9D-8437-B8F13B45765C
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCW60+YwAKCRCwXqMKLiCW
ozqGAKCNTuQXGqhS/mCEx6m9Ep8KV1eObgCfV3BKHmmerEh7wVa+IAnZwKvM2k8=
=BDst
-----END PGP SIGNATURE-----

--Apple-Mail=_3D882A82-803E-4C9D-8437-B8F13B45765C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?374C8578-58C1-4125-BAE0-A084A712EF7D>