FreeBSD Is No Longer Building GCC By Default

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67058

    FreeBSD Is No Longer Building GCC By Default

    Phoronix: FreeBSD Is No Longer Building GCC By Default

    As of last week, the GNU Compiler Collection (GCC) is no longer being compiled by default as part of the FreeBSD base system...

    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
  • birdie
    Banned
    • Jul 2008
    • 3368

    #2
    "Clang is their future"

    I just hope it won't be their ... failure.

    Comment

    • eltomito
      Senior Member
      • Jul 2013
      • 124

      #3
      Demons like things slow?

      Originally posted by phoronix View Post
      Phoronix: FreeBSD Is No Longer Building GCC By Default

      As of last week, the GNU Compiler Collection (GCC) is no longer being compiled by default as part of the FreeBSD base system...

      http://www.phoronix.com/vr.php?view=MTQ1ODc
      In all the comparisons I've read here on phoronix, Clang turns out to be producing slower executables than GCC, at least in most cases and in most cases by a significant margin.

      On the other hand, I understand that Clang usually compiles faster and it has a really cool architecture meaning you can leave your code compiled only half-way in byte-code form and finish the compilation at run time which is really useful in some OS-X graphics drivers.

      Neither of these advantages seems like a real advantage to anybody who uses his computer mostly for other things than compiling software.

      Am I missing something or have the FreeBSD demons entered a final stage of some supernatural mental dysfunction?

      Comment

      • chrisb
        Senior Member
        • Feb 2013
        • 662

        #4
        Wonder how this is going to affect performance - clang is still behind GCC on many benchmarks. http://www.phoronix.com/scan.php?pag...m_clang33_3way I guess they are making this change for political reasons, the only clear advantage of clang is faster compile times.

        Comment

        • DanL
          Senior Member
          • Oct 2007
          • 3114

          #5
          IIRC, llvm/clang advocates also claim better debugging ability.

          Comment

          • Sergio
            Senior Member
            • Feb 2012
            • 264

            #6
            Originally posted by chrisb View Post
            Wonder how this is going to affect performance - clang is still behind GCC on many benchmarks. http://www.phoronix.com/scan.php?pag...m_clang33_3way I guess they are making this change for political reasons, the only clear advantage of clang is faster compile times.
            But, aren't the stuck wigh GCC 4.2.something? In that case, Clang would give them better performance.

            Comment

            • birdie
              Banned
              • Jul 2008
              • 3368

              #7
              Originally posted by Sergio View Post
              But, aren't the stuck wigh GCC 4.2.something? In that case, Clang would give them better performance.
              GCC 4.2 is still a lot faster than Clang in 95% of usage scenarios.

              Comment

              • Vim_User
                Senior Member
                • Jan 2013
                • 1116

                #8
                Originally posted by birdie View Post
                GCC 4.2 is still a lot faster than Clang in 95% of usage scenarios.
                Link to benchmarks of GCC 4.2 against recent Clang/LLVM?

                Comment

                • scottishduck
                  Senior Member
                  • Jun 2011
                  • 498

                  #9
                  Originally posted by birdie View Post
                  GCC 4.2 is still a lot faster than Clang in 95% of usage scenarios.
                  Oh please pull your head out of your ass.

                  Comment

                  • dalingrin
                    Phoronix Member
                    • Sep 2009
                    • 117

                    #10
                    Originally posted by birdie View Post
                    GCC 4.2 is still a lot faster than Clang in 95% of usage scenarios.
                    I'm not sure what you are basing this on. If you ignore benchmarks that use OpenMP then the performance of GCC and Clang are roughly the same. OpenMP support is coming but I doubt many applications in the base FreeBSD system use OpenMP anyway.
                    In my opinion, if LLVM/Clang can achieve performance parity with GCC then LLVM/Clang would be preferable. It has a modern more maintainable architecture, better debugging, and faster compile times.

                    Comment

                    Working...
                    X