Opened 4 years ago

Closed 4 years ago

#62694 closed defect (worksforme)

libgcc-devel, fail to build in BigSur 11.2 by (11_arm64) :info:build Bootstrap comparison failure!

Reported by: ecb2c (lee_sw) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: libgcc-devel

Description (last modified by kencu (Ken))

I have no idea for this error. This took for almost 1hr to build "libgcc-devel" with 100% CPUs (8 cores Full running). Please try to solve this, if somebody has interest on it. Thanks.

:info:build make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/aarch64-apple-darwin20/libstdc++-v3/python'
:info:build sed -e 's,@pythondir@,/opt/local/share/gcc-devel/gcc-11.0.1/python,' \
:info:build 	    -e 's,@toolexeclibdir@,/opt/local/lib/libgcc,' < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/gcc-darwin-arm64-e330c4193fcc9dfd030d14b309b573753aa0afb0/libstdc++-v3/python/hook.in > gdb.py
:info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/aarch64-apple-darwin20/libstdc++-v3/python'
:info:build make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/aarch64-apple-darwin20/libstdc++-v3'
:info:build true "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/bin/clang -arch arm64" "CC_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/./gcc/" "CFLAGS=-g -O2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "CXXFLAGS=-g -O2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "CFLAGS_FOR_BUILD=-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "CFLAGS_FOR_TARGET=-g -O2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "LIBCFLAGS_FOR_TARGET=-g -O2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "MAKE=/Library/Developer/CommandLineTools/usr/bin/make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000   " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/opt/local" "infodir=/opt/local/share/info" "libdir=/opt/local/lib/libgcc" "includedir=/opt/local/include/gcc" "prefix=/opt/local" "tooldir=/opt/local/aarch64-apple-darwin20" "gxx_include_dir=/opt/local/include/gcc/c++/" "AR=/opt/local/bin/ar" "AS=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/./gcc/as" "LD=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/./gcc/collect-ld" "RANLIB=/opt/local/bin/ranlib" "NM=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/opt/local/bin/nm" "DESTDIR=" "WERROR=" DO=all multi-do # /Library/Developer/CommandLineTools/usr/bin/make
:info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/aarch64-apple-darwin20/libstdc++-v3'
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/aarch64-apple-darwin20/libstdc++-v3'
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/aarch64-apple-darwin20/libstdc++-v3'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build'
:info:build /Library/Developer/CommandLineTools/usr/bin/make "DESTDIR=" "RPATH_ENVVAR=DYLD_LIBRARY_PATH" "TARGET_SUBDIR=aarch64-apple-darwin20" "bindir=/opt/local/bin" "datadir=/opt/local/share/gcc-devel" "exec_prefix=/opt/local" "includedir=/opt/local/include/gcc" "datarootdir=/opt/local/share/gcc-devel" "docdir=/opt/local/share/gcc-devel/doc/" "infodir=/opt/local/share/info" "pdfdir=/opt/local/share/gcc-devel/doc/" "htmldir=/opt/local/share/gcc-devel/doc/" "libdir=/opt/local/lib/libgcc" "libexecdir=/opt/local/libexec" "lispdir=" "localstatedir=/opt/local/var" "mandir=/opt/local/share/man" "oldincludedir=/usr/include" "prefix=/opt/local" "sbindir=/opt/local/sbin" "sharedstatedir=/opt/local/com" "sysconfdir=/opt/local/etc" "tooldir=/opt/local/aarch64-apple-darwin20" "build_tooldir=/opt/local/aarch64-apple-darwin20" "target_alias=aarch64-apple-darwin20" "AWK=awk" "BISON=bison" "CC_FOR_BUILD=/usr/bin/clang -arch arm64" "CFLAGS_FOR_BUILD=-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "CXX_FOR_BUILD=/usr/bin/clang++ -arch arm64 -std=c++11" "EXPECT=expect" "FLEX=flex" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS_FOR_BUILD=-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "LEX=flex" "M4=gm4" "MAKE=/Library/Developer/CommandLineTools/usr/bin/make" "RUNTEST=runtest" "RUNTESTFLAGS=" "SED=/usr/bin/sed" "SHELL=/bin/sh" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "ADA_CFLAGS=" "AR_FLAGS=rc" "`echo 'BOOT_ADAFLAGS=-gnatpg' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "BOOT_CFLAGS=-g -O2" "BOOT_LDFLAGS=" "CFLAGS=-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "CXXFLAGS=-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "LIBCFLAGS=-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "LIBCXXFLAGS=-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-implicit-templates" "STAGE1_CHECKING=--enable-checking=yes" "STAGE1_LANGUAGES=c,c++,lto" "GNATBIND=no" "GNATMAKE=no" "GDC=@GDC@" "GDCFLAGS=-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "AR_FOR_TARGET=/opt/local/bin/ar" "AS_FOR_TARGET=/opt/local/bin/as" "CC_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/./gcc/" "CFLAGS_FOR_TARGET=-g -O2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "CPPFLAGS_FOR_TARGET=" "CXXFLAGS_FOR_TARGET=-g -O2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "DLLTOOL_FOR_TARGET=dlltool" "DSYMUTIL_FOR_TARGET=dsymutil" "FLAGS_FOR_TARGET=-B/opt/local/aarch64-apple-darwin20/bin/ -B/opt/local/aarch64-apple-darwin20/lib/ -isystem /opt/local/aarch64-apple-darwin20/include -isystem /opt/local/aarch64-apple-darwin20/sys-include" "GFORTRAN_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/./gcc/gfortran -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build/./gcc/" "GOC_FOR_TARGET=" "GOCFLAGS_FOR_TARGET=-O2 -g" "GDC_FOR_TARGET=@GDC@" "GDCFLAGS_FOR_TARGET=-O2 -g" "LD_FOR_TARGET=/opt/local/bin/ld" "LIPO_FOR_TARGET=lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g -O2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "LIBCXXFLAGS_FOR_TARGET=-g -O2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-implicit-templates" "NM_FOR_TARGET=/opt/local/bin/nm" "OBJDUMP_FOR_TARGET=/opt/local/bin/objdump" "OBJCOPY_FOR_TARGET=" "RANLIB_FOR_TARGET=/opt/local/bin/ranlib" "READELF_FOR_TARGET=readelf" "STRIP_FOR_TARGET=/opt/local/bin/strip" "WINDRES_FOR_TARGET=windres" "WINDMC_FOR_TARGET=windmc" "BUILD_CONFIG=bootstrap-debug" "`echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "LEAN=:" "STAGE1_CFLAGS=-g" "STAGE1_CXXFLAGS=-g" "STAGE1_GENERATOR_CFLAGS=" "STAGE1_TFLAGS=-fno-checking" "STAGE2_CFLAGS=-g -O2 -fno-checking -gtoggle" "STAGE2_CXXFLAGS=-g -O2 -fno-checking -gtoggle" "STAGE2_GENERATOR_CFLAGS=" "STAGE2_TFLAGS=-fno-checking" "STAGE3_CFLAGS=-g -O2 -fchecking=1" "STAGE3_CXXFLAGS=-g -O2 -fchecking=1" "STAGE3_GENERATOR_CFLAGS=" "STAGE3_TFLAGS=-fchecking=1" "STAGE4_CFLAGS=-g -O2" "STAGE4_CXXFLAGS=-g -O2" "STAGE4_GENERATOR_CFLAGS=" "STAGE4_TFLAGS=" "STAGEprofile_CFLAGS=-g -O2 -fno-checking -gtoggle -fprofile-generate" "STAGEprofile_CXXFLAGS=-g -O2 -fno-checking -gtoggle -fprofile-generate" "STAGEprofile_GENERATOR_CFLAGS=" "STAGEprofile_TFLAGS=-fno-checking" "STAGEtrain_CFLAGS=-g -O2" "STAGEtrain_CXXFLAGS=-g -O2" "STAGEtrain_GENERATOR_CFLAGS=" "STAGEtrain_TFLAGS=" "STAGEfeedback_CFLAGS=-g -O2 -fprofile-use -fprofile-reproducible=parallel-runs" "STAGEfeedback_CXXFLAGS=-g -O2 -fprofile-use -fprofile-reproducible=parallel-runs" "STAGEfeedback_GENERATOR_CFLAGS=" "STAGEfeedback_TFLAGS=" "STAGEautoprofile_CFLAGS=-g -O2 -fno-checking -gtoggle -g" "STAGEautoprofile_CXXFLAGS=-g -O2 -fno-checking -gtoggle -g" "STAGEautoprofile_GENERATOR_CFLAGS=" "STAGEautoprofile_TFLAGS=-fno-checking" "STAGEautofeedback_CFLAGS=-g -O2 -fchecking=1" "STAGEautofeedback_CXXFLAGS=-g -O2 -fchecking=1" "STAGEautofeedback_GENERATOR_CFLAGS=" "STAGEautofeedback_TFLAGS=-fchecking=1" "CXX_FOR_TARGET= $r/./gcc/xg++ -B$r/./gcc/ -nostdinc++ `if test -f $r/aarch64-apple-darwin20/libstdc++-v3/scripts/testsuite_flags; then /bin/sh $r/aarch64-apple-darwin20/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$r/aarch64-apple-darwin20/libstdc++-v3/src -L$r/aarch64-apple-darwin20/libstdc++-v3/src/.libs -L$r/aarch64-apple-darwin20/libstdc++-v3/libsupc++/.libs" "TFLAGS=" "CONFIG_SHELL=/bin/sh" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000"  compare
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build'
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build'
:info:build rm -f stage_current
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/build'
:info:build Comparing stages 2 and 3
:info:build warning: gcc/cc1obj-checksum.o differs
:info:build warning: gcc/cc1objplus-checksum.o differs
:info:build Bootstrap comparison failure!
:info:build gcc/lto-compress.o differs
:info:build gcc/lto-streamer-out.o differs
:info:build gcc/gcc.o differs
:info:build make[2]: *** [compare] Error 1

