Skip to content

[Regression] abseil 20260526.0 fails to build with -march=x86-64-v3 #2094

Description

@doko42

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions