[MacPorts] #58291: clang-8.0 @8.0.0 build fails on darwin 12 because cmake is building libfuzzer against the iPhoneSimulator instead of MacOS.sdk
MacPorts
noreply at macports.org
Tue Apr 2 15:48:14 UTC 2019
#58291: clang-8.0 @8.0.0 build fails on darwin 12 because cmake is building
libfuzzer against the iPhoneSimulator instead of MacOS.sdk
--------------------------+-----------------------
Reporter: kencu | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: mountainlion | Port: clang-8.0
--------------------------+-----------------------
This is a truly weird one. In a part of the `clang-8.0` build, `cmake`
chooses to build it against the` iPhoneSimulator.sdk` with `-miphoneos-
version-min=8.0` and this fails the `thread_local` test. `clang-7.0` and
`clang-devel` don't build against darwin12 either, most likely for the
same reason.
{{{
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-8.0/clang-8.0/work/build/projects
/compiler-rt/lib/fuzzer && /opt/local/bin/clang++-mp-3.7
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-8.0/clang-8.0/work/build/projects
/compiler-rt/lib/fuzzer
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects
/compiler-rt/lib/fuzzer -I//opt/local/include/libxml2
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-8.0/clang-8.0/work/build/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/include
-pipe -Os -std=c++11 -stdlib=libc++ -fPIC -fvisibility-inlines-hidden
-Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-
strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long
-Wimplicit-fallthrough -Wcovered-switch-default -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wstring-conversion -Wall -std=c++11 -DNDEBUG
-arch x86_64 -stdlib=libc++ -miphoneos-version-min=8.0 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
-fPIC -fno-builtin -fno-exceptions -funwind-tables -fno-stack-protector
-fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -O3 -gline-tables-
only -fno-omit-frame-pointer -o
CMakeFiles/RTfuzzer.iossim.dir/FuzzerDriver.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects
/compiler-rt/lib/fuzzer/FuzzerDriver.cpp
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects
/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:16:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects
/compiler-rt/lib/fuzzer/FuzzerInternal.h:151:10: error: thread-local
storage is not supported for the current target
static thread_local bool IsMyThread;
^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58291>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list