Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch devtoolset-8 gcc 8.2.1 compiler support in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 1, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    45,991
    10,448
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,210
    Local Time:
    3:59 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    devtoolset-8 gcc 8.2.1 compiler support in 123.09beta01

    when DEVTOOLSETEIGHT='y' set in persistent config file /etc/centminmod/custom_config.inc, Nginx will be built with GCC 8.2.1 compiler instead of GCC 7.3.1 compiler when running centmin.sh menu option 4 Beta Branch - Testing GCC 8 & Clang 5/6/7 compiler for Centmin Mod Nginx & PHP-FPM

    Continue reading...

    123.09beta01 branch

     
  2. rdan

    rdan Well-Known Member

    5,018
    1,221
    113
    May 25, 2014
    Ratings:
    +1,849
    Local Time:
    1:59 PM
    Mainline
    10.2
    Code:
    # nginx -V
    nginx version: nginx/1.15.8 (020219-013439)
    built by gcc 8.2.1 20180905 (Red Hat 8.2.1-3) (GCC)
    built with OpenSSL 1.1.1a  20 Nov 2018
    TLS SNI support enabled
    configure arguments: --with-ld-opt='-Wl,-E -L/usr/local/zlib-cf/lib -L/usr/local/lib -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/zlib-cf/lib:/usr/local/lib'
    --with-cc-opt='-I/usr/local/zlib-cf/include -I/usr/local/include -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
    --build=020219-013439
    --with-compat
    --with-libatomic
    --with-http_gzip_static_module
    --add-dynamic-module=../ngx_brotli
    --with-pcre-jit
    --with-zlib=../zlib-cloudflare-1.3.0
    --with-http_ssl_module
    --with-http_v2_module
    --with-openssl=../openssl-1.1.1a
    
     
  3. Kuro

    Kuro Member

    82
    12
    8
    Feb 8, 2018
    Ratings:
    +19
    Local Time:
    12:59 PM
    1.15.10
    10.3
    I have recompiled but it doesn't seem to work. Help me! >_<
    upload_2019-2-27_12-22-56.png
    My custom_config.inc
    upload_2019-2-27_12-19-17.png
    Digital Ocean VPS
    upload_2019-2-27_12-21-40.png
     

    Attached Files:

  4. eva2000

    eva2000 Administrator Staff Member

    45,991
    10,448
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,210
    Local Time:
    3:59 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    centos 6 doesn't support devtoolset-8 gcc 8.2.1 so fallsback to devtoolset-7 gcc 7.3.1 in latest 123.09beta01 updates

    only centos 7 supports devtoolset-8 gcc 8.2.1

    make sure you run cmupdate command to update to latest 123.09beta01 code before running centmin.sh menu option 4 to recompile nginx as well
     
  5. Kuro

    Kuro Member

    82
    12
    8
    Feb 8, 2018
    Ratings:
    +19
    Local Time:
    12:59 PM
    1.15.10
    10.3
    yes!
    upload_2019-2-27_12-51-20.png
    upload_2019-2-27_12-52-27.png
     
  6. eva2000

    eva2000 Administrator Staff Member

    45,991
    10,448
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,210
    Local Time:
    3:59 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    would need nginx_upgrade log to know for sure

    To troubleshoot, you need to check the full nginx upgrade log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the nginx_upgrade.log log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    also what's output of
    Code (Text):
    nginx -t

    when you run centmin.sh menu option 4 there's a nginx upgrade log timestamped at /root/centminlogs

    if you type this command it lists all logs in date ascending order so latest log at bottom
    Code (Text):
    ls -lArt /root/centminlogs

    so copy the entire contents of latest nginx_upgrade log to gist.github.com or pastebin.com

    you can use grep to filter the logs, i.e. look for nginx_upgrade in log name
    Code (Text):
    ls -lahrt /root/centminlogs/ | grep nginx_upgrade
    -rw-r--r--  1 root root 3.2M Oct 11 15:55 centminmod_1.2.3-eva2000.09.001_111016-155345_nginx_upgrade.log
    -rw-r--r--  1 root root 672K Oct 11 22:06 centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log

    So the last nginx upgrade log was named centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log and located at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log

    then use cat command to output the contents of that log

    clear your ssh window buffer/screen and type
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log

    then select and copy and paste output to pastebin.com or gist.github.com file to share. If your SSH client's scroll buffer isn't large enough using cat might not output the entire log file contents, so you may need to download the log and use local text editor to open and copy and paste.

    so only need content of one specific log, in this case most recent nginx_upgrade.log log
     
  7. Kuro

    Kuro Member

    82
    12
    8
    Feb 8, 2018
    Ratings:
    +19
    Local Time:
    12:59 PM
    1.15.10
    10.3
    You have exceeded the maximum paste size of 512 kilobytes per paste. PRO users don't have this limit =))
    sorry ~~
     
    Last edited: Feb 27, 2019
  8. eva2000

    eva2000 Administrator Staff Member

    45,991
    10,448
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,210
    Local Time:
    3:59 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    latest 123.09beta01 should fix it for you :)
     
  9. Kuro

    Kuro Member

    82
    12
    8
    Feb 8, 2018
    Ratings:
    +19
    Local Time:
    12:59 PM
    1.15.10
    10.3
    Yes HAHA, thanks
    upload_2019-2-27_14-13-18.png
     
  10. eva2000

    eva2000 Administrator Staff Member

    45,991
    10,448
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,210
    Local Time:
    3:59 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Good to know :D