Welcome to Centmin Mod Community
Register Now

Stable Branch update Mold linker & OpenSSL & PHP LTO in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 2, 2024.

  1. eva2000

    eva2000 Administrator Staff Member

    58,904
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:55 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update Mold linker & OpenSSL & PHP LTO in 130.00beta01

    - for EL8 and EL9 OSes, add optional support for enabling PHP LTO compiles (PHP_LTO='y') and switching from GNU Gold linker to optional Mold linker https://github.com/rui314/mold for PHP compiles (PHP_LDMOLD='y')
    - fix Mold linker enabled PHP compiles to use EL8/EL9 YUM repo installed newer Mold YUM package versions instead of Centmin Mod custom compiled older Mold linker RPMs used for CentOS 7 and EL8+ when YUM packages were not available. Newer Mold linker versions can improve PHP LTO compile time speeds by as much as 50% though still slower than PHP compiles without optional LTO. On 16x CPU libvirt KVM VPS with AMD Ryzen 5950X, PHP recompile without LTO and with Mold linker 2.32 = ~125 seconds, with LTO and Mold linker 2.32 = ~175 seconds, with LTO and older Mold linker 1.11 = ~220 seconds , with LTO and Centmin Mod default used GNU Gold linker = ~340 seconds
    - update Nginx's OpenSSL routine Mold linker to support newer Mold linker 2.32


    Continue reading...

    131.00stable branch