[MacPorts] #56922: Libgcc7 @7.3.0_1 fails to build on PPC Tiger, Mac OS X 10.4.11, because comparison of stages 2 and 3 fails

MacPorts noreply at macports.org
Fri Aug 10 08:09:06 UTC 2018


#56922: Libgcc7 @7.3.0_1 fails to build on PPC Tiger, Mac OS X 10.4.11, because
comparison of stages 2 and 3 fails
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.3
Resolution:             |   Keywords:  tiger
      Port:  libgcc7    |
------------------------+--------------------

Comment (by ballapete):

 The result of the new build is the same:

 {{{
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_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
 }}}

 {{{
 -rw-r--r--   1 macports  admin  512  9 Aug 20:00
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build/stage2-gcc
 /cc1obj-checksum.o
 -rw-r--r--   1 macports  admin  512  9 Aug 20:15
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build/stage2-gcc
 /cc1objplus-checksum.o
 -rw-r--r--   1 macports  admin  876 10 Aug 00:58
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build/stage3-gcc
 /cc1obj-checksum.o
 -rw-r--r--   1 macports  admin  880 10 Aug 01:01
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build/stage3-gcc
 /cc1objplus-checksum.o

 -rw-r--r--   1 macports  admin  2924  9 Aug 15:38
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build/stage2-gcc
 /host-darwin.o
 -rw-r--r--   1 macports  admin  4688 10 Aug 00:14
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build/stage3-gcc
 /host-darwin.o
 }}}

 The file system still has almost 2 GB left. The build log does not seem to
 contain another error, for example one that reports that the compiler
 could not create or write an object.

 One difference when building the three object files is the use of
 `-gtoggle` in `stage 2`. It's probably used for all `stage 2` objects. In
 `stage 3` it's only used to create the `compare` utility:

 {{{
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build
 /ppc-apple-darwin8/libgomp'
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build'
 /usr/bin/make "DESTDIR=" "RPATH_ENVVAR=DYLD_LIBRARY_PATH" "TARGET_SUBDIR
 =ppc-apple-darwin8" "bindir=/opt/local/bin"
 "datadir=/opt/local/share/gcc-7" "exec_prefix=/opt/local"
 "includedir=/opt/local/include/gcc" "datarootdir=/opt/local/share/gcc-7"
 "docdir=/opt/local/share/gcc-7/doc/" "infodir=/opt/local/share/info"
 "pdfdir=/opt/local/share/gcc-7/doc/" "htmldir=/opt/local/share/gcc-7/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/ppc-apple-darwin8" "build_tooldir=/opt/local/ppc-
 apple-darwin8" "target_alias=ppc-apple-darwin8" "AWK=gawk" "BISON=bison"
 "CC_FOR_BUILD=/opt/local/bin/gcc-apple-4.2 -arch ppc"
 "CFLAGS_FOR_BUILD=-pipe -Os" "CXX_FOR_BUILD=/opt/local/bin/g++-apple-4.2
 -arch ppc -std=gnu++98" "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"
 "LEX=flex" "M4=gm4" "MAKE=/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 -mdynamic-no-pic" "BOOT_LDFLAGS=" "CFLAGS=-pipe -Os" "CXXFLAGS=-pipe
 -Os" "LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names"
 "LIBCFLAGS=-pipe -Os" "LIBCXXFLAGS=-pipe -Os -fno-implicit-templates"
 "STAGE1_CHECKING=--enable-checking=yes" "STAGE1_LANGUAGES=c,c++,lto"
 "GNATBIND=no" "GNATMAKE=no" "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_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build/./gcc/"
 "CFLAGS_FOR_TARGET=-g -O2 -pipe -Os" "CPPFLAGS_FOR_TARGET="
 "CXXFLAGS_FOR_TARGET=-g -O2 -pipe -Os" "DLLTOOL_FOR_TARGET=dlltool"
 "FLAGS_FOR_TARGET=-B/opt/local/ppc-apple-darwin8/bin/ -B/opt/local/ppc-
 apple-darwin8/lib/ -isystem /opt/local/ppc-apple-darwin8/include -isystem
 /opt/local/ppc-apple-darwin8/sys-include"
 "GFORTRAN_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build/./gcc/gfortran
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build/./gcc/"
 "GOC_FOR_TARGET=" "GOCFLAGS_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"
 "LIBCXXFLAGS_FOR_TARGET=-g -O2 -pipe -Os -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
 -mdynamic-no-pic" "STAGE1_CXXFLAGS=-g -mdynamic-no-pic" "STAGE1_TFLAGS="
 "STAGE2_CFLAGS=-g -O2 -mdynamic-no-pic  -gtoggle" "STAGE2_CXXFLAGS=-g -O2
 -mdynamic-no-pic  -gtoggle" "STAGE2_TFLAGS=" "STAGE3_CFLAGS=-g -O2
 -mdynamic-no-pic " "STAGE3_CXXFLAGS=-g -O2 -mdynamic-no-pic "
 "STAGE3_TFLAGS=" "STAGE4_CFLAGS=-g -O2 -mdynamic-no-pic "
 "STAGE4_CXXFLAGS=-g -O2 -mdynamic-no-pic " "STAGE4_TFLAGS="
 "STAGEprofile_CFLAGS=-g -O2 -mdynamic-no-pic  -gtoggle -fprofile-generate"
 "STAGEprofile_CXXFLAGS=-g -O2 -mdynamic-no-pic  -gtoggle -fprofile-
 generate" "STAGEprofile_TFLAGS=" "STAGEfeedback_CFLAGS=-g -O2 -mdynamic-
 no-pic  -fprofile-use" "STAGEfeedback_CXXFLAGS=-g -O2 -mdynamic-no-pic
 -fprofile-use" "STAGEfeedback_TFLAGS=" "STAGEautoprofile_CFLAGS=-g -O2
 -mdynamic-no-pic  -gtoggle -g" "STAGEautoprofile_CXXFLAGS=-g -O2
 -mdynamic-no-pic  -gtoggle -g" "STAGEautoprofile_TFLAGS="
 "STAGEautofeedback_CFLAGS=-g -O2 -mdynamic-no-pic "
 "STAGEautofeedback_CXXFLAGS=-g -O2 -mdynamic-no-pic "
 "STAGEautofeedback_TFLAGS=" "CXX_FOR_TARGET= $r/./gcc/xg++ -B$r/./gcc/
 -nostdinc++ `if test -f $r/ppc-apple-
 darwin8/libstdc++-v3/scripts/testsuite_flags; then /bin/sh $r/ppc-apple-
 darwin8/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo
 -funconfigured-libstdc++-v3 ; fi` -L$r/ppc-apple-darwin8/libstdc++-v3/src
 -L$r/ppc-apple-darwin8/libstdc++-v3/src/.libs -L$r/ppc-apple-
 darwin8/libstdc++-v3/libsupc++/.libs" "TFLAGS=" "CONFIG_SHELL=/bin/sh"
 "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000"  compare
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build'
 make[3]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build'
 rm -f stage_current
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc7/libgcc7/work/build'
 Comparing stages 2 and 3
 }}}

 I'll check later the problems described in #51245.

-- 
Ticket URL: <https://trac.macports.org/ticket/56922#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list