source: chapter08/gcc.xml@ 1b11115

11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 bdubbs/gcc13 multilib renodr/libudev-from-systemd trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng 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 1b11115 was 1b11115, checked in by Bruce Dubbs <bdubbs@…>, 21 months ago

Package updates.
Update to binutils-2.38.
Update to util-linux-2.38.1.
Update to Python3-3.10.6.
Update to glibc-2.36.

  • 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>
[813ab55]43<!--
[a04b3d39]44 <para>At first, fix an issue breaking
45 <filename class="libraryfile">libasan.a</filename> building this package
[51e4ab2]46 with Glibc-2.34 or later:</para>
[a04b3d39]47
48<screen><userinput remap="pre">sed -e '/static.*SIGSTKSZ/d' \
49 -e 's/return kAltStackSize/return SIGSTKSZ * 4/' \
50 -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp</userinput></screen>
[813ab55]51-->
[1b11115]52 <para>First fix a problem with the latest version of glibc:</para>
53
54 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
55
[ed3be61]56 <para>If building on x86_64, change the default directory name for 64-bit
[be3d9f3]57 libraries to <quote>lib</quote>:</para>
58
59<screen><userinput remap="pre">case $(uname -m) in
60 x86_64)
61 sed -e '/m64=/s/lib64/lib/' \
62 -i.orig gcc/config/i386/t-linux64
63 ;;
64esac</userinput></screen>
65
[f1dd547]66 <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
[73aedd1d]67
[f1dd547]68<screen><userinput remap="pre">mkdir -v build
69cd build</userinput></screen>
[73aedd1d]70
[6a82dd9]71 <para>Prepare GCC for compilation:</para>
[73aedd1d]72
[efcb393]73<screen><userinput remap="configure">../configure --prefix=/usr \
74 LD=ld \
[f1dd547]75 --enable-languages=c,c++ \
76 --disable-multilib \
77 --disable-bootstrap \
78 --with-system-zlib</userinput></screen>
[73aedd1d]79
[6a156bab]80 <para>Note that for other programming languages there are some prerequisites that
[93756f6]81 are not yet available. See the
[6a156bab]82 <ulink url="&blfs-book;general/gcc.html">BLFS Book GCC page</ulink>
[93756f6]83 for instructions on how to build all of GCC's supported languages.</para>
[182d5d3]84
[ae4d45a]85 <variablelist>
[a89ab79]86 <title>The meaning of the new configure parameters:</title>
87
88 <varlistentry>
89 <term><parameter>LD=ld</parameter></term>
90 <listitem>
91 <para>This parameter makes the configure script use the ld installed
[6a156bab]92 by the binutils built earlier in this chapter, rather than
[a89ab79]93 the cross-built version which would otherwise be used.</para>
94 </listitem>
95 </varlistentry>
[cde2ae7]96
[ae4d45a]97 <varlistentry>
98 <term><parameter>--with-system-zlib</parameter></term>
99 <listitem>
100 <para>This switch tells GCC to link to the system installed copy of
[6a156bab]101 the zlib library, rather than its own internal copy.</para>
[ae4d45a]102 </listitem>
103 </varlistentry>
104 </variablelist>
105
[6a82dd9]106 <para>Compile the package:</para>
[73aedd1d]107
[0445a3d]108<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]109
[6a82dd9]110 <important>
111 <para>In this section, the test suite for GCC is considered
[1f201845]112 important, but it takes a long time. First time builders are
113 encouraged to not skip it. The time to run the tests can be
114 reduced significantly by adding -jx to the make command below
115 where x is the number of cores on your system.</para>
[6a82dd9]116 </important>
[81fd230]117
[6a156bab]118 <para>One set of tests in the GCC test suite is known to exhaust the default
119 stack, so increase the stack size prior to running the tests:</para>
[4e48f56e]120
[2efa44a]121<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
[4e48f56e]122
[76db8d6]123 <para>Test the results as a non-privileged user, but do not stop at errors:</para>
124
[d672ab7]125<screen><userinput remap="test">chown -Rv tester .
[ae7f075]126su tester -c "PATH=$PATH make -k check"</userinput></screen>
[73aedd1d]127
[9278974d]128 <para>To receive a summary of the test suite results, run:</para>
129
[f1dd547]130<screen><userinput remap="test">../contrib/test_summary</userinput></screen>
[9278974d]131
132 <para>For only the summaries, pipe the output through
133 <userinput>grep -A7 Summ</userinput>.</para>
134
135 <para>Results can be compared with those located at <ulink
[98e7ac4]136 url="&test-results;"/> and
[b30de8f]137 <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
[9278974d]138
[6edc3b4]139 <para>In g++, four tests related to PR100400 are known to be reported
140 as both XPASS and FAIL. It's because the test file for this known issue
141 is not well written.</para>
[d7a9421]142
[9278974d]143 <para>A few unexpected failures cannot always be avoided. The GCC developers
[0238d49]144 are usually aware of these issues, but have not resolved them yet.
[9278974d]145 Unless the test results are vastly different from those at the above URL,
146 it is safe to continue.</para>
[73aedd1d]147
[ac95fdb]148 <!--note><para>
[e3e989a]149 On some combinations of kernel configuration and AMD processors
150 there may be more than 1100 failures in the gcc.target/i386/mpx
151 tests (which are designed to test the MPX option on recent
152 Intel processors). These can safely be ignored on AMD
[1c8cc71]153 processors. These tests will also fail on Intel processors if MPX support
154 is not enabled in the kernel even though it is present on the CPU.
[ac95fdb]155 </para></note-->
[e3e989a]156
[bd08757]157 <para>Install the package:</para>
[73aedd1d]158
[bd08757]159<screen><userinput remap="install">make install</userinput></screen>
[73aedd1d]160
[e6db175]161 <para>The GCC build directory is owned by <systemitem class="username">
[ae7f075]162 tester</systemitem> now and the ownership of the installed header
[bf0ad1a]163 directory (and its content) will be incorrect. Change the ownership to
[e6db175]164 <systemitem class="username">root</systemitem> user and group:</para>
165
166<screen><userinput remap="install">chown -v -R root:root \
[9c43803]167 /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include{,-fixed}</userinput></screen>
[e6db175]168
[60b23a6f]169 <para>Create a symlink required by the <ulink
[b30de8f]170 url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>
[60b23a6f]171 for "historical" reasons.</para>
[73aedd1d]172
[9c3ce2a]173<screen><userinput remap="install">ln -svr /usr/bin/cpp /usr/lib</userinput></screen>
[efcb393]174 <!-- already done earlier
[6a82dd9]175 <para>Many packages use the name <command>cc</command> to call the C
176 compiler. To satisfy those packages, create a symlink:</para>
[1ba726f]177
[0445a3d]178<screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen>
[efcb393]179 -->
[6206f72]180 <para>Add a compatibility symlink to enable building programs with
[d672ab7]181 Link Time Optimization (LTO):</para>
[6206f72]182
[f36db31]183<screen><userinput remap="install">ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \
[040ecb6]184 /usr/lib/bfd-plugins/</userinput></screen>
[6206f72]185
[09f1daf]186 <para>Now that our final toolchain is in place, it is important to again ensure
187 that compiling and linking will work as expected. We do this by performing
[6a156bab]188 some sanity checks:</para>
[09f1daf]189
[a4f63e4]190<screen><userinput>echo 'int main(){}' &gt; dummy.c
191cc dummy.c -v -Wl,--verbose &amp;&gt; dummy.log
192readelf -l a.out | grep ': /lib'</userinput></screen>
[09f1daf]193
[a4f63e4]194 <para>There should be no errors,
195 and the output of the last command will be (allowing for
196 platform-specific differences in the dynamic linker name):</para>
[09f1daf]197
[a4f63e4]198<screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
[09f1daf]199
[a4f63e4]200 <para>Now make sure that we're setup to use the correct start files:</para>
[09f1daf]201
[a4f63e4]202<screen><userinput>grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log</userinput></screen>
[09f1daf]203
[a4f63e4]204 <para>The output of the last command should be:</para>
[09f1daf]205
[98e7ac4]206<screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crt1.o succeeded
207/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded
208/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>
[09f1daf]209
[6a156bab]210 <para>Depending on your machine architecture, the above may differ slightly.
211 The difference will be the name of the directory
[be3d9f3]212 after <filename class="directory">/usr/lib/gcc</filename>. The important
213 thing to look for here is that <command>gcc</command> has found all three
[5f7456b]214 <filename>crt*.o</filename> files under the
215 <filename class="directory">/usr/lib</filename> directory.</para>
[6e88633]216
[a4f63e4]217 <para>Verify that the compiler is searching for the correct header
218 files:</para>
[09f1daf]219
[041c8f67]220<screen><userinput>grep -B4 '^ /usr/include' dummy.log</userinput></screen>
[e9a652b]221
[a4f63e4]222 <para>This command should return the following output:</para>
[09f1daf]223
[e9a652b]224<screen><computeroutput>#include &lt;...&gt; search starts here:
[98e7ac4]225 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include
[c528e3a]226 /usr/local/include
[98e7ac4]227 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include-fixed
[e9a652b]228 /usr/include</computeroutput></screen>
229
[6a156bab]230 <para>Again, the directory named after your target triplet may be
231 different than the above, depending on your system architecture.</para>
[3f39abf3]232
[a4f63e4]233 <para>Next, verify that the new linker is being used with the correct search paths:</para>
[09f1daf]234
[a4f63e4]235<screen><userinput>grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'</userinput></screen>
[09f1daf]236
[a4f63e4]237 <para>References to paths that have components with '-linux-gnu' should
238 be ignored, but otherwise the output of the last command should be:</para>
[09f1daf]239
[98e7ac4]240<screen><computeroutput>SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64")
241SEARCH_DIR("/usr/local/lib64")
242SEARCH_DIR("/lib64")
243SEARCH_DIR("/usr/lib64")
244SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")
[e9a652b]245SEARCH_DIR("/usr/local/lib")
246SEARCH_DIR("/lib")
[6e88633]247SEARCH_DIR("/usr/lib");</computeroutput></screen>
248
[98e7ac4]249 <para>A 32-bit system may see a few different directories. For example, here
250 is the output from an i686 machine:</para>
[6e88633]251
[98e7ac4]252<screen><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")
253SEARCH_DIR("/usr/local/lib32")
254SEARCH_DIR("/lib32")
255SEARCH_DIR("/usr/lib32")
256SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
[6e88633]257SEARCH_DIR("/usr/local/lib")
258SEARCH_DIR("/lib")
[e9a652b]259SEARCH_DIR("/usr/lib");</computeroutput></screen>
260
[a4f63e4]261 <para>Next make sure that we're using the correct libc:</para>
[09f1daf]262
[a4f63e4]263<screen><userinput>grep "/lib.*/libc.so.6 " dummy.log</userinput></screen>
[09f1daf]264
[a4f63e4]265 <para>The output of the last command should be:</para>
[09f1daf]266
[a4f63e4]267<screen><computeroutput>attempt to open /usr/lib/libc.so.6 succeeded</computeroutput></screen>
[09f1daf]268
[a4f63e4]269 <para>Make sure GCC is using the correct dynamic linker:</para>
[09f1daf]270
[a4f63e4]271<screen><userinput>grep found dummy.log</userinput></screen>
[09f1daf]272
[a4f63e4]273 <para>The output of the last command should be (allowing for
274 platform-specific differences in dynamic linker name):</para>
[09f1daf]275
[a4f63e4]276<screen><computeroutput>found ld-linux-x86-64.so.2 at /usr/lib/ld-linux-x86-64.so.2</computeroutput></screen>
[09f1daf]277
[a4f63e4]278 <para>If the output does not appear as shown above or is not received
279 at all, then something is seriously wrong. Investigate and retrace the
280 steps to find out where the problem is and correct it. <!--The most likely
281 reason is that something went wrong with the specs file adjustment.--> Any
282 issues will need to be resolved before continuing with the process.</para>
[6a82dd9]283
[a4f63e4]284 <para>Once everything is working correctly, clean up the test files:</para>
[e9a652b]285
[a4f63e4]286<screen><userinput>rm -v dummy.c a.out dummy.log</userinput></screen>
[e9a652b]287
[970a126]288 <para>Finally, move a misplaced file:</para>
[39ec01c]289
[970a126]290<screen><userinput remap="install">mkdir -pv /usr/share/gdb/auto-load/usr/lib
291mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
[39ec01c]292
[6a82dd9]293 </sect2>
294
295 <sect2 id="contents-gcc" role="content">
296 <title>Contents of GCC</title>
297
298 <segmentedlist>
299 <segtitle>Installed programs</segtitle>
300 <segtitle>Installed libraries</segtitle>
[fe05b08]301 <segtitle>Installed directories</segtitle>
[6a82dd9]302
303 <seglistitem>
[2ca8941]304 <seg>c++, cc (link to gcc), cpp, g++, gcc,
[e5b4b3f]305 gcc-ar, gcc-nm, gcc-ranlib, gcov, gcov-dump, gcov-tool,
306 and lto-dump</seg>
[e0901b3]307
[78cc3be]308 <seg>libasan.{a,so}, libatomic.{a,so}, libcc1.so, libgcc.a, libgcc_eh.a,
309 libgcc_s.so, libgcov.a, libgomp.{a,so}, libitm.{a,so},
310 liblsan.{a,so}, liblto_plugin.so,
311 libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a,
312 libstdc++.{a,so}, libstdc++fs.a, libsupc++.a, libtsan.{a,so},
313 and libubsan.{a,so}</seg>
[2ca8941]314
[d672ab7]315 <seg>/usr/include/c++, /usr/lib/gcc, /usr/libexec/gcc, and
[4e8a532]316 /usr/share/gcc-&gcc-version;</seg>
[6a82dd9]317 </seglistitem>
318 </segmentedlist>
319
320 <variablelist>
321 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
322 <?dbfo list-presentation="list"?>
323 <?dbhtml list-presentation="table"?>
324
[75128571]325 <varlistentry id="c">
326 <term><command>c++</command></term>
327 <listitem>
328 <para>The C++ compiler</para>
329 <indexterm zone="ch-system-gcc c">
330 <primary sortas="b-c++">c++</primary>
331 </indexterm>
332 </listitem>
333 </varlistentry>
334
[6a82dd9]335 <varlistentry id="cc">
336 <term><command>cc</command></term>
337 <listitem>
338 <para>The C compiler</para>
339 <indexterm zone="ch-system-gcc cc">
340 <primary sortas="b-cc">cc</primary>
341 </indexterm>
342 </listitem>
343 </varlistentry>
344
345 <varlistentry id="cpp">
346 <term><command>cpp</command></term>
347 <listitem>
348 <para>The C preprocessor; it is used by the compiler to expand the
349 #include, #define, and similar statements in the source files</para>
350 <indexterm zone="ch-system-gcc cpp">
351 <primary sortas="b-cpp">cpp</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="g">
357 <term><command>g++</command></term>
358 <listitem>
359 <para>The C++ compiler</para>
360 <indexterm zone="ch-system-gcc g">
361 <primary sortas="b-g++">g++</primary>
362 </indexterm>
363 </listitem>
364 </varlistentry>
365
366 <varlistentry id="gcc">
367 <term><command>gcc</command></term>
368 <listitem>
369 <para>The C compiler</para>
370 <indexterm zone="ch-system-gcc gcc">
371 <primary sortas="b-gcc">gcc</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
[e0901b3]376 <varlistentry id="gcc-ar">
377 <term><command>gcc-ar</command></term>
378 <listitem>
379 <para>A wrapper around <command>ar</command> that adds a
[afba93b]380 plugin to the command line. This program is only used
[edbeeb5]381 to add "link time optimization" and is not useful with the
[afba93b]382 default build options</para>
[e0901b3]383 <indexterm zone="ch-system-gcc gcc-ar">
384 <primary sortas="b-gcc-ar">gc-ar</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="gcc-nm">
390 <term><command>gcc-nm</command></term>
391 <listitem>
392 <para>A wrapper around <command>nm</command> that adds a
[afba93b]393 plugin to the command line. This program is only used
[a885478]394 to add "link time optimization" and is not useful with the
[afba93b]395 default build options</para>
[e0901b3]396 <indexterm zone="ch-system-gcc gcc-nm">
397 <primary sortas="b-gcc-nm">gc-nm</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="gcc-ranlib">
403 <term><command>gcc-ranlib</command></term>
404 <listitem>
405 <para>A wrapper around <command>ranlib</command> that adds a
[afba93b]406 plugin to the command line. This program is only used
[a885478]407 to add "link time optimization" and is not useful with the
[afba93b]408 default build options</para>
[e0901b3]409 <indexterm zone="ch-system-gcc gcc-ranlib">
410 <primary sortas="b-gcc-ranlib">gc-ranlib</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
[6a82dd9]414
415 <varlistentry id="gcov">
416 <term><command>gcov</command></term>
417 <listitem>
418 <para>A coverage testing tool; it is used to analyze programs to
419 determine where optimizations will have the most effect</para>
420 <indexterm zone="ch-system-gcc gcov">
421 <primary sortas="b-gcov">gcov</primary>
422 </indexterm>
[4783efe]423 </listitem>
424 </varlistentry>
425
[78cc3be]426 <varlistentry id="gcov-dump">
427 <term><command>gcov-dump</command></term>
428 <listitem>
429 <para>Offline gcda and gcno profile dump tool</para>
430 <indexterm zone="ch-system-gcc gcov-dump">
431 <primary sortas="b-gcov-dump">gcov-dump</primary>
432 </indexterm>
433 </listitem>
434 </varlistentry>
435
436 <varlistentry id="gcov-tool">
437 <term><command>gcov-tool</command></term>
438 <listitem>
439 <para>Offline gcda profile processing tool</para>
440 <indexterm zone="ch-system-gcc gcov-tool">
441 <primary sortas="b-gcov-tool">gcov-tool</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
445
[e5b4b3f]446 <varlistentry id="lto-dump">
447 <term><command>lto-dump</command></term>
448 <listitem>
449 <para>Tool for dumping object files produced by GCC with LTO
450 enabled</para>
451 <indexterm zone="ch-system-gcc lto-dump">
452 <primary sortas="b-lto-dump">lto-dump</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
[4783efe]457 <varlistentry id="libasan">
[78cc3be]458 <term><filename class="libraryfile">libasan</filename></term>
[4783efe]459 <listitem>
460 <para>The Address Sanitizer runtime library</para>
461 <indexterm zone="ch-system-gcc libasan">
462 <primary sortas="b-libasan">libasan</primary>
463 </indexterm>
[6a82dd9]464 </listitem>
465 </varlistentry>
466
[78cc3be]467 <varlistentry id="libatomic">
468 <term><filename class="libraryfile">libatomic</filename></term>
469 <listitem>
470 <para>GCC atomic built-in runtime library</para>
471 <indexterm zone="ch-system-gcc libatomic">
472 <primary sortas="b-libatomic">libatomic</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>
476
477 <varlistentry id="libcc1">
478 <term><filename class="libraryfile">libcc1</filename></term>
479 <listitem>
480 <para>The C preprocessing library</para>
481 <indexterm zone="ch-system-gcc libcc1">
482 <primary sortas="b-libcc1">libcc1</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
486
[6a82dd9]487 <varlistentry id="libgcc">
488 <term><filename class="libraryfile">libgcc</filename></term>
489 <listitem>
490 <para>Contains run-time support for <command>gcc</command></para>
491 <indexterm zone="ch-system-gcc libgcc">
[afba93b]492 <primary sortas="c-libgcc">libgcc</primary>
[6a82dd9]493 </indexterm>
494 </listitem>
495 </varlistentry>
496
[90aae6b]497 <varlistentry id="libgcov">
498 <term><filename class="libraryfile">libgcov</filename></term>
499 <listitem>
500 <para>This library is linked in to a program when GCC is instructed
501 to enable profiling</para>
502 <indexterm zone="ch-system-gcc libgcov">
503 <primary sortas="c-libgcov">libgcov</primary>
504 </indexterm>
505 </listitem>
506 </varlistentry>
507
508 <varlistentry id="libgomp">
509 <term><filename class="libraryfile">libgomp</filename></term>
510 <listitem>
511 <para>GNU implementation of the OpenMP API for multi-platform
512 shared-memory parallel programming in C/C++ and Fortran</para>
513 <indexterm zone="ch-system-gcc libgomp">
514 <primary sortas="c-libgomp">libgomp</primary>
515 </indexterm>
516 </listitem>
517 </varlistentry>
518
[e5b4b3f]519 <varlistentry id="libitm">
520 <term><filename class="libraryfile">libitm</filename></term>
521 <listitem>
522 <para>The GNU transactional memory library</para>
523 <indexterm zone="ch-system-gcc libitm">
524 <primary sortas="c-libitm">libitm</primary>
525 </indexterm>
526 </listitem>
527 </varlistentry>
528
[78cc3be]529 <varlistentry id="liblsan">
530 <term><filename class="libraryfile">liblsan</filename></term>
[b755562]531 <listitem>
[78cc3be]532 <para>The Leak Sanitizer runtime library</para>
533 <indexterm zone="ch-system-gcc liblsan">
534 <primary sortas="c-liblsan">liblsan</primary>
[b755562]535 </indexterm>
536 </listitem>
537 </varlistentry>
538
[3119ddc]539 <varlistentry id="liblto_plugin">
540 <term><filename class="libraryfile">liblto_plugin</filename></term>
541 <listitem>
[e5b4b3f]542 <para>GCC's LTO plugin allows binutils to process object files
543 produced by GCC with LTO enabled</para>
[3119ddc]544 <indexterm zone="ch-system-gcc liblto_plugin">
[afba93b]545 <primary sortas="c-liblto_plugin">liblto_plugin</primary>
[3119ddc]546 </indexterm>
547 </listitem>
548 </varlistentry>
[7bb9fda]549
[3119ddc]550 <varlistentry id="libquadmath">
551 <term><filename class="libraryfile">libquadmath</filename></term>
552 <listitem>
553 <para>GCC Quad Precision Math Library API</para>
554 <indexterm zone="ch-system-gcc libquadmath">
[afba93b]555 <primary sortas="c-libquadmath">libquadmath</primary>
[3119ddc]556 </indexterm>
557 </listitem>
558 </varlistentry>
559
[2791a8e]560 <varlistentry id="libssp">
561 <term><filename class="libraryfile">libssp</filename></term>
562 <listitem>
563 <para>Contains routines supporting GCC's stack-smashing protection
564 functionality</para>
565 <indexterm zone="ch-system-gcc libssp">
[afba93b]566 <primary sortas="c-libssp">libssp</primary>
[2791a8e]567 </indexterm>
568 </listitem>
569 </varlistentry>
570
[6a82dd9]571 <varlistentry id="libstdc">
572 <term><filename class="libraryfile">libstdc++</filename></term>
573 <listitem>
574 <para>The standard C++ library</para>
575 <indexterm zone="ch-system-gcc libstdc">
576 <primary sortas="c-libstdc++">libstdc++</primary>
577 </indexterm>
578 </listitem>
579 </varlistentry>
580
[78cc3be]581 <varlistentry id="libstdcfs">
582 <term><filename class="libraryfile">libstdc++fs</filename></term>
583 <listitem>
584 <para>ISO/IEC TS 18822:2015 Filesystem library</para>
585 <indexterm zone="ch-system-gcc libstdcfs">
586 <primary sortas="c-libstdc++fs">libstdc++fs</primary>
587 </indexterm>
588 </listitem>
589 </varlistentry>
590
[6a82dd9]591 <varlistentry id="libsupc">
592 <term><filename class="libraryfile">libsupc++</filename></term>
593 <listitem>
594 <para>Provides supporting routines for the C++ programming
595 language</para>
596 <indexterm zone="ch-system-gcc libsupc">
597 <primary sortas="c-libsupc++">libsupc++</primary>
598 </indexterm>
599 </listitem>
600 </varlistentry>
601
[f6b1d91]602 <varlistentry id="libtsan">
603 <term><filename class="libraryfile">libtsan</filename></term>
604 <listitem>
605 <para>The Thread Sanitizer runtime library</para>
606 <indexterm zone="ch-system-gcc libtsan">
607 <primary sortas="c-libtsan">libtsan</primary>
608 </indexterm>
609 </listitem>
610 </varlistentry>
611
[78cc3be]612 <varlistentry id="libubsan">
613 <term><filename class="libraryfile">libubsan</filename></term>
614 <listitem>
615 <para>The Undefined Behavior Sanitizer runtime library</para>
616 <indexterm zone="ch-system-gcc libubsan">
617 <primary sortas="c-libubsan">libubsan</primary>
618 </indexterm>
619 </listitem>
620 </varlistentry>
621
[6a82dd9]622 </variablelist>
623
624 </sect2>
[673b0d8]625
626</sect1>
Note: See TracBrowser for help on using the repository browser.