[MacPorts] #42112: clang-3.4 build failure with gcc-4.2 on OS X 10.6.8
MacPorts
noreply at macports.org
Tue Jan 21 05:49:04 PST 2014
#42112: clang-3.4 build failure with gcc-4.2 on OS X 10.6.8
--------------------------+-------------------------
Reporter: rjvbertin@… | Owner: jeremyhu@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: worksforme | Keywords: snowleopard
Port: clang-3.4 |
--------------------------+-------------------------
Comment (by rjvbertin@…):
Update: I've never managed to get clang-3.4 to build with apple's gcc-4.2,
not even after relaunching the build command multiple times in a row. As I
had a working version, I let it slip, but I have to come back to that.
The latest llvm-3.4_1 update caused clang-3.4 to crash during compilation.
As llvm-3.4 had been upgraded with upgrade outdated, I figured I'd
reinstall it, ensuring that I'd be building with gcc-4.7 .
That worked, but now clang-3.4 will not rebuild, not even with macports-
gcc-4.8 as it did before. The failure is the same as I observed with
gcc-4.2. Moving into the build directory and invoking make by hand, I see
```
# make V=1
[...]
make[4]: Nothing to be done for `all'.
make[5]: Nothing to be done for `clang_darwin'.
ARCHIVE: clang_darwin_embedded/hard_static/armv7:
/Volumes/Debian/MacPorts/var/macports/build/_Volumes_Debian_MacPorts_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/tools/clang/runtime
/compiler-rt/clang_darwin_embedded/hard_static/armv7/libcompiler_rt.a
make[5]: ***
[/Volumes/Debian/MacPorts/var/macports/build/_Volumes_Debian_MacPorts_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/tools/clang/runtime
/compiler-rt/clang_darwin_embedded/hard_static/armv7/libcompiler_rt.a]
Error 1
make[4]: *** [BuildRuntimeLibraries] Error 2
make[3]: *** [compiler-rt/.makeall] Error 2
make[2]: *** [all] Error 1
make[1]: *** [clang/.makeall] Error 2
make: *** [all] Error 1
Exit 2
```
Why is clang trying to build for armv7 - I never asked for that! Is there
a way to deactivate support for that (and other cross-compiling) as I
won't ever be using such features?
Let me know if I should open a new ticket for this.
--
Ticket URL: <https://trac.macports.org/ticket/42112#comment:12>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list