source: chapter08/gcc.xml@ 1bade3f

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 1bade3f was 1bade3f, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

Document the --enable-default-pie/ssp options

Also document test failures in gcc chapter 8

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