[MacPorts] #71665: libgcc14 @14.2.0_1 does not build on PPC Leopard, Mac OS X 10.5.8, because of ld: bl PPC branch out of range

MacPorts noreply at macports.org
Sat Dec 28 07:42:04 UTC 2024


#71665: libgcc14 @14.2.0_1  does not build on PPC Leopard, Mac OS X 10.5.8, because
of ld: bl PPC branch out of range
-------------------------+----------------------
 Reporter:  ballapete    |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.10.5
 Keywords:  leopard ppc  |       Port:  libgcc14
-------------------------+----------------------
 {{{
 opt/local/libexec/gcc10-bootstrap/bin/g++ -arch ppc -std=c++11 -no-pie
 -g -fPIC -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-
 tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
 -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual
 -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
 -DHAVE_CONFIG_H -no-pie -static-libstdc++ -static-libgcc -L/opt/local/lib
 -Wl,-headerpad_max_install_names -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-fold.o c/gimple-parser.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-indentation.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-ubsan.o c-family
 /known-headers.o c-family/c-attribs.o c-family/c-warn.o
 c-family/c-spellcheck.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/pic/libiberty.a ../libdecnumber/libdecnumber.a
 -L/opt/local/lib -lisl -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib
 -lmpc -lmpfr -lgmp   -lz -L/opt/local/lib -lzstd
 ld: warning: direct access in __Z24gimple_has_substatementsP6gimple to
 global weak symbol __Z24gimple_has_substatementsP6gimple means the weak
 symbol cannot be overriden at runtime. This was likely caused by different
 translation units being compiled with different visiblity settings.
 .
 .
 .
 ld: warning: direct access in __Z24gimple_has_substatementsP6gimple to
 global weak symbol __Z24gimple_has_substatementsP6gimple means the weak
 symbol cannot be overriden at runtime. This was likely caused by different
 translation units being compiled with different visiblity settings.
 final section layout:
     __TEXT/__text addr=0x00004484, size=0x020524E4, fileOffset=0x00003484,
 type=1
     __TEXT/__text_startup addr=0x02056968, size=0x000000F8,
 fileOffset=0x02055968, type=1
     __TEXT/__text_cold_coal addr=0x02056A60, size=0x000000CC,
 fileOffset=0x02055A60, type=1
     __TEXT/__text_cold addr=0x02056B2C, size=0x000004B4,
 fileOffset=0x02055B2C, type=1
     __TEXT/__symbol_stub1 addr=0x02056FE0, size=0x000BA360,
 fileOffset=0x02055FE0, type=27
     __TEXT/__const addr=0x02111340, size=0x002020C0,
 fileOffset=0x02110340, type=0
     __TEXT/__cstring addr=0x02313400, size=0x0015C41C,
 fileOffset=0x02312400, type=12
     __TEXT/__eh_frame addr=0x0246F820, size=0x003EA7DC,
 fileOffset=0x0246E820, type=18
     __DATA/__dyld addr=0x0285A000, size=0x0000001C, fileOffset=0x02859000,
 type=29
     __DATA/__nl_symbol_ptr addr=0x0285A01C, size=0x000020A0,
 fileOffset=0x0285901C, type=28
     __DATA/__la_symbol_ptr addr=0x0285C0BC, size=0x0002E8D8,
 fileOffset=0x0285B0BC, type=26
     __DATA/__mod_init_func addr=0x0288A994, size=0x000000E4,
 fileOffset=0x02889994, type=32
     __DATA/__data addr=0x0288AA78, size=0x0002B9DC, fileOffset=0x02889A78,
 type=0
     __DATA/__const addr=0x028B6458, size=0x00087664,
 fileOffset=0x028B5458, type=0
     __DATA/__gcc_except_tab addr=0x0293DABC, size=0x00000837,
 fileOffset=0x0293CABC, type=0
     __DATA/__bss addr=0x0293E2F8, size=0x0002FBF0, fileOffset=0x00000000,
 type=24
     __DATA/__common addr=0x0296DEE8, size=0x000B6B20,
 fileOffset=0x00000000, type=24
 ld: bl PPC branch out of range (21808344 max is +/-16MB): from
 __ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPKcjEEE8allocateEmPKv
 (0x00B8A654) to __ZSt17__throw_bad_allocv (0x02056B70) in
 __ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPKcjEEE8allocateEmPKv
 from libbackend.a(auto-profile.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/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc14/libgcc14/work/build/gcc'
 make[2]: *** [all-stage1-gcc] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc14/libgcc14/work/build'
 make[1]: *** [stage1-bubble] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc14/libgcc14/work/build'
 make: *** [bootstrap-lean] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc14/libgcc14/work/build'
 Command failed:  cd
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc14/libgcc14/work/build"
 && /usr/bin/make -w bootstrap-lean
 Exit code: 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71665>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list