Opened 8 years ago

Closed 8 years ago

#52817 closed defect (fixed)

clang-3.8.1_6 on El Capitan: #error architecture not supported

Reported by: gnw3 Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: larryv (Lawrence Velázquez)
Port: clang-3.8

Description

port -s upgrade clang-3.8 fails. Relevant lines in main.log:

[  4%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.b
uiltins_arm64_osx.dir/comparetf2.c.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macp
orts_macports-ports_lang_llvm-3.8/clang-3.8/work/build/projects/compiler-rt/lib/
builtins && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.x
ctoolchain/usr/bin/clang  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__ST
DC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_
github.com_macports_macports-ports_lang_llvm-3.8/clang-3.8/work/build/projects/c
ompiler-rt/lib/builtins -I/opt/local/var/macports/build/_opt_local_var_macports_
sources_github.com_macports_macports-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_lo
cal_var_macports_sources_github.com_macports_macports-ports_lang_llvm-3.8/clang-
3.8/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_s
ources_github.com_macports_macports-ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.
1.src/include  -DNDEBUG -arch arm64    -isysroot /Applications/Xcode.app/Content
s/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-ve
rsion-min=10.5 -fPIC -O3 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -fomit-fr
ame-pointer -arch arm64 -o CMakeFiles/clang_rt.builtins_arm64_osx.dir/comparetf2
.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_github.c
om_macports_macports-ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.src/projects/
compiler-rt/lib/builtins/comparetf2.c
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sour
ces_github.com_macports_macports-ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.s
rc/projects/compiler-rt/lib/builtins/comparetf2.c:41:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sour
ces_github.com_macports_macports-ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.s
rc/projects/compiler-rt/lib/builtins/fp_lib.h:24:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/Xcod
eDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/include/stdint.h:63:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOS
X.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/stdint.h:52:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOS
X.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sys/_types.h:32:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sys/cdefs.h:707:2: error: Unsupported architecture
#error Unsupported architecture
 ^

Attachments (1)

clang-3.8_main.log.xz (17.5 KB) - added by gnw3 8 years ago.
xz compressed main.log

Download all attachments as: .zip

Change History (3)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: larryv added; jeremyhu@… larryv@… removed
Keywords: unsupported architecture removed
Owner: changed from macports-tickets@… to jeremyhu
Port: clang-3.8 added; clang-38 removed
Status: newassigned

Changed 8 years ago by gnw3

Attachment: clang-3.8_main.log.xz added

xz compressed main.log

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

Resolution: fixed
Status: assignedclosed

Please update and try again. This was addressed.

Note: See TracTickets for help on using tickets.