On Wed, Jan 26, 2022 at 01:29:37PM +0100, Dan Horák wrote:
> > > **Compilation error from a dependency header:**
> > >
> > > dependency “boost”: “# error "Never use <bmiintrin.h> directly;
include
> > > <x86intrin.h> instead."”, via
> > > boost/multiprecision/cpp_int/intel_intrinsics.hpp
> >
> > This is weird.
> > bmiintrin.h had:
> > #ifndef _X86GPRINTRIN_H_INCLUDED
> > # error "Never use <bmiintrin.h> directly; include
<x86gprintrin.h> instead."
> > #endif
> > in both gcc 11 and 12. In fact, most of the more recent *intrin.h headers
> > want users to only use one of x86intrin.h, x86gprintrin.h or maybe
> > immintrin.h.
>
> this is being discussed in
>
https://github.com/boostorg/multiprecision/issues/419
Ah, ppc*, that indeed looks like a gcc bug.