[llvm-dev] [compiler-rt] Add iOS simulator link flag

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 13:57:56 PDT 2015

In the failing command (iossim-log) the syslibroot flag is being specified to the linker and the link command still fails, so your patch shouldn’t fix the problem. You can see that listed in iossim-link.txt.

The other error is (if anything) more disturbing. You’re generating a malformed libLLVMSupport. Not sure how that’s happening.

It looks to me like there is something wrong with your host toolchain. I don’t really know what else to say, but your patch shouldn’t have any impact on this problem since that flag is already being specified in the failing commands you’ve shown.


> On Sep 22, 2015, at 1:43 PM, Alex Wang via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> Summary is linker fails with unknown symbol in iossim asan/ubsan (was _wordexp
> in the past, now is _sigaltstack$UNIX2003"i), or ranlib getting bad input while
> working on native tablegen (archive extends past end of file, no such file are
> the ones I remember)
> Full commands + partial logs here:
>     https://gist.github.com/aw1621107/86fec1e1fa9cc66bbf4d <https://gist.github.com/aw1621107/86fec1e1fa9cc66bbf4d>
> This was built on OS X 10.11, Xcode 7.1 using the following homebrew command
> and formula:
>   brew install llvm --with-clang --with-sanitizers --HEAD --debug --verbose
>   https://github.com/aw1621107/homebrew/blob/llvm-updates/Library/Formula/llvm.rb <https://github.com/aw1621107/homebrew/blob/llvm-updates/Library/Formula/llvm.rb>
>> On Sep 22, 2015, at 4:08 PM, Joerg Sonnenberger via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>> On Tue, Sep 22, 2015 at 01:04:27PM -0700, Chris Bieneman via llvm-dev wrote:
>>> This does not sound right. -isysroot specified during linking should be passing through the sys root to the linker.
>> No? It should just be dropped.
>> Joerg
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150922/2b12f3b5/attachment.html>

More information about the llvm-commits mailing list