[Bug 236582] Enable LLVM openmp on i386

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 17 12:54:45 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236582

--- Comment #5 from Jan Beich <jbeich at FreeBSD.org> ---
Nevermind comment 4. GCC also complains.

In file included from /usr/src/contrib/openmp/runtime/src/kmp.h:103,
                 from /usr/src/contrib/openmp/runtime/src/kmp_csupport.cpp:16:
/usr/local/lib/gcc8/gcc/${CONFIGURE_TARGET}/8.2.0/include/xmmintrin.h: In
function '__m64 _mm_cvtps_pi32(__m128)':
/usr/local/lib/gcc8/gcc/${CONFIGURE_TARGET}/8.2.0/include/xmmintrin.h:542:27:
warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi]
 _mm_cvtps_pi32 (__m128 __A)
                           ^
/usr/local/lib/gcc8/gcc/${CONFIGURE_TARGET}/8.2.0/include/xmmintrin.h: In
function 'void __kmpc_end_serialized_parallel(ident_t*, kmp_int32)':
/usr/local/lib/gcc8/gcc/${CONFIGURE_TARGET}/8.2.0/include/xmmintrin.h:853:1:
error: inlining failed in call to always_inline 'void _mm_setcsr(unsigned
int)': target specific option mismatch
 _mm_setcsr (unsigned int __I)
 ^~~~~~~~~~
In file included from /usr/src/contrib/openmp/runtime/src/kmp_csupport.cpp:16:
/usr/src/contrib/openmp/runtime/src/kmp.h:3669:39: note: called from here
 #define __kmp_load_mxcsr(p) _mm_setcsr(*(p))
                             ~~~~~~~~~~^~~~~~
/usr/src/contrib/openmp/runtime/src/kmp_csupport.cpp:565:7: note: in expansion
of macro '__kmp_load_mxcsr'
       __kmp_load_mxcsr(&serial_team->t.t_mxcsr);
       ^~~~~~~~~~~~~~~~
In file included from /usr/src/contrib/openmp/runtime/src/kmp.h:103,
                 from /usr/src/contrib/openmp/runtime/src/kmp_csupport.cpp:16:
/usr/local/lib/gcc8/gcc/${CONFIGURE_TARGET}/8.2.0/include/xmmintrin.h:853:1:
error: inlining failed in call to always_inline 'void _mm_setcsr(unsigned
int)': target specific option mismatch
 _mm_setcsr (unsigned int __I)
 ^~~~~~~~~~
In file included from /usr/src/contrib/openmp/runtime/src/kmp_csupport.cpp:16:
/usr/src/contrib/openmp/runtime/src/kmp.h:3669:39: note: called from here
 #define __kmp_load_mxcsr(p) _mm_setcsr(*(p))
                             ~~~~~~~~~~^~~~~~
/usr/src/contrib/openmp/runtime/src/kmp_csupport.cpp:565:7: note: in expansion
of macro '__kmp_load_mxcsr'
       __kmp_load_mxcsr(&serial_team->t.t_mxcsr);
       ^~~~~~~~~~~~~~~~

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


More information about the freebsd-toolchain mailing list