jonpa added a comment. In D137044#3942990 <https://reviews.llvm.org/D137044#3942990>, @pcwang-thead wrote:
> The test `clang/test/Driver/pic.c` failed when we compiled Clang/LLVM with > `-DCLANG_DEFAULT_PIE_ON_LINUX=False`. Ah... I suppose that must be because -mno-pic-data-is-text-relative requires PIC (this is per GCC behavior). Does it help if you add -fpic to the RUN lines that were added by this patch? I was not aware of the cmake flag, sorry. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D137044/new/ https://reviews.llvm.org/D137044 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits