Announcement

Collapse
No announcement yet.

Rebuilding Fedora Under GCC 6 Has Uncovered An Assortment Of Problems

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

  • Rebuilding Fedora Under GCC 6 Has Uncovered An Assortment Of Problems

    Phoronix: Rebuilding Fedora Under GCC 6 Has Uncovered An Assortment Of Problems

    The past few days Red Hat / Fedora developers have been rebuilding Fedora Rawhide packages with the GCC 6 compiler. Out of the 17,741 packages, 577 packages ran into issues relating to GCC 6 (~3% of the packages)...

    http://www.phoronix.com/scan.php?pag...ebuild-Results

  • #2
    This is great, like the article said the newer GCC versions are much better at uncovering poor programming practices. Gentoo is usually one of the distributions that find many compilation-related bugs since they are usually quite early to upgrade to new (or unreleased) versions in the unstable branch.

    Comment


    • #3
      You should think the GCC devs would have a lot of interest to test their compiler with as much real-world code as possible. If you can simply find GCC bugs by recompiling Fedora, why don't they test new versions of GCC with Gentoo for instance before releasing them? It would be piece of cake to automate that!

      Comment


      • #4
        Originally posted by oglueck View Post
        You should think the GCC devs would have a lot of interest to test their compiler with as much real-world code as possible. If you can simply find GCC bugs by recompiling Fedora, why don't they test new versions of GCC with Gentoo for instance before releasing them? It would be piece of cake to automate that!

        Plenty of issues are with code elsewhere that newer GCC is able to identify better. This happens with every major rebuild of Fedora (and other distributions which do it early). The couple of relatively minor bugs were fixed before the stable release of GCC precisely by rebuilding Fedora.
        Last edited by RahulSundaram; 02-22-2016, 09:33 AM.

        Comment


        • #5
          Originally posted by RahulSundaram View Post


          Plenty of issues are with code elsewhere that newer GCC is able to identify better. This happens with every major rebuild of Fedora (and other distributions which do it early). The couple of relatively minor bugs were fixed before the stable release of GCC precisely by rebuilding Fedora.
          Eh, I think what he was doing, was responding to the "news article", rather than reality. Poor quality and unclear journalism results in the wrong message being understood by those who read it. In this case, the "article" seemed to be suggesting that the "poor programming practices" were actually within libstdc++, when the intention was to indicate that libstdc++/gcc was useful in detecting poor programming practices in the packages being compiled.

          After reading through a second time, the part referring to bugs within libstdc++/gcc, "some GCC and libstdc++ bugs, most of which are now fixed in the upstream code" was actually indicating relatively minor and few bugs within libstdc++/gcc. I think we all know that no matter how well debugged a very complex piece of software is, it remains close to impossible to entirely eliminate ALL bugs.
          Last edited by droidhacker; 02-22-2016, 10:03 AM.

          Comment


          • #6
            Originally posted by Azpegath View Post
            Gentoo is usually one of the distributions that find many compilation-related bugs since they are usually quite early to upgrade to new (or unreleased) versions in the unstable branch.
            Gentoo's ability to install multiple versions of GCC and the fact that upstream didn't change the libstdc++ soname actually made it a little late to the GCC 5 party. Once we'd accepted that a user's migration to 5 was pretty much a one way street and we'd cooked up some one-liners to deal with the inevitable fallout, we were able to move forwards.

            Comment


            • #7
              Originally posted by oglueck View Post
              You should think the GCC devs would have a lot of interest to test their compiler with as much real-world code as possible. If you can simply find GCC bugs by recompiling Fedora, why don't they test new versions of GCC with Gentoo for instance before releasing them? It would be piece of cake to automate that!
              "They" do. Notice how gcc 6 is not released yet, and is now being tested by trying to compile ALL major distros.

              Comment


              • #8
                Originally posted by oglueck View Post
                why don't they test new versions of GCC with Gentoo
                because they are fedora gcc package maintainers
                see the pattern? fedora is the real linux

                Comment


                • #9
                  In the meantime, the current version of the MS compiler gladly compiles stuff written for Visual C++ 1.0. Or even Borland C++ about 20 years ago...

                  Comment


                  • #10
                    Originally posted by eydee View Post
                    In the meantime, the current version of the MS compiler gladly compiles stuff written for Visual C++ 1.0. Or even Borland C++ about 20 years ago...
                    The same compiler which doesn't even support C99 completely? GCC and Clang is way ahead.

                    Comment

                    Working...
                    X