Opened 8 years ago

Closed 8 years ago

#53159 closed defect (fixed)

clang-3.8 fails to build on Mountain Lion unless cctools is installed

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

https://build.macports.org/builders/ports-10.8_x86_64_legacy-builder/builds/13642

-- Got ld supported ARCHES: i386 x86_64 x86_64h armv6 armv7 armv7s armv7m armv7k arm64 (tvOS)
-- Toolchain supported arches: i386;x86_64;x86_64h;armv6;armv7;armv7s;armv7m;armv7k;arm64;(tvOS)
-- Finding valid architectures for osx...
-- OSX supported arches: i386;x86_64;x86_64h
-- Finding valid architectures for 10.4...
-- OSX 10.4 supported arches: i386;x86_64;x86_64h
-- Compiler-RT supported architectures: i386;x86_64;x86_64h

---


[ 60%] Generating ../../../../lib/clang/3.8.1/lib/darwin/libclang_rt.cc_kext.a
cd /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-3.8/clang-3.8/work/build/projects/compiler-rt/lib/builtins && /opt/local/bin/cmake -E make_directory /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-3.8/clang-3.8/work/build/./lib/clang/3.8.1/lib/darwin
cd /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-3.8/clang-3.8/work/build/projects/compiler-rt/lib/builtins && lipo -output /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-3.8/clang-3.8/work/build/./lib/clang/3.8.1/lib/darwin/libclang_rt.cc_kext.a -create -arch i386 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-3.8/clang-3.8/work/build/lib/libclang_rt.cc_kext_i386_osx.a -arch x86_64 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-3.8/clang-3.8/work/build/lib/libclang_rt.cc_kext_x86_64_osx.a -arch x86_64h /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-3.8/clang-3.8/work/build/lib/libclang_rt.cc_kext_x86_64h_osx.a
lipo: unknown architecture specification flag: x86_64h in specifying input file -arch x86_64h /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-3.8/clang-3.8/work/build/lib/libclang_rt.cc_kext_x86_64h_osx.a
lipo: known architecture flags are: any little big ppc64 x86_64 ppc970-64 ppc i386 m68k hppa sparc m88k i860 veo arm ppc601 ppc603 ppc603e ppc603ev ppc604 ppc604e ppc750 ppc7400 ppc7450 ppc970 i486 i486SX pentium i586 pentpro i686 pentIIm3 pentIIm5 pentium4 m68030 m68040 hppa7100LC veo1 veo2 veo3 veo4 armv4t armv5 xscale armv6 armv7 armv7f armv7k
lipo: Usage: lipo [input_file] ... [-arch <arch_type> input_file] ... [-info] [-detailed_info] [-output output_file] [-create] [-arch_blank <arch_type>] [-thin <arch_type>] [-remove <arch_type>] ... [-extract <arch_type>] ... [-extract_family <arch_type>] ... [-verify_arch <arch_type> ...] [-replace <arch_type> <file_name>] ...
make[2]: *** [lib/clang/3.8.1/lib/darwin/libclang_rt.cc_kext.a] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-3.8/clang-3.8/work/build'
make[1]: *** [projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.cc_kext.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Change History (1)

comment:1 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Owner: set to jeremyhu
Resolution: fixed
Status: newclosed

In d27b8091/macports-ports:

clang-{3.8,3.9,devel}: Add a build dependency on cctools when Xcode's lipo doesn't support x86_64h

Fixes #53159

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@…>

Note: See TracTickets for help on using tickets.