Date: Tue, 29 Mar 2022 19:17:55 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 262910] immintrin.h fails on arm64: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? Message-ID: <bug-262910-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262910 Bug ID: 262910 Summary: immintrin.h fails on arm64: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: yuri@freebsd.org The science/opensph port fails on arm64: > In file included from /usr/lib/clang/11.0.1/include/immintrin.h:15: > /usr/lib/clang/11.0.1/include/mmintrin.h:33:5: error: use of undeclared i= dentifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? > __builtin_ia32_emms(); > ^ > /usr/include/c++/v1/math.h:649:12: note: '__builtin_isless' declared here > return isless(__lcpp_x, __lcpp_y); ^ > /usr/include/math.h:120:23: note: expanded from macro 'isless' > #define isless(x, y) __builtin_isless((x), (y)) > ^ It seems that just include of immintrin.h causes the problem. Log: http://ampere3.nyi.freebsd.org/data/130arm64-default/60ab72786154/logs/Open= SPH-0.3.8_4.log --=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-262910-7>