在 2022-05-10 22:28, Jakub Jelinek 写道:
This looks reasonable, but doesn't contain the most important part. As mentioned in https://gcc.gnu.org/r12-5855 the generic part can now support relocation of PCH, so it is fine if it is mapped at some other address, it is preferrable if it is mapped at the same address as it was written for, but if not, the generic code can relocate it. (... ...) IMHO you can just drop the loop, sleep of half a second is almost certainly slower than the relocation handling, so I'd just
Thanks for the hint. I have very little knowledge about how PCH works in GCC, thus I'm gonna propose a patch to MSYS2 and see how it works. This can be committed to GCC later, after having been tested through many packages.
-- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature