source: chapter08/gcc.xml@ c2d2342

11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since c2d2342 was c2d2342, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update test results for several packages.

Most of the changes were removing documentation of failed tests
that no longer fail.

  • Property mode set to 100644
File size: 22.9 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[6a82dd9]7
[81fd230]8<sect1 id="ch-system-gcc" role="wrap">
[6a82dd9]9 <?dbhtml filename="gcc.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>gcc</productname>
13 <productnumber>&gcc-version;</productnumber>
14 <address>&gcc-url;</address>
15 </sect1info>
16
[6a82dd9]17 <title>GCC-&gcc-version;</title>
18
19 <indexterm zone="ch-system-gcc">
20 <primary sortas="a-GCC">GCC</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
[6370fa6]25
[6a82dd9]26 <para>The GCC package contains the GNU compiler collection, which includes
27 the C and C++ compilers.</para>
[673b0d8]28
[6a82dd9]29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
[5888299]32
[6a82dd9]33 <seglistitem>
[fb386e0]34 <seg>&gcc-fin-sbu;</seg>
35 <seg>&gcc-fin-du;</seg>
[6a82dd9]36 </seglistitem>
37 </segmentedlist>
[3554fa3a]38
[6a82dd9]39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of GCC</title>
[12836f5]43
[ed3be61]44 <para>If building on x86_64, change the default directory name for 64-bit
[be3d9f3]45 libraries to <quote>lib</quote>:</para>
46
47<screen><userinput remap="pre">case $(uname -m) in
48 x86_64)
49 sed -e '/m64=/s/lib64/lib/' \
50 -i.orig gcc/config/i386/t-linux64
51 ;;
52esac</userinput></screen>
53
[f1dd547]54 <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
[73aedd1d]55
[f1dd547]56<screen><userinput remap="pre">mkdir -v build
57cd build</userinput></screen>
[73aedd1d]58
[6a82dd9]59 <para>Prepare GCC for compilation:</para>
[73aedd1d]60
[efcb393]61<screen><userinput remap="configure">../configure --prefix=/usr \
62 LD=ld \
[f1dd547]63 --enable-languages=c,c++ \
64 --disable-multilib \
65 --disable-bootstrap \
66 --with-system-zlib</userinput></screen>
[73aedd1d]67
[6a156bab]68 <para>Note that for other programming languages there are some prerequisites that
[93756f6]69 are not yet available. See the
[6a156bab]70 <ulink url="&blfs-book;general/gcc.html">BLFS Book GCC page</ulink>
[93756f6]71 for instructions on how to build all of GCC's supported languages.</para>
[182d5d3]72
[ae4d45a]73 <variablelist>
[a89ab79]74 <title>The meaning of the new configure parameters:</title>
75
76 <varlistentry>
77 <term><parameter>LD=ld</parameter></term>
78 <listitem>
79 <para>This parameter makes the configure script use the ld installed
[6a156bab]80 by the binutils built earlier in this chapter, rather than
[a89ab79]81 the cross-built version which would otherwise be used.</para>
82 </listitem>
83 </varlistentry>
[cde2ae7]84
[ae4d45a]85 <varlistentry>
86 <term><parameter>--with-system-zlib</parameter></term>
87 <listitem>
88 <para>This switch tells GCC to link to the system installed copy of
[6a156bab]89 the zlib library, rather than its own internal copy.</para>
[ae4d45a]90 </listitem>
91 </varlistentry>
92 </variablelist>
93
[6a82dd9]94 <para>Compile the package:</para>
[73aedd1d]95
[0445a3d]96<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]97
[6a82dd9]98 <important>
99 <para>In this section, the test suite for GCC is considered
100 critical. Do not skip it under any circumstance.</para>
101 </important>
[81fd230]102
[6a156bab]103 <para>One set of tests in the GCC test suite is known to exhaust the default
104 stack, so increase the stack size prior to running the tests:</para>
[4e48f56e]105
[2efa44a]106<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
[4e48f56e]107
[76db8d6]108 <para>Test the results as a non-privileged user, but do not stop at errors:</para>
109
[ae7f075]110<screen><userinput remap="test">chown -Rv tester .
111su tester -c "PATH=$PATH make -k check"</userinput></screen>
[73aedd1d]112
[9278974d]113 <para>To receive a summary of the test suite results, run:</para>
114
[f1dd547]115<screen><userinput remap="test">../contrib/test_summary</userinput></screen>
[9278974d]116
117 <para>For only the summaries, pipe the output through
118 <userinput>grep -A7 Summ</userinput>.</para>
119
120 <para>Results can be compared with those located at <ulink
[98e7ac4]121 url="&test-results;"/> and
[b30de8f]122 <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
[9278974d]123
[c2d2342]124 <!-- <para>In g++, three tests in constexpr-52830 are known to fail and
[3d086532]125 also to be treated as unexpected successes (XPASS). This is because
126 an <quote>internal compiler error</quote> on this test is fixed, but
127 the compiler still rejects some valid code.</para>
[c2d2342]128 -->
[cefe505]129 <!-- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96322
130 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71367 -->
[c2d2342]131
[cefe505]132 <para>In libstdc++, one numpunct test and six tests related to get_time are
133 known to fail. These are all because the locale definitions in glibc have
[e3d0e26]134 changed but libstdc++ does not currently support those changes.</para>
[d7a9421]135
136<!--<para>Additionally the following tests related to the following files
[d89ac35]137 are known to fail with glibc-2.33: asan_test.C, co-ret-17-void-ret-coro.C,
[c8fd7fe]138 pr95519-05-gro.C, pr80166.c.</para>
[d7a9421]139-->
[c8fd7fe]140
[6e18f2f]141<!-- don't fail anymore after the move of iana-etc and /etc/hosts
[b9e4312]142 <para>Two tests named lookup.cc and reverse.cc in experimental/net
143 are known to fail in LFS chroot environment because they require
144 /etc/hosts and iana-etc.</para>
[6e18f2f]145-->
[9278974d]146 <para>A few unexpected failures cannot always be avoided. The GCC developers
[0238d49]147 are usually aware of these issues, but have not resolved them yet.
[9278974d]148 Unless the test results are vastly different from those at the above URL,
149 it is safe to continue.</para>
[73aedd1d]150
[ac95fdb]151 <!--note><para>
[e3e989a]152 On some combinations of kernel configuration and AMD processors
153 there may be more than 1100 failures in the gcc.target/i386/mpx
154 tests (which are designed to test the MPX option on recent
155 Intel processors). These can safely be ignored on AMD
[1c8cc71]156 processors. These tests will also fail on Intel processors if MPX support
157 is not enabled in the kernel even though it is present on the CPU.
[ac95fdb]158 </para></note-->
[e3e989a]159
[3d086532]160 <!-- PR 91085, will be fixed in GCC 12. -->
[dacb13d]161 <para>Install the package and remove an unneeded directory:</para>
[73aedd1d]162
[3f01429]163<screen><userinput remap="install">make install
[d4c8cfe3]164rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/</userinput></screen>
[73aedd1d]165
[e6db175]166 <para>The GCC build directory is owned by <systemitem class="username">
[ae7f075]167 tester</systemitem> now and the ownership of the installed header
[bf0ad1a]168 directory (and its content) will be incorrect. Change the ownership to
[e6db175]169 <systemitem class="username">root</systemitem> user and group:</para>
170
171<screen><userinput remap="install">chown -v -R root:root \
172 /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed}</userinput></screen>
173
[60b23a6f]174 <para>Create a symlink required by the <ulink
[b30de8f]175 url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>
[60b23a6f]176 for "historical" reasons.</para>
[73aedd1d]177
[9c3ce2a]178<screen><userinput remap="install">ln -svr /usr/bin/cpp /usr/lib</userinput></screen>
[efcb393]179 <!-- already done earlier
[6a82dd9]180 <para>Many packages use the name <command>cc</command> to call the C
181 compiler. To satisfy those packages, create a symlink:</para>
[1ba726f]182
[0445a3d]183<screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen>
[efcb393]184 -->
[6206f72]185 <para>Add a compatibility symlink to enable building programs with
186 Link Time Optimization (LTO):</para>
187
[f36db31]188<screen><userinput remap="install">ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \
[040ecb6]189 /usr/lib/bfd-plugins/</userinput></screen>
[6206f72]190
[09f1daf]191 <para>Now that our final toolchain is in place, it is important to again ensure
192 that compiling and linking will work as expected. We do this by performing
[6a156bab]193 some sanity checks:</para>
[09f1daf]194
[d9441360]195 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]196 href="adjusting.xml"
[09f1daf]197 xpointer="xpointer(//*[@os='a'])"/>
198
[d9441360]199 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]200 href="adjusting.xml"
[09f1daf]201 xpointer="xpointer(//*[@os='b'])"/>
202
[d9441360]203 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]204 href="adjusting.xml"
[09f1daf]205 xpointer="xpointer(//*[@os='c'])"/>
206
[d9441360]207 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]208 href="adjusting.xml"
[09f1daf]209 xpointer="xpointer(//*[@os='d'])"/>
210
[d9441360]211 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]212 href="adjusting.xml"
[09f1daf]213 xpointer="xpointer(//*[@os='e'])"/>
214
[d9441360]215 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]216 href="adjusting.xml"
[09f1daf]217 xpointer="xpointer(//*[@os='f'])"/>
218
[98e7ac4]219<screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crt1.o succeeded
220/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded
221/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>
[09f1daf]222
[6a156bab]223 <para>Depending on your machine architecture, the above may differ slightly.
224 The difference will be the name of the directory
[be3d9f3]225 after <filename class="directory">/usr/lib/gcc</filename>. The important
226 thing to look for here is that <command>gcc</command> has found all three
[5f7456b]227 <filename>crt*.o</filename> files under the
228 <filename class="directory">/usr/lib</filename> directory.</para>
[6e88633]229
[d9441360]230 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]231 href="adjusting.xml"
[09f1daf]232 xpointer="xpointer(//*[@os='g'])"/>
233
[041c8f67]234<screen><userinput>grep -B4 '^ /usr/include' dummy.log</userinput></screen>
[e9a652b]235
[d9441360]236 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]237 href="adjusting.xml"
[09f1daf]238 xpointer="xpointer(//*[@os='h'])"/>
239
[e9a652b]240<screen><computeroutput>#include &lt;...&gt; search starts here:
[98e7ac4]241 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include
[c528e3a]242 /usr/local/include
[98e7ac4]243 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include-fixed
[e9a652b]244 /usr/include</computeroutput></screen>
245
[6a156bab]246 <para>Again, the directory named after your target triplet may be
247 different than the above, depending on your system architecture.</para>
[3f39abf3]248
[d9441360]249 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]250 href="adjusting.xml"
[09f1daf]251 xpointer="xpointer(//*[@os='i'])"/>
252
[d9441360]253 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]254 href="adjusting.xml"
[09f1daf]255 xpointer="xpointer(//*[@os='j'])"/>
256
[d9441360]257 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]258 href="adjusting.xml"
[09f1daf]259 xpointer="xpointer(//*[@os='k'])"/>
260
[98e7ac4]261<screen><computeroutput>SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64")
262SEARCH_DIR("/usr/local/lib64")
263SEARCH_DIR("/lib64")
264SEARCH_DIR("/usr/lib64")
265SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")
[e9a652b]266SEARCH_DIR("/usr/local/lib")
267SEARCH_DIR("/lib")
[6e88633]268SEARCH_DIR("/usr/lib");</computeroutput></screen>
269
[98e7ac4]270 <para>A 32-bit system may see a few different directories. For example, here
271 is the output from an i686 machine:</para>
[6e88633]272
[98e7ac4]273<screen><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")
274SEARCH_DIR("/usr/local/lib32")
275SEARCH_DIR("/lib32")
276SEARCH_DIR("/usr/lib32")
277SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
[6e88633]278SEARCH_DIR("/usr/local/lib")
279SEARCH_DIR("/lib")
[e9a652b]280SEARCH_DIR("/usr/lib");</computeroutput></screen>
281
[d9441360]282 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]283 href="adjusting.xml"
[09f1daf]284 xpointer="xpointer(//*[@os='l'])"/>
285
[d9441360]286 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]287 href="adjusting.xml"
[09f1daf]288 xpointer="xpointer(//*[@os='m'])"/>
289
[d9441360]290 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]291 href="adjusting.xml"
[09f1daf]292 xpointer="xpointer(//*[@os='n'])"/>
293
[d9441360]294 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]295 href="adjusting.xml"
[09f1daf]296 xpointer="xpointer(//*[@os='o'])"/>
297
[d9441360]298 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]299 href="adjusting.xml"
[09f1daf]300 xpointer="xpointer(//*[@os='p'])"/>
301
[d9441360]302 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]303 href="adjusting.xml"
[09f1daf]304 xpointer="xpointer(//*[@os='q'])"/>
305
[d9441360]306 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]307 href="adjusting.xml"
[09f1daf]308 xpointer="xpointer(//*[@os='r'])"/>
309
[d9441360]310 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]311 href="adjusting.xml"
[09f1daf]312 xpointer="xpointer(//*[@os='s'])"/>
313
[d9441360]314 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]315 href="adjusting.xml"
[09f1daf]316 xpointer="xpointer(//*[@os='t'])"/>
[6a82dd9]317
[d9441360]318 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]319 href="adjusting.xml"
[e9a652b]320 xpointer="xpointer(//*[@os='u'])"/>
321
[d9441360]322 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]323 href="adjusting.xml"
[e9a652b]324 xpointer="xpointer(//*[@os='v'])"/>
325
[970a126]326 <para>Finally, move a misplaced file:</para>
[39ec01c]327
[970a126]328<screen><userinput remap="install">mkdir -pv /usr/share/gdb/auto-load/usr/lib
329mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
[39ec01c]330
[6a82dd9]331 </sect2>
332
333 <sect2 id="contents-gcc" role="content">
334 <title>Contents of GCC</title>
335
336 <segmentedlist>
337 <segtitle>Installed programs</segtitle>
338 <segtitle>Installed libraries</segtitle>
[fe05b08]339 <segtitle>Installed directories</segtitle>
[6a82dd9]340
341 <seglistitem>
[2ca8941]342 <seg>c++, cc (link to gcc), cpp, g++, gcc,
[78cc3be]343 gcc-ar, gcc-nm, gcc-ranlib, gcov, gcov-dump, and gcov-tool</seg>
[e0901b3]344
[78cc3be]345 <seg>libasan.{a,so}, libatomic.{a,so}, libcc1.so, libgcc.a, libgcc_eh.a,
346 libgcc_s.so, libgcov.a, libgomp.{a,so}, libitm.{a,so},
347 liblsan.{a,so}, liblto_plugin.so,
348 libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a,
349 libstdc++.{a,so}, libstdc++fs.a, libsupc++.a, libtsan.{a,so},
350 and libubsan.{a,so}</seg>
[2ca8941]351
[7bb9fda]352 <seg>/usr/include/c++, /usr/lib/gcc, /usr/libexec/gcc, and
[4e8a532]353 /usr/share/gcc-&gcc-version;</seg>
[6a82dd9]354 </seglistitem>
355 </segmentedlist>
356
357 <variablelist>
358 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
359 <?dbfo list-presentation="list"?>
360 <?dbhtml list-presentation="table"?>
361
[75128571]362 <varlistentry id="c">
363 <term><command>c++</command></term>
364 <listitem>
365 <para>The C++ compiler</para>
366 <indexterm zone="ch-system-gcc c">
367 <primary sortas="b-c++">c++</primary>
368 </indexterm>
369 </listitem>
370 </varlistentry>
371
[6a82dd9]372 <varlistentry id="cc">
373 <term><command>cc</command></term>
374 <listitem>
375 <para>The C compiler</para>
376 <indexterm zone="ch-system-gcc cc">
377 <primary sortas="b-cc">cc</primary>
378 </indexterm>
379 </listitem>
380 </varlistentry>
381
382 <varlistentry id="cpp">
383 <term><command>cpp</command></term>
384 <listitem>
385 <para>The C preprocessor; it is used by the compiler to expand the
386 #include, #define, and similar statements in the source files</para>
387 <indexterm zone="ch-system-gcc cpp">
388 <primary sortas="b-cpp">cpp</primary>
389 </indexterm>
390 </listitem>
391 </varlistentry>
392
393 <varlistentry id="g">
394 <term><command>g++</command></term>
395 <listitem>
396 <para>The C++ compiler</para>
397 <indexterm zone="ch-system-gcc g">
398 <primary sortas="b-g++">g++</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
402
403 <varlistentry id="gcc">
404 <term><command>gcc</command></term>
405 <listitem>
406 <para>The C compiler</para>
407 <indexterm zone="ch-system-gcc gcc">
408 <primary sortas="b-gcc">gcc</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
[e0901b3]413 <varlistentry id="gcc-ar">
414 <term><command>gcc-ar</command></term>
415 <listitem>
416 <para>A wrapper around <command>ar</command> that adds a
[afba93b]417 plugin to the command line. This program is only used
[edbeeb5]418 to add "link time optimization" and is not useful with the
[afba93b]419 default build options</para>
[e0901b3]420 <indexterm zone="ch-system-gcc gcc-ar">
421 <primary sortas="b-gcc-ar">gc-ar</primary>
422 </indexterm>
423 </listitem>
424 </varlistentry>
425
426 <varlistentry id="gcc-nm">
427 <term><command>gcc-nm</command></term>
428 <listitem>
429 <para>A wrapper around <command>nm</command> that adds a
[afba93b]430 plugin to the command line. This program is only used
[a885478]431 to add "link time optimization" and is not useful with the
[afba93b]432 default build options</para>
[e0901b3]433 <indexterm zone="ch-system-gcc gcc-nm">
434 <primary sortas="b-gcc-nm">gc-nm</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
439 <varlistentry id="gcc-ranlib">
440 <term><command>gcc-ranlib</command></term>
441 <listitem>
442 <para>A wrapper around <command>ranlib</command> that adds a
[afba93b]443 plugin to the command line. This program is only used
[a885478]444 to add "link time optimization" and is not useful with the
[afba93b]445 default build options</para>
[e0901b3]446 <indexterm zone="ch-system-gcc gcc-ranlib">
447 <primary sortas="b-gcc-ranlib">gc-ranlib</primary>
448 </indexterm>
449 </listitem>
450 </varlistentry>
[6a82dd9]451
452 <varlistentry id="gcov">
453 <term><command>gcov</command></term>
454 <listitem>
455 <para>A coverage testing tool; it is used to analyze programs to
456 determine where optimizations will have the most effect</para>
457 <indexterm zone="ch-system-gcc gcov">
458 <primary sortas="b-gcov">gcov</primary>
459 </indexterm>
[4783efe]460 </listitem>
461 </varlistentry>
462
[78cc3be]463 <varlistentry id="gcov-dump">
464 <term><command>gcov-dump</command></term>
465 <listitem>
466 <para>Offline gcda and gcno profile dump tool</para>
467 <indexterm zone="ch-system-gcc gcov-dump">
468 <primary sortas="b-gcov-dump">gcov-dump</primary>
469 </indexterm>
470 </listitem>
471 </varlistentry>
472
473 <varlistentry id="gcov-tool">
474 <term><command>gcov-tool</command></term>
475 <listitem>
476 <para>Offline gcda profile processing tool</para>
477 <indexterm zone="ch-system-gcc gcov-tool">
478 <primary sortas="b-gcov-tool">gcov-tool</primary>
479 </indexterm>
480 </listitem>
481 </varlistentry>
482
[4783efe]483 <varlistentry id="libasan">
[78cc3be]484 <term><filename class="libraryfile">libasan</filename></term>
[4783efe]485 <listitem>
486 <para>The Address Sanitizer runtime library</para>
487 <indexterm zone="ch-system-gcc libasan">
488 <primary sortas="b-libasan">libasan</primary>
489 </indexterm>
[6a82dd9]490 </listitem>
491 </varlistentry>
492
[78cc3be]493 <varlistentry id="libatomic">
494 <term><filename class="libraryfile">libatomic</filename></term>
495 <listitem>
496 <para>GCC atomic built-in runtime library</para>
497 <indexterm zone="ch-system-gcc libatomic">
498 <primary sortas="b-libatomic">libatomic</primary>
499 </indexterm>
500 </listitem>
501 </varlistentry>
502
503 <varlistentry id="libcc1">
504 <term><filename class="libraryfile">libcc1</filename></term>
505 <listitem>
506 <para>The C preprocessing library</para>
507 <indexterm zone="ch-system-gcc libcc1">
508 <primary sortas="b-libcc1">libcc1</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
[6a82dd9]513 <varlistentry id="libgcc">
514 <term><filename class="libraryfile">libgcc</filename></term>
515 <listitem>
516 <para>Contains run-time support for <command>gcc</command></para>
517 <indexterm zone="ch-system-gcc libgcc">
[afba93b]518 <primary sortas="c-libgcc">libgcc</primary>
[6a82dd9]519 </indexterm>
520 </listitem>
521 </varlistentry>
522
[90aae6b]523 <varlistentry id="libgcov">
524 <term><filename class="libraryfile">libgcov</filename></term>
525 <listitem>
526 <para>This library is linked in to a program when GCC is instructed
527 to enable profiling</para>
528 <indexterm zone="ch-system-gcc libgcov">
529 <primary sortas="c-libgcov">libgcov</primary>
530 </indexterm>
531 </listitem>
532 </varlistentry>
533
534 <varlistentry id="libgomp">
535 <term><filename class="libraryfile">libgomp</filename></term>
536 <listitem>
537 <para>GNU implementation of the OpenMP API for multi-platform
538 shared-memory parallel programming in C/C++ and Fortran</para>
539 <indexterm zone="ch-system-gcc libgomp">
540 <primary sortas="c-libgomp">libgomp</primary>
541 </indexterm>
542 </listitem>
543 </varlistentry>
544
[78cc3be]545 <varlistentry id="liblsan">
546 <term><filename class="libraryfile">liblsan</filename></term>
[b755562]547 <listitem>
[78cc3be]548 <para>The Leak Sanitizer runtime library</para>
549 <indexterm zone="ch-system-gcc liblsan">
550 <primary sortas="c-liblsan">liblsan</primary>
[b755562]551 </indexterm>
552 </listitem>
553 </varlistentry>
554
[3119ddc]555 <varlistentry id="liblto_plugin">
556 <term><filename class="libraryfile">liblto_plugin</filename></term>
557 <listitem>
558 <para>GCC's Link Time Optimization (LTO) plugin allows GCC to perform
[afba93b]559 optimizations across compilation units</para>
[3119ddc]560 <indexterm zone="ch-system-gcc liblto_plugin">
[afba93b]561 <primary sortas="c-liblto_plugin">liblto_plugin</primary>
[3119ddc]562 </indexterm>
563 </listitem>
564 </varlistentry>
[7bb9fda]565
[3119ddc]566 <varlistentry id="libquadmath">
567 <term><filename class="libraryfile">libquadmath</filename></term>
568 <listitem>
569 <para>GCC Quad Precision Math Library API</para>
570 <indexterm zone="ch-system-gcc libquadmath">
[afba93b]571 <primary sortas="c-libquadmath">libquadmath</primary>
[3119ddc]572 </indexterm>
573 </listitem>
574 </varlistentry>
575
[2791a8e]576 <varlistentry id="libssp">
577 <term><filename class="libraryfile">libssp</filename></term>
578 <listitem>
579 <para>Contains routines supporting GCC's stack-smashing protection
580 functionality</para>
581 <indexterm zone="ch-system-gcc libssp">
[afba93b]582 <primary sortas="c-libssp">libssp</primary>
[2791a8e]583 </indexterm>
584 </listitem>
585 </varlistentry>
586
[6a82dd9]587 <varlistentry id="libstdc">
588 <term><filename class="libraryfile">libstdc++</filename></term>
589 <listitem>
590 <para>The standard C++ library</para>
591 <indexterm zone="ch-system-gcc libstdc">
592 <primary sortas="c-libstdc++">libstdc++</primary>
593 </indexterm>
594 </listitem>
595 </varlistentry>
596
[78cc3be]597 <varlistentry id="libstdcfs">
598 <term><filename class="libraryfile">libstdc++fs</filename></term>
599 <listitem>
600 <para>ISO/IEC TS 18822:2015 Filesystem library</para>
601 <indexterm zone="ch-system-gcc libstdcfs">
602 <primary sortas="c-libstdc++fs">libstdc++fs</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606
[6a82dd9]607 <varlistentry id="libsupc">
608 <term><filename class="libraryfile">libsupc++</filename></term>
609 <listitem>
610 <para>Provides supporting routines for the C++ programming
611 language</para>
612 <indexterm zone="ch-system-gcc libsupc">
613 <primary sortas="c-libsupc++">libsupc++</primary>
614 </indexterm>
615 </listitem>
616 </varlistentry>
617
[f6b1d91]618 <varlistentry id="libtsan">
619 <term><filename class="libraryfile">libtsan</filename></term>
620 <listitem>
621 <para>The Thread Sanitizer runtime library</para>
622 <indexterm zone="ch-system-gcc libtsan">
623 <primary sortas="c-libtsan">libtsan</primary>
624 </indexterm>
625 </listitem>
626 </varlistentry>
627
[78cc3be]628 <varlistentry id="libubsan">
629 <term><filename class="libraryfile">libubsan</filename></term>
630 <listitem>
631 <para>The Undefined Behavior Sanitizer runtime library</para>
632 <indexterm zone="ch-system-gcc libubsan">
633 <primary sortas="c-libubsan">libubsan</primary>
634 </indexterm>
635 </listitem>
636 </varlistentry>
637
[6a82dd9]638 </variablelist>
639
640 </sect2>
[673b0d8]641
642</sect1>
Note: See TracBrowser for help on using the repository browser.