Describe the issue
abseil 20260526.0 fails to build with -march=x86-64-v3. It succeeds with v1, and the earlier release 20260107.0 also succeeds to build with v3:
from /<<PKGBUILDDIR>>/absl/container/internal/raw_hash_set.cc:15:
/usr/lib/gcc/x86_64-linux-gnu/15/include/bmi2intrin.h:25:3: error: #error "Never use <bmi2intrin.h> directly; include <x86gprintrin.h> instead."
25 | # error "Never use <bmi2intrin.h> directly; include <x86gprintrin.h> instead."
| ^~~~~
Steps to reproduce the problem
build with the option -march=x86-64-v3. GCC 15.3 and glibc 2.43 were used.
What version of Abseil are you using?
20260526.0
What operating system and version are you using?
Ubuntu 26.10 development release
What compiler and version are you using?
GCC 15.3.0
What build system are you using?
cmake
Additional context
No response
Describe the issue
abseil 20260526.0 fails to build with -march=x86-64-v3. It succeeds with v1, and the earlier release 20260107.0 also succeeds to build with v3:
/usr/lib/gcc/x86_64-linux-gnu/15/include/bmi2intrin.h:25:3: error: #error "Never use <bmi2intrin.h> directly; include <x86gprintrin.h> instead."
25 | # error "Never use <bmi2intrin.h> directly; include <x86gprintrin.h> instead."
| ^~~~~
Steps to reproduce the problem
build with the option -march=x86-64-v3. GCC 15.3 and glibc 2.43 were used.
What version of Abseil are you using?
20260526.0
What operating system and version are you using?
Ubuntu 26.10 development release
What compiler and version are you using?
GCC 15.3.0
What build system are you using?
cmake
Additional context
No response