Announcement

Collapse
No announcement yet.

Mold 1.1 High Performance Linker Brings Native LTO, RISC-V Support

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mold 1.1 High Performance Linker Brings Native LTO, RISC-V Support

    Phoronix: Mold 1.1 High Performance Linker Brings Native LTO, RISC-V Support

    Debuting last December was Mold 1.0 as a high performance, modern linker to compete with GNU's Gold and LLVM's LLD. That project was started by Rui Ueyama who originally worked on LLVM's LLD and has been working aggressively on performance optimizations. Sunday night marked the release of Mold 1.1 as the latest major update to this linker...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    I like mold, but they should really get a different logo xD

    Comment


    • #3
      Nah, it goes well together with Rust.

      Maybe it just shows that this community is getting old ...

      Comment


      • #4
        Originally posted by oleid View Post
        I like mold, but they should really get a different logo xD
        I don't have a problem with the logo, but when you're supposed to replace both lld and gold, your proper name is lold. Preferably spelled correctly: lol'd.

        Comment


        • #5
          the option to randomly shuffle the order of input sections for some cases like ASLR
          Could also be useful for differential benchmarking of small code changes. See https://www.youtube.com/watch?v=r-TLSBdHe1A&t=660s

          Comment


          • #6
            Originally posted by yump View Post

            Could also be useful for differential benchmarking of small code changes. See https://www.youtube.com/watch?v=r-TLSBdHe1A&t=660s
            Indeed, here's a direct quote from the author's release notes:

            First, it can be used as a strong form of ASLR (address space layout randomization). Second, you can enable it when you are benchmarking some other program to get more reliable benchmark numbers, because even the same machine code can vary in performance if they are laid out differently in the virtual address space. You want to make sure that you got good/bad benchmark numbers not by coincidence by shuffling input sections.

            Comment


            • #7
              Updated https://www.youtube.com/watch?v=Dd3Pgw-uso0 https://t2sde.org/packages/mold

              Comment


              • #8
                So, what exactly does it solve compared to LLD and Gold?

                UPD: From its Github:

                Mold: A Modern Linker 🦠. Contribute to rui314/mold development by creating an account on GitHub.

                Comment


                • #9
                  Originally posted by bug77 View Post

                  I don't have a problem with the logo, but when you're supposed to replace both lld and gold, your proper name is lold. Preferably spelled correctly: lol'd.
                  Damn, that's such a missed opportunity.

                  Comment


                  • #10
                    Now mold is getting somewhere...

                    I would like see the performance comparison with the other linkers (time it takes to link as well the performance of the executable produced), with LTO enabled of course.

                    Comment

                    Working...
                    X