Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Dec 2017 07:16:01 +1100
From:      Peter Jeremy <peter@rulingia.com>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: Unable to build 12-current/amd64
Message-ID:  <20171225201601.GD5042@server.rulingia.com>
In-Reply-To: <962D6B67-8D38-4483-B8D3-933FA483C364@FreeBSD.org>
References:  <20171223095633.GA52398@server.rulingia.com> <962D6B67-8D38-4483-B8D3-933FA483C364@FreeBSD.org>

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

--vEao7xgI/oilGqZ+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2017-Dec-23 13:42:40 +0100, Dimitry Andric <dim@FreeBSD.org> wrote:
>On 23 Dec 2017, at 10:56, Peter Jeremy <peter@rulingia.com> wrote:
>>=20
>> Since r326496, buildworld on my 12-current/amd64 system has consistently
>> died as follows.
>...
>> /usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp:1166:10: f=
atal error: 'emmintrin.h' file not found
>> #include <emmintrin.h>
>>         ^~~~~~~~~~~~~
>> 1 error generated.
>> *** Error code 1
>>=20
>> Stop.
>> make[4]: stopped in /usr/src/lib/clang/libclang
>>=20
>> I'm building on a 12.0-CURRENT VirtualBox guest at r326430.  I've checked
>> that my /usr/src is clean and deleted /usr/obj to no effect.  I have dug
>> into SourceManager.cpp and the #include is protected by a #if __SSE2__,
>> which is relying on clang internal checks to define (and my CPU supports
>> SSE2).  Does anyone have any ideas to explain what is going on?
>
>First of all, does your host system have emmintrin.h?  E.g. what is the
>output of "find /usr/lib/clang -name emmintrin.h" ?

Aha.  Somehow my entire /usr/lib/clang/5.0.0 tree was missing.  I'm not sure
if that was an installworld glitch or something I accidently did.  In any
case, restoring it has fixed the problem.  Thanks for the pointer.

--=20
Peter Jeremy

--vEao7xgI/oilGqZ+
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJaQVyBXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux
NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0tOkP/2qmAq3fkkWIW6Viv8nDvoUj
xGkZc0sdO+cC5mFc+jfjNoLoQz0iwsGt6EjZs0jE/tnYCdq+fnty9HYLUBV7nDWQ
GMhC2bLbBK4CAaqurk9er6SP8AqeQQNjWhgNsuNPMb27YQbCxnbo00klMIuQDphu
crmNfSxlxlpFKHp5dw18NpM7Z7LkoWOnAF1hO/MZztLAAbVZx4huwK2bqgerBOCy
59NfxF7aqOYOahEyLgZC6d8kfWh1cPbDsQaySyZ7Mw+38T6UKnNFbHtSODnxS4m9
cvMeU+QjqdszrXDEY4HAEkMrxVLBqq/khkflE9lUFlihMrBNlNTF/ZKhmLkJP2Ke
WPvE5slzucLYD6MzuDQa98zlQSH55PPpszJkr2V3A/VmukeBMSXodQfOBMS8PMnn
B982UMqaYV/i0y4N7+D2xO2GnFO9KzFhw8Boze+5cxqE4ghPFlADiH8t8GhZTtZ2
72eEqDnI2jaMJdG85/Ya+T21tkqBWVqhzHd1MrOvW6QopYOtPSXleBqYpgql/ltJ
rO2JTANZEQtBcrktlHelX/pJdqvHC3MSAaGVsJ4RuLNFx2sM4Z1rt60YhVwzkHMo
OhIt0p2//DnjzP+oQrl8cDMLUCE+7lIt0EhBKLtTvkQS24YAapHXvNpgLaDdIgY9
9Rtt3i59i9bhSQTTZD2i
=SmdT
-----END PGP SIGNATURE-----

--vEao7xgI/oilGqZ+--



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