Rui Ueyama

Results 705 comments of Rui Ueyama

If so, how did it work with GNU ld and gold?

I tried to write code to support the LTO linker plugin only to find that the API is not suitable for mold. The linker plugin API is designed with the...

Hi Honza, Thank you for your comment! It was nice to have you here to discuss how to support GCC LTO support in mold. We do read archive members right...

@marxin Let me experiment with your change. I'll get back to you in a few days.

@joshcangit GNU ld is still the de-facto standard linker on Linux, so it is very unlikely that you don't have it but gold and lld on your system. What distro...

@marxin Not yet. I'm receiving more bug reports than I expected and I haven't had a chance to work on LTO yet.

@marxin I investigated more about the LTO linker plugin interface and found that our usage is actually supported by the standard API. The point is that even though we have...

It's still work-in-progress, but with the above change, mold can now link itself with `-flto`. It works both with GCC and Clang.

It looks like I can now build clang with LTO using clang and mold. But I can't do the same build using gcc and mold. It's because the GCC linker...

Correct. I don't know if it will fix all the remaining problems, but that v3 API is clearly missing in the GCC LTO plugin. It is odd that GCC defined...