source: chapter08/gcc.xml@ 58fdf95

arm
Last change on this file since 58fdf95 was f333d75, checked in by William Harrington <kb0iic@…>, 2 years ago

Package updates and nobody uid change.
Change nobody/nogroup uid/git to 65534.
Update to meson-0.62.1.
Update to libpipeline-1.5.6.
Update to elfutils-0.187.
Update to Jinja2-3.1.2.
Update to vim-8.2.4814.
Update to sysvinit-3.03.
Update to linux-5.17.5.
Update to gcc-11.3.0.
Update to coreutils-9.1.
Update to bc-5.2.4.

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