Changeset 7354b9a


Ignore:
Timestamp:
05/08/2022 07:45:31 PM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.2, 11.3, 12.0, 12.1, 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/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
e28b6fcf
Parents:
bbfc73c
Message:

Update to gcc-12.1.0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc.xml

    rbbfc73c r7354b9a  
    77  <!ENTITY gcc-download-http  "&gnu-http;/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz">
    88  <!ENTITY gcc-download-ftp   "&gnu-ftp;/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz">
    9   <!ENTITY gcc-md5sum         "4ee3e8c4c99e7b3444eb79f00f5f7a7e">
    10   <!ENTITY gcc-size           "77 MB">
    11   <!ENTITY gcc-buildsize      "8.0 GB (2.4 GB installed with all listed languages; add 1.0 GB for tests)">
     9  <!ENTITY gcc-md5sum         "ed45b55ee859ada4b25a1e76e0c4d966">
     10  <!ENTITY gcc-size           "79 MB">
     11  <!ENTITY gcc-buildsize      "10.5 GB (2.4 GB installed with all listed languages; add 1.3 GB for tests)">
    1212  <!-- For me the SBU values are a bit faster on haswell, but much slower on ryzen 3400G,
    1313       so keeping these existing values as an approximation - ken -->
    14   <!ENTITY gcc-time           "25 SBU (add 56 SBU for tests; both with parallelism=4)">
     14  <!ENTITY gcc-time           "31 SBU (add 67 SBU for tests; both with parallelism=4)">
    1515]>
    1616
     
    3434      The <application>GCC</application> package contains the GNU Compiler
    3535      Collection. This page describes the installation of compilers for the
    36       following languages: C, C++, D, Fortran, Objective C, Objective C++, and Go.
    37       <!--One additional language, Ada, is available in the collection. It has
    38       a binary bootstrap requirement for the first installation, so it is
    39       described on a separate page (<xref linkend="gcc-ada"/>) but can be added
    40       here if you are performing a rebuild or upgrade. Since C and C++ are
    41       installed in LFS, this page is  either for upgrading C and C++, or for
    42       installing additional compilers.-->
    43     </para>
     36      following languages: C, C++, Fortran, Objective C, Objective C++, and Go.
     37      Since C and C++ are installed in LFS, this page is either for upgrading
     38      C and C++, or for installing additional compilers.
     39    </para>
     40
     41    <note>
     42      <para>
     43        Additional languages, among which D and ADA, are available in the
     44        collection. D and ADA have a binary bootstrap requirement for the first
     45        installation, so their installation is not described here. To install
     46        them, you can proceed along the same lines as below after installing
     47        the corresponding compiler from a binary package, adding
     48        <option>ada</option> or <option>d</option> to the
     49        <parameter>--enable-languages</parameter> line.
     50      </para>
     51    </note>
    4452
    4553    &lfs111_checked;
     
    114122
    115123    <bridgehead renderas="sect3">GCC Dependencies</bridgehead>
    116 <!--
    117     <bridgehead renderas="sect4">Recommended</bridgehead>
    118     <para role="recommended">
    119       <xref linkend="dejagnu"/>, for tests
    120     </para>
    121 -->
     124
    122125    <bridgehead renderas="sect4">Optional</bridgehead>
    123126    <para role="optional">
     
    142145        installation process will overwrite your existing
    143146        <application>GCC</application> C and C++ compilers and libraries.
    144         <!--Having the <application>Tcl</application>,
    145         <application>Expect</application> and <application>DejaGnu</application>
    146         packages installed before beginning the build is highly recommended so
    147         you can run the full suite of tests.-->
    148147        Running the full suite of tests is recommended.
    149148      </para>
     
    167166      <command>./configure</command> options below.
    168167    </para>
    169 <!-- Fixed in gcc-11.0.3
    170     <para>
    171       As in LFS fix an issue breaking libasan.a identified upstream:
    172     </para>
    173 
    174 <screen><userinput>sed -e '/static.*SIGSTKSZ/d' \
    175     -e 's/return kAltStackSize/return SIGSTKSZ * 4/' \
    176     -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp</userinput></screen>
    177 -->
     168
    178169    <para>
    179170      Install <application>GCC</application> by running the following commands:
     
    193184    --disable-multilib                                 \
    194185    --with-system-zlib                                 \
    195     --enable-languages=c,c++,d,fortran,go,objc,obj-c++ &amp;&amp;
     186    --enable-languages=c,c++,fortran,go,objc,obj-c++ &amp;&amp;
    196187make</userinput></screen>
    197188
     
    201192      the <application>GCC</application> part of the testsuite will run more
    202193      tests than in LFS. Some of those will report FAIL and others XPASS
    203       (pass when expected to FAIL). As of gcc-11.3.0, about 90 FAIL occur
     194      (pass when expected to FAIL). As of gcc-12.1.0, about 90 FAIL occur
    204195      in the <quote>guality</quote> suite, as well as miscellaneous failures
    205196      throughout the rest of the test suite. If all the compilers above are
    206       built, there will be around 111 unexpected failures out of over
    207       481,000 tests. To run the tests, issue:
     197      built, there will be around 100 unexpected failures out of over
     198      523,000 tests. To run the tests, issue:
    208199    </para>
    209200
     
    221212<screen><userinput>../contrib/test_summary</userinput></screen>
    222213
    223     <para>A few tests, less than 20 out of about 450,000, will fail, but unless
    224     the failures are excessive, they can be ignored.</para>
    225 
    226214    <para>
    227215      Now, as the <systemitem class="username">root</systemitem> user:
     
    234222
    235223chown -v -R root:root \
    236     /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed}
    237 
    238 rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/</userinput></screen>
     224    /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed}</userinput></screen>
    239225
    240226    <para>
     
    277263
    278264    <para>
    279       <parameter>--enable-languages=c,c++,d,fortran,go,objc,obj-c++</parameter>:
     265      <parameter>--enable-languages=c,c++,fortran,go,objc,obj-c++</parameter>:
    280266      This command identifies which languages to build. You may modify
    281       this command to remove undesired languages. Three other languages can be
    282       added, including ADA, BRIG (add
     267      this command to remove undesired languages. Other languages can be
     268      added, including ADA, D, BRIG (add
    283269      <parameter>brig</parameter> to the list of enabled languages), a binary
    284270      format for HSAIL (Heterogeneous System Architecture Intermediate
     
    288274      been tested by the BLFS developers.
    289275    </para>
    290     <!-- It's been three major versions now, and many years.
    291     Commenting out unless needed somewhere. -renodr
    292     <para>
    293       <option>- -with-default-libstdcxx-abi=gcc4-compatible</option>: Use this
    294       switch if you are upgrading from a <application>GCC</application>
    295       version prior to 5.1.0, and you do not want to recompile all the
    296       libraries written in C++.
    297     </para>
    298    -->
    299276
    300277    <para>
     
    332309    </para>
    333310
    334     <para>
    335       <command>rm -rf .../include-fixed/bits/</command>:  Remove an erroneous
    336       file in gcc added by the fixincludes process.
    337     </para>
    338 
    339311  </sect2>
    340312
     
    357329      <seglistitem>
    358330        <seg>
    359           gccgo, gdc, gfortran, go, and gofmt, hard-linked to architecture
     331          gccgo, gfortran, go, and gofmt, hard-linked to architecture
    360332          specific names
    361333        </seg>
    362334        <seg>
    363335          libgfortran.{so,a},
    364           libgdruntime.{so,a}, libgphobos.{so,a}
    365336          libgo.{so,a}, libgobegin.a, libgolibbegin.a,
    366337          libobjc.{so,a}, and numerous other run-time libraries and executables
     
    413384        </listitem>
    414385      </varlistentry>
    415 
     386      <!--
    416387      <varlistentry id="gdc">
    417388        <term><command>gdc</command></term>
     
    426397        </listitem>
    427398      </varlistentry>
    428 
     399      -->
    429400      <varlistentry id="gfortran">
    430401        <term><command>gfortran</command></term>
  • introduction/welcome/changelog.xml

    rbbfc73c r7354b9a  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[pierre] - Update to gcc-12.1.0. Fixes
     49          <ulink url="&blfs-ticket-root;16519">#16519</ulink>.</para>
     50        </listitem>
     51        <listitem>
    4852          <para>[bdubbs] - Update to plasma-wayland-protocols-1.7.0. Fixes
    4953          <ulink url="&blfs-ticket-root;16525">#16525</ulink>.</para>
  • packages.ent

    rbbfc73c r7354b9a  
    352352<!ENTITY elfutils-version             "0.170">
    353353<!ENTITY expect-version               "5.45.4">
    354 <!ENTITY gcc-version                  "11.3.0">
     354<!ENTITY gcc-version                  "12.1.0">
    355355<!ENTITY gc-version                   "8.0.6">
    356356<!ENTITY gdb-version                  "12.1">
Note: See TracChangeset for help on using the changeset viewer.