Bug 91689 - internal compiler error: in decode_addr_const, at varasm.c:2864
Summary: internal compiler error: in decode_addr_const, at varasm.c:2864
Status: RESOLVED DUPLICATE of bug 87647
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 6.3.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-06 17:06 UTC by David
Modified: 2019-09-09 13:24 UTC (History)
1 user (show)

See Also:
Host:
Target: powerpc64le-linux-gnu
Build:
Known to work: 7.4.1, 8.3.1, 9.2.1
Known to fail: 7.1.0, 8.1.0
Last reconfirmed:


Attachments
Pre-processed source file (10.73 KB, text/plain)
2019-09-06 17:06 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2019-09-06 17:06:22 UTC
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
Comment 1 Richard Biener 2019-09-09 08:03:53 UTC
Seems to work with GCC 9 and 8 and 7.  GCC 6 is no longer supported.

So FIXED.
Comment 2 Jakub Jelinek 2019-09-09 13:24:47 UTC
Dup.

*** This bug has been marked as a duplicate of bug 87647 ***