Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2019 09:26:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237461] Serveral references to emmintrin.h fails
Message-ID:  <bug-237461-227-wNOFyyYnmV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237461-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237461-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237461

dewayne@heuristicsystems.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dewayne@heuristicsystems.co
                   |                            |m.au

--- Comment #10 from dewayne@heuristicsystems.com.au ---
(In reply to Ed Maste from comment #3)
To your question, I suspect that while folks perform a tidy-up of their
environment, you know like "cd /usr/src && make delete-old" they proceed wi=
th
something like "find -anewer /usr/lib/ -delete;" which inadvertently blows =
away
the /usr/lib/clang/$VER/include - ta dah, kaput!

I know, because its a curse being tidy!  ;)

If this happens to you, here's a hint do NOT copy=20
/usr/src/contrib/llvm/tools/clang/lib/Headers/
into /usr/lib/clang/$VER/include=20
because you'll duplicate things like stddef.h and the compile will fail.  Y=
ou
might be able to get by with just copying *intrin.h, but I was impatient.

I know this is tedious but much better to either:
- read the Makefile to identify only what you need; or=20
- /usr/obj/usr/src/i386.i386/tmp/usr/lib/clang/8.0.1/include/*

It really threw me to find that the build required something outside either
/usr/obj or /usr/src.  Learning something new everyday...  Hmm I wonder why=
=20
pkg-static isn't part of a buildworld, I do after all build from source;
perhaps, for tomorrow ;)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237461-227-wNOFyyYnmV>