Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2019 16:40:49 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, freebsd-ppc@freebsd.org
Subject:   For devel/freebsd-gcc9@powerpc64 and devel/binutils@powerpc64 use: internal compiler error: in rs6000_pltseq_template, at config/rs6000/rs6000.c:21873
Message-ID:  <10761656-0BAF-41ED-B3B7-8F1DB9DF89DA@yahoo.com>
References:  <10761656-0BAF-41ED-B3B7-8F1DB9DF89DA.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This was for a amd64->powerpc64 buildworld for a head
-r355976 based context.

The there is lots of command argument information from
the gcc toolchain being used with -v. The .meta report
also shows such.

=3D=3D=3D> lib/csu/powerpc64 (all)
Building =
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po=
werpc64/lib/csu/powerpc64/crt1.s
Using built-in specs.
COLLECT_GCC=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-gcc9
Target: powerpc64-unknown-freebsd13.0
Configured with: =
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/configure =
--target=3Dpowerpc64-unknown-freebsd13.0 --disable-nls =
--enable-languages=3Dc,c++ --enable-gnu-indirect-function =
--enable-initfini-array --program-prefix=3Dpowerpc64-unknown-freebsd13.0- =
--program-suffix=3D9 --without-headers --with-gmp=3D/usr/local =
--with-pkgversion=3D'FreeBSD Ports Collection for powerpc64' =
--with-system-zlib --with-gxx-include-dir=3D/usr/include/c++/v1/ =
--with-sysroot=3D/ =
--with-as=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-as =
--with-ld=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-ld =
--prefix=3D/usr/local --localstatedir=3D/var --mandir=3D/usr/local/man =
--infodir=3D/usr/local/share/info/ --build=3Dx86_64-unknown-freebsd13.0
Thread model: posix
gcc version 9.2.0 (FreeBSD Ports Collection for powerpc64)=20
COLLECT_GCC_OPTIONS=3D'-gdwarf-2' '-B' =
'/usr/local/powerpc64-unknown-freebsd13.0/bin/' '-O2' '-pipe' '-I' =
'/usr/src/lib/csu/powerpc64' '-I' '/usr/src/lib/csu/common' '-I' =
'/usr/src/lib/libc/include' '-mlongcall' '-D' 'CRT_IRELOC_RELA' '-g' =
'-std=3Dgnu99' '-Wno-format-zero-length' '-Wsystem-headers' '-Wall' =
'-Wno-format-y2k' '-Wextra' '-Wstrict-prototypes' '-Wmissing-prototypes' =
'-Wpointer-arith' '-Wreturn-type' '-Wcast-qual' '-Wwrite-strings' =
'-Wswitch' '-Wshadow' '-Wunused-parameter' '-Wcast-align' =
'-Wchar-subscripts' '-Winline' '-Wnested-externs' '-Wredundant-decls' =
'-Wold-style-definition' '-Wno-pointer-sign' '-Wno-error=3Daddress' =
'-Wno-error=3Darray-bounds' '-Wno-error=3Dattributes' =
'-Wno-error=3Dbool-compare' '-Wno-error=3Dcast-align' =
'-Wno-error=3Dclobbered' '-Wno-error=3Ddeprecated-declarations' =
'-Wno-error=3Denum-compare' '-Wno-error=3Dextra' '-Wno-error=3Dinline' =
'-Wno-error=3Dlogical-not-parentheses' '-Wno-error=3Dstrict-aliasing' =
'-Wno-error=3Duninitialized' '-Wno-error=3Dunused-but-set-variable' =
'-Wno-error=3Dunused-function' '-Wno-error=3Dunused-value' =
'-Wno-error=3Dmisleading-indentation' '-Wno-error=3Dnonnull-compare' =
'-Wno-error=3Dshift-negative-value' '-Wno-error=3Dtautological-compare' =
'-Wno-error=3Dunused-const-variable' '-Wno-error=3Dbool-operation' =
'-Wno-error=3Ddeprecated' '-Wno-error=3Dexpansion-to-defined' =
'-Wno-error=3Dformat-overflow' '-Wno-error=3Dformat-truncation' =
'-Wno-error=3Dimplicit-fallthrough' '-Wno-error=3Dint-in-bool-context' =
'-Wno-error=3Dmemset-elt-size' '-Wno-error=3Dnoexcept-type' =
'-Wno-error=3Dnonnull' '-Wno-error=3Dpointer-compare' =
'-Wno-error=3Dstringop-overflow' =
'-Wno-error=3Daggressive-loop-optimizations' =
'-Wno-error=3Dcast-function-type' '-Wno-error=3Dcatch-value' =
'-Wno-error=3Dmultistatement-macros' '-Wno-error=3Drestrict' =
'-Wno-error=3Dsizeof-pointer-memaccess' '-Wno-error=3Dstringop-truncation'=
 '-v' '-S' '-o' 'crt1.s'
 /usr/local/libexec/gcc/powerpc64-unknown-freebsd13.0/9.2.0/cc1 -quiet =
-v -I /usr/src/lib/csu/powerpc64 -I /usr/src/lib/csu/common -I =
/usr/src/lib/libc/include -isysroot =
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po=
werpc64/tmp -D CRT_IRELOC_RELA /usr/src/lib/csu/powerpc64/crt1.c -quiet =
-dumpbase crt1.c -mlongcall -auxbase-strip crt1.s -gdwarf-2 -g -O2 =
-Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -Wextra =
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type =
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter =
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs =
-Wredundant-decls -Wold-style-definition -Wno-pointer-sign =
-Wno-error=3Daddress -Wno-error=3Darray-bounds -Wno-error=3Dattributes =
-Wno-error=3Dbool-compare -Wno-error=3Dcast-align -Wno-error=3Dclobbered =
-Wno-error=3Ddeprecated-declarations -Wno-error=3Denum-compare =
-Wno-error=3Dextra -Wno-error=3Dinline =
-Wno-error=3Dlogical-not-parentheses -Wno-error=3Dstrict-aliasing =
-Wno-error=3Duninitialized -Wno-error=3Dunused-but-set-variable =
-Wno-error=3Dunused-function -Wno-error=3Dunused-value =
-Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare =
-Wno-error=3Dshift-negative-value -Wno-error=3Dtautological-compare =
-Wno-error=3Dunused-const-variable -Wno-error=3Dbool-operation =
-Wno-error=3Ddeprecated -Wno-error=3Dexpansion-to-defined =
-Wno-error=3Dformat-overflow -Wno-error=3Dformat-truncation =
-Wno-error=3Dimplicit-fallthrough -Wno-error=3Dint-in-bool-context =
-Wno-error=3Dmemset-elt-size -Wno-error=3Dnoexcept-type =
-Wno-error=3Dnonnull -Wno-error=3Dpointer-compare =
-Wno-error=3Dstringop-overflow -Wno-error=3Daggressive-loop-optimizations =
-Wno-error=3Dcast-function-type -Wno-error=3Dcatch-value =
-Wno-error=3Dmultistatement-macros -Wno-error=3Drestrict =
-Wno-error=3Dsizeof-pointer-memaccess -Wno-error=3Dstringop-truncation =
-std=3Dgnu99 -version -o crt1.s
GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 =
(powerpc64-unknown-freebsd13.0)
	compiled by GNU C version FreeBSD Clang 9.0.0 =
(tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, =
MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=3D100 --param =
ggc-min-heapsize=3D131072
ignoring nonexistent directory =
"/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include-fixed"
ignoring nonexistent directory =
"/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/../../../../powerp=
c64-unknown-freebsd13.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/src/lib/csu/powerpc64
 /usr/src/lib/csu/common
 /usr/src/lib/libc/include
 /usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include
 =
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po=
werpc64/tmp/usr/include
End of search list.
GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 =
(powerpc64-unknown-freebsd13.0)
	compiled by GNU C version FreeBSD Clang 9.0.0 =
(tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, =
MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=3D100 --param =
ggc-min-heapsize=3D131072
Compiler executable checksum: c6b29a72d44037ade47bd096976b7211
during RTL pass: final
In file included from /usr/src/lib/csu/powerpc64/crt1.c:56:
/usr/src/lib/csu/common/ignore_init.c: In function 'finalizer':
/usr/src/lib/csu/common/ignore_init.c:100:1: internal compiler error: in =
rs6000_pltseq_template, at config/rs6000/rs6000.c:21873
  100 | }
      | ^
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/>; for instructions.
*** Error code 1

Stop.
make[5]: stopped in /usr/src/lib/csu/powerpc64
=3D=3D=3D> lib/csu/powerpc64 (all)
Building =
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po=
werpc64/lib/csu/powerpc64/crt1.s
Using built-in specs.
COLLECT_GCC=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-gcc9
Target: powerpc64-unknown-freebsd13.0
Configured with: =
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/configure =
--target=3Dpowerpc64-unknown-freebsd13.0 --disable-nls =
--enable-languages=3Dc,c++ --enable-gnu-indirect-function =
--enable-initfini-array --program-prefix=3Dpowerpc64-unknown-freebsd13.0- =
--program-suffix=3D9 --without-headers --with-gmp=3D/usr/local =
--with-pkgversion=3D'FreeBSD Ports Collection for powerpc64' =
--with-system-zlib --with-gxx-include-dir=3D/usr/include/c++/v1/ =
--with-sysroot=3D/ =
--with-as=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-as =
--with-ld=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-ld =
--prefix=3D/usr/local --localstatedir=3D/var --mandir=3D/usr/local/man =
--infodir=3D/usr/local/share/info/ --build=3Dx86_64-unknown-freebsd13.0
Thread model: posix
gcc version 9.2.0 (FreeBSD Ports Collection for powerpc64)=20
COLLECT_GCC_OPTIONS=3D'-gdwarf-2' '-B' =
'/usr/local/powerpc64-unknown-freebsd13.0/bin/' '-O2' '-pipe' '-I' =
'/usr/src/lib/csu/powerpc64' '-I' '/usr/src/lib/csu/common' '-I' =
'/usr/src/lib/libc/include' '-mlongcall' '-D' 'CRT_IRELOC_RELA' '-g' =
'-std=3Dgnu99' '-Wno-format-zero-length' '-Wsystem-headers' '-Wall' =
'-Wno-format-y2k' '-Wextra' '-Wstrict-prototypes' '-Wmissing-prototypes' =
'-Wpointer-arith' '-Wreturn-type' '-Wcast-qual' '-Wwrite-strings' =
'-Wswitch' '-Wshadow' '-Wunused-parameter' '-Wcast-align' =
'-Wchar-subscripts' '-Winline' '-Wnested-externs' '-Wredundant-decls' =
'-Wold-style-definition' '-Wno-pointer-sign' '-Wno-error=3Daddress' =
'-Wno-error=3Darray-bounds' '-Wno-error=3Dattributes' =
'-Wno-error=3Dbool-compare' '-Wno-error=3Dcast-align' =
'-Wno-error=3Dclobbered' '-Wno-error=3Ddeprecated-declarations' =
'-Wno-error=3Denum-compare' '-Wno-error=3Dextra' '-Wno-error=3Dinline' =
'-Wno-error=3Dlogical-not-parentheses' '-Wno-error=3Dstrict-aliasing' =
'-Wno-error=3Duninitialized' '-Wno-error=3Dunused-but-set-variable' =
'-Wno-error=3Dunused-function' '-Wno-error=3Dunused-value' =
'-Wno-error=3Dmisleading-indentation' '-Wno-error=3Dnonnull-compare' =
'-Wno-error=3Dshift-negative-value' '-Wno-error=3Dtautological-compare' =
'-Wno-error=3Dunused-const-variable' '-Wno-error=3Dbool-operation' =
'-Wno-error=3Ddeprecated' '-Wno-error=3Dexpansion-to-defined' =
'-Wno-error=3Dformat-overflow' '-Wno-error=3Dformat-truncation' =
'-Wno-error=3Dimplicit-fallthrough' '-Wno-error=3Dint-in-bool-context' =
'-Wno-error=3Dmemset-elt-size' '-Wno-error=3Dnoexcept-type' =
'-Wno-error=3Dnonnull' '-Wno-error=3Dpointer-compare' =
'-Wno-error=3Dstringop-overflow' =
'-Wno-error=3Daggressive-loop-optimizations' =
'-Wno-error=3Dcast-function-type' '-Wno-error=3Dcatch-value' =
'-Wno-error=3Dmultistatement-macros' '-Wno-error=3Drestrict' =
'-Wno-error=3Dsizeof-pointer-memaccess' '-Wno-error=3Dstringop-truncation'=
 '-v' '-S' '-o' 'crt1.s'
 /usr/local/libexec/gcc/powerpc64-unknown-freebsd13.0/9.2.0/cc1 -quiet =
-v -I /usr/src/lib/csu/powerpc64 -I /usr/src/lib/csu/common -I =
/usr/src/lib/libc/include -isysroot =
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po=
werpc64/tmp -D CRT_IRELOC_RELA /usr/src/lib/csu/powerpc64/crt1.c -quiet =
-dumpbase crt1.c -mlongcall -auxbase-strip crt1.s -gdwarf-2 -g -O2 =
-Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -Wextra =
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type =
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter =
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs =
-Wredundant-decls -Wold-style-definition -Wno-pointer-sign =
-Wno-error=3Daddress -Wno-error=3Darray-bounds -Wno-error=3Dattributes =
-Wno-error=3Dbool-compare -Wno-error=3Dcast-align -Wno-error=3Dclobbered =
-Wno-error=3Ddeprecated-declarations -Wno-error=3Denum-compare =
-Wno-error=3Dextra -Wno-error=3Dinline =
-Wno-error=3Dlogical-not-parentheses -Wno-error=3Dstrict-aliasing =
-Wno-error=3Duninitialized -Wno-error=3Dunused-but-set-variable =
-Wno-error=3Dunused-function -Wno-error=3Dunused-value =
-Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare =
-Wno-error=3Dshift-negative-value -Wno-error=3Dtautological-compare =
-Wno-error=3Dunused-const-variable -Wno-error=3Dbool-operation =
-Wno-error=3Ddeprecated -Wno-error=3Dexpansion-to-defined =
-Wno-error=3Dformat-overflow -Wno-error=3Dformat-truncation =
-Wno-error=3Dimplicit-fallthrough -Wno-error=3Dint-in-bool-context =
-Wno-error=3Dmemset-elt-size -Wno-error=3Dnoexcept-type =
-Wno-error=3Dnonnull -Wno-error=3Dpointer-compare =
-Wno-error=3Dstringop-overflow -Wno-error=3Daggressive-loop-optimizations =
-Wno-error=3Dcast-function-type -Wno-error=3Dcatch-value =
-Wno-error=3Dmultistatement-macros -Wno-error=3Drestrict =
-Wno-error=3Dsizeof-pointer-memaccess -Wno-error=3Dstringop-truncation =
-std=3Dgnu99 -version -o crt1.s
GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 =
(powerpc64-unknown-freebsd13.0)
	compiled by GNU C version FreeBSD Clang 9.0.0 =
(tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, =
MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=3D100 --param =
ggc-min-heapsize=3D131072
ignoring nonexistent directory =
"/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include-fixed"
ignoring nonexistent directory =
"/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/../../../../powerp=
c64-unknown-freebsd13.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/src/lib/csu/powerpc64
 /usr/src/lib/csu/common
 /usr/src/lib/libc/include
 /usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include
 =
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po=
werpc64/tmp/usr/include
End of search list.
GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 =
(powerpc64-unknown-freebsd13.0)
	compiled by GNU C version FreeBSD Clang 9.0.0 =
(tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, =
MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=3D100 --param =
ggc-min-heapsize=3D131072
Compiler executable checksum: c6b29a72d44037ade47bd096976b7211
during RTL pass: final
In file included from /usr/src/lib/csu/powerpc64/crt1.c:56:
/usr/src/lib/csu/common/ignore_init.c: In function 'finalizer':
/usr/src/lib/csu/common/ignore_init.c:100:1: internal compiler error: in =
rs6000_pltseq_template, at config/rs6000/rs6000.c:21873
  100 | }
      | ^
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/>; for instructions.
*** Error code 1

Stop.
make[5]: stopped in /usr/src/lib/csu/powerpc64

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10761656-0BAF-41ED-B3B7-8F1DB9DF89DA>