Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 916752

Summary: dev-cpp/highway-1.0.5: error: always_inline function '_mm512_loadu_ps' requires target feature 'evex512', but would be inlined into function 'LoadU' that is compiled without support for 'evex512'
Product: Gentoo Linux Reporter: hugegameartgd
Component: Current packagesAssignee: Daniel Novomeský <dnovomesky>
Status: UNCONFIRMED ---    
Severity: normal CC: hugegameartgd, jstein, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/google/highway/issues/1864
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description hugegameartgd 2023-11-03 11:38:04 UTC
Created attachment 873975 [details]
build.log

=dev-cpp/highway-1.0.5::gentoo fails to compile on Gentoo Linux musl libc (clang profile)

```
In file included from /var/tmp/portage/dev-cpp/highway-1.0.5/work/highway-1.0.5/hwy/highway.h:411:
/var/tmp/portage/dev-cpp/highway-1.0.5/work/highway-1.0.5/hwy/ops/x86_512-inl.h:2214:24: error: always_inline function '_mm512_loadu_ps' requires target feature 'evex512', but would be inlined into function 'LoadU' that is compiled without support for 'evex512'
 2214 |   return Vec512<float>{_mm512_loadu_ps(p)};
```
Comment 1 hugegameartgd 2023-11-03 11:38:57 UTC
Created attachment 873976 [details]
emerge --info
Comment 2 hugegameartgd 2023-11-03 11:52:55 UTC
Upstream bug: https://github.com/llvm/llvm-project/issues/70002
Comment 3 Daniel Novomeský 2023-11-06 09:35:57 UTC
Can you try to reproduce the situation with dev-cpp/highway-9999 ?

And then to inform the highway developer about this Clang18 related issue?

https://github.com/google/highway/issues