[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#941495: Internal compiler errror: in decode_addr_const, at varasm.c:2864



Package: gcc-6
Version: 4:6.3.0-18+deb9u1
Severity: important

Greetings,

gcc is failing on powerpc64le-linux-gnu with a gcc dump.  This bug is
preventing pgbackrest (and, likely, PostgreSQL itself as of current
HEAD, though I haven't had a chance to test it myself) from being able
to be built on this platform.  Per the GCC folks, gcc 7, 8 and 9 don't
have this issue:

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

The build log is available here:

https://pgdgbuild.dus.dg-i.net/job/pgbackrest-binaries/55/architecture=ppc64el,distribution=stretch/console

Also per the GCC folks, this was a duplicate of:

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

which included a patch to fix the issue:

https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/varasm.c?r1=265341&r2=265340&pathrev=265341

No idea if that's something that could be back-patched to gcc-6, but
it's at least a really small patch.

Would be great to get this fixed in gcc-6 so that pgbackrest and
PostgreSQL can be built on powerpc64-le-linux-gnu, otherwise we'll end
up having to drop support for this platform on stretch.

Thanks,

Stephen

Attachment: signature.asc
Description: PGP signature


Reply to: