source: chapter06/gcc.xml@ 607ea0f

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

MultiLib: Merge changes from trunk
Upgrade isl-0.12
Upgrade linux-firmware-20190519

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

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