[Bug 293845] Compilation fails with "use of undeclared identifier '__builtin_ia32_readeflags_u32'" on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Mar 2026 00:35:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293845
Mark Millard <marklmi26-fbsd@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marklmi26-fbsd@yahoo.com
--- Comment #2 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
Begin explicit here about the failure without having to go search
elsewhere:
In file included from
/wrkdirs/usr/ports/graphics/openusd/work/OpenUSD-25.11/pxr/base/arch/timing.cpp:9:
In file included from
/wrkdirs/usr/ports/graphics/openusd/work/OpenUSD-25.11/pxr/base/arch/timing.h:23:
In file included from /usr/lib/clang/19/include/x86intrin.h:13:
/usr/lib/clang/19/include/ia32intrin.h:312:10: error: use of undeclared
identifier '__builtin_ia32_readeflags_u32'
312 | return __builtin_ia32_readeflags_u32();
| ^
That indicates an explicit include of x86intrin.h (an x86
specific file, not compatible with aarch64 targeting) was
made by:
OpenUSD-25.11/pxr/base/arch/timing.h
Given that include (likely found via some include path)
having a compile failure based on the content of the
included file is no surprise.
Do you have evidence to present that it is because of a
toolchain problem instead of the port simply being x86
specific and not supporting aarch64 builds, for example?
--
You are receiving this mail because:
You are the assignee for the bug.