View Issue Details

IDProjectCategoryView StatusLast Update
0009253ardourbugspublic2023-02-21 01:04
Reporterpeder Assigned Tox42  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNUOSLinuxOS Version(any)
Product Version7.3 
Summary0009253: Commit b3a10378cfdfff8 breaks compiling with clang
DescriptionCompiling with llvm-16-14949-g6cad2a95fb and llvm-17-init-637-gae1475461 fails on _mm_hint
It works with gcc 7.5.0


[ 179/1179] Compiling libs/ardour/uri_map.cc
../libs/ardour/x86_functions_avx512f.cc:86:59: error: use of undeclared identifier '_mm_hint'
                _mm_prefetch(reinterpret_cast<void const *>(src + 256), _mm_hint(0));


[ 187/1179] Compiling libs/ardour/audiorom.cc
../libs/ardour/x86_functions_avx512f.cc:86:59: error: use of undeclared identifier '_mm_hint'
                _mm_prefetch(reinterpret_cast<void const *>(src + 256), _mm_hint(0));
 
Steps To ReproduceCC=clang CXX=clang++ ./waf configure --prefix=/opt/ardour-`git describe --tags` --ptformat --optimize --denormal-exception --with-backends=jack,dummy,pulseaudio --cxx11 --use-lld && ./waf build
Additional InformationI've compiled and installed llvm/clang myself, so it's possible that I've done something wrong there, but it has worked fine until b3a10378cfdfff8
TagsNo tags attached.

Activities

x42

2023-02-21 01:04

administrator   ~0027403

Fixed in 7.3-28-g2773199fa3, thanks to Ayan Shafqat

Issue History

Date Modified Username Field Change
2023-02-20 15:11 peder New Issue
2023-02-21 01:04 x42 Assigned To => x42
2023-02-21 01:04 x42 Status new => resolved
2023-02-21 01:04 x42 Resolution open => fixed
2023-02-21 01:04 x42 Note Added: 0027403