[llvm-bugs] [Bug 39692] New: LLVM from sources and "xcrun: error: unrecognized option: --show-sdk-version"
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Nov 16 10:14:09 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39692
Bug ID: 39692
Summary: LLVM from sources and "xcrun: error: unrecognized
option: --show-sdk-version"
Product: libc++
Version: 7.0
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: noloader at gmail.com
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
I'm working on an old PowerMac. MacPorts does not provide an updated Clang
compiler. I am trying to build LLVM/Clang from sources. I am bootstrapping the
process with MacPorts GCC 5 compiler (to satisfy the GCC 4.8 minimum).
My build script works fine on Fedora 29 x86_64. On the PowerMac it is having
some trouble. The build script is at https://github.com/noloader/build-llvm .
Here's the first sign of trouble on the PowerMac:
cmake ...
...
-- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG
-- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_EHSC_FLAG
-- Performing Test LIBCXX_SUPPORTS_EHSC_FLAG - Failed
-- Performing Test LIBCXX_SUPPORTS_FPIC_FLAG
-- Performing Test LIBCXX_SUPPORTS_FPIC_FLAG - Success
xcrun: error: unrecognized option: --show-sdk-version
usage:
xcrun [-verbose] [-no-cache] [-sdk <sdkroot>] [-log] [-run] <utility>
[argument...]
xcrun [-verbose] [-no-cache] [-sdk <sdkroot>] -find <utility>
<tool> [tool arguments ...]
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG - Success
-- Adding Benchmark: algorithms.bench.cpp
-- Adding Benchmark: filesystem.bench.cpp
This seems to work, but I don't know if it is useful to this process:
$ /usr/bin/xcodebuild -version
Xcode 3.1.4
Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0
BuildVersion: 9M2809
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181116/2487ecd3/attachment-0001.html>
More information about the llvm-bugs
mailing list