On Thu, Aug 19, 2021 at 11:24 AM Jerry James <loganjerry@xxxxxxxxx> wrote:
On Thu, Aug 19, 2021 at 10:13 AM Luya Tshimbalanga
<luya@xxxxxxxxxxxxxxxxx> wrote:
> Failure occurred at that line:
>
> In file included from /builddir/build/BUILD/OpenShadingLanguage-Release-1.12.1.0-dev/src/liboslexec/oslexec_pvt.h:50,
> from /builddir/build/BUILD/OpenShadingLanguage-Release-1.12.1.0-dev/src/liboslexec/oslexec.cpp:12:
> /builddir/build/BUILD/OpenShadingLanguage-Release-1.12.1.0-dev/src/include/OSL/mask.h:7:10: fatal error: immintrin.h: No such file or directory
> 7 | #include <immintrin.h>
>
>
> Possibly a compiler bug.
immintrin.h is an x86-specific header. It has intrinsics for various
CPU instruction sets (SSE*, AVX*, etc.). It is correct for it to be
"missing" on non-x86 architectures.
It's been a while since I looked into this but there are a bunch of arch specific intrinsic headers, what you're supposed to do is include the main one and then the correct one (if available) for your arch will be automatically pulled in. It looks like maybe OSL is skipping straight to the x86_64 implementation. They may not even know they're doing it wrong as VFX is usually x86_64 only in production.
Thanks,
Richard
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure