[swift-dev] Unsupported imported target type MODULE_LIBRARY

Minsheng Liu lambda at liu.ms
Thu Jul 7 13:10:34 CDT 2016


Hi,

I am running the second preview of macOS Sierra and am attempting to build
swift. LLVM and cmark built successfully, but swift failed during the
configuration stage with the error message

Unsupported imported target type MODULE_LIBRARY

I hacked the cmake file by bypassing the conditional check, but I got some
link time error after compilation:

The following build commands failed:
Ld
../build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/lib/libswiftDemangle.dylib
normal x86_64
Ld ../build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/bin/swift-demangle
normal x86_64

I am using the second preview of macOS Sierra and am compiling with the
HEAD of the repository. Any hint on how to proceed? I have successfully
compiled swift on another Mac with El Capitan.

Thank you,
– Minsheng Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160707/cbee684c/attachment.html>


More information about the swift-dev mailing list