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.
===> lib/csu/powerpc64 (all)
Building
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.powerpc64/lib/csu/powerpc64/crt1.s
Using built-in specs.
COLLECT_GCC=/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=powerpc64-unknown-freebsd13.0 --disable-nls --enable-languages=c,c++
--enable-gnu-indirect-function --enable-initfini-array
--program-prefix=powerpc64-unknown-freebsd13.0- --program-suffix=9
--without-headers --with-gmp=/usr/local --with-pkgversion='FreeBSD Ports
Collection for powerpc64' --with-system-zlib
--with-gxx-include-dir=/usr/include/c++/v1/ --with-sysroot=/
--with-as=/usr/local/bin/powerpc64-unknown-freebsd13.0-as
--with-ld=/usr/local/bin/powerpc64-unknown-freebsd13.0-ld --prefix=/usr/local
--localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/
--build=x86_64-unknown-freebsd13.0
Thread model: posix
gcc version 9.2.0 (FreeBSD Ports Collection for powerpc64)
COLLECT_GCC_OPTIONS='-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=gnu99' '-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=address' '-Wno-error=array-bounds'
'-Wno-error=attributes' '-Wno-error=bool-compare' '-Wno-error=cast-align'
'-Wno-error=clobbered' '-Wno-error=deprecated-declarations'
'-Wno-error=enum-compare' '-Wno-error=extra' '-Wno-error=inline'
'-Wno-error=logical-not-parentheses' '-Wno-error=strict-aliasing'
'-Wno-error=uninitialized' '-Wno-error=unused-but-set-variable' '-Wno-
error=unused-function' '-Wno-error=unused-value'
'-Wno-error=misleading-indentation' '-Wno-error=nonnull-compare'
'-Wno-error=shift-negative-value' '-Wno-error=tautological-compare'
'-Wno-error=unused-const-variable' '-Wno-error=bool-operation'
'-Wno-error=deprecated' '-Wno-error=expansion-to-defined'
'-Wno-error=format-overflow' '-Wno-error=format-truncation'
'-Wno-error=implicit-fallthrough' '-Wno-error=int-in-bool-context'
'-Wno-error=memset-elt-size' '-Wno-error=noexcept-type' '-Wno-error=nonnull'
'-Wno-error=pointer-compare' '-Wno-error=stringop-overflow'
'-Wno-error=aggressive-loop-optimizations' '-Wno-error=cast-function-type'
'-Wno-error=catch-value' '-Wno-error=multistatement-macros'
'-Wno-error=restrict' '-Wno-error=sizeof-pointer-memaccess'
'-Wno-error=stringop-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.powerpc64/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=address -Wno-error=array-bounds -Wno-error=attributes
-Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered
-Wno-error=deprecated-declarations -Wno-error=enum-compare -Wno-error=extra
-Wno-error=inline -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing
-Wno
-error=uninitialized -Wno-error=unused-but-set-variable
-Wno-error=unused-function -Wno-error=unused-value
-Wno-error=misleading-indentation -Wno-error=nonnull-compare
-Wno-error=shift-negative-value -Wno-error=tautological-compare
-Wno-error=unused-const-variable -Wno-error=bool-operation
-Wno-error=deprecated -Wno-error=expansion-to-defined
-Wno-error=format-overflow -Wno-error=format-truncation
-Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context
-Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull
-Wno-error=pointer-compare -Wno-error=stringop-overflow
-Wno-error=aggressive-loop-optimizations -Wno-error=cast-function-type
-Wno-error=catch-value -Wno-error=multistatement-macros -Wno-error=restrict
-Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -std=gnu99
-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=100 --param ggc-min-heapsize=131072
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/../../../../powerpc64-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.powerpc64/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=100 --param ggc-min-heapsize=131072
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
===> lib/csu/powerpc64 (all)
Building
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.powerpc64/lib/csu/powerpc64/crt1.s
Using built-in specs.
COLLECT_GCC=/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=powerpc64-unknown-freebsd13.0 --disable-nls --enable-languages=c,c++
--enable-gnu-indirect-function --enable-initfini-array
--program-prefix=powerpc64-unknown-freebsd13.0- --program-suffix=9
--without-headers --with-gmp=/usr/local --with-pkgversion='FreeBSD Ports
Collection for powerpc64' --with-system-zlib
--with-gxx-include-dir=/usr/include/c++/v1/ --with-sysroot=/
--with-as=/usr/local/bin/powerpc64-unknown-freebsd13.0-as
--with-ld=/usr/local/bin/powerpc64-unknown-freebsd13.0-ld --prefix=/usr/local
--localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/
--build=x86_64-unknown-freebsd13.0
Thread model: posix
gcc version 9.2.0 (FreeBSD Ports Collection for powerpc64)
COLLECT_GCC_OPTIONS='-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=gnu99' '-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=address' '-Wno-error=array-bounds'
'-Wno-error=attributes' '-Wno-error=bool-compare' '-Wno-error=cast-align'
'-Wno-error=clobbered' '-Wno-error=deprecated-declarations'
'-Wno-error=enum-compare' '-Wno-error=extra' '-Wno-error=inline'
'-Wno-error=logical-not-parentheses' '-Wno-error=strict-aliasing'
'-Wno-error=uninitialized' '-Wno-error=unused-but-set-variable' '-Wno-
error=unused-function' '-Wno-error=unused-value'
'-Wno-error=misleading-indentation' '-Wno-error=nonnull-compare'
'-Wno-error=shift-negative-value' '-Wno-error=tautological-compare'
'-Wno-error=unused-const-variable' '-Wno-error=bool-operation'
'-Wno-error=deprecated' '-Wno-error=expansion-to-defined'
'-Wno-error=format-overflow' '-Wno-error=format-truncation'
'-Wno-error=implicit-fallthrough' '-Wno-error=int-in-bool-context'
'-Wno-error=memset-elt-size' '-Wno-error=noexcept-type' '-Wno-error=nonnull'
'-Wno-error=pointer-compare' '-Wno-error=stringop-overflow'
'-Wno-error=aggressive-loop-optimizations' '-Wno-error=cast-function-type'
'-Wno-error=catch-value' '-Wno-error=multistatement-macros'
'-Wno-error=restrict' '-Wno-error=sizeof-pointer-memaccess'
'-Wno-error=stringop-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.powerpc64/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=address -Wno-error=array-bounds -Wno-error=attributes
-Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered
-Wno-error=deprecated-declarations -Wno-error=enum-compare -Wno-error=extra
-Wno-error=inline -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing
-Wno
-error=uninitialized -Wno-error=unused-but-set-variable
-Wno-error=unused-function -Wno-error=unused-value
-Wno-error=misleading-indentation -Wno-error=nonnull-compare
-Wno-error=shift-negative-value -Wno-error=tautological-compare
-Wno-error=unused-const-variable -Wno-error=bool-operation
-Wno-error=deprecated -Wno-error=expansion-to-defined
-Wno-error=format-overflow -Wno-error=format-truncation
-Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context
-Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull
-Wno-error=pointer-compare -Wno-error=stringop-overflow
-Wno-error=aggressive-loop-optimizations -Wno-error=cast-function-type
-Wno-error=catch-value -Wno-error=multistatement-macros -Wno-error=restrict
-Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -std=gnu99
-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=100 --param ggc-min-heapsize=131072
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/../../../../powerpc64-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.powerpc64/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=100 --param ggc-min-heapsize=131072
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
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"