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

            Bug ID: 110923
           Summary: gcc c,c++ ftbfs on ppc64le
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gaius at gcc dot gnu.org
  Target Milestone: ---

gcc-14 FTBFS on ppc64le (lto) (gcc120.fsffrance.org for reference).

Configured with 

$ ../configure --prefix=/home/gaius/opt --libexecdir=/home/gaius/opt/lib
--enable-host-shared --enable-threads=posix --enable-clocale=gnu
--enable-checking --enable-long-longx --enable-languages=c,c++,fortran,lto
--with-build-config=bootstrap-lto-lean --disable-multilib --enable-bootstrap

/home/gaius/GCC/gcc-read-write/build/./prev-gcc/xg++
-B/home/gaius/GCC/gcc-read-write/build/./prev-gcc/
-B/home/gaius/opt/powerpc64le-unknown-linux-gnu/bin/ -nostdinc++
-B/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu

-I/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include
 -I/home/gaius/GCC/gcc-read-write/libstdc++-v3/libsupc++
-L/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-no-pie   -g -O2 -fprofile-use -fprofile-reproducible=parallel-runs
-flto=jobserver -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Wconditionally-supported
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -no-pie -static-libstdc++
-static-libgcc  -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o
c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o
c/c-parser.o c/c-fold.o c/gimple-parser.o c-family/c-common.o
c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o
c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o
c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o
c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o
c-family/c-ada-spec.o c-family/c-ubsan.o c-family/known-headers.o
c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o glibc-c.o
rs6000-c.o \
  cc1-checksum.o libbackend.a main.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a
../libiberty/pic/libiberty.a ../libdecnumber/libdecnumber.a 
-L/home/gaius/GCC/gcc-read-write/build/./isl/.libs  -lisl
-L/home/gaius/GCC/gcc-read-write/build/./gmp/.libs
-L/home/gaius/GCC/gcc-read-write/build/./mpfr/src/.libs
-L/home/gaius/GCC/gcc-read-write/build/./mpc/src/.libs -lmpc -lmpfr -lgmp
-rdynamic  -L./../zlib -lz -lzstd 
lto-wrapper: warning: jobserver is not available: ‘--jobserver-auth=’ is not
present in ‘MAKEFLAGS’
lto-wrapper: note: see the ‘-flto’ option documentation for more information
../gmp/../../gmp/primesieve.c: In function ‘first_block_primesieve’:
../gmp/../../gmp/primesieve.c:269:25: warning: ‘i’ may be used uninitialized
[-Wmaybe-uninitialized]
  269 |     mask = CNST_LIMB(1) << i;
      |                         ^
../gmp/../../gmp/primesieve.c:248:13: note: ‘i’ was declared here
  248 |   mp_limb_t i;
      |             ^
during GIMPLE pass: lsplit
../../gcc/dse.cc: In function ‘record_store’:
../../gcc/dse.cc:1359: internal compiler error: in operator/, at sreal.cc:261
 1359 | record_store (rtx body, bb_info_t bb_info)
      | 
0x10af1f33 sreal::operator/(sreal const&) const
        ../../gcc/sreal.cc:261
0x10af1f33 sreal::operator/(sreal const&) const
        ../../gcc/sreal.cc:259
0x10d6b09f split_loop
        ../../gcc/tree-ssa-loop-split.cc:719
0x10d6bfd3 tree_ssa_split_loops
        ../../gcc/tree-ssa-loop-split.cc:1769
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[4]: *** [/tmp/ccitBxAD.mk:203: /tmp/ccUerv1d.ltrans67.ltrans.o] Error 1

Reply via email to