Changeset 2980344 for postlfs/security


Ignore:
Timestamp:
06/10/2023 11:14:18 AM (12 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
460609c
Parents:
ddafabd
Message:

nss: prevent illegal instruction on old processors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/nss.xml

    rddafabd r2980344  
    106106        </para>
    107107      </listitem>
     108      <listitem>
     109        <para>
     110          Required patch for processors lacking the <quote>adx</quote>
     111          instruction set:
     112          <ulink url="&patch-root;/nss-&nss-version;-illegal_instruction-1.patch"/>
     113        </para>
     114      </listitem>
    108115    </itemizedlist>
    109116
     
    129136    <title>Installation of NSS</title>
    130137
    131     <!-- In 3.53.x, parallel build was possible.
    132          And with another rebuild of nss-3.54, all is well again, but
    133          broken in 3.60. Fixed again in 3.62. -->
    134 <!--
    135138    <note>
    136139      <para>
    137         This package does not support parallel build.
     140        Some old generations processors lack an assembler instruction that
     141        is generated unconditionally by NSS-3.90. It leads to an
     142        "illegal instruction" fault when running firefox. The availability
     143        of this instruction is asserted by the <quote>adx</quote> flag
     144        in <filename>/proc/cpuinfo</filename>. If this flag is not set,
     145        apply the following patch:
    138146      </para>
    139147    </note>
    140 -->
     148
     149<screen><userinput>grep -q adx /proc/cpuinfo || \
     150patch -Np1 -i ../nss-&nss-version;-illegal_instruction-1.patch</userinput></screen>
    141151
    142152    <para>
Note: See TracChangeset for help on using the changeset viewer.