[Bug regression/95733] New: Building on PowerPC 64 Tests Fail With GCC 11
xerofoify at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jun 18 01:41:13 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95733
Bug ID: 95733
Summary: Building on PowerPC 64 Tests Fail With GCC 11
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: regression
Assignee: unassigned at gcc dot gnu.org
Reporter: xerofoify at gmail dot com
Target Milestone: ---
After building gcc as such:
../gcc/configure --enable-lanuages=c,c++ --enable-threads -disable-multilibs
--enable-checking=yes --prefix=/home/xerofoify/obdjir
it fails on running tests with make -k check with:
=== libgomp Summary ===
# of expected passes 7764
# of expected failures 4
# of unsupported tests 573
make[4]: Leaving directory
`/home/xerofoify/obdjir/powerpc64le-unknown-linux-gnu/libgomp/testsuite'
make[3]: Leaving directory
`/home/xerofoify/obdjir/powerpc64le-unknown-linux-gnu/libgomp/testsuite'
make[3]: Entering directory
`/home/xerofoify/obdjir/powerpc64le-unknown-linux-gnu/libgomp'
:
:
:
make DO=all multi-do # make
make[4]: Entering directory
`/home/xerofoify/obdjir/powerpc64le-unknown-linux-gnu/libgomp'
if [ -z "" ]; then \
true; \
else \
rootpre=`${PWDCMD-pwd}`/; export rootpre; \
srcrootpre=`cd ../../../gcc/libgomp; ${PWDCMD-pwd}`/; export srcrootpre; \
lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
compiler="/home/xerofoify/obdjir/./gcc/xgcc -B/home/xerofoify/obdjir/./gcc/
-B/home/xerofoify/obdjir/powerpc64le-unknown-linux-gnu/bin/
-B/home/xerofoify/obdjir/powerpc64le-unknown-linux-gnu/lib/ -isystem
/home/xerofoify/obdjir/powerpc64le-unknown-linux-gnu/include -isystem
/home/xerofoify/obdjir/powerpc64le-unknown-linux-gnu/sys-include "; \
for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
dir=`echo $i | sed -e 's/;.*$//'`; \
if [ "${dir}" = "." ]; then \
true; \
else \
if [ -d ../${dir}/${lib} ]; then \
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib}; make \
CFLAGS="-g -O2 ${flags}" \
CCASFLAGS=" ${flags}" \
FCFLAGS="-L. -Wall -L../libgfortran ${flags}" \
FFLAGS=" ${flags}" \
ADAFLAGS=" ${flags}" \
prefix="/home/xerofoify/obdjir" \
exec_prefix="/home/xerofoify/obdjir" \
GOCFLAGS="-O2 -g ${flags}" \
GDCFLAGS="-O2 -g ${flags}" \
CXXFLAGS="-g -O2 -D_GNU_SOURCE ${flags}" \
LIBCFLAGS="-g -O2 ${flags}" \
LIBCXXFLAGS="-g -O2 -D_GNU_SOURCE
-fno-implicit-templates ${flags}" \
LDFLAGS=" ${flags}" \
MULTIFLAGS="${flags}" \
DESTDIR="" \
INSTALL="/usr/bin/install -c" \
INSTALL_DATA="/usr/bin/install -c -m 644" \
INSTALL_PROGRAM="/usr/bin/install -c" \
INSTALL_SCRIPT="/usr/bin/install -c" \
all); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[4]: Leaving directory
`/home/xerofoify/obdjir/powerpc64le-unknown-linux-gnu/libgomp'
make[3]: Leaving directory
`/home/xerofoify/obdjir/powerpc64le-unknown-linux-gnu/libgomp'
make[2]: Leaving directory
`/home/xerofoify/obdjir/powerpc64le-unknown-linux-gnu/libgomp'
make[1]: Leaving directory `/home/xerofoify/obdjir'
make: *** [do-check] Error 2
make: Target `check' not remade because of errors.
[xerofoify@gcc2-power8 obdjir]$ cd bin
[xerofoify@gcc2-power8 bin]$ ./g++ -v
Using built-in specs.
COLLECT_GCC=./g++
COLLECT_LTO_WRAPPER=/home/xerofoify/obdjir/libexec/gcc/powerpc64le-unknown-linux-gnu/11.0.0/lto-wrapper
Target: powerpc64le-unknown-linux-gnu
Configured with: ../gcc/configure --enable-lanuages=c,c++ --enable-threads
-disable-multilibs --enable-checking=yes --prefix=/home/xerofoify/obdjir
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.0.0 20200613 (experimental) (GCC)
OpenMP should be enabled by default with C++ and therefore this seems to be a
regression.
More information about the Gcc-bugs
mailing list