[MacPorts] #42773: apple-gcc42 @5666.3_13 build fails due to ld not recognizing -arch ppc
#42773: apple-gcc42 @5666.3_13 build fails due to ld not recognizing -arch ppc ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: apple-gcc42 ---------------------+-------------------------------- Tried installing apple-gcc42 today, ran into this error: {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/obj- x86_64-powerpc/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/obj- x86_64-powerpc/./gcc/ -B/opt/local/powerpc-apple-darwin10/bin/ -B/opt/local/powerpc-apple-darwin10/lib/ -isystem /opt/local/powerpc- apple-darwin10/include -isystem /opt/local/powerpc-apple-darwin10/sys- include -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.4 -O2 -O2 -g -O2 -std=gnu89 -isysroot /Developer/SDKs/MacOSX10.5.sdk -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- prototypes -Wold-style-definition -isystem ./include -Wa,-force_cpusubtype_ALL -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple- gcc42/work/objroot/src/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple- gcc42/work/objroot/src/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple- gcc42/work/objroot/src/gcc/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple- gcc42/work/objroot/src/gcc/../libcpp/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple- gcc42/work/objroot/src/gcc/../libdecnumber -I../libdecnumber -m64 -xassembler-with-cpp -include libgcc/ppc64/darwin-tramp.vis -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple- gcc42/work/objroot/src/gcc/config/rs6000/darwin-tramp.asm -o libgcc/ppc64 /darwin-tramp.o ld: unknown/unsupported architecture name for: -arch ppc collect2: ld returned 1 exit status make[4]: *** [libgcc_s.dylib] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [stmp-multilib] Error 2 rm cpp.pod gcov.pod gpl.pod gfdl.pod fsf-funding.pod gcc.pod make[2]: *** [all-gcc] Error 2 make[1]: *** [all] Error 2 + exit 1 make: *** [install] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3" && /usr/bin/make -j2 -w install CC="/usr/bin/gcc-4.2 -pipe -std=gnu89" PREFIX="/opt/local" SRCROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3" OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot" SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/symroot" DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/destroot" RC_NONARCH_CFLAGS="-pipe -std=gnu89" RC_OS="macos" RC_ARCHS="i386 x86_64" RC_ProjectSourceVersion="5666" RC_ProjectSourceSubversion="3" TARGETS="i386 ppc" Exit code: 2 Error: org.macports.build for port apple-gcc42 returned: command execution failed DEBUG: Error code: CHILDSTATUS 97144 2 DEBUG: Backtrace: command execution failed }}} -- Ticket URL: <https://trac.macports.org/ticket/42773> MacPorts <http://www.macports.org/> Ports system for OS X
#42773: apple-gcc42 @5666.3_13 build fails due to ld not recognizing -arch ppc --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: apple-gcc42 | --------------------------+-------------------------------- Comment (by jeremyhu@…): Yeah, I updated SL's cctools, so it no longer supports ppc by default. apple-gcc42 should follow suit. -- Ticket URL: <https://trac.macports.org/ticket/42773#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42773: apple-gcc42 @5666.3_13 build fails due to ld not recognizing -arch ppc --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: apple-gcc42 | --------------------------+-------------------------------- Comment (by egall@…): Replying to [comment:1 jeremyhu@…]:
Yeah, I updated SL's cctools, so it no longer supports ppc I thought that `ld` came from the `ld64` port though? Or did that get updated likewise as well? by default So if it just the default, does that mean that there is a way to select something other than the default?
-- Ticket URL: <https://trac.macports.org/ticket/42773#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42773: apple-gcc42 @5666.3_13 build fails due to ld not recognizing -arch ppc --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: apple-gcc42 | --------------------------+-------------------------------- Comment (by jeremyhu@…): Yeah, I meant ld64. No, there's no variant setup for it. Do you actually need ppc support? -- Ticket URL: <https://trac.macports.org/ticket/42773#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42773: apple-gcc42 @5666.3_13 build fails due to ld not recognizing -arch ppc --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: apple-gcc42 | --------------------------+-------------------------------- Comment (by egall@…): Replying to [comment:3 jeremyhu@…]:
No, there's no variant setup for it. Do you actually need ppc support? I suppose not via MacPorts, as Xcode's gcc still has ppc support... I mostly just compile for ppc for testing purposes (i.e. to debug my Rosetta installation); my only physical ppc machine is currently sitting in my basement gathering dust...
-- Ticket URL: <https://trac.macports.org/ticket/42773#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42773: apple-gcc42 @5666.3_13 build fails due to ld not recognizing -arch ppc --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: apple-gcc42 | --------------------------+-------------------------------- Comment (by jeremyhu@…): Yeah, that's pretty much why I did it. C++11 support is more important than ppc support =/ -- Ticket URL: <https://trac.macports.org/ticket/42773#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42773: apple-gcc42 @5666.3_13 build fails due to ld not recognizing -arch ppc --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: apple-gcc42 | --------------------------+-------------------------------- Comment (by jeremyhu@…): I'll use this to fix gcc42's build (removing ppc on SL) -- Ticket URL: <https://trac.macports.org/ticket/42773#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42773: apple-gcc42 @5666.3_13 build fails due to ld not recognizing -arch ppc --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: apple-gcc42 | --------------------------+-------------------------------- Comment (by egall@…): r125113 should theoretically "fix" this, I guess, have not tested yet though... -- Ticket URL: <https://trac.macports.org/ticket/42773#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42773: apple-gcc42 @5666.3_13 build fails due to ld not recognizing -arch ppc --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: apple-gcc42 | --------------------------+-------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: Yeah. -- Ticket URL: <https://trac.macports.org/ticket/42773#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts