[MacPorts] #45174: defect: build of libgcc 4.9.1 fails on PPC Leopard (Mac OS X 10.5.8) because of "Bootstrap comparison failure!"

MacPorts noreply at macports.org
Fri Jan 30 12:17:04 PST 2015


#45174: defect: build of libgcc 4.9.1 fails on PPC Leopard (Mac OS X 10.5.8)
because of "Bootstrap comparison failure!"
------------------------------+-------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  mww@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.1
Resolution:                   |   Keywords:
      Port:  libgcc           |
------------------------------+-------------------

Comment (by Peter_Dyballa@…):

 Replying to [comment:14 Peter_Dyballa@…]:
 > Replying to [comment:13 csanchezdll@…]:
 >
 > Anyway, I started a new build, having almost 6 GB of free disk space…

 Actually the build did not take long… It took long for me to look after
 it! After less than a day it ended here:

 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc49/gcc49/work/build
 /./prev-gcc/xg++
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc49/gcc49/work/build
 /./prev-gcc/ -B/opt/local/ppc-apple-darwin9/bin/ -nostdinc++
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc49/gcc49/work/build
 /prev-ppc-apple-darwin9/libstdc++-v3/src/.libs
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc49/gcc49/work/build
 /prev-ppc-apple-darwin9/libstdc++-v3/libsupc++/.libs
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc49/gcc49/work/build
 /prev-ppc-apple-darwin9/libstdc++-v3/include/ppc-apple-darwin9
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc49/gcc49/work/build
 /prev-ppc-apple-darwin9/libstdc++-v3/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc49/gcc49/work/gcc-4.9.2/libstdc++-v3/libsupc++
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc49/gcc49/work/build
 /prev-ppc-apple-darwin9/libstdc++-v3/src/.libs
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc49/gcc49/work/build
 /prev-ppc-apple-darwin9/libstdc++-v3/libsupc++/.libs   -g -O2 -mdynamic-
 no-pic -gtoggle -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-
 unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
 -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
 -Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc
 -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o
 c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o
 c/c-array-notation.o c-family/c-common.o c-family/c-cppbuiltin.o
 c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o
 c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o
 c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o
 c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o
 c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o
 darwin-c.o rs6000-c.o \
           cc1-checksum.o libbackend.a main.o  libcommon-target.a
 libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
 ../libcpp/libcpp.a  -liconv ../libbacktrace/.libs/libbacktrace.a
 ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -L/opt/local/lib
 -lcloog-isl -L/opt/local/lib -lisl -L/opt/local/lib -L/opt/local/lib
 -L/opt/local/lib -lmpc -lmpfr -lgmp   -lz
 final section layout:
     __TEXT/__text addr=0x000027E4, size=0x008DDC9C, fileOffset=0x000017E4,
 type=1
     __TEXT/__text_startup addr=0x008E0480, size=0x000005C0,
 fileOffset=0x008DF480, type=1
     __TEXT/__text_cold addr=0x008E0A40, size=0x000113F4,
 fileOffset=0x008DFA40, type=1
     __TEXT/__symbol_stub1 addr=0x008F1E34, size=0x00003090,
 fileOffset=0x008F0E34, type=27
     __TEXT/__cstring addr=0x008F4EC4, size=0x000A6619,
 fileOffset=0x008F3EC4, type=12
     __TEXT/__const addr=0x0099B4E0, size=0x001B6244,
 fileOffset=0x0099A4E0, type=0
     __TEXT/__eh_frame addr=0x00B51728, size=0x001208D8,
 fileOffset=0x00B50728, type=18
     __DATA/__dyld addr=0x00C72000, size=0x0000001C, fileOffset=0x00C71000,
 type=29
     __DATA/__nl_symbol_ptr addr=0x00C7201C, size=0x00000EAC,
 fileOffset=0x00C7101C, type=28
     __DATA/__la_symbol_ptr addr=0x00C72EC8, size=0x00000C24,
 fileOffset=0x00C71EC8, type=26
     __DATA/__mod_init_func addr=0x00C73AEC, size=0x000000C8,
 fileOffset=0x00C72AEC, type=32
     __DATA/__data addr=0x00C73BB8, size=0x00003208, fileOffset=0x00C72BB8,
 type=0
     __DATA/__const addr=0x00C76DC0, size=0x00057498,
 fileOffset=0x00C75DC0, type=0
     __DATA/__static_data addr=0x00CCE258, size=0x00000010,
 fileOffset=0x00CCD258, type=0
     __DATA/__gcc_except_tab addr=0x00CCE268, size=0x000060BA,
 fileOffset=0x00CCD268, type=0
     __DATA/__pu_bss2 addr=0x00CD4324, size=0x0008892C,
 fileOffset=0x00000000, type=24
     __DATA/__common addr=0x00D5CC50, size=0x0000000C,
 fileOffset=0x00000000, type=24
     __DATA/__bss1 addr=0x00D5CC5C, size=0x000007DE, fileOffset=0x00000000,
 type=24
     __DATA/__bss12 addr=0x00D5E000, size=0x40000000,
 fileOffset=0x00000000, type=24
     __DATA/__bss4 addr=0x40D5E000, size=0x00004A00, fileOffset=0x00000000,
 type=24
     __DATA/__bss3 addr=0x40D62A00, size=0x00004B18, fileOffset=0x00000000,
 type=24
     __DATA/__bss0 addr=0x40D67518, size=0x00001F4C, fileOffset=0x00000000,
 type=24
     __DATA/__bss2 addr=0x40D69464, size=0x0002AAF8, fileOffset=0x00000000,
 type=24
     __DATA/__pu_bss3 addr=0x40D93F60, size=0x000125D8,
 fileOffset=0x00000000, type=24
     __DATA/__pu_bss0 addr=0x40DA6538, size=0x00007A6C,
 fileOffset=0x00000000, type=24
 ld: 32-bit absolute address out of range (0x140D6AFBC max is 4GB): from
 vtable for (anonymous namespace)::pass_branch_target_load_optimize2 +
 0x0000001C (0x00C9EC00) to 0x140D6AFBC in vtable for (anonymous
 namespace)::pass_branch_target_load_optimize2 from libbackend.a(bt-load.o)
 for architecture ppc
 collect2: error: ld returned 1 exit status
 make[3]: *** [cc1] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc49/gcc49/work/build/gcc'
 }}}

 So this time it's the new (?) ld that fails, as it does with gcc48 @4.8.4,
 see Ticket  https://trac.macports.org/ticket/46677. Maybe ld64 should be
 chosen for the job… GCC49 @4.9.2 builds fine with the setting "port:ld64"
 in the depends_lib section.

-- 
Ticket URL: <https://trac.macports.org/ticket/45174#comment:15>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list