source: chapter08/gcc.xml@ 8b9efe67

xry111/arm64 xry111/arm64-12.0
Last change on this file since 8b9efe67 was 8b9efe67, checked in by Xi Ruoyao <xry111@…>, 20 months ago

arm64: update ELF loader paths

See https://sourceware.org/glibc/wiki/ABIList#aarch64.

  • 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-->
[f2af13d]52<!--
[1b11115]53 <para>First fix a problem with the latest version of glibc:</para>
54
55 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
[f2af13d]56-->
[9334a3f]57 <para>On ARM64 hosts, set the default directory name for
58 64-bit libraries to <quote>lib</quote>:</para>
[be3d9f3]59
[9334a3f]60<screen><userinput remap="pre">sed -e '/lp64=/s/lib64/lib/' \
61 -i.orig gcc/config/aarch64/t-aarch64-linux</userinput></screen>
[be3d9f3]62
[f1dd547]63 <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
[73aedd1d]64
[f1dd547]65<screen><userinput remap="pre">mkdir -v build
66cd build</userinput></screen>
[73aedd1d]67
[6a82dd9]68 <para>Prepare GCC for compilation:</para>
[73aedd1d]69
[efcb393]70<screen><userinput remap="configure">../configure --prefix=/usr \
71 LD=ld \
[f1dd547]72 --enable-languages=c,c++ \
73 --disable-multilib \
74 --disable-bootstrap \
75 --with-system-zlib</userinput></screen>
[73aedd1d]76
[6a156bab]77 <para>Note that for other programming languages there are some prerequisites that
[93756f6]78 are not yet available. See the
[6a156bab]79 <ulink url="&blfs-book;general/gcc.html">BLFS Book GCC page</ulink>
[93756f6]80 for instructions on how to build all of GCC's supported languages.</para>
[182d5d3]81
[ae4d45a]82 <variablelist>
[a89ab79]83 <title>The meaning of the new configure parameters:</title>
84
85 <varlistentry>
86 <term><parameter>LD=ld</parameter></term>
87 <listitem>
88 <para>This parameter makes the configure script use the ld installed
[6a156bab]89 by the binutils built earlier in this chapter, rather than
[a89ab79]90 the cross-built version which would otherwise be used.</para>
91 </listitem>
92 </varlistentry>
[cde2ae7]93
[ae4d45a]94 <varlistentry>
95 <term><parameter>--with-system-zlib</parameter></term>
96 <listitem>
97 <para>This switch tells GCC to link to the system installed copy of
[6a156bab]98 the zlib library, rather than its own internal copy.</para>
[ae4d45a]99 </listitem>
100 </varlistentry>
101 </variablelist>
102
[6a82dd9]103 <para>Compile the package:</para>
[73aedd1d]104
[0445a3d]105<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]106
[6a82dd9]107 <important>
108 <para>In this section, the test suite for GCC is considered
[1f201845]109 important, but it takes a long time. First time builders are
110 encouraged to not skip it. The time to run the tests can be
111 reduced significantly by adding -jx to the make command below
112 where x is the number of cores on your system.</para>
[6a82dd9]113 </important>
[81fd230]114
[6a156bab]115 <para>One set of tests in the GCC test suite is known to exhaust the default
116 stack, so increase the stack size prior to running the tests:</para>
[4e48f56e]117
[2efa44a]118<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
[4e48f56e]119
[76db8d6]120 <para>Test the results as a non-privileged user, but do not stop at errors:</para>
121
[d672ab7]122<screen><userinput remap="test">chown -Rv tester .
[ae7f075]123su tester -c "PATH=$PATH make -k check"</userinput></screen>
[73aedd1d]124
[9278974d]125 <para>To receive a summary of the test suite results, run:</para>
126
[f1dd547]127<screen><userinput remap="test">../contrib/test_summary</userinput></screen>
[9278974d]128
129 <para>For only the summaries, pipe the output through
130 <userinput>grep -A7 Summ</userinput>.</para>
131
132 <para>Results can be compared with those located at <ulink
[98e7ac4]133 url="&test-results;"/> and
[b30de8f]134 <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
[9278974d]135
[6edc3b4]136 <para>In g++, four tests related to PR100400 are known to be reported
137 as both XPASS and FAIL. It's because the test file for this known issue
138 is not well written.</para>
[d7a9421]139
[9278974d]140 <para>A few unexpected failures cannot always be avoided. The GCC developers
[0238d49]141 are usually aware of these issues, but have not resolved them yet.
[9278974d]142 Unless the test results are vastly different from those at the above URL,
143 it is safe to continue.</para>
[73aedd1d]144
[ac95fdb]145 <!--note><para>
[e3e989a]146 On some combinations of kernel configuration and AMD processors
147 there may be more than 1100 failures in the gcc.target/i386/mpx
148 tests (which are designed to test the MPX option on recent
149 Intel processors). These can safely be ignored on AMD
[1c8cc71]150 processors. These tests will also fail on Intel processors if MPX support
151 is not enabled in the kernel even though it is present on the CPU.
[ac95fdb]152 </para></note-->
[e3e989a]153
[bd08757]154 <para>Install the package:</para>
[73aedd1d]155
[bd08757]156<screen><userinput remap="install">make install</userinput></screen>
[73aedd1d]157
[e6db175]158 <para>The GCC build directory is owned by <systemitem class="username">
[ae7f075]159 tester</systemitem> now and the ownership of the installed header
[bf0ad1a]160 directory (and its content) will be incorrect. Change the ownership to
[e6db175]161 <systemitem class="username">root</systemitem> user and group:</para>
162
163<screen><userinput remap="install">chown -v -R root:root \
[9c43803]164 /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include{,-fixed}</userinput></screen>
[e6db175]165
[60b23a6f]166 <para>Create a symlink required by the <ulink
[b30de8f]167 url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>
[60b23a6f]168 for "historical" reasons.</para>
[73aedd1d]169
[9c3ce2a]170<screen><userinput remap="install">ln -svr /usr/bin/cpp /usr/lib</userinput></screen>
[efcb393]171 <!-- already done earlier
[6a82dd9]172 <para>Many packages use the name <command>cc</command> to call the C
173 compiler. To satisfy those packages, create a symlink:</para>
[1ba726f]174
[0445a3d]175<screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen>
[efcb393]176 -->
[6206f72]177 <para>Add a compatibility symlink to enable building programs with
[d672ab7]178 Link Time Optimization (LTO):</para>
[6206f72]179
[f36db31]180<screen><userinput remap="install">ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \
[040ecb6]181 /usr/lib/bfd-plugins/</userinput></screen>
[6206f72]182
[09f1daf]183 <para>Now that our final toolchain is in place, it is important to again ensure
184 that compiling and linking will work as expected. We do this by performing
[6a156bab]185 some sanity checks:</para>
[09f1daf]186
[a4f63e4]187<screen><userinput>echo 'int main(){}' &gt; dummy.c
188cc dummy.c -v -Wl,--verbose &amp;&gt; dummy.log
189readelf -l a.out | grep ': /lib'</userinput></screen>
[09f1daf]190
[a4f63e4]191 <para>There should be no errors,
192 and the output of the last command will be (allowing for
193 platform-specific differences in the dynamic linker name):</para>
[09f1daf]194
[8b9efe67]195<screen><computeroutput>[Requesting program interpreter: /lib/ld-linux-aarch64.so.1]</computeroutput></screen>
[09f1daf]196
[a4f63e4]197 <para>Now make sure that we're setup to use the correct start files:</para>
[09f1daf]198
[a4f63e4]199<screen><userinput>grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log</userinput></screen>
[09f1daf]200
[a4f63e4]201 <para>The output of the last command should be:</para>
[09f1daf]202
[98e7ac4]203<screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crt1.o succeeded
204/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded
205/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>
[09f1daf]206
[6a156bab]207 <para>Depending on your machine architecture, the above may differ slightly.
208 The difference will be the name of the directory
[be3d9f3]209 after <filename class="directory">/usr/lib/gcc</filename>. The important
210 thing to look for here is that <command>gcc</command> has found all three
[5f7456b]211 <filename>crt*.o</filename> files under the
212 <filename class="directory">/usr/lib</filename> directory.</para>
[6e88633]213
[a4f63e4]214 <para>Verify that the compiler is searching for the correct header
215 files:</para>
[09f1daf]216
[041c8f67]217<screen><userinput>grep -B4 '^ /usr/include' dummy.log</userinput></screen>
[e9a652b]218
[a4f63e4]219 <para>This command should return the following output:</para>
[09f1daf]220
[e9a652b]221<screen><computeroutput>#include &lt;...&gt; search starts here:
[98e7ac4]222 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include
[c528e3a]223 /usr/local/include
[98e7ac4]224 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include-fixed
[e9a652b]225 /usr/include</computeroutput></screen>
226
[6a156bab]227 <para>Again, the directory named after your target triplet may be
228 different than the above, depending on your system architecture.</para>
[3f39abf3]229
[a4f63e4]230 <para>Next, verify that the new linker is being used with the correct search paths:</para>
[09f1daf]231
[a4f63e4]232<screen><userinput>grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'</userinput></screen>
[09f1daf]233
[a4f63e4]234 <para>References to paths that have components with '-linux-gnu' should
235 be ignored, but otherwise the output of the last command should be:</para>
[09f1daf]236
[98e7ac4]237<screen><computeroutput>SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64")
238SEARCH_DIR("/usr/local/lib64")
239SEARCH_DIR("/lib64")
240SEARCH_DIR("/usr/lib64")
241SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")
[e9a652b]242SEARCH_DIR("/usr/local/lib")
243SEARCH_DIR("/lib")
[6e88633]244SEARCH_DIR("/usr/lib");</computeroutput></screen>
245
[98e7ac4]246 <para>A 32-bit system may see a few different directories. For example, here
247 is the output from an i686 machine:</para>
[6e88633]248
[98e7ac4]249<screen><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")
250SEARCH_DIR("/usr/local/lib32")
251SEARCH_DIR("/lib32")
252SEARCH_DIR("/usr/lib32")
253SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
[6e88633]254SEARCH_DIR("/usr/local/lib")
255SEARCH_DIR("/lib")
[e9a652b]256SEARCH_DIR("/usr/lib");</computeroutput></screen>
257
[a4f63e4]258 <para>Next make sure that we're using the correct libc:</para>
[09f1daf]259
[a4f63e4]260<screen><userinput>grep "/lib.*/libc.so.6 " dummy.log</userinput></screen>
[09f1daf]261
[a4f63e4]262 <para>The output of the last command should be:</para>
[09f1daf]263
[a4f63e4]264<screen><computeroutput>attempt to open /usr/lib/libc.so.6 succeeded</computeroutput></screen>
[09f1daf]265
[a4f63e4]266 <para>Make sure GCC is using the correct dynamic linker:</para>
[09f1daf]267
[a4f63e4]268<screen><userinput>grep found dummy.log</userinput></screen>
[09f1daf]269
[a4f63e4]270 <para>The output of the last command should be (allowing for
271 platform-specific differences in dynamic linker name):</para>
[09f1daf]272
[8b9efe67]273<screen><computeroutput>found ld-linux-aarch64.so.1 at /usr/lib/ld-linux-aarch64.so.1</computeroutput></screen>
[09f1daf]274
[a4f63e4]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
[a4f63e4]281 <para>Once everything is working correctly, clean up the test files:</para>
[e9a652b]282
[a4f63e4]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,
308 libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a,
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.