[MacPorts] #50352: webkit-gtk-2.0 Configure error (cannot run C compiled programs) on PPC Tiger
#50352: webkit-gtk-2.0 Configure error (cannot run C compiled programs) on PPC Tiger -------------------------+-------------------------------- Reporter: asiganael@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: Tiger | Port: webkit-gtk-2.0 -------------------------+-------------------------------- Trying to install midori on PPC Tiger, I hit a failure installing webkit- gtk-2.0 which is a requisite for midori: {{{ checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_www_webkit-gtk-2.0/webkit- gtk-2.0/work/webkitgtk-2.0.4': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details }}} I'm attaching the complete main.log and configure.log The relevant configure failure seems to be in the linking stage, because ld complains about the nature of some symbols: {{{ configure:3878: checking whether we are cross compiling configure:3886: /opt/local/bin/clang-mp-3.3 -o conftest -pipe -Os -fno- blocks -arch ppc -DGTEST_USE_OWN_TR1_TUPLE=1 -D__MAC_OS_X_VERSION_MAX_ALLOWED=1040 -D__MAC_OS_X_VERSION_MIN_REQUIRED=1040 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c >&5 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_www_webkit-gtk-2.0/webkit-gtk-2.0/work/.tmp /conftest-1hbvN9.o has external relocation entries in non-writable section (__TEXT,__text) for symbols: _fclose _ferror _fopen collect2: ld returned 1 exit status clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation) }}} -- Ticket URL: <https://trac.macports.org/ticket/50352> MacPorts <https://www.macports.org/> Ports system for OS X
#50352: webkit-gtk-2.0 Configure error (cannot run C compiled programs) on PPC Tiger -----------------------------+-------------------------------- Reporter: asiganael@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Tiger Port: webkit-gtk-2.0 | -----------------------------+-------------------------------- Comment (by cal@…): It seems you're trying to use clang on a PPC system. Clang is known to perform badly for PPC targets. -- Ticket URL: <https://trac.macports.org/ticket/50352#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50352: webkit-gtk-2.0 Configure error (cannot run C compiled programs) on PPC Tiger -----------------------------+-------------------------------- Reporter: asiganael@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Tiger Port: webkit-gtk-2.0 | -----------------------------+-------------------------------- Comment (by asiganael@…): Replying to [comment:1 cal@…]:
It seems you're trying to use clang on a PPC system. Clang is known to perform badly for PPC targets. Well, actually is not me who is trying to use clang, but webkit-gtk-2.0. Can webkit-gtk-2.0 be installed without clang? How?
-- Ticket URL: <https://trac.macports.org/ticket/50352#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50352: webkit-gtk-2.0 Configure error (cannot run C compiled programs) on PPC Tiger -----------------------------+------------------------ Reporter: asiganael@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: webkit-gtk-2.0 | -----------------------------+------------------------ Changes (by ryandesign@…): * cc: devans@… (added) * keywords: Tiger => tiger * owner: macports-tickets@… => jeremyhu@… Comment: Based on the `compiler.blacklist` lines in the webkit-gtk-2.0 Portfile, that software is apparently incompatible with most compilers. -- Ticket URL: <https://trac.macports.org/ticket/50352#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50352: webkit-gtk-2.0 Configure error (cannot run C compiled programs) on PPC Tiger -----------------------------+------------------------ Reporter: asiganael@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: wontfix | Keywords: tiger Port: webkit-gtk-2.0 | -----------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => wontfix Comment: You're using a very very very old linker. I suggest you install the ld64 port and try again. -- Ticket URL: <https://trac.macports.org/ticket/50352#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50352: webkit-gtk-2.0 Configure error (cannot run C compiled programs) on PPC Tiger -----------------------------+------------------------ Reporter: asiganael@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: webkit-gtk-2.0 | -----------------------------+------------------------ Changes (by jeremyhu@…): * status: closed => reopened * resolution: wontfix => Comment: Also, those older versions of llvm surely don't work well for ppc. 3.5 was the first that kinda worked for ppc. You should try using newer llvm, but that will require getting libc++, and that will require fixing issues with libunwind. See http://trac.macports.org/wiki/LibcxxOnOlderSystems#Leopardppc Alternatively, you can try using macports-gcc-4.7 or newer for webkit-gtk, but you'll also need to use that same compiler for all of its recursive dependents. You're very deep in unsupported territory. -- Ticket URL: <https://trac.macports.org/ticket/50352#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50352: webkit-gtk-2.0 Configure error (cannot run C compiled programs) on PPC Tiger -----------------------------+------------------------ Reporter: asiganael@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: wontfix | Keywords: tiger Port: webkit-gtk-2.0 | -----------------------------+------------------------ Changes (by jeremyhu@…): * status: reopened => closed * resolution: => wontfix -- Ticket URL: <https://trac.macports.org/ticket/50352#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts