#45333 closed defect (wontfix)
defect: clang-3.1 does not build on PPC Tiger (Mac OS X 10.4.11) because "recipe for target 'BuildRuntimeLibraries' fails" because "no member named '__ss' in 'mcontext'"
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | powerpc tiger | Cc: | |
Port: | clang-3.1 |
Description
This is the error:
COMPILE: clang_darwin/asan_osx/i386: /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/projects/compiler-rt/lib/asan/asan_linux.cc /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/Release+Debug+Asserts/bin/clang -arch i386 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -Werror -O3 -fomit-frame-pointer -mmacosx-version-min=10.5 -c -fno-exceptions -fPIC -funwind-tables -o /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/tools/clang/runtime/compiler-rt/clang_darwin/asan_osx/i386/SubDir.lib__asan/asan_linux.o /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/projects/compiler-rt/lib/asan/asan_linux.cc COMPILE: clang_darwin/asan_osx/i386: /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/projects/compiler-rt/lib/asan/asan_mac.cc /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/Release+Debug+Asserts/bin/clang -arch i386 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -Werror -O3 -fomit-frame-pointer -mmacosx-version-min=10.5 -c -fno-exceptions -fPIC -funwind-tables -o /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/tools/clang/runtime/compiler-rt/clang_darwin/asan_osx/i386/SubDir.lib__asan/asan_mac.o /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/projects/compiler-rt/lib/asan/asan_mac.cc /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/projects/compiler-rt/lib/asan/asan_mac.cc:47:32: error: no member named '__ss' in 'mcontext' *pc = ucontext->uc_mcontext->__ss.__eip; ~~~~~~~~~~~~~~~~~~~~~ ^ /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/projects/compiler-rt/lib/asan/asan_mac.cc:48:32: error: no member named '__ss' in 'mcontext' *bp = ucontext->uc_mcontext->__ss.__ebp; ~~~~~~~~~~~~~~~~~~~~~ ^ /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/projects/compiler-rt/lib/asan/asan_mac.cc:49:32: error: no member named '__ss' in 'mcontext' *sp = ucontext->uc_mcontext->__ss.__esp; ~~~~~~~~~~~~~~~~~~~~~ ^ 3 errors generated. Makefile:239: recipe for target '/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/tools/clang/runtime/compiler-rt/clang_darwin/asan_osx/i386/SubDir.lib__asan/asan_mac.o' failed gmake[4]: *** [/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/tools/clang/runtime/compiler-rt/clang_darwin/asan_osx/i386/SubDir.lib__asan/asan_mac.o] Error 1 gmake[4]: Leaving directory '/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/projects/compiler-rt' Makefile:108: recipe for target 'BuildRuntimeLibraries' failed gmake[3]: *** [BuildRuntimeLibraries] Error 2 gmake[3]: Leaving directory '/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/tools/clang/runtime/compiler-rt' /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/Makefile.rules:904: recipe for target 'compiler-rt/.makeall' failed gmake[2]: *** [compiler-rt/.makeall] Error 2 gmake[2]: Leaving directory '/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/tools/clang/runtime' /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/Makefile.rules:855: recipe for target 'all' failed gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/tools/clang' /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src/Makefile.rules:855: recipe for target 'all' failed gmake: *** [all] Error 1 gmake: Leaving directory '/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src' Command failed: cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.1/clang-3.1/work/llvm-3.1.src" && /opt/local/bin/gmake -w clang-only Exit code: 2 Error: org.macports.build for port clang-3.1 returned: command execution failed DEBUG: Error code: CHILDSTATUS 14229 2 DEBUG: Backtrace: command execution failed
Attachments (1)
Change History (4)
Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Cc: | jeremyhu@… removed |
---|---|
Keywords: | powerpc tiger added; asan_mac.cc removed |
Owner: | changed from macports-tickets@… to jeremyhu@… |
comment:2 follow-up: 3 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Looks like 3.2 and later should work with leopard-no-asan.patch
comment:3 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to jeremyhu@…:
Looks like 3.2 and later should work with leopard-no-asan.patch
Yes, 3.2 built over night, but then 3.3 fails early to build:
PathV2.cpp: In function 'void llvm::sys::path::system_temp_directory(bool, llvm::SmallVectorImpl<char>&)': PathV2.cpp:501: error: '_CS_DARWIN_USER_TEMP_DIR' was not declared in this scope PathV2.cpp:502: error: '_CS_DARWIN_USER_CACHE_DIR' was not declared in this scope /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/Makefile.rules:1615: recipe for target '/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/lib/Support/Release+Debug+Asserts/PathV2.o' failed
The same also stops llvm-3.3 to build, see https://trac.macports.org/ticket/44898.
Note: See
TracTickets for help on using
tickets.
main.log