[MacPorts] #34329: gcc43 fails to upgrade
#34329: gcc43 fails to upgrade --------------------------------+------------------------------------------- Reporter: trog24@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: gcc43. --------------------------------+------------------------------------------- The following error results in attempting to upgrade gcc43: {{{ :info:build libtool: link: creating libgfortran.la :info:build libtool: link: ( cd ".libs" && rm -f "libgfortran.la" && ln -s "../libgfortran.la" "libgfortran.la" ) :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build /ppc-apple-darwin9/libgfortran' :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build /ppc-apple-darwin9/libgfortran' :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build' :info:build make: *** [bootstrap] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build" && /usr/bin/make -j2 -w bootstrap BOOT_CFLAGS="-O2 -g -D_FORTIFY_SOURCE=0" STAGE1_CFLAGS="-O2 -fkeep-inline-functions -D_FORTIFY_SOURCE=0 -std=gnu89" " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for gcc43): org.macports.install org.macports.build org.macports.destroot :notice:build Log for gcc43 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/main.log }}} The error is preceded by several: {{{ :info:build /opt/local/bin/ranlib: file: .libs/libgfortran.a(_mod_r10.o) has no symbols }}} which will be detailed in the attached log. The platform is a dual 1.73 GHz PowerPC G4 running MacOS 10.5.8. -- Ticket URL: <https://trac.macports.org/ticket/34329> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34329: gcc43: ld: in src/powerpc/.libs/darwin.o, unsupported encoding in FDE --------------------------------+------------------------------------------- Reporter: trog24@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: gcc43 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@…, jeremyhu@… (added) * owner: macports-tickets@… => mww@… * port: gcc43. => gcc43 Comment: You'll find that when doing a parallel build, the relevant error is usually the one that precedes the message "Waiting for unfinished jobs....", which might be quite far from the end of the log. In this case: {{{ :info:build libtool: link: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build/./gcc/ -B/opt/local/ppc-apple-darwin9/bin/ -B/opt/local/ppc-apple-darwin9/lib/ -isystem /opt/local/ppc-apple-darwin9/include -isystem /opt/local/ppc- apple-darwin9/sys-include -dynamiclib -Wl,-single_module -Wl,-undefined -Wl,dynamic_lookup -o .libs/libffi.4.dylib src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/powerpc/.libs/ffi_darwin.o src/powerpc/.libs/darwin.o src/powerpc/.libs/darwin_closure.o -install_name /opt/local/lib/gcc43/libffi.4.dylib -compatibility_version 5 -current_version 5.1 :info:build if /bin/sh ./libtool --tag=CC --mode=compile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build/./gcc/ -B/opt/local/ppc-apple-darwin9/bin/ -B/opt/local/ppc-apple-darwin9/lib/ -isystem /opt/local/ppc-apple-darwin9/include -isystem /opt/local/ppc- apple-darwin9/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-4.3.6/libgfortran -I. -iquote../../../gcc-4.3.6/libgfortran/io -I../../../gcc-4.3.6/libgfortran/../gcc -I../../../gcc-4.3.6/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style- definition -Wextra -Wwrite-strings -O2 -g -O2 -MT minloc1_8_r10.lo -MD -MP -MF ".deps/minloc1_8_r10.Tpo" -c -o minloc1_8_r10.lo `test -f '../../../gcc-4.3.6/libgfortran/generated/minloc1_8_r10.c' || echo '../../../gcc-4.3.6/libgfortran/'`../../../gcc-4.3.6/libgfortran/generated/minloc1_8_r10.c; \ :info:build then mv -f ".deps/minloc1_8_r10.Tpo" ".deps/minloc1_8_r10.Plo"; else rm -f ".deps/minloc1_8_r10.Tpo"; exit 1; fi :info:build ld: in src/powerpc/.libs/darwin.o, unsupported encoding in FDE :info:build collect2: ld returned 1 exit status :info:build make[4]: *** [libffi.la] Error 1 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build /ppc-apple-darwin9/libffi' :info:build make[3]: *** [all-recursive] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build /ppc-apple-darwin9/libffi' :info:build make[2]: *** [all] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/gcc43/work/build /ppc-apple-darwin9/libffi' :info:build make[1]: *** [all-target-libffi] Error 2 :info:build make[1]: *** Waiting for unfinished jobs.... }}} I see the same on Leopard ppc, but not on Tiger ppc or Snow Leopard x86_64. -- Ticket URL: <https://trac.macports.org/ticket/34329#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34329: gcc43: ld: in src/powerpc/.libs/darwin.o, unsupported encoding in FDE --------------------------------+------------------------------------------- Reporter: trog24@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: tiger leopard | Port: gcc43 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * keywords: => tiger leopard Comment: Duplicate #34362 says it also happens on Tiger. -- Ticket URL: <https://trac.macports.org/ticket/34329#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34329: gcc43: ld: in src/powerpc/.libs/darwin.o, unsupported encoding in FDE --------------------------------+------------------------------------------- Reporter: trog24@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: tiger leopard | Port: gcc43 --------------------------------+------------------------------------------- Comment(by jeremyhu@…): Do gcc44, gcc45, gcc46, gcc47, or gcc48 work for you? If so, I'm inclined to close this as wontfix/dontcare/upstream/fixed-in-newer/... -- Ticket URL: <https://trac.macports.org/ticket/34329#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34329: gcc43: ld: in src/powerpc/.libs/darwin.o, unsupported encoding in FDE --------------------------------+------------------------------------------- Reporter: trog24@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: tiger leopard | Port: gcc43 --------------------------------+------------------------------------------- Comment(by jeremyhu@…): #21401 may be related... -- Ticket URL: <https://trac.macports.org/ticket/34329#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34329: gcc43: ld: in src/powerpc/.libs/darwin.o, unsupported encoding in FDE ---------------------------------+------------------------------------------ Reporter: trog24@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: tiger leopard Port: gcc43 | ---------------------------------+------------------------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: Yep, that was it. r92784 -- Ticket URL: <https://trac.macports.org/ticket/34329#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34329: gcc43: ld: in src/powerpc/.libs/darwin.o, unsupported encoding in FDE ---------------------------------+------------------------------------------ Reporter: trog24@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: tiger leopard Port: gcc43 | ---------------------------------+------------------------------------------ Comment(by Peter_Dyballa@…): Replying to [comment:6 jeremyhu@…]:
Yep, that was it.
r92784
Build succeeded! -- Ticket URL: <https://trac.macports.org/ticket/34329#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34329: gcc43: ld: in src/powerpc/.libs/darwin.o, unsupported encoding in FDE ---------------------------------+------------------------------------------ Reporter: trog24@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: tiger leopard Port: gcc43 | ---------------------------------+------------------------------------------ Comment(by trog24@…): Build succeeded here as well. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/34329#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts