source: chapter08/gcc.xml@ d9bec1e

multilib
Last change on this file since d9bec1e was d9bec1e, checked in by Thomas Trepl (Moody) <thomas@…>, 2 years ago

Automatic merge of trunk into multilib

  • Property mode set to 100644
File size: 24.5 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 <para>If building on x86_64, change the default directory name for 64-bit
53 libraries to <quote>lib</quote>:</para>
54
55<screen arch="default"><userinput remap="pre">case $(uname -m) in
56 x86_64)
57 sed -e '/m64=/s/lib64/lib/' \
58 -i.orig gcc/config/i386/t-linux64
59 ;;
60esac</userinput></screen>
61
62 <para arch="ml_32,ml_x32,ml_all">Change the default directory name for 64-bit
63 libraries to <quote>lib</quote>:</para>
64
65<screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \
66 -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \
67 -i.orig gcc/config/i386/t-linux64</userinput></screen>
68
69 <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
70
71<screen><userinput remap="pre">mkdir -v build
72cd build</userinput></screen>
73
74 <para>Prepare GCC for compilation:</para>
75
76<screen arch="default"><userinput remap="configure">../configure --prefix=/usr \
77 LD=ld \
78 --enable-languages=c,c++ \
79 --disable-multilib \
80 --disable-bootstrap \
81 --with-system-zlib</userinput></screen>
82<screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure"
83 arch="ml_32" >mlist=m64,m32</userinput><userinput remap="configure"
84 arch="ml_x32">mlist=m64,mx32</userinput><userinput remap="configure"
85 arch="ml_all">mlist=m64,m32,mx32</userinput>
86<userinput remap="configure">../configure --prefix=/usr \
87 LD=ld \
88 --enable-languages=c,c++ \
89 --enable-multilib \
90 --with-multilib-list=$mlist \
91 --disable-bootstrap \
92 --with-system-zlib</userinput></screen>
93
94 <para>Note that for other programming languages there are some prerequisites that
95 are not yet available. See the
96 <ulink url="&blfs-book;general/gcc.html">BLFS Book GCC page</ulink>
97 for instructions on how to build all of GCC's supported languages.</para>
98
99 <variablelist>
100 <title>The meaning of the new configure parameters:</title>
101
102 <varlistentry>
103 <term><parameter>LD=ld</parameter></term>
104 <listitem>
105 <para>This parameter makes the configure script use the ld installed
106 by the binutils built earlier in this chapter, rather than
107 the cross-built version which would otherwise be used.</para>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry>
112 <term><parameter>--with-system-zlib</parameter></term>
113 <listitem>
114 <para>This switch tells GCC to link to the system installed copy of
115 the zlib library, rather than its own internal copy.</para>
116 </listitem>
117 </varlistentry>
118 </variablelist>
119
120 <para>Compile the package:</para>
121
122<screen><userinput remap="make">make</userinput></screen>
123
124 <important>
125 <para>In this section, the test suite for GCC is considered
126 important, but it takes a long time. First time builders are
127 encouraged to not skip it. The time to run the tests can be
128 reduced significantly by adding -jx to the make command below
129 where x is the number of cores on your system.</para>
130 </important>
131
132 <para>One set of tests in the GCC test suite is known to exhaust the default
133 stack, so increase the stack size prior to running the tests:</para>
134
135<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
136
137 <para>Test the results as a non-privileged user, but do not stop at errors:</para>
138
139<screen><userinput remap="test">chown -Rv tester .
140su tester -c "PATH=$PATH make -k check"</userinput></screen>
141
142 <para>To receive a summary of the test suite results, run:</para>
143
144<screen><userinput remap="test">../contrib/test_summary</userinput></screen>
145
146 <para>For only the summaries, pipe the output through
147 <userinput>grep -A7 Summ</userinput>.</para>
148
149 <para>Results can be compared with those located at <ulink
150 url="&test-results;"/> and
151 <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
152
153 <!-- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101081 -->
154 <para>Eight tests related to analyzer are known to fail.</para>
155
156 <!-- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101751 -->
157 <para>One test named <filename>asan_test.C</filename> is known to
158 fail.</para>
159
160 <!-- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100117 -->
161 <para>In libstdc++, one test named <filename>49745.cc</filename> is
162 known to fail because the header dependencies in glibc have
163 changed.</para>
164
165 <para>In libstdc++, one numpunct test and six tests related to get_time are
166 known to fail. These are all because the locale definitions in glibc have
167 changed but libstdc++ does not currently support those changes.</para>
168
169 <para>A few unexpected failures cannot always be avoided. The GCC developers
170 are usually aware of these issues, but have not resolved them yet.
171 Unless the test results are vastly different from those at the above URL,
172 it is safe to continue.</para>
173
174 <!--note><para>
175 On some combinations of kernel configuration and AMD processors
176 there may be more than 1100 failures in the gcc.target/i386/mpx
177 tests (which are designed to test the MPX option on recent
178 Intel processors). These can safely be ignored on AMD
179 processors. These tests will also fail on Intel processors if MPX support
180 is not enabled in the kernel even though it is present on the CPU.
181 </para></note-->
182
183 <!-- PR 91085, will be fixed in GCC 12. -->
184 <para>Install the package and remove an unneeded directory:</para>
185
186<screen><userinput remap="install">make install
187rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/</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/*linux-gnu/&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 arch="default">A 32-bit system may see a few different directories. For example, here
278 is the output from an i686 machine:</para>
279
280<!-- not using entities here as the dir names has nothing to do with multilib -->
281<screen arch="default"><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")
282SEARCH_DIR("/usr/local/lib32")
283SEARCH_DIR("/lib32")
284SEARCH_DIR("/usr/lib32")
285SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
286SEARCH_DIR("/usr/local/lib")
287SEARCH_DIR("/lib")
288SEARCH_DIR("/usr/lib");</computeroutput></screen>
289
290 <para>Next make sure that we're using the correct libc:</para>
291
292<screen><userinput>grep "/lib.*/libc.so.6 " dummy.log</userinput></screen>
293
294 <para>The output of the last command should be:</para>
295
296<screen><computeroutput>attempt to open /usr/lib/libc.so.6 succeeded</computeroutput></screen>
297
298 <para>Make sure GCC is using the correct dynamic linker:</para>
299
300<screen><userinput>grep found dummy.log</userinput></screen>
301
302 <para>The output of the last command should be (allowing for
303 platform-specific differences in dynamic linker name):</para>
304
305<screen><computeroutput>found ld-linux-x86-64.so.2 at /usr/lib/ld-linux-x86-64.so.2</computeroutput></screen>
306
307 <para>If the output does not appear as shown above or is not received
308 at all, then something is seriously wrong. Investigate and retrace the
309 steps to find out where the problem is and correct it. <!--The most likely
310 reason is that something went wrong with the specs file adjustment.--> Any
311 issues will need to be resolved before continuing with the process.</para>
312
313 <para>Once everything is working correctly, clean up the test files:</para>
314
315<screen><userinput>rm -v dummy.c a.out dummy.log</userinput></screen>
316
317 <para>Finally, move a misplaced file:</para>
318
319<screen><userinput remap="install">mkdir -pv /usr/share/gdb/auto-load/usr/lib
320mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
321
322 </sect2>
323
324 <sect2 id="contents-gcc" role="content">
325 <title>Contents of GCC</title>
326
327 <segmentedlist>
328 <segtitle>Installed programs</segtitle>
329 <segtitle>Installed libraries</segtitle>
330 <segtitle>Installed directories</segtitle>
331
332 <seglistitem>
333 <seg>c++, cc (link to gcc), cpp, g++, gcc,
334 gcc-ar, gcc-nm, gcc-ranlib, gcov, gcov-dump, gcov-tool,
335 and lto-dump</seg>
336
337 <seg>libasan.{a,so}, libatomic.{a,so}, libcc1.so, libgcc.a, libgcc_eh.a,
338 libgcc_s.so, libgcov.a, libgomp.{a,so}, libitm.{a,so},
339 liblsan.{a,so}, liblto_plugin.so,
340 libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a,
341 libstdc++.{a,so}, libstdc++fs.a, libsupc++.a, libtsan.{a,so},
342 and libubsan.{a,so}</seg>
343
344 <seg>/usr/include/c++, /usr/lib/gcc, /usr/libexec/gcc, and
345 /usr/share/gcc-&gcc-version;</seg>
346 </seglistitem>
347 </segmentedlist>
348
349 <variablelist>
350 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
351 <?dbfo list-presentation="list"?>
352 <?dbhtml list-presentation="table"?>
353
354 <varlistentry id="c">
355 <term><command>c++</command></term>
356 <listitem>
357 <para>The C++ compiler</para>
358 <indexterm zone="ch-system-gcc c">
359 <primary sortas="b-c++">c++</primary>
360 </indexterm>
361 </listitem>
362 </varlistentry>
363
364 <varlistentry id="cc">
365 <term><command>cc</command></term>
366 <listitem>
367 <para>The C compiler</para>
368 <indexterm zone="ch-system-gcc cc">
369 <primary sortas="b-cc">cc</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
374 <varlistentry id="cpp">
375 <term><command>cpp</command></term>
376 <listitem>
377 <para>The C preprocessor; it is used by the compiler to expand the
378 #include, #define, and similar statements in the source files</para>
379 <indexterm zone="ch-system-gcc cpp">
380 <primary sortas="b-cpp">cpp</primary>
381 </indexterm>
382 </listitem>
383 </varlistentry>
384
385 <varlistentry id="g">
386 <term><command>g++</command></term>
387 <listitem>
388 <para>The C++ compiler</para>
389 <indexterm zone="ch-system-gcc g">
390 <primary sortas="b-g++">g++</primary>
391 </indexterm>
392 </listitem>
393 </varlistentry>
394
395 <varlistentry id="gcc">
396 <term><command>gcc</command></term>
397 <listitem>
398 <para>The C compiler</para>
399 <indexterm zone="ch-system-gcc gcc">
400 <primary sortas="b-gcc">gcc</primary>
401 </indexterm>
402 </listitem>
403 </varlistentry>
404
405 <varlistentry id="gcc-ar">
406 <term><command>gcc-ar</command></term>
407 <listitem>
408 <para>A wrapper around <command>ar</command> that adds a
409 plugin to the command line. This program is only used
410 to add "link time optimization" and is not useful with the
411 default build options</para>
412 <indexterm zone="ch-system-gcc gcc-ar">
413 <primary sortas="b-gcc-ar">gc-ar</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry id="gcc-nm">
419 <term><command>gcc-nm</command></term>
420 <listitem>
421 <para>A wrapper around <command>nm</command> that adds a
422 plugin to the command line. This program is only used
423 to add "link time optimization" and is not useful with the
424 default build options</para>
425 <indexterm zone="ch-system-gcc gcc-nm">
426 <primary sortas="b-gcc-nm">gc-nm</primary>
427 </indexterm>
428 </listitem>
429 </varlistentry>
430
431 <varlistentry id="gcc-ranlib">
432 <term><command>gcc-ranlib</command></term>
433 <listitem>
434 <para>A wrapper around <command>ranlib</command> that adds a
435 plugin to the command line. This program is only used
436 to add "link time optimization" and is not useful with the
437 default build options</para>
438 <indexterm zone="ch-system-gcc gcc-ranlib">
439 <primary sortas="b-gcc-ranlib">gc-ranlib</primary>
440 </indexterm>
441 </listitem>
442 </varlistentry>
443
444 <varlistentry id="gcov">
445 <term><command>gcov</command></term>
446 <listitem>
447 <para>A coverage testing tool; it is used to analyze programs to
448 determine where optimizations will have the most effect</para>
449 <indexterm zone="ch-system-gcc gcov">
450 <primary sortas="b-gcov">gcov</primary>
451 </indexterm>
452 </listitem>
453 </varlistentry>
454
455 <varlistentry id="gcov-dump">
456 <term><command>gcov-dump</command></term>
457 <listitem>
458 <para>Offline gcda and gcno profile dump tool</para>
459 <indexterm zone="ch-system-gcc gcov-dump">
460 <primary sortas="b-gcov-dump">gcov-dump</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="gcov-tool">
466 <term><command>gcov-tool</command></term>
467 <listitem>
468 <para>Offline gcda profile processing tool</para>
469 <indexterm zone="ch-system-gcc gcov-tool">
470 <primary sortas="b-gcov-tool">gcov-tool</primary>
471 </indexterm>
472 </listitem>
473 </varlistentry>
474
475 <varlistentry id="lto-dump">
476 <term><command>lto-dump</command></term>
477 <listitem>
478 <para>Tool for dumping object files produced by GCC with LTO
479 enabled</para>
480 <indexterm zone="ch-system-gcc lto-dump">
481 <primary sortas="b-lto-dump">lto-dump</primary>
482 </indexterm>
483 </listitem>
484 </varlistentry>
485
486 <varlistentry id="libasan">
487 <term><filename class="libraryfile">libasan</filename></term>
488 <listitem>
489 <para>The Address Sanitizer runtime library</para>
490 <indexterm zone="ch-system-gcc libasan">
491 <primary sortas="b-libasan">libasan</primary>
492 </indexterm>
493 </listitem>
494 </varlistentry>
495
496 <varlistentry id="libatomic">
497 <term><filename class="libraryfile">libatomic</filename></term>
498 <listitem>
499 <para>GCC atomic built-in runtime library</para>
500 <indexterm zone="ch-system-gcc libatomic">
501 <primary sortas="b-libatomic">libatomic</primary>
502 </indexterm>
503 </listitem>
504 </varlistentry>
505
506 <varlistentry id="libcc1">
507 <term><filename class="libraryfile">libcc1</filename></term>
508 <listitem>
509 <para>The C preprocessing library</para>
510 <indexterm zone="ch-system-gcc libcc1">
511 <primary sortas="b-libcc1">libcc1</primary>
512 </indexterm>
513 </listitem>
514 </varlistentry>
515
516 <varlistentry id="libgcc">
517 <term><filename class="libraryfile">libgcc</filename></term>
518 <listitem>
519 <para>Contains run-time support for <command>gcc</command></para>
520 <indexterm zone="ch-system-gcc libgcc">
521 <primary sortas="c-libgcc">libgcc</primary>
522 </indexterm>
523 </listitem>
524 </varlistentry>
525
526 <varlistentry id="libgcov">
527 <term><filename class="libraryfile">libgcov</filename></term>
528 <listitem>
529 <para>This library is linked in to a program when GCC is instructed
530 to enable profiling</para>
531 <indexterm zone="ch-system-gcc libgcov">
532 <primary sortas="c-libgcov">libgcov</primary>
533 </indexterm>
534 </listitem>
535 </varlistentry>
536
537 <varlistentry id="libgomp">
538 <term><filename class="libraryfile">libgomp</filename></term>
539 <listitem>
540 <para>GNU implementation of the OpenMP API for multi-platform
541 shared-memory parallel programming in C/C++ and Fortran</para>
542 <indexterm zone="ch-system-gcc libgomp">
543 <primary sortas="c-libgomp">libgomp</primary>
544 </indexterm>
545 </listitem>
546 </varlistentry>
547
548 <varlistentry id="libitm">
549 <term><filename class="libraryfile">libitm</filename></term>
550 <listitem>
551 <para>The GNU transactional memory library</para>
552 <indexterm zone="ch-system-gcc libitm">
553 <primary sortas="c-libitm">libitm</primary>
554 </indexterm>
555 </listitem>
556 </varlistentry>
557
558 <varlistentry id="liblsan">
559 <term><filename class="libraryfile">liblsan</filename></term>
560 <listitem>
561 <para>The Leak Sanitizer runtime library</para>
562 <indexterm zone="ch-system-gcc liblsan">
563 <primary sortas="c-liblsan">liblsan</primary>
564 </indexterm>
565 </listitem>
566 </varlistentry>
567
568 <varlistentry id="liblto_plugin">
569 <term><filename class="libraryfile">liblto_plugin</filename></term>
570 <listitem>
571 <para>GCC's LTO plugin allows binutils to process object files
572 produced by GCC with LTO enabled</para>
573 <indexterm zone="ch-system-gcc liblto_plugin">
574 <primary sortas="c-liblto_plugin">liblto_plugin</primary>
575 </indexterm>
576 </listitem>
577 </varlistentry>
578
579 <varlistentry id="libquadmath">
580 <term><filename class="libraryfile">libquadmath</filename></term>
581 <listitem>
582 <para>GCC Quad Precision Math Library API</para>
583 <indexterm zone="ch-system-gcc libquadmath">
584 <primary sortas="c-libquadmath">libquadmath</primary>
585 </indexterm>
586 </listitem>
587 </varlistentry>
588
589 <varlistentry id="libssp">
590 <term><filename class="libraryfile">libssp</filename></term>
591 <listitem>
592 <para>Contains routines supporting GCC's stack-smashing protection
593 functionality</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.