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

Beta Branch update nginx njs module 1.0.1 to fix GCC 15 builds in 140.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 21, 2026 at 11:54 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,036
    12,571
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,224
    Local Time:
    5:12 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update nginx njs module 1.0.1 to fix GCC 15 builds in 140.00beta01

    njs 0.8.9 fails to build with GCC Toolset 15, the EL8/EL9 default, when
    NGINX_NJS='y': -Werror=unterminated-string-initialization in
    src/njs_string.h, plus a stringop-overflow error at -O3. Both are fixed
    upstream in njs 0.9.0 and 0.9.2. Backport the njs 1.0.1 update from
    141.00beta01.


    Changes:
    - set NGINX_NJS_VER to 1.0.1 in centmin.sh, centmin-cli.sh and
    example/custom_config.inc
    - patch njs auto/cc after checkout so its command -v compiler check only
    tests the first word of CC, because njs 0.9.6+ rejects a CC with a
    ccache prefix or compiler flags

    Continue reading...

    140.00beta01 branch