[PATCH] D112070: [llvm-mt] Fix link failure in unusual situations.

Simon Tatham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 20 01:16:32 PDT 2021


simon_tatham abandoned this revision.
simon_tatham added a comment.

In fact, it turns out that libxml2 //optionally// uses zlib – it's a configure-time option. And I've been able to work around this issue another way now on the platform where I had the problem, by recompiling the libxml2 static library using `configure --without-zlib`, which doesn't seem to have lost any of the libxml2 functionality that llvm-mt needs.

So you're clearly right that only libxml2 is capable of knowing what extra libraries libxml2 needs (since the answer isn't even always the same), so if I did still need this problem fixing then I'd have to look at the libxml2 detection stage and see what was going wrong there.

I'll abandon this, since it's definitely the wrong answer and I don't even need it as a temp workaround any more. Thanks for the responses.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112070/new/

https://reviews.llvm.org/D112070



More information about the llvm-commits mailing list