Announcement

Collapse
No announcement yet.

Mold 1.0.2 Released For This High Performance Linker

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

  • Mold 1.0.2 Released For This High Performance Linker

    Phoronix: Mold 1.0.2 Released For This High Performance Linker

    For those interested in compilers, Mold as the "Modern Linker" is one of the interesting projects to watch in 2022...

    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
    those charts are weirdly missing ld.bfd which is the default linker for gcc. instead, mold is always just compared to gold and lld. is this intentional?
    also, comparing the number of git commits, gold is receiving less developement than ld.bfd, so maybe gold is not even faster anymore.
    is mold giving me an advantage compared to ld? still can't tell, after all those news in the last weeks. does this bother nobody else?
    Last edited by SigHunter; 23 January 2022, 08:49 AM.

    Comment


    • #3
      Originally posted by SigHunter View Post
      those charts are weirdly missing ld.bfd which is the default linker for gcc. instead, mold is always just compared to gold and lld. is this intentional?
      also, comparing the number of git commits, gold is receiving less developement than ld.bfd, so maybe gold is not even faster anymore.
      is mold giving me an advantage compared to ld? still can't tell, after all those news in the last weeks. does this bother nobody else?
      According to author of mold:
      • GNU ld.bfd is several times slower than gold.
      • GNU gold is semi-deprecated and not actively developed anymore.
      • GNU ld.bfd is (sometimes?) hard to test because of bitrot and enormous memory usage. Modern large programs are developed using LLVM lld and sometimes do not link correctly with ld.bfd.

      Comment


      • #4
        Originally posted by SigHunter View Post
        those charts are weirdly missing ld.bfd which is the default linker for gcc. instead, mold is always just compared to gold and lld. is this intentional?
        also, comparing the number of git commits, gold is receiving less developement than ld.bfd, so maybe gold is not even faster anymore.
        is mold giving me an advantage compared to ld? still can't tell, after all those news in the last weeks. does this bother nobody else?
        bfd is still like an order of magnitude slower than gold, so it wouldn't even (reasonably) fit on the scale.
        However gold development is dead upstream and we are seeing more and more regressions (build failures or corrupted binaries) with it, you should definitely stop using it.

        Comment


        • #5
          Still too many issues being able to even build mold and the lack of support for more archs are a showstopper. Among the other missing features. A nice project for linker R&D though.

          Comment


          • #6
            Originally posted by brad0 View Post
            Still too many issues being able to even build mold and the lack of support for more archs are a showstopper. Among the other missing features. A nice project for linker R&D though.
            Out of curiosity I unpacked 1.0.2, typed "make -j6" in the terminal and it got compiled successfully in like < 1 minute. So what issues "to even build mold" are you talking about?

            (Ubuntu 21.10 amd64)

            Comment


            • #7
              Originally posted by cl333r View Post
              Out of curiosity I unpacked 1.0.2, typed "make -j6" in the terminal and it got compiled successfully in like < 1 minute. So what issues "to even build mold" are you talking about?

              (Ubuntu 21.10 amd64)
              What a bad joke. You're on Linux (with glibc) and amd64.

              Comment


              • #8
                Good Good

                Comment


                • #9
                  Originally posted by brad0 View Post

                  What a bad joke. You're on Linux (with glibc) and amd64.
                  And it's a "research project" because it doesn't support your arch?

                  Comment


                  • #10
                    Originally posted by cl333r View Post
                    And it's a "research project" because it doesn't support your arch?
                    No clue with you.
                    Last edited by brad0; 23 January 2022, 05:16 PM.

                    Comment

                    Working...
                    X