Opened 9 years ago
Closed 9 years ago
#50352 closed defect (wontfix)
webkit-gtk-2.0 Configure error (cannot run C compiled programs) on PPC Tiger
Reported by: | asiganael@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | tiger | Cc: | dbevans (David B. Evans) |
Port: | webkit-gtk-2.0 |
Description
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)
Attachments (2)
Change History (8)
Changed 9 years ago by asiganael@…
Changed 9 years ago by asiganael@…
Attachment: | config.log added |
---|
comment:1 follow-up: 2 Changed 9 years ago by neverpanic (Clemens Lang)
comment:2 Changed 9 years ago by asiganael@…
Replying to 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?
comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | devans@… added |
---|---|
Keywords: | tiger added; Tiger removed |
Owner: | changed from macports-tickets@… to jeremyhu@… |
Based on the compiler.blacklist
lines in the webkit-gtk-2.0 Portfile, that software is apparently incompatible with most compilers.
comment:4 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
You're using a very very very old linker. I suggest you install the ld64 port and try again.
comment:5 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
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.
comment:6 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
It seems you're trying to use clang on a PPC system. Clang is known to perform badly for PPC targets.