Opened 8 years ago
Closed 7 years ago
#52930 closed defect (fixed)
Clang-3.8 @3.8.1_6 fails to build on Snow Leopard, Mac OS X 10.6.8, because 'arm/limits.h' cannot be found
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.5 |
Keywords: | snowleopard | Cc: | jeremyhu (Jeremy Huddleston Sequoia), larryv (Lawrence Velázquez), ballapete (Peter "Pete" Dyballa) |
Port: | clang-3.8 |
Description
[ 9%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.soft_static_armv7m_macho_embedded.dir/adddf3.c.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/build/projects/compiler-rt/lib/builtins && /opt/local/bin/clang-mp-3.7 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/build/projects/compiler-rt/lib/builtins -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.src/projects/compiler-rt/lib/builtins -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.src[ 9%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.cc_kext_x86_64_osx.dir/addvsi3.c.o /include -g -arch armv7m -isysroot /Developer/SDKs/MacOSX10.6.sdk -Oz -Wall -fomit-frame-pointer -ffreestanding -arch armv7m -static -mfloat-abi=soft -o CMakeFiles/clang_rt.soft_static_armv7m_macho_embedded.dir/adddf3.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.src/projects/compiler-rt/lib/builtins/adddf3.c In file included from [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallVector.cpp.o /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.src/projects/compiler-rt/lib/builtins/arm/aeabi_drsub.c:11: In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.src/projects/compiler-rt/lib/builtins/arm/../fp_lib.h:26: In file included from /opt/local/libexec/llvm-3.7/bin/../lib/clang/3.7.1/include/limits.h:37[ 9%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.soft_static_armv6m_macho_embedded.dir/muldf3.c.o [ 9%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.soft_static_armv7em_macho_embedded.dir/truncdfsf2.c.o : In file included from /Developer/SDKs/MacOSX10.6.sdk/usr/include/limits.h:64: /Developer/SDKs/MacOSX10.6.sdk/usr/include/machine/limits.h:10:10: fatal error: 'arm/limits.h' file not found #include <arm/limits.h> ^ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/build/projects/compiler-rt/lib/builtins && /opt/local/bin/clang-mp-3.7 -DKERNEL_USE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/build/projects/compiler-rt/lib/builtins -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.src/projects/compiler-rt/lib/builtins -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.src/include -g -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 -fPIC -O3 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -fomit-frame-pointer -arch x86_64 -mkernel -o CMakeFiles/clang_rt.cc_kext_x86_64_osx.dir/addvsi3.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.src/projects/compiler-rt/lib/builtins/addvsi3.c
Attachments (1)
Change History (5)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
Keywords: | snowleopard added |
---|
comment:2 Changed 8 years ago by ken-cunningham-webuse
Changed 8 years ago by ken-cunningham-webuse
Attachment: | clang-3.8-1068-fail.log.gz added |
---|
clang_3.8.1_6 build failure log on 10.6.8 with libcxx
comment:3 Changed 8 years ago by ballapete (Peter "Pete" Dyballa)
Cc: | ballapete added |
---|
comment:4 Changed 7 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | new → closed |
clang-3.8 appears to build properly on 10.6.8 now. Please reopen if this is still an issue for you.
Note: See
TracTickets for help on using
tickets.
hmm. I can't build it either, but due to a similar but not identical error. I'm on 10.6.8 with libcxx.
I'll put the full log up as an attachment.