Public bug reported:

Trying to build upstream Mesa on Stonking:

bindgen ...
/usr/lib/llvm-21/lib/clang/21/include/xmmintrin.h:245:10: error: invalid 
conversion between vector type '__m128' (vector of 4 'float' values) and 
integer type 'int' of different size
/usr/lib/llvm-21/lib/clang/21/include/xmmintrin.h:262:10: error: returning 
'int' from a function with incompatible result type '__m128' (vector of 4 
'float' values)
/usr/lib/llvm-21/lib/clang/21/include/emmintrin.h:253:11: error: initializing 
'__m128d' (vector of 2 'double' values) with an expression of incompatible type 
'int'
/usr/lib/llvm-21/lib/clang/21/include/emmintrin.h:269:10: error: returning 
'int' from a function with incompatible result type '__m128d' (vector of 2 
'double' values)
Unable to generate bindings: clang diagnosed error: 
/usr/lib/llvm-21/lib/clang/21/include/xmmintrin.h:245:10: error: invalid 
conversion between vector type '__m128' (vector of 4 'float' values) and 
integer type 'int' of different size
/usr/lib/llvm-21/lib/clang/21/include/xmmintrin.h:262:10: error: returning 
'int' from a function with incompatible result type '__m128' (vector of 4 
'float' values)
/usr/lib/llvm-21/lib/clang/21/include/emmintrin.h:253:11: error: initializing 
'__m128d' (vector of 2 'double' values) with an expression of incompatible type 
'int'
/usr/lib/llvm-21/lib/clang/21/include/emmintrin.h:269:10: error: returning 
'int' from a function with incompatible result type '__m128d' (vector of 2 
'double' values)

** Affects: llvm-toolchain-21 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rust-bindgen-cli (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: stonking

** Also affects: rust-bindgen-cli (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2168415

Title:
  bindgen: Compilation errors in
  /usr/lib/llvm-21/lib/clang/21/include/[ex]mmintrin.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-21/+bug/2168415/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to