source: chapter08/gcc.xml@ d8a492a

11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next 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 d8a492a was d8a492a, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Fix gcc patch name in Chapter 8.

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