Announcement

Collapse
No announcement yet.

GCC 5.5 Will Come Before Killing Off GCC5

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

  • GCC 5.5 Will Come Before Killing Off GCC5

    Phoronix: GCC 5.5 Will Come Before Killing Off GCC5

    Red Hat's Jakub Jelinek has announced that GCC 5.5 will be released soon...

    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
    Years ago some Linux users told us that with Linux you get the updates faster than Windows. but after using Linux for about two years i discovered that you get Security updates not Software updates.

    RHEL and CentOS : gcc 4.8
    Ubuntu 14.04 : gcc 4.9
    Ubuntu 16.04 : gcc 5.4

    It looks like all the GCC compilers in the enterprise distributions are outdated.

    Comment


    • #3
      It looks like all the GCC compilers in the enterprise distributions are outdated

      ​​Enterprise is rarely a synonim for latest.

      Comment


      • #4
        Originally posted by Setif View Post
        Years ago some Linux users told us that with Linux you get the updates faster than Windows. but after using Linux for about two years i discovered that you get Security updates not Software updates.

        RHEL and CentOS : gcc 4.8
        Ubuntu 14.04 : gcc 4.9
        Ubuntu 16.04 : gcc 5.4

        It looks like all the GCC compilers in the enterprise distributions are outdated.
        I would never choose the distributions above. But there are voices jelling from the dark M$ corner that different distributions are superfluous and confusing, right? If there is a reason to use Enterprise editions it is likely that your admins have installed lmod for you?

        Anyway, I understand you. Computers at my workplace have CentOS6(!!) preinstalled and some of them even think it's good enough ...

        Comment


        • #5
          Originally posted by Setif View Post
          Years ago some Linux users told us that with Linux you get the updates faster than Windows. but after using Linux for about two years i discovered that you get Security updates not Software updates.

          RHEL and CentOS : gcc 4.8
          Ubuntu 14.04 : gcc 4.9
          Ubuntu 16.04 : gcc 5.4

          It looks like all the GCC compilers in the enterprise distributions are outdated.
          Of course, thats the whole point really. Enterprises generally don't want bleeding edge software that constantly changes. For those that do they can add RHSCL for RHEL or use newer releases for Ubuntu.

          RHSCL - gcc 6.3.1
          Ubuntu 17.04 - gcc 6.3.0
          Ubuntu 17.10 - gcc 7.1.0

          Comment


          • #6
            I'm not sure which distribution will benefit from this update, if any. Most of them already use newer versions (or just won't switch, like Debian that was born with 6.3 and will never care about 6.4 released months ago). I would say, unless someone has the specific need for an improved version of 5.4 (Ubuntu, really?) and will build it from source, I'm not sure whether a 5.5 is worth the developers effort. If it's just a side-effect from their activity with fixing bugs and regressions for 6.x and newer, then all the better and please go ahead.
            Last edited by GdeR; 17 September 2017, 02:22 PM.

            Comment


            • #7
              Originally posted by Setif View Post
              Years ago some Linux users told us that with Linux you get the updates faster than Windows. but after using Linux for about two years i discovered that you get Security updates not Software updates.

              RHEL and CentOS : gcc 4.8
              Ubuntu 14.04 : gcc 4.9
              Ubuntu 16.04 : gcc 5.4

              It looks like all the GCC compilers in the enterprise distributions are outdated.
              That's what SCL devtool-set repos are for.. on my CentOS servers I can compile using native GCC and 5.3, 6.3 and 7.1 without issue

              gcc 7.1.1

              Code:
              /opt/rh/devtoolset-7/root/usr/bin/gcc --version
              gcc (GCC) 7.1.1 20170526 (Red Hat 7.1.1-2)
              Copyright (C) 2017 Free Software Foundation, Inc.
              This is free software; see the source for copying conditions.  There is NO
              warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
              gcc 6.3.1

              Code:
              /opt/rh/devtoolset-6/root/usr/bin/gcc --version 
              gcc (GCC) 6.3.1 20170216 (Red Hat 6.3.1-3)
              Copyright (C) 2016 Free Software Foundation, Inc.
              This is free software; see the source for copying conditions.  There is NO
              warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
              gcc 5.3.1

              Code:
              /opt/rh/devtoolset-4/root/usr/bin/gcc --version 
              gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
              Copyright (C) 2015 Free Software Foundation, Inc.
              This is free software; see the source for copying conditions.  There is NO
              warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
              clang 4.0.1

              Code:
              /opt/rh/llvm-toolset-7/root/usr/bin/clang -v
              clang version 4.0.1 (tags/RELEASE_401/final)
              Target: x86_64-unknown-linux-gnu
              Thread model: posix
              InstalledDir: /opt/rh/llvm-toolset-7/root/usr/bin
              Found candidate GCC installation: /opt/rh/devtoolset-4/root/usr/lib/gcc/x86_64-redhat-linux/5.3.1
              Found candidate GCC installation: /opt/rh/devtoolset-6/root/usr/lib/gcc/x86_64-redhat-linux/6.3.1
              Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
              Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.2
              Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5
              Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
              Candidate multilib: .;@m64
              Candidate multilib: 32;@m32
              Selected multilib: .;@m64
              Example of nginx compiled with GCC 7.1.1 on CentOS 7.4

              nginx -V
              nginx version: nginx/1.13.5
              built by gcc 7.1.1 20170526 (Red Hat 7.1.1-2) (GCC)
              built with OpenSSL 1.1.0f 25 May 2017
              TLS SNI support enabled
              configure arguments: --with-ld-opt='-ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m64 -march=native -g -O3 -Wno-error=strict-aliasing -fstack-protector-strong -flto -fuse-ld=gold --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wimplicit-fallthrough=0 -Wp,-D_FORTIFY_SOURCE=2 -gsplit-dwarf' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-compat --with-http_stub_status_module --with-http_secure_link_module --with-libatomic --with-http_gzip_static_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module=dynamic --with-http_geoip_module --with-stream_geoip_module --with-stream_realip_module --with-stream_ssl_preread_module --with-threads --with-stream=dynamic --with-stream_ssl_module --with-http_realip_module --add-dynamic-module=../ngx-fancyindex-0.4.0 --add-module=../ngx_cache_purge-2.3 --add-module=../ngx_devel_kit-0.3.0 --add-dynamic-module=../set-misc-nginx-module-0.31 --add-dynamic-module=../echo-nginx-module-0.61 --add-module=../redis2-nginx-module-0.14 --add-module=../ngx_http_redis-0.3.7 --add-module=../memc-nginx-module-0.18 --add-module=../srcache-nginx-module-0.31 --add-dynamic-module=../headers-more-nginx-module-0.32 --with-pcre=../pcre-8.41 --with-pcre-jit --with-zlib=../zlib-1.2.11 --with-http_ssl_module --with-http_v2_module --with-http_v2_hpack_enc --with-openssl=../openssl-1.1.0f --with-openssl-opt='enable-ec_nistp_64_gcc_128'

              Comment


              • #8
                Originally posted by Setif View Post
                Years ago some Linux users told us that with Linux you get the updates faster than Windows. but after using Linux for about two years i discovered that you get Security updates not Software updates.

                RHEL and CentOS : gcc 4.8
                Ubuntu 14.04 : gcc 4.9
                Ubuntu 16.04 : gcc 5.4

                It looks like all the GCC compilers in the enterprise distributions are outdated.
                Linux does update faster than windows. I guarantee if there was a security hole found, it'd be 3 days before you could download the patched version.

                Next, you really don't understand what an LTS is, or how it works. They basicly keep the same versions of the software for the life of the product to ensure compatibility with whatever app the customer is running, because it would be hell if they didn't.

                Customer designs an app for gcc 4.9, they get GCC 4.9 until they decomm, and they can then worry about porting when they spin up a new setup. Wow, solves administration issues.

                But you just cherry picked a few distros

                Debian stable:
                6.3 https://packages.debian.org/stretch/gcc

                Arch linux:
                7.2 https://www.archlinux.org/packages/core/x86_64/gcc/

                Fedora:
                7.1 https://apps.fedoraproject.org/packages/gcc
                Fedora 26 7.1.1-3.fc26 7.2.1-2.fc26
                2 karma
                Fedora 25 6.4.1-1.fc25 (update) None
                Fedora 24 6.3.1-1.fc24 (update) None

                Comment


                • #9
                  Originally posted by Setif View Post
                  Years ago some Linux users told us that with Linux you get the updates faster than Windows. but after using Linux for about two years i discovered that you get Security updates not Software updates.
                  It is like complaining that Win XP or 7 doesn't receive updates anymore, those distros are meant to be stable and doesn't do possible disruptive changes.

                  You should compare they with Arch based distros, Debian Testing, Fedora Rawhide, Suse tumbleweed and those more rolling distros

                  Comment


                  • #10
                    Originally posted by GI_Jack View Post
                    What bugs me is that Debian will persist with its immutable GCC 6.3 until death. Isn't Debian supposed to care about bug-fixes? GCC 6.4 has already been out for months now and it contains fixes to many bugs.

                    Originally posted by GI_Jack View Post
                    [..] Fedora 24 [..]
                    Fedora 24 was declared dead on August 8th, 2017.

                    Comment

                    Working...
                    X