Created attachment 46843 [details] Pre-processed source file We received this error from the Debian pgbackrest packager. I don't have access to the system but here's the error and the pre-processed source is attached. There may be more information in the build log here: https://pgdgbuild.dus.dg-i.net/job/pgbackrest-binaries/55/architecture=ppc64el,distribution=stretch/console ------------------------- 18:59:33 gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -O2 -Wall -Wextra -Wno-clobbered -Wno-missing-field-initializers -I. -I../libc -I/usr/include/postgresql -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/powerpc64le-linux-gnu/perl/5.24/CORE -I/usr/include/libxml2 -funroll-loops -ftree-vectorize -c postgres/pageChecksum.c -o postgres/pageChecksum.o 18:59:33 gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -O2 -Wall -Wextra -Wno-clobbered -Wno-missing-field-initializers -I. -I../libc -I/usr/include/postgresql -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/powerpc64le-linux-gnu/perl/5.24/CORE -I/usr/include/libxml2 -c protocol/client.c -o protocol/client.o 18:59:33 In file included from ./common/type/variantList.h:13:0, 18:59:33 from ./common/type/keyValue.h:15, 18:59:33 from ./common/type/json.h:7, 18:59:33 from protocol/client.c:11: 18:59:33 protocol/client.c: In function ‘protocolClientReadOutput’: 18:59:33 ./common/type/variant.h:200:50: internal compiler error: in decode_addr_const, at varasm.c:2864 18:59:33 ((const Variant *)&(const VariantStringConst){.type = varTypeString, .data = dataParam}) 18:59:33 ^ 18:59:33 protocol/client.c:160:50: note: in expansion of macro ‘VARSTR’ 18:59:33 const Variant *error = kvGet(responseKv, VARSTR(PROTOCOL_ERROR_STR)); 18:59:33 ^~~~~~ 18:59:33 Please submit a full bug report, 18:59:33 with preprocessed source if appropriate. 18:59:33 See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions. 18:59:33 Preprocessed source stored into /tmp/ccsH1wnT.out file, please attach this to your bugreport. 18:59:33 === BEGIN GCC DUMP === 18:59:33 5227: // Target: powerpc64le-linux-gnu 18:59:33 5227: // Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=powerpc64le-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-ppc64el/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-ppc64el --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-ppc64el --with-arch-directory=ppc64le --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc=auto --enable-secureplt --with-cpu=power8 --enable-targets=powerpcle-linux --disable-multilib --enable-multiarch --with-long-double-128 --enable-checking=release --build=powerpc64le-linux-gnu --host=powerpc64le-linux-gnu --target=powerpc64le-linux-gnu
Seems to work with GCC 9 and 8 and 7. GCC 6 is no longer supported. So FIXED.
Dup. *** This bug has been marked as a duplicate of bug 87647 ***