source: chapter08/gcc.xml@ 31ff88b

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

Automatic merge of trunk into multilib

  • Property mode set to 100644
File size: 23.8 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 <!-- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101081 -->
143 <para>Eight tests related to analyzer are known to fail.</para>
144
145 <!-- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101749 -->
146 <para>Seven tests related to <filename>pr59063-2.c</filename> are known
147 to fail.</para>
148
149 <!-- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101751 -->
150 <para>One test named <filename>asan_test.C</filename> is known to
151 fail.</para>
152
153 <!-- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100117 -->
154 <para>In libstdc++, one test named <filename>49745.cc</filename> is
155 known to fail because the header dependencies in glibc have have
156 changed.</para>
157
158 <para>In libstdc++, one numpunct test and six tests related to get_time are
159 known to fail. These are all because the locale definitions in glibc have
160 changed but libstdc++ does not currently support those changes.</para>
161
162 <para>A few unexpected failures cannot always be avoided. The GCC developers
163 are usually aware of these issues, but have not resolved them yet.
164 Unless the test results are vastly different from those at the above URL,
165 it is safe to continue.</para>
166
167 <!--note><para>
168 On some combinations of kernel configuration and AMD processors
169 there may be more than 1100 failures in the gcc.target/i386/mpx
170 tests (which are designed to test the MPX option on recent
171 Intel processors). These can safely be ignored on AMD
172 processors. These tests will also fail on Intel processors if MPX support
173 is not enabled in the kernel even though it is present on the CPU.
174 </para></note-->
175
176 <!-- PR 91085, will be fixed in GCC 12. -->
177 <para>Install the package and remove an unneeded directory:</para>
178
179<screen><userinput remap="install">make install
180rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/</userinput></screen>
181
182 <para>The GCC build directory is owned by <systemitem class="username">
183 tester</systemitem> now and the ownership of the installed header
184 directory (and its content) will be incorrect. Change the ownership to
185 <systemitem class="username">root</systemitem> user and group:</para>
186
187<screen><userinput remap="install">chown -v -R root:root \
188 /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed}</userinput></screen>
189
190 <para>Create a symlink required by the <ulink
191 url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>
192 for "historical" reasons.</para>
193
194<screen><userinput remap="install">ln -svr /usr/bin/cpp /usr/lib</userinput></screen>
195 <!-- already done earlier
196 <para>Many packages use the name <command>cc</command> to call the C
197 compiler. To satisfy those packages, create a symlink:</para>
198
199<screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen>
200 -->
201 <para>Add a compatibility symlink to enable building programs with
202 Link Time Optimization (LTO):</para>
203
204<screen><userinput remap="install">ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \
205 /usr/lib/bfd-plugins/</userinput></screen>
206
207 <para>Now that our final toolchain is in place, it is important to again ensure
208 that compiling and linking will work as expected. We do this by performing
209 some sanity checks:</para>
210
211 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
212 href="adjusting.xml"
213 xpointer="xpointer(//*[@os='a'])"/>
214
215 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
216 href="adjusting.xml"
217 xpointer="xpointer(//*[@os='b'])"/>
218
219 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
220 href="adjusting.xml"
221 xpointer="xpointer(//*[@os='c'])"/>
222
223 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
224 href="adjusting.xml"
225 xpointer="xpointer(//*[@os='d'])"/>
226
227 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
228 href="adjusting.xml"
229 xpointer="xpointer(//*[@os='e'])"/>
230
231 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
232 href="adjusting.xml"
233 xpointer="xpointer(//*[@os='f'])"/>
234
235<screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crt1.o succeeded
236/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded
237/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>
238
239 <para>Depending on your machine architecture, the above may differ slightly.
240 The difference will be the name of the directory
241 after <filename class="directory">/usr/lib/gcc</filename>. The important
242 thing to look for here is that <command>gcc</command> has found all three
243 <filename>crt*.o</filename> files under the
244 <filename class="directory">/usr/lib</filename> directory.</para>
245
246 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
247 href="adjusting.xml"
248 xpointer="xpointer(//*[@os='g'])"/>
249
250<screen><userinput>grep -B4 '^ /usr/include' dummy.log</userinput></screen>
251
252 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
253 href="adjusting.xml"
254 xpointer="xpointer(//*[@os='h'])"/>
255
256<screen><computeroutput>#include &lt;...&gt; search starts here:
257 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include
258 /usr/local/include
259 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include-fixed
260 /usr/include</computeroutput></screen>
261
262 <para>Again, the directory named after your target triplet may be
263 different than the above, depending on your system architecture.</para>
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. For example, here
287 is the output from an i686 machine:</para>
288
289<!-- not using entities here as the dir names has nothing to do with multilib -->
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/*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.