[Bug 237461] Serveral references to emmintrin.h fails
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 11 09:26:04 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237461
dewayne at heuristicsystems.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dewayne at heuristicsystems.co
| |m.au
--- Comment #10 from dewayne at 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 with
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
/usr/src/contrib/llvm/tools/clang/lib/Headers/
into /usr/lib/clang/$VER/include
because you'll duplicate things like stddef.h and the compile will fail. You
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
- /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
pkg-static isn't part of a buildworld, I do after all build from source;
perhaps, for tomorrow ;)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list