Attachments (2)

log.txt.tar.gz (2.0 MB) - added by ecb2c (lee_sw) 4 years ago.
log for libgcc-devil
fftw-3.png (1.5 MB) - added by ecb2c (lee_sw) 4 years ago.
FFTW-3_installation

Change History (13)

comment:1 Changed 4 years ago by kencu (Ken)

can you attach the log (compressed) for libgcc-devel please?

comment:2 Changed 4 years ago by kencu (Ken)

Keywords: fftw-3 FFTW bigsur removed
Port: libgcc-devel added; fftw-3 removed

comment:3 Changed 4 years ago by kencu (Ken)

Summary: [fftw-3] libgcc-devel, fail to build in BigSur 11.2 by (11_arm64)libgcc-devel, fail to build in BigSur 11.2 by (11_arm64)

Changed 4 years ago by ecb2c (lee_sw)

Attachment: log.txt.tar.gz added

log for libgcc-devil

comment:4 Changed 4 years ago by kencu (Ken)

Description: modified (diff)
Summary: libgcc-devel, fail to build in BigSur 11.2 by (11_arm64)libgcc-devel, fail to build in BigSur 11.2 by (11_arm64) :info:build Bootstrap comparison failure!

comment:5 Changed 4 years ago by kencu (Ken)

