Ignore:
Timestamp:
09/10/2022 06:21:54 PM (2 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/for-12.3, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/xf86-video-removal
Children:
e51029f
Parents:
7b459c22 (diff), 08c7ccd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' of git.linuxfromscratch.org:blfs into trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    r7b459c22 r706265a  
    152152        <listitem>
    153153          <para>
    154             SSP patch:
     154            Patch enabling <xref linkend="gSSP"/> by default in clang:
    155155            <ulink url="&patch-root;/clang-&llvm-version;-enable_default_ssp-1.patch"/>
    156156          </para>
     
    236236     before applying -i -->
    237237<screen><userinput remap="pre">patch -Np2 -d projects/compiler-rt &lt;../compiler-rt-14.0.6-glibc_2_36-1.patch</userinput></screen>
     238
     239    <para>
     240      If you have downloaded <application>clang</application>,
     241      apply the following patch to enable <xref linkend="gSSP"/> by default
     242      in compiled programs.
     243    </para>
     244<!-- need <../<patch> instead of -i because -d changes directory
     245     before applying -i -->
    238246<screen><userinput remap="pre">patch -Np2 -d tools/clang &lt;../clang-&llvm-version;-enable_default_ssp-1.patch</userinput></screen>
    239247
     
    391399      benchmarks. This option requires additional code that
    392400      is not currently available.
     401    </para>
     402
     403    <para>
     404      <parameter>-DCLANG_DEFAULT_PIE_ON_LINUX=ON</parameter>: makes
     405      <option>-fpie</option> option the default when compiling programs.
     406      Together with the <xref linkend="gASLR"/> feature enabled in the kernel,
     407      this defeats some kind of attacks based on known memory layouts.
    393408    </para>
    394409
Note: See TracChangeset for help on using the changeset viewer.