source: chapter08/gcc.xml@ fb5ad92

11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 bdubbs/gcc13 multilib renodr/libudev-from-systemd trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since fb5ad92 was fb5ad92, checked in by Xi Ruoyao <xry111@…>, 20 months ago

gcc: document that libssp is normally unused

We are enabling default SSP now, so if someone runs "ldd /usr/bin/true"
and see libssp is not used he/she may be puzzled.

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