<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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.<div class=""><br class=""></div><div class="">The other error is (if anything) more disturbing. You’re generating a malformed libLLVMSupport. Not sure how that’s happening.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">-Chris</div><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 22, 2015, at 1:43 PM, Alex Wang via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org" class="">llvm-commits@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Summary is linker fails with unknown symbol in iossim asan/ubsan (was _wordexp</div><div class="">in the past, now is _sigaltstack$UNIX2003"i), or ranlib getting bad input while</div><div class="">working on native tablegen (archive extends past end of file, no such file are</div><div class="">the ones I remember)</div><div class=""><br class=""></div><div class="">Full commands + partial logs here:</div><div class=""> <a href="https://gist.github.com/aw1621107/86fec1e1fa9cc66bbf4d" class="">https://gist.github.com/aw1621107/86fec1e1fa9cc66bbf4d</a></div><div class=""><br class=""></div><div class="">This was built on OS X 10.11, Xcode 7.1 using the following homebrew command</div><div class="">and formula:</div><div class=""><br class=""></div><div class=""> brew install llvm --with-clang --with-sanitizers --HEAD --debug --verbose</div><div class=""> <a href="https://github.com/aw1621107/homebrew/blob/llvm-updates/Library/Formula/llvm.rb" class="">https://github.com/aw1621107/homebrew/blob/llvm-updates/Library/Formula/llvm.rb</a></div><div style="" class=""><blockquote type="cite" class=""><div class="">On Sep 22, 2015, at 4:08 PM, Joerg Sonnenberger via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Tue, Sep 22, 2015 at 01:04:27PM -0700, Chris Bieneman via llvm-dev wrote:<br class=""><blockquote type="cite" class="">This does not sound right. -isysroot specified during linking should be passing through the sys root to the linker.<br class=""></blockquote><br class="">No? It should just be dropped.<br class=""><br class="">Joerg<br class="">_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class=""><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class=""></div></div></blockquote></div><br class=""></div>_______________________________________________<br class="">llvm-commits mailing list<br class=""><a href="mailto:llvm-commits@lists.llvm.org" class="">llvm-commits@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits<br class=""></div></blockquote></div><br class=""></div></div></body></html>