Want to subscribe to topics you're interested in?
Become a Member

Beta Branch add devtoolset-7 for GCC 7.2.1 & Clang 4.0.1 support 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 5, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    36,419
    7,993
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,307
    Local Time:
    3:24 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    add devtoolset-7 for GCC 7.2.1 & Clang 4.0.1 support 123.09beta01

    - add GCC 7.2.1 & Clang 4.0.1 support for CentOS 7.x systems
    - GCC 7.2.1 enabled when persistent config variables set in /etc/centminmod/custom_config.inc prior to centmin.sh menu option 4 nginx recompiles
    Code (Text):
    CLANG='n'
    DEVTOOLSETSEVEN='y'
    NGINX_DEVTOOLSETGCC='y'
    

    - Clang 4.0.1 enabled when persistent config variables set in /etc/centminmod/custom_config.inc prior to centmin.sh menu option 4 nginx recompiles
    Code (Text):
    CLANG='y'
    CLANG_FOUR='y'
    NGINX_DEVTOOLSETGCC='y'
    


    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    36,419
    7,993
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,307
    Local Time:
    3:24 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    GCC 7.2.1 built Nginx
    Clang 4.0.1 built Nginx
    other examples CentOS 7.x - Beta Branch - Testing GCC 7.1/7.2 & Clang 4.0.1 SCL Yum Packages
     
  3. Sunka

    Sunka Well-Known Member

    1,021
    281
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +459
    Local Time:
    7:24 AM
    Nginx 1.15.0
    MariaDB 10.2.15
    I belive it is OK?

     
  4. rdan

    rdan Premium Member Premium Member

    4,308
    1,044
    113
    May 25, 2014
    Ratings:
    +1,504
    Local Time:
    1:24 PM
    Mainline
    10.2
    I should replace DEVTOOLSETSIX='y' with DEVTOOLSETSEVEN='y' right?
     
  5. rdan

    rdan Premium Member Premium Member

    4,308
    1,044
    113
    May 25, 2014
    Ratings:
    +1,504
    Local Time:
    1:24 PM
    Mainline
    10.2
    From this:
    Code:
    CLANG='n'
    DEVTOOLSETSIX='y'
    NGINX_DEVTOOLSETGCC='y'
    GENERAL_DEVTOOLSETGCC='y'
    CRYPTO_DEVTOOLSETGCC='y'
    To this?
    Code:
    CLANG='n'
    DEVTOOLSETSEVEN='y'
    NGINX_DEVTOOLSETGCC='y'
    GENERAL_DEVTOOLSETGCC='y'
    CRYPTO_DEVTOOLSETGCC='y'
     
  6. Sunka

    Sunka Well-Known Member

    1,021
    281
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +459
    Local Time:
    7:24 AM
    Nginx 1.15.0
    MariaDB 10.2.15
    yep

    Code (Text):
    NGINX_DEVTOOLSETGCC='y' # umjesto clang ide gcc kompilacija kod nginx
    DEVTOOLSETSEVEN='y' # ide 7.x verzija gcc kompilacije umjesto defaultne 5.x ili 6.x
    CLANG='n' # potrebno za gcc kompilaciju nginx
    CRYPTO_DEVTOOLSETGCC='y' # newer Intel GCC
     
  7. eva2000

    eva2000 Administrator Staff Member

    36,419
    7,993
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,307
    Local Time:
    3:24 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yup looks good
    yup :D

    FYI, CRYPTO_DEVTOOLSETGCC='y' is still some work in progress that you might not want to enable especially on cloud vps like linode where migrating between host vps nodes changes the cpu model/family.
     
    Last edited: Nov 6, 2017
    • Like Like x 1
    • Informative Informative x 1
  8. eva2000

    eva2000 Administrator Staff Member

    36,419
    7,993
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,307
    Local Time:
    3:24 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  9. rdan

    rdan Premium Member Premium Member

    4,308
    1,044
    113
    May 25, 2014
    Ratings:
    +1,504
    Local Time:
    1:24 PM
    Mainline
    10.2
    Succeeded :)
    Code:
    nginx version: nginx/1.13.6
    built by gcc 7.2.1 20170829 (Red Hat 7.2.1-1) (GCC) 
    built with OpenSSL 1.1.0g  2 Nov 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 -DTCP_FASTOPEN=23 -g -O3 -fstack-protector-strong -flto -fuse-ld=gold --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wimplicit-fallthrough=0 -fcode-hoisting -Wp,-D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations -gsplit-dwarf' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-compat --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --add-dynamic-module=../ngx_brotli --with-openssl=../openssl-1.1.0g --with-openssl-opt='enable-ec_nistp_64_gcc_128' --with-libatomic --with-pcre=../pcre-8.41 --with-pcre-jit --with-zlib=../zlib-1.2.11
    
    Thanks!
     
    • Like Like x 2
  10. rdan

    rdan Premium Member Premium Member

    4,308
    1,044
    113
    May 25, 2014
    Ratings:
    +1,504
    Local Time:
    1:24 PM
    Mainline
    10.2
    Why is it this isn't default right now?
    devtoolset-7 for GCC 7.2.1 or Clang 4.0.1.

    Just curious :).
     
  11. eva2000

    eva2000 Administrator Staff Member

    36,419
    7,993
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,307
    Local Time:
    3:24 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Stability first while testing as there's no idea if any older or specific cpu modules might not like the newer compilers for something and well it adds to initial install times too quite a bit compared to default system compiler.
     
    • Like Like x 2
  12. rdan

    rdan Premium Member Premium Member

    4,308
    1,044
    113
    May 25, 2014
    Ratings:
    +1,504
    Local Time:
    1:24 PM
    Mainline
    10.2
    Both Clang and GCC has Intel CPU optimization?
     
  13. eva2000

    eva2000 Administrator Staff Member

    36,419
    7,993
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,307
    Local Time:
    3:24 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Like Like x 1
..