We’ve been making good progress towards running more tests for rustc_codegen_gcc in the CI of the Rust repo to make our syncs with it easier and also progress towards having rustup distribution.

  • BB_C
    link
    fedilink
    arrow-up
    2
    ·
    7 days ago

    Thank you (+ contributors) for doing this work and keeping us posted.

    Last time I took a look, I think LTO was broken. Is that still the case?

    • antoyoOP
      link
      fedilink
      arrow-up
      2
      ·
      7 days ago

      Well, LTO works in many cases, so it’s not completely broken. I managed to do a refactoring in this PR, but I’m not entirely satisfied with the results yet (it prints stuff to stderr when LTO is not supported by the gcc installation). I have an idea to workaround this in order to land this PR which should help me continue fixing the issues we have with LTO.

      LTO is very complex, though, so this is why it’s taking time to move forward on this (same for unwinding support which also works in many cases, but not all).