Opened 20 months ago
Closed 19 months ago
#65692 closed defect (fixed)
gcc10-bootstrap fails to build on Tiger PPC: Undefined symbols: "__Unwind_fallback_frame_state_for"
Reported by: | kencu (Ken) | Owned by: | catap (Kirill A. Korinsky) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Tiger | Cc: | barracuda156 |
Port: | gcc10-bootstrap |
Description
gcc10-bootstrap is an essential step towards having all the systems default to libgcc12 (and newer), however it does not build on PPC Tiger, at least. So the upgrade to libgcc12 is on hold pending resolution of this issue.
:info:build # @multilib_flags@ is still needed because this may use :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/./gcc/ -B/opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/bin/ -B/opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/lib/ -isystem /opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/include -isystem /opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/sys-include -fno-checking -O2 -g -O2 -pipe -arch ppc -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -mmacosx-version-min=10.4 -Wa,-force_cpusubtype_ALL -fno-common -mlong-double-128 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -dynamiclib -nodefaultlibs \ :info:build -install_name /opt/local/libexec/gcc10-bootstrap/lib/libgcc_ehs.1.1.dylib \ :info:build -o ./libgcc_ehs.dylib -compatibility_version 1 -current_version 1.1 \ :info:build unwind-dw2_s.o unwind-dw2-fde-darwin_s.o unwind-c_s.o darwin-world_s.o -lc :info:build # /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/./gcc/ -B/opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/bin/ -B/opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/lib/ -isystem /opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/include -isystem /opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/sys-include -fno-checking and -O2 -g -O2 -pipe -arch ppc -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -mmacosx-version-min=10.4 -Wa,-force_cpusubtype_ALL -fno-common -mlong-double-128 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector directly. :info:build # @multilib_dir@ is not really necessary, but sometimes it has :info:build # more uses than just a directory name. :info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/libgcc/../mkinstalldirs . :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/./gcc/ -B/opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/bin/ -B/opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/lib/ -isystem /opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/include -isystem /opt/local/libexec/gcc10-bootstrap/powerpc-apple-darwin8.11.0/sys-include -fno-checking -O2 -g -O2 -pipe -arch ppc -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -mmacosx-version-min=10.4 -Wa,-force_cpusubtype_ALL -fno-common -mlong-double-128 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -dynamiclib -nodefaultlibs -install_name /opt/local/libexec/gcc10-bootstrap/lib/libgcc_s.1.1.dylib -single_module -o ./libgcc_s.dylib -Wl,-exported_symbols_list,libgcc.map -compatibility_version 1 -current_version 1.1 -nodefaultrpath -g -O2 -pipe -arch ppc -B./ _muldi3_s.o _negdi2_s.o _lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o _clear_cache_s.o _trampoline_s.o __main_s.o _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o _ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o _powitf2_s.o _mulhc3_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o _multc3_s.o _divhc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o _divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _clrsbsi2_s.o _clrsbdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o _fixtfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o _fixunstfdi_s.o _floatdisf_s.o _floatdidf_s.o _floatdixf_s.o _floatditf_s.o _floatundisf_s.o _floatundidf_s.o _floatundixf_s.o _floatunditf_s.o _divdi3_s.o _moddi3_s.o _divmoddi4_s.o _udivdi3_s.o _umoddi3_s.o _udivmoddi4_s.o _udiv_w_sdiv_s.o darwin-tramp_s.o darwin-64_s.o darwin-world_s.o ppc64-fp_s.o ibm-ldouble_s.o enable-execute-stack_s.o emutls_s.o libgcc.a -lc :info:build Undefined symbols: :info:build "__Unwind_fallback_frame_state_for", referenced from: :info:build _uw_frame_state_for in unwind-dw2_s.o :info:build ld: symbol(s) not found :info:build collect2: error: ld returned 1 exit status :info:build make[3]: *** [libgcc_ehs.dylib] Error 1
Attachments (3)
Change History (11)
Changed 20 months ago by kencu (Ken)
Attachment: | gcc10-bootstrap-fail-Tiger.log.zip added |
---|
comment:1 Changed 20 months ago by kencu (Ken)
Summary: | gcc10-bootstrap fails to build on Tiger PPC (at least) → gcc10-bootstrap fails to build on Tiger PPC: Undefined symbols: "__Unwind_fallback_frame_state_for" |
---|
Changed 20 months ago by catap (Kirill A. Korinsky)
Attachment: | tiger-ppc.diff added |
---|
comment:2 Changed 20 months ago by catap (Kirill A. Korinsky)
comment:4 Changed 20 months ago by kencu (Ken)
unfortunately, same error. Patch confirmed to be applied. new log uploaded.
Changed 20 months ago by kencu (Ken)
Attachment: | gcc10-bootstrap-tiger-fail2.log.zip added |
---|
comment:5 Changed 20 months ago by catap (Kirill A. Korinsky)
Ken, I've backported Ians patch that should fix this issue: https://raw.githubusercontent.com/catap/macports-ports/ca3e696743b673bb93d6687d63798e3d9e93b612/lang/gcc10-bootstrap/files/patch-darwin8.diff
May I ask you to test it? It should be applied without tiger-ppc.diff
comment:7 Changed 20 months ago by kencu (Ken)
yep, that last patch fixed gcc10-bootstrap on 10.4 PPC.
comment:8 Changed 19 months ago by catap (Kirill A. Korinsky)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Ken, may I ask you to test this patch? Thanks.