We see these bootstrap comparison errors sometimes. They can often disappear when you build the port again.

Please do this (overnight if you like :>).

sudo port clean libgcc-devel
sudo port -v install libgcc-devel

and see if that "just works" to fix it, please.

There is no arm64 buildbot just now, so we can't compare you to our reference platform, but (so far) no other reports of this.

comment:6 Changed 4 years ago by ecb2c (lee_sw)

understood, now I'm trying to do clean and reinstall, this seems that takes so long time to complete, let us see what happens. I will share the log once it's done. Thanks.

sudo port clean libgcc-devel
sudo port -v install libgcc-devel

Changed 4 years ago by ecb2c (lee_sw)

Attachment: fftw-3.png added

FFTW-3_installation

comment:7 Changed 4 years ago by ecb2c (lee_sw)

libgcc-devel looks fine, no files and ports are broken. by the way, I've seen something weird shown in screen capture attached below, for ~ 30mins during re-installing FFTW-3 again. could you show me the normal installation for FFTW-3 ?

comment:8 Changed 4 years ago by ecb2c (lee_sw)

I think, it looks fine, after cleaning "libgcc-devel" Really appreciate for your helpful comments.

% sudo port install fftw-3
Password:
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
--->  Computing dependencies for fftw-3
The following dependencies will be installed:  gcc-devel
Continue? [Y/n]: y
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
--->  Fetching archive for gcc-devel
--->  Attempting to fetch gcc-devel-11-20210328_0.darwin_20.arm64.tbz2 from http://jog.id.packages.macports.org/macports/packages/gcc-devel
--->  Attempting to fetch gcc-devel-11-20210328_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/gcc-devel
--->  Attempting to fetch gcc-devel-11-20210328_0.darwin_20.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gcc-devel
--->  Fetching distfiles for gcc-devel
--->  Verifying checksums for gcc-devel
--->  Extracting gcc-devel
--->  Configuring gcc-devel
--->  Building gcc-devel
--->  Staging gcc-devel into destroot
--->  Installing gcc-devel @11-20210328_0
--->  Activating gcc-devel @11-20210328_0
--->  Cleaning gcc-devel
--->  Fetching archive for fftw-3
--->  Attempting to fetch fftw-3-3.3.9_1+gfortran.darwin_20.arm64.tbz2 from http://jog.id.packages.macports.org/macports/packages/fftw-3
--->  Attempting to fetch fftw-3-3.3.9_1+gfortran.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/fftw-3
--->  Attempting to fetch fftw-3-3.3.9_1+gfortran.darwin_20.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/fftw-3
--->  Fetching distfiles for fftw-3
--->  Attempting to fetch fftw-3.3.9.tar.gz from http://cjj.kr.distfiles.macports.org/fftw-3
--->  Verifying checksums for fftw-3
--->  Extracting fftw-3
--->  Configuring fftw-3
--->  Building fftw-3
--->  Staging fftw-3 into destroot
--->  Installing fftw-3 @3.3.9_1+gfortran
--->  Activating fftw-3 @3.3.9_1+gfortran
--->  Cleaning fftw-3
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

comment:9 in reply to:  7 ; Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ecb2c:

by the way, I've seen something weird shown in screen capture attached below, for ~ 30mins during re-installing FFTW-3 again.

What in that screenshot do you think looks weird?

comment:10 in reply to:  9 Changed 4 years ago by ecb2c (lee_sw)

Replying to ryandesign:

Replying to ecb2c:

by the way, I've seen something weird shown in screen capture attached below, for ~ 30mins during re-installing FFTW-3 again.

What in that screenshot do you think looks weird?

==> I mean, it took almost 1hr with full loads.. could not expect it.

comment:11 Changed 4 years ago by kencu (Ken)

Resolution: worksforme
Status: newclosed

Yes -- building compilers is about as hard as a computer will ever work. It is very challenging on the system!

I'm going to close this as this bootstrap comparison failure is a spurious error that shows up unpredictably. Certainly, it's an error, just not something we can (seem to) permanently fix. I don't think it is a MacPorts error.

If we get repeated tickets about it, we'll have to see ... glad you got working.

Note: See TracTickets for help on using tickets.