Never mind.  I found the issue, which was un-related.  I've been staring at
the screen too long...

On Tue, Jan 29, 2019 at 1:38 PM Joel Winarske <>

> Hi,
> I'm hitting a problem linking with llvm lld.  I've determined llvm lld
> v7.0.1 will fail with the parameter "-shared".  The error manifests as:
>     ld: unknown option:
> --sysroot=/Users/joel.winarske/git/clang_toolchain/sdk/sysroot
> If I manually issue the command, changing "-shared" to "--shared", it
> works fine.
> What variable can I override in my toolchain file to affect this?
> Thanks,
> Joel

Powered by

Please keep messages on-topic and check the CMake FAQ at:

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe:

Reply via email to