source: chapter08/gcc.xml@ f4facc4

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

Merge remote-tracking branch 'origin/trunk' into xry111/arm64

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