Hello!
This happens when using the MacPorts package manager. First build
went fine, then packages like cctools and ld64 were upgraded, so
libgcc/GCC 7.3.0 had to be upgraded too. The new build fails
constantly with
rm -f stage_current
make[3]: Leaving directory `/opt/local/var/macports/build/
_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarbal
ls_ports_lang_gcc7/libgcc7/work/build'
Comparing stages 2 and 3
warning: gcc/cc1obj-checksum.o differs
warning: gcc/cc1objplus-checksum.o differs
Bootstrap comparison failure!
gcc/host-darwin.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/
_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarbal
ls_ports_lang_gcc7/libgcc7/work/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/
_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarbal
ls_ports_lang_gcc7/libgcc7/work/build'
make: *** [bootstrap-lean] Error 2
make: Leaving directory `/opt/local/var/macports/build/
_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarbal
ls_ports_lang_gcc7/libgcc7/work/build'
Command failed: cd "/opt/local/var/macports/build/
_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarbal
ls_ports_lang_gcc7/libgcc7/work/build" && /usr/bin/make -w bootstrap-
lean
Exit code: 2
Configuration happens with:
--prefix=/opt/local --build=ppc-apple-darwin8 --enable-languages=c,c+
+,objc,obj-c++,lto,fortran --libdir=/opt/local/lib/libgcc --
includedir=/opt/local/include/gcc --infodir=/opt/local/share/info --
mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-7 --
with-local-prefix=/opt/local --with-system-zlib --disable-nls --
program-suffix=-mp-7 --with-gxx-include-dir=/opt/local/include/gcc/c+
+/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local
--with-isl=/opt/local --enable-stage1-checking --disable-multilib --
enable-lto --enable-libstdcxx-time --with-build-config=bootstrap-
debug --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-
ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/
newticket --disable-tls --with-pkgversion="…"
The explicitely named tools /opt/local/bin/{ar,as} (plus nm, libtool,
ranlib, strings, strip) are from the package cctools @895_7, the
named tool /opt/local/bin/ld comes from the package ld64 @3_1.
The case with build logs is also documented here: https://
trac.macports.org/ticket/56922.
Can I try something else to try to fix the problem?
--
Greetings
Pete
A blizzard is when it snows sideways.