source: chapter08/gcc.xml@ eeecd89

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

Automatic merge of trunk into multilib

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