source: chapter08/gcc.xml@ 00e8b532

ml-11.0 multilib
Last change on this file since 00e8b532 was 00e8b532, checked in by Thomas Trepl (Moody) <thomas@…>, 3 years ago

Merge upstream changes

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