source: chapter08/gcc.xml@ cf65195

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

Automatic merge of trunk into multilib

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