source: chapter08/gcc.xml@ 6304533

xry111/clfs-ng
Last change on this file since 6304533 was 6304533, checked in by Xi Ruoyao <xry111@…>, 21 months ago

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

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