A couple of weeks ago I was trying to get LTO working with GCC and did not had much luck with that. Maybe someone already has a flake with it or has some resources to share on this topic?
1 Like
I’ve been working on trying to get LTO working myself. However, I’ve been stuck on symbols missing in GNU hello & libgcc during linking. At one point, I even managed to crash the linker.
2 Likes
Ngl, I kinda expected to see more peeps interested in this topic
@RossComputerGuy can you share your flake here? Maybe I or somebody else will play around with it
I don’t have a Flake, it’s a PR that I’ve been working on. cc-wrapper: add lto support by RossComputerGuy · Pull Request #399656 · NixOS/nixpkgs · GitHub
1 Like