source: chapter06/gcc.xml@ abbd53b8

multilib-10.1
Last change on this file since abbd53b8 was 5d327ae, checked in by Thomas Trepl <thomas@…>, 5 years ago

MultiLib: Merge changes from trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11618 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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