source: chapter08/gcc.xml@ 6ff520f

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

Automatic merge of trunk into multilib

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