Welcome to Centmin Mod Community
Become a Member

PHP isn't installed

Discussion in 'Bug Reports' started by rdan, Feb 24, 2019.

  1. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    12:10 AM
    Mainline
    10.2
  2. eva2000

    eva2000 Administrator Staff Member

    41,645
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    2:10 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    what web host ? plan ? server specs ? kvm/xen/openvz ? output for
    Code (Text):
    lscpu
    cat /proc/cpuinfo
    


    sounds like vps server with cpu where virtualisation host node isn't passing correct cpu flags to vps container/guest OS maybe as i see at PHP make stage
    Code (Text):
    I/svr-setup/php-7.3.2/TSRM -I/svr-setup/php-7.3.2/fpm-build/    -I/usr/include -O3 -m64 -march=core-avx2 -pipe -gsplit-dwarf -fvisibility=hidden -DZEND_SIGNALS    -c /svr-setup/php-7.3.2/ext/opcache/Optimizer/pass1_5.c -o ext/opcache/Optimizer/pass1_5.lo
    /svr-setup/php-7.3.2/ext/opcache/zend_accelerator_util_funcs.c: In function ‘zend_accel_load_script’:
    /svr-setup/php-7.3.2/ext/opcache/zend_accelerator_util_funcs.c:656:2: error: unknown register name ‘%ymm1’ in ‘asm’
      __asm__ volatile (
      ^
    /svr-setup/php-7.3.2/ext/opcache/zend_accelerator_util_funcs.c:656:2: error: unknown register name ‘%ymm0’ in ‘asm’
    make: *** [ext/opcache/zend_accelerator_util_funcs.lo] Error 1
    make: *** Waiting for unfinished jobs....
    

    though i saw that in PHP 7.3.0 alpha 1 bug https://community.centminmod.com/threads/php-7-3-0-alpha-1.14931/#post-64092

    though also check for bug reports for PHP 7.3 https://bugs.php.net/search.php?lim...d=display&status=Open&bug_type=All&phpver=7.3
     
  3. eva2000

    eva2000 Administrator Staff Member

    41,645
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    2:10 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Actually i put in place a work around for this back on June 23, 2018 https://github.com/centminmod/centm...d9d13b2#diff-01287bb69c66cf973b36ce5380d36a72 (listed in inc/php_configure.inc commit history logs)
    core-avx2 targets disable avx instructions in GCC 4.8.5
    Code (Text):
    gcc -c -Q -march=core-avx2 --help=target | egrep '\-mavx |\-mavx2 '
      -mavx                                 [disabled]
      -mavx2                                [disabled]
    

    but not with GCC 7.3.1 or 8.2.1
    Code (Text):
    /opt/rh/devtoolset-7/root/bin/gcc -c -Q -march=core-avx2 --help=target | egrep '\-mavx |\-mavx2 ' 
      -mavx                                 [enabled]
      -mavx2                                [enabled]
    
    /opt/rh/devtoolset-8/root/bin/gcc -c -Q -march=core-avx2 --help=target | egrep '\-mavx |\-mavx2 '
      -mavx                                 [enabled]
      -mavx2                                [enabled]
    


    workaround allows PHP uses higher version of GCC compiler than CentOS 7 system GCC 4.8.5 it works, but i see your PHP upgrade log GCC 4.8.5 system compiler was used.

    Do you have any persistent config file /etc/centminmod/custom_config.inc settings set which may disable my workarounds I wonder ? edit: i see you have alot of custom settings in https://gist.githubusercontent.com/...3f3a80756318032846a49fa8b4f3d1b/gistfile1.txt. I'd try an empty persistent config and see how PHP 7.3.2 compiles first to rule out your persistent config settings.

    One such setting is GCCINTEL_PHP='n', it defaults to GCCINTEL_PHP='y' by default in 123.09beta01 and only time it's disabled is if there is less than 2 cpu threads on the server from these lines https://github.com/centminmod/centminmod/blob/123.09beta01/inc/php_configure.inc#L726-L737

    upload_2019-2-24_19-27-51.png

    It could be the last part if you are using Intel Skylake cpu with 1 cpu core VPS then GCCINTEL_PHP='n' is set and PHP never gets to use devtoolset provided higher GCC 7.3+ compiler versions and for PHP 7.3 means avx instructions are not enabled due to using core-avx2 targets. So possible fix is to add exception to that rule for less than 2 cpu cores to exclude PHP 7.3 from GCCINTEL_PHP='n' auto setup

    Another reason is if you set LOWMEM_INSTALL='y' which for low memory installs won't have enough memory on system for intel optimised PHP compilations so disables devtoolset GCC 7.3+ compilations and fallsback to system GCC 4.8.5 compiler and thus would have problems with PHP 7.3 required higher GCC versions
     
    Last edited: Feb 24, 2019
  4. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    12:10 AM
    Mainline
    10.2
    https://www.ovh.com/world/dedicated-servers/enterprise/1901sp02.xml
    CPU: Intel Xeon E3-1270v6 - 4c/8t - 3.8GHz /4.2GHz
    RAM: 32GB DDR4 ECC 2400 MHz

    Code:
    # lscpu
    Architecture:          x86_64
    CPU op-mode(s):        32-bit, 64-bit
    Byte Order:            Little Endian
    CPU(s):                8
    On-line CPU(s) list:   0-7
    Thread(s) per core:    2
    Core(s) per socket:    4
    Socket(s):             1
    NUMA node(s):          1
    Vendor ID:             GenuineIntel
    CPU family:            6
    Model:                 158
    Model name:            Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
    Stepping:              9
    CPU MHz:               899.902
    CPU max MHz:           4200.0000
    CPU min MHz:           800.0000
    BogoMIPS:              7584.00
    Virtualization:        VT-x
    L1d cache:             32K
    L1i cache:             32K
    L2 cache:              256K
    L3 cache:              8192K
    NUMA node0 CPU(s):     0-7
    Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp spec_ctrl intel_stibp flush_l1d
    
    
    
    # cat /proc/cpuinfo
    processor    : 0
    vendor_id    : GenuineIntel
    cpu family    : 6
    model        : 158
    model name    : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
    stepping    : 9
    microcode    : 0x8e
    cpu MHz        : 826.843
    cache size    : 8192 KB
    physical id    : 0
    siblings    : 8
    core id        : 0
    cpu cores    : 4
    apicid        : 0
    initial apicid    : 0
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 22
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp spec_ctrl intel_stibp flush_l1d
    bogomips    : 7584.00
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 39 bits physical, 48 bits virtual
    power management:
    
    processor    : 1
    vendor_id    : GenuineIntel
    cpu family    : 6
    model        : 158
    model name    : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
    stepping    : 9
    microcode    : 0x8e
    cpu MHz        : 823.364
    cache size    : 8192 KB
    physical id    : 0
    siblings    : 8
    core id        : 1
    cpu cores    : 4
    apicid        : 2
    initial apicid    : 2
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 22
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp spec_ctrl intel_stibp flush_l1d
    bogomips    : 7584.00
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 39 bits physical, 48 bits virtual
    power management:
    
    processor    : 2
    vendor_id    : GenuineIntel
    cpu family    : 6
    model        : 158
    model name    : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
    stepping    : 9
    microcode    : 0x8e
    cpu MHz        : 823.364
    cache size    : 8192 KB
    physical id    : 0
    siblings    : 8
    core id        : 2
    cpu cores    : 4
    apicid        : 4
    initial apicid    : 4
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 22
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp spec_ctrl intel_stibp flush_l1d
    bogomips    : 7584.00
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 39 bits physical, 48 bits virtual
    power management:
    
    processor    : 3
    vendor_id    : GenuineIntel
    cpu family    : 6
    model        : 158
    model name    : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
    stepping    : 9
    microcode    : 0x8e
    cpu MHz        : 838.671
    cache size    : 8192 KB
    physical id    : 0
    siblings    : 8
    core id        : 3
    cpu cores    : 4
    apicid        : 6
    initial apicid    : 6
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 22
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp spec_ctrl intel_stibp flush_l1d
    bogomips    : 7584.00
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 39 bits physical, 48 bits virtual
    power management:
    
    processor    : 4
    vendor_id    : GenuineIntel
    cpu family    : 6
    model        : 158
    model name    : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
    stepping    : 9
    microcode    : 0x8e
    cpu MHz        : 799.938
    cache size    : 8192 KB
    physical id    : 0
    siblings    : 8
    core id        : 0
    cpu cores    : 4
    apicid        : 1
    initial apicid    : 1
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 22
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp spec_ctrl intel_stibp flush_l1d
    bogomips    : 7584.00
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 39 bits physical, 48 bits virtual
    power management:
    
    processor    : 5
    vendor_id    : GenuineIntel
    cpu family    : 6
    model        : 158
    model name    : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
    stepping    : 9
    microcode    : 0x8e
    cpu MHz        : 838.208
    cache size    : 8192 KB
    physical id    : 0
    siblings    : 8
    core id        : 1
    cpu cores    : 4
    apicid        : 3
    initial apicid    : 3
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 22
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp spec_ctrl intel_stibp flush_l1d
    bogomips    : 7584.00
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 39 bits physical, 48 bits virtual
    power management:
    
    processor    : 6
    vendor_id    : GenuineIntel
    cpu family    : 6
    model        : 158
    model name    : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
    stepping    : 9
    microcode    : 0x8e
    cpu MHz        : 2182.495
    cache size    : 8192 KB
    physical id    : 0
    siblings    : 8
    core id        : 2
    cpu cores    : 4
    apicid        : 5
    initial apicid    : 5
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 22
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp spec_ctrl intel_stibp flush_l1d
    bogomips    : 7584.00
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 39 bits physical, 48 bits virtual
    power management:
    
    processor    : 7
    vendor_id    : GenuineIntel
    cpu family    : 6
    model        : 158
    model name    : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
    stepping    : 9
    microcode    : 0x8e
    cpu MHz        : 799.938
    cache size    : 8192 KB
    physical id    : 0
    siblings    : 8
    core id        : 3
    cpu cores    : 4
    apicid        : 7
    initial apicid    : 7
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 22
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp spec_ctrl intel_stibp flush_l1d
    bogomips    : 7584.00
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 39 bits physical, 48 bits virtual
    power management:
    
     
  5. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    12:10 AM
    Mainline
    10.2
    I didn't set this config.
     
  6. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    12:10 AM
    Mainline
    10.2
    This is the culprit:
    DEVTOOLSETEIGHT='y'

    Not compatible with new install.
     
  7. eva2000

    eva2000 Administrator Staff Member

    41,645
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    2:10 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Ah so Intel Kaby Lake = Xeon E3-1270v6 probably similar issue as older GCC 4.8.5 compiler really can't detect cpus beyond Intel Broadwell i.e. Xeon E5-26xx v4 or newer like GCC 7.3.1 and 8.2.1+ compilers. Though I have found another possible reason that only happens on initial Centmin Mod installs - there's a hardcoded reference to system default /usr/bin/gcc compiler which needs changing too.

    Ah yes i deliberately disabled that in PHP compiles as it was breaking 3rd party PHP extension compilations in the past private testing. I have tested with proper DEVTOOLSETEIGHT='y' support enabled now and it works.

    Updated 123.09beta01 with latest fixes for this at https://community.centminmod.com/th...r-1-cpu-thread-systems-in-123-09beta01.16679/. So try a fresh CentOS 7.6 OS and fresh Centmin Mod 123.09beta01 install with PHP 7.3 default
    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller73.sh && chmod 0700 betainstaller73.sh && bash betainstaller73.sh
    
     
  8. eva2000

    eva2000 Administrator Staff Member

    41,645
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    2:10 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    also what's output for these 3 commands - curious to see what GCC 4.8.5, GCC 7.3.1 and GCC 8.2.1 detect for Intel Xeon E3-1270v6 Kaby Lake's march
    Code (Text):
    gcc -c -Q -march=native --help=target
    /opt/rh/devtoolset-7/root/bin/gcc -c -Q -march=native --help=target
    /opt/rh/devtoolset-8/root/bin/gcc -c -Q -march=native --help=target
    
     
  9. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    12:10 AM
    Mainline
    10.2
    Code:
    # gcc -c -Q -march=native --help=target
    The following options are target specific:
      -m128bit-long-double                [disabled]
      -m32                                [disabled]
      -m3dnow                             [disabled]
      -m3dnowa                            [disabled]
      -m64                                [enabled]
      -m80387                             [enabled]
      -m8bit-idiv                         [disabled]
      -m96bit-long-double                 [enabled]
      -mabi=                              sysv
      -mabm                               [enabled]
      -maccumulate-outgoing-args          [disabled]
      -maddress-mode=                     short
      -madx                               [enabled]
      -maes                               [enabled]
      -malign-double                      [disabled]
      -malign-functions=                  0
      -malign-jumps=                      0
      -malign-loops=                      0
      -malign-stringops                   [enabled]
      -mandroid                           [disabled]
      -march=                             core-avx2
      -masm=                              att
      -mavx                               [enabled]
      -mavx2                              [enabled]
      -mavx256-split-unaligned-load     [disabled]
      -mavx256-split-unaligned-store     [disabled]
      -mbionic                            [disabled]
      -mbmi                               [enabled]
      -mbmi2                              [enabled]
      -mbranch-cost=                      0
      -mcld                               [disabled]
      -mcmodel=                           32
      -mcpu=                             
      -mcrc32                             [disabled]
      -mcx16                              [enabled]
      -mdispatch-scheduler                [disabled]
      -mf16c                              [enabled]
      -mfancy-math-387                    [enabled]
      -mfentry                            [enabled]
      -mfma                               [enabled]
      -mfma4                              [disabled]
      -mforce-drap                        [disabled]
      -mfp-ret-in-387                     [enabled]
      -mfpmath=                           387
      -mfsgsbase                          [enabled]
      -mfunction-return=                  keep
      -mfused-madd                       
      -mfxsr                              [enabled]
      -mglibc                             [enabled]
      -mhard-float                        [enabled]
      -mhle                               [enabled]
      -mieee-fp                           [enabled]
      -mincoming-stack-boundary=          0
      -mindirect-branch-register          [disabled]
      -mindirect-branch=                  keep
      -minline-all-stringops              [disabled]
      -minline-stringops-dynamically     [disabled]
      -mintel-syntax                     
      -mlarge-data-threshold=             0x10000
      -mlong-double-64                    [disabled]
      -mlong-double-80                    [enabled]
      -mlwp                               [disabled]
      -mlzcnt                             [enabled]
      -mmmx                               [disabled]
      -mmovbe                             [enabled]
      -mms-bitfields                      [disabled]
      -mno-align-stringops                [disabled]
      -mno-fancy-math-387                 [disabled]
      -mno-push-args                      [disabled]
      -mno-red-zone                       [disabled]
      -mno-sse4                           [disabled]
      -momit-leaf-frame-pointer           [disabled]
      -mpc32                              [disabled]
      -mpc64                              [disabled]
      -mpc80                              [disabled]
      -mpclmul                            [enabled]
      -mpku                               [disabled]
      -mpopcnt                            [enabled]
      -mprefer-avx128                     [disabled]
      -mpreferred-stack-boundary=         0
      -mprfchw                            [enabled]
      -mpush-args                         [enabled]
      -mrdrnd                             [enabled]
      -mrdseed                            [enabled]
      -mrecip                             [disabled]
      -mrecip=                           
      -mred-zone                          [enabled]
      -mregparm=                          0
      -mrtd                               [disabled]
      -mrtm                               [enabled]
      -msahf                              [enabled]
      -msoft-float                        [disabled]
      -msse                               [enabled]
      -msse2                              [enabled]
      -msse2avx                           [disabled]
      -msse3                              [enabled]
      -msse4                              [enabled]
      -msse4.1                            [enabled]
      -msse4.2                            [enabled]
      -msse4a                             [disabled]
      -msse5                             
      -msseregparm                        [disabled]
      -mssse3                             [enabled]
      -mstack-arg-probe                   [disabled]
      -mstackrealign                      [enabled]
      -mstringop-strategy=                [default]
      -mtbm                               [disabled]
      -mtls-dialect=                      gnu
      -mtls-direct-seg-refs               [enabled]
      -mtune=                             generic
      -muclibc                            [disabled]
      -mveclibabi=                        [default]
      -mvect8-ret-in-mem                  [disabled]
      -mvzeroupper                        [disabled]
      -mx32                               [disabled]
      -mxop                               [disabled]
      -mxsave                             [enabled]
      -mxsaveopt                          [enabled]
    
      Known assembler dialects (for use with the -masm-dialect= option):
        att intel
    
      Known ABIs (for use with the -mabi= option):
        ms sysv
    
      Known code models (for use with the -mcmodel= option):
        32 kernel large medium small
    
      Valid arguments to -mfpmath=:
        387 387+sse 387,sse both sse sse+387 sse,387
    
      Known indirect branch choices (for use with the -mindirect-branch=/-mfunction-return= options):
        keep thunk thunk-extern thunk-inline
    
      Known vectorization library ABIs (for use with the -mveclibabi= option):
        acml svml
    
      Known address mode (for use with the -maddress-mode= option):
        long short
    
      Valid arguments to -mstringop-strategy=:
        byte_loop libcall loop rep_4byte rep_8byte rep_byte unrolled_loop
    
      Known TLS dialects (for use with the -mtls-dialect= option):
        gnu gnu2
    
    # /opt/rh/devtoolset-7/root/bin/gcc -c -Q -march=native --help=target
    The following options are target specific:
      -m128bit-long-double                [enabled]
      -m16                                [disabled]
      -m32                                [disabled]
      -m3dnow                             [disabled]
      -m3dnowa                            [disabled]
      -m64                                [enabled]
      -m80387                             [enabled]
      -m8bit-idiv                         [disabled]
      -m96bit-long-double                 [disabled]
      -mabi=                              sysv
      -mabm                               [enabled]
      -maccumulate-outgoing-args          [disabled]
      -maddress-mode=                     long
      -madx                               [enabled]
      -maes                               [enabled]
      -malign-data=                       compat
      -malign-double                      [disabled]
      -malign-functions=                  0
      -malign-jumps=                      0
      -malign-loops=                      0
      -malign-stringops                   [enabled]
      -mandroid                           [disabled]
      -march=                             broadwell
      -masm=                              att
      -mavx                               [enabled]
      -mavx2                              [enabled]
      -mavx256-split-unaligned-load     [enabled]
      -mavx256-split-unaligned-store     [enabled]
      -mavx5124fmaps                      [disabled]
      -mavx5124vnniw                      [disabled]
      -mavx512bw                          [disabled]
      -mavx512cd                          [disabled]
      -mavx512dq                          [disabled]
      -mavx512er                          [disabled]
      -mavx512f                           [disabled]
      -mavx512ifma                        [disabled]
      -mavx512pf                          [disabled]
      -mavx512vbmi                        [disabled]
      -mavx512vl                          [disabled]
      -mavx512vpopcntdq                   [disabled]
      -mbionic                            [disabled]
      -mbmi                               [enabled]
      -mbmi2                              [enabled]
      -mbranch-cost=                      3
      -mcld                               [disabled]
      -mclflushopt                        [enabled]
      -mclwb                              [disabled]
      -mclzero                            [disabled]
      -mcmodel=                           [default]
      -mcpu=                             
      -mcrc32                             [disabled]
      -mcx16                              [enabled]
      -mdispatch-scheduler                [disabled]
      -mdump-tune-features                [disabled]
      -mf16c                              [enabled]
      -mfancy-math-387                    [enabled]
      -mfentry                            [disabled]
      -mfma                               [enabled]
      -mfma4                              [disabled]
      -mforce-drap                        [disabled]
      -mfp-ret-in-387                     [enabled]
      -mfpmath=                           sse
      -mfsgsbase                          [enabled]
      -mfunction-return=                  keep
      -mfused-madd                       
      -mfxsr                              [enabled]
      -mgeneral-regs-only                 [disabled]
      -mglibc                             [enabled]
      -mhard-float                        [enabled]
      -mhle                               [enabled]
      -miamcu                             [disabled]
      -mieee-fp                           [enabled]
      -mincoming-stack-boundary=          0
      -mindirect-branch-register          [disabled]
      -mindirect-branch=                  keep
      -minline-all-stringops              [disabled]
      -minline-stringops-dynamically     [disabled]
      -mintel-syntax                     
      -mlarge-data-threshold=<number>     65536
      -mlong-double-128                   [disabled]
      -mlong-double-64                    [disabled]
      -mlong-double-80                    [enabled]
      -mlwp                               [disabled]
      -mlzcnt                             [enabled]
      -mmemcpy-strategy=                 
      -mmemset-strategy=                 
      -mmitigate-rop                      [disabled]
      -mmmx                               [enabled]
      -mmovbe                             [enabled]
      -mmpx                               [disabled]
      -mms-bitfields                      [disabled]
      -mmusl                              [disabled]
      -mmwaitx                            [disabled]
      -mno-align-stringops                [disabled]
      -mno-default                        [disabled]
      -mno-fancy-math-387                 [disabled]
      -mno-push-args                      [disabled]
      -mno-red-zone                       [disabled]
      -mno-sse4                           [disabled]
      -mnop-mcount                        [disabled]
      -momit-leaf-frame-pointer           [disabled]
      -mpc32                              [disabled]
      -mpc64                              [disabled]
      -mpc80                              [disabled]
      -mpclmul                            [enabled]
      -mpcommit                           [disabled]
      -mpku                               [disabled]
      -mpopcnt                            [enabled]
      -mprefer-avx128                     [disabled]
      -mpreferred-stack-boundary=         0
      -mprefetchwt1                       [disabled]
      -mprfchw                            [enabled]
      -mpush-args                         [enabled]
      -mrdpid                             [disabled]
      -mrdrnd                             [enabled]
      -mrdseed                            [enabled]
      -mrecip                             [disabled]
      -mrecip=                           
      -mrecord-mcount                     [disabled]
      -mred-zone                          [enabled]
      -mregparm=                          6
      -mrtd                               [disabled]
      -mrtm                               [enabled]
      -msahf                              [enabled]
      -msgx                               [enabled]
      -msha                               [disabled]
      -mskip-rax-setup                    [disabled]
      -msoft-float                        [disabled]
      -msse                               [enabled]
      -msse2                              [enabled]
      -msse2avx                           [disabled]
      -msse3                              [enabled]
      -msse4                              [enabled]
      -msse4.1                            [enabled]
      -msse4.2                            [enabled]
      -msse4a                             [disabled]
      -msse5                             
      -msseregparm                        [disabled]
      -mssse3                             [enabled]
      -mstack-arg-probe                   [disabled]
      -mstack-protector-guard=            tls
      -mstackrealign                      [disabled]
      -mstringop-strategy=                [default]
      -mstv                               [enabled]
      -mtbm                               [disabled]
      -mtls-dialect=                      gnu
      -mtls-direct-seg-refs               [enabled]
      -mtune-ctrl=                       
      -mtune=                             generic
      -muclibc                            [disabled]
      -mveclibabi=                        [default]
      -mvect8-ret-in-mem                  [disabled]
      -mvzeroupper                        [enabled]
      -mx32                               [disabled]
      -mxop                               [disabled]
      -mxsave                             [enabled]
      -mxsavec                            [enabled]
      -mxsaveopt                          [enabled]
      -mxsaves                            [enabled]
    
      Known assembler dialects (for use with the -masm= option):
        att intel
    
      Known ABIs (for use with the -mabi= option):
        ms sysv
    
      Known code models (for use with the -mcmodel= option):
        32 kernel large medium small
    
      Valid arguments to -mfpmath=:
        387 387+sse 387,sse both sse sse+387 sse,387
    
      Known indirect branch choices (for use with the -mindirect-branch=/-mfunction-return= options):
        keep thunk thunk-extern thunk-inline
    
      Known data alignment choices (for use with the -malign-data= option):
        abi cacheline compat
    
      Known vectorization library ABIs (for use with the -mveclibabi= option):
        acml svml
    
      Known address mode (for use with the -maddress-mode= option):
        long short
    
      Known stack protector guard (for use with the -mstack-protector-guard= option):
        global tls
    
      Valid arguments to -mstringop-strategy=:
        byte_loop libcall loop rep_4byte rep_8byte rep_byte unrolled_loop vector_loop
    
      Known TLS dialects (for use with the -mtls-dialect= option):
        gnu gnu2
    
    # /opt/rh/devtoolset-8/root/bin/gcc -c -Q -march=native --help=target
    The following options are target specific:
      -m128bit-long-double                [enabled]
      -m16                                [disabled]
      -m32                                [disabled]
      -m3dnow                             [disabled]
      -m3dnowa                            [disabled]
      -m64                                [enabled]
      -m80387                             [enabled]
      -m8bit-idiv                         [disabled]
      -m96bit-long-double                 [disabled]
      -mabi=                              sysv
      -mabm                               [enabled]
      -maccumulate-outgoing-args          [disabled]
      -maddress-mode=                     long
      -madx                               [enabled]
      -maes                               [enabled]
      -malign-data=                       compat
      -malign-double                      [disabled]
      -malign-functions=                  0
      -malign-jumps=                      0
      -malign-loops=                      0
      -malign-stringops                   [enabled]
      -mandroid                           [disabled]
      -march=                             skylake
      -masm=                              att
      -mavx                               [enabled]
      -mavx2                              [enabled]
      -mavx256-split-unaligned-load     [disabled]
      -mavx256-split-unaligned-store     [disabled]
      -mavx5124fmaps                      [disabled]
      -mavx5124vnniw                      [disabled]
      -mavx512bitalg                      [disabled]
      -mavx512bw                          [disabled]
      -mavx512cd                          [disabled]
      -mavx512dq                          [disabled]
      -mavx512er                          [disabled]
      -mavx512f                           [disabled]
      -mavx512ifma                        [disabled]
      -mavx512pf                          [disabled]
      -mavx512vbmi                        [disabled]
      -mavx512vbmi2                       [disabled]
      -mavx512vl                          [disabled]
      -mavx512vnni                        [disabled]
      -mavx512vpopcntdq                   [disabled]
      -mbionic                            [disabled]
      -mbmi                               [enabled]
      -mbmi2                              [enabled]
      -mbranch-cost=<0,5>                 3
      -mcall-ms2sysv-xlogues              [disabled]
      -mcet                               
      -mcet-switch                        [disabled]
      -mcld                               [disabled]
      -mclflushopt                        [enabled]
      -mclwb                              [disabled]
      -mclzero                            [disabled]
      -mcmodel=                           [default]
      -mcpu=                             
      -mcrc32                             [disabled]
      -mcx16                              [enabled]
      -mdispatch-scheduler                [disabled]
      -mdump-tune-features                [disabled]
      -mf16c                              [enabled]
      -mfancy-math-387                    [enabled]
      -mfentry                            [disabled]
      -mfma                               [enabled]
      -mfma4                              [disabled]
      -mforce-drap                        [disabled]
      -mforce-indirect-call               [disabled]
      -mfp-ret-in-387                     [enabled]
      -mfpmath=                           sse
      -mfsgsbase                          [enabled]
      -mfunction-return=                  keep
      -mfused-madd                       
      -mfxsr                              [enabled]
      -mgeneral-regs-only                 [disabled]
      -mgfni                              [disabled]
      -mglibc                             [enabled]
      -mhard-float                        [enabled]
      -mhle                               [enabled]
      -miamcu                             [disabled]
      -mieee-fp                           [enabled]
      -mincoming-stack-boundary=          0
      -mindirect-branch-register          [disabled]
      -mindirect-branch=                  keep
      -minline-all-stringops              [disabled]
      -minline-stringops-dynamically     [disabled]
      -mintel-syntax                     
      -mlarge-data-threshold=<number>     65536
      -mlong-double-128                   [disabled]
      -mlong-double-64                    [disabled]
      -mlong-double-80                    [enabled]
      -mlwp                               [disabled]
      -mlzcnt                             [enabled]
      -mmemcpy-strategy=                 
      -mmemset-strategy=                 
      -mmitigate-rop                      [disabled]
      -mmmx                               [enabled]
      -mmovbe                             [enabled]
      -mmovdir64b                         [disabled]
      -mmovdiri                           [disabled]
      -mmpx                               [disabled]
      -mms-bitfields                      [disabled]
      -mmusl                              [disabled]
      -mmwaitx                            [disabled]
      -mno-align-stringops                [disabled]
      -mno-default                        [disabled]
      -mno-fancy-math-387                 [disabled]
      -mno-push-args                      [disabled]
      -mno-red-zone                       [disabled]
      -mno-sse4                           [disabled]
      -mnop-mcount                        [disabled]
      -momit-leaf-frame-pointer           [disabled]
      -mpc32                              [disabled]
      -mpc64                              [disabled]
      -mpc80                              [disabled]
      -mpclmul                            [enabled]
      -mpcommit                           [disabled]
      -mpconfig                           [disabled]
      -mpku                               [disabled]
      -mpopcnt                            [enabled]
      -mprefer-avx128                     
      -mprefer-vector-width=              none
      -mpreferred-stack-boundary=         0
      -mprefetchwt1                       [disabled]
      -mprfchw                            [enabled]
      -mpush-args                         [enabled]
      -mrdpid                             [disabled]
      -mrdrnd                             [enabled]
      -mrdseed                            [enabled]
      -mrecip                             [disabled]
      -mrecip=                           
      -mrecord-mcount                     [disabled]
      -mred-zone                          [enabled]
      -mregparm=                          6
      -mrtd                               [disabled]
      -mrtm                               [enabled]
      -msahf                              [enabled]
      -msgx                               [enabled]
      -msha                               [disabled]
      -mshstk                             [disabled]
      -mskip-rax-setup                    [disabled]
      -msoft-float                        [disabled]
      -msse                               [enabled]
      -msse2                              [enabled]
      -msse2avx                           [disabled]
      -msse3                              [enabled]
      -msse4                              [enabled]
      -msse4.1                            [enabled]
      -msse4.2                            [enabled]
      -msse4a                             [disabled]
      -msse5                             
      -msseregparm                        [disabled]
      -mssse3                             [enabled]
      -mstack-arg-probe                   [disabled]
      -mstack-protector-guard-offset=     
      -mstack-protector-guard-reg=         
      -mstack-protector-guard-symbol=     
      -mstack-protector-guard=            tls
      -mstackrealign                      [disabled]
      -mstringop-strategy=                [default]
      -mstv                               [enabled]
      -mtbm                               [disabled]
      -mtls-dialect=                      gnu
      -mtls-direct-seg-refs               [enabled]
      -mtune-ctrl=                       
      -mtune=                             skylake
      -muclibc                            [disabled]
      -mvaes                              [disabled]
      -mveclibabi=                        [default]
      -mvect8-ret-in-mem                  [disabled]
      -mvpclmulqdq                        [disabled]
      -mvzeroupper                        [enabled]
      -mwbnoinvd                          [disabled]
      -mx32                               [disabled]
      -mxop                               [disabled]
      -mxsave                             [enabled]
      -mxsavec                            [enabled]
      -mxsaveopt                          [enabled]
      -mxsaves                            [enabled]
    
      Known assembler dialects (for use with the -masm= option):
        att intel
    
      Known ABIs (for use with the -mabi= option):
        ms sysv
    
      Known code models (for use with the -mcmodel= option):
        32 kernel large medium small
    
      Valid arguments to -mfpmath=:
        387 387+sse 387,sse both sse sse+387 sse,387
    
      Known indirect branch choices (for use with the -mindirect-branch=/-mfunction-return= options):
        keep thunk thunk-extern thunk-inline
    
      Known data alignment choices (for use with the -malign-data= option):
        abi cacheline compat
    
      Known vectorization library ABIs (for use with the -mveclibabi= option):
        acml svml
    
      Known address mode (for use with the -maddress-mode= option):
        long short
    
      Known preferred register vector length (to use with the -mprefer-vector-width= option)
        128 256 512 none
    
      Known stack protector guard (for use with the -mstack-protector-guard= option):
        global tls
    
      Valid arguments to -mstringop-strategy=:
        byte_loop libcall loop rep_4byte rep_8byte rep_byte unrolled_loop vector_loop
    
      Known TLS dialects (for use with the -mtls-dialect= option):
        gnu gnu2
    
    
     
  10. eva2000

    eva2000 Administrator Staff Member

    41,645
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    2:10 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Thanks so Intel Xeon E3-1270v6 is detected as
    • core-avx2 march with GCC 4.8.5
    • broadwell march with GCC 7.3.1
    • skylake march with GCC 8.2.1
    Thinking we should move to DEVTOOLSETEIGHT='y' default instead of DEVTOOLSETSEVEN='y' default in 123.09beta01 especially with newer than Intel Broadwell architecture based processors like Intel Kaby Lake and Intel Skylake.
     
    • Winner Winner x 1
  11. eva2000

    eva2000 Administrator Staff Member

    41,645
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    2:10 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Informative Informative x 1