https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112646

            Bug ID: 112646
           Summary: bootstrap broken for clang build on znver3 ?
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Since yesterday, a build of gcc trunk on znver3 with clang
has broken.

Good commit was g:e85c596ae2d1e5f5, bad g:f48244fad2afba7a.

The error message from clang is

/home/dcb38/gcc/working/gcc/include/avx512vp2intersectvlintrin.h:42:3: error:
‘__builtin_ia32_2intersectd128’ was not declared in this scope; did you mean
‘__builtin_ia32_2intersectd512’?

The configure is

CC="clang" CXX="clang++" \
../trunk.year/configure --prefix=/home/dcb38/gcc/results.$DATE.asan.ubsan \
    --disable-multilib \
    --disable-bootstrap \
    --with-build-config=bootstrap-asan \
    --with-build-config=bootstrap-ubsan \
    --with-pkgversion=$HASH \
    --enable-checking=df,extra,fold,rtl,yes \
    --enable-languages=c,c++,fortran

sed 's;-O2;-O2 -march=znver3;' < Makefile > Makefile.tmp
diff Makefile Makefile.tmp
mv Makefile.tmp Makefile

Reply via email to