nikic wrote: Okay, I managed to get access to a MacOS machine (turns out the GCC compile farm has one!) and figured out what the problem is. Basically, the presence of the constant expression meant that we previously always fell back to JIT and now we use the IR interpreter instead, which fails to handle the weak function symbol correctly. I put up a candidate fix at https://github.com/llvm/llvm-project/pull/93548.
https://github.com/llvm/llvm-project/pull/92885 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits