glaubitz added a comment. In D52050#2428590 <https://reviews.llvm.org/D52050#2428590>, @hvdijk wrote:
> That sounds like it's one thing in > https://lists.llvm.org/pipermail/llvm-dev/2020-October/146049.html I haven't > extracted into a separate patch for submission yet: LLVM does not call > `Triple::normalize` everywhere it should, and misinterprets > x86_64-linux-gnux32 as x86_64-somethingelse when it's set as the default > target because of it. For testing this change, it may be easiest to just > explicitly specify the triple or `-mx32`. That doesn't help, unfortunately The problem is that invoking `clang` on a Debian x32 defaults to `-m64` while it should default to `-mx32`. See my test run above. I have not found the place yet in clang where to adjust that. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D52050/new/ https://reviews.llvm.org/D52050 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits