• 6 Posts
  • 8 Comments
Joined 2 years ago
cake
Cake day: September 1st, 2023

help-circle
  • antoyoOPtoRustrustc_codegen_gcc: Progress Report #35
    link
    fedilink
    arrow-up
    2
    ·
    5 days ago

    It does actually clean everything. You need to call ./y.sh prepare again if you ran clean all; otherwise, it will fail to find some stuff like rustc-std-workspace-alloc.

    I opened an issue to improve the documentation in this regards. Thanks for testing all this: this will help me improve the documentation.


  • antoyoOPtoRustrustc_codegen_gcc: Progress Report #35
    link
    fedilink
    arrow-up
    1
    ·
    6 days ago

    The setup to be able to use LTO is non-trivial for now (I hope to be able to fix this soon so that liblto_plugin.so is not required for the case where a linker plugin wasn’t not asked by the user, which is the default).

    You need to have in your path the gcc built with the same version as libgccjit, which contains libexec/gcc/x86_64-pc-linux-gnu/15.0.0/liblto_plugin.so.



  • antoyoOPtoRustrustc_codegen_gcc: Progress Report #35
    link
    fedilink
    arrow-up
    1
    ·
    7 days ago

    Thanks for reporting this! I cannot reproduce with the following:

    y prepare
    y build --release
    y build
    y clean all
    

    (it shows: Successfully ran clean all)

    Could you please provide the commands you ran to get this? (It might also be easier for me to track this if you open an issue on GitHub since I don’t come here often.)

    Also, thanks for the suggestion for better documentation: I created an issue for this.