source: chapter06/gcc.xml@ 5e32d30

10.0 10.0-rc1 10.1 10.1-rc1 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 9.1 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 5e32d30 was 5e32d30, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to vim-8.2.0190.
Update to binutils-2.34.
Update to glibc-2.31.
Update to linux-5.5.1.
Update to bc-2.5.3.
Update to iproute2-5.5.0.
Update to util-linux 2.35.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11738 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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