source: chapter08/gcc.xml@ 3c20ad9

multilib
Last change on this file since 3c20ad9 was 3c20ad9, checked in by Thomas Trepl (Moody) <thomas@…>, 20 months 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 or later:</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<!--
53 <para>First fix a problem with the latest version of glibc:</para>
54
55 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
56-->
57 <para>If building on x86_64, change the default directory name for 64-bit
58 libraries to <quote>lib</quote>:</para>
59
60<screen arch="default"><userinput remap="pre">case $(uname -m) in
61 x86_64)
62 sed -e '/m64=/s/lib64/lib/' \
63 -i.orig gcc/config/i386/t-linux64
64 ;;
65esac</userinput></screen>
66
67 <para arch="ml_32,ml_x32,ml_all">Change the default directory name for 64-bit
68 libraries to <quote>lib</quote>:</para>
69
70<screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \
71 -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \
72 -i.orig gcc/config/i386/t-linux64</userinput></screen>
73
74 <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
75
76<screen><userinput remap="pre">mkdir -v build
77cd build</userinput></screen>
78
79 <para>Prepare GCC for compilation:</para>
80
81<screen arch="default"><userinput remap="configure">../configure --prefix=/usr \
82 LD=ld \
83 --enable-languages=c,c++ \
84 --enable-default-pie \
85 --enable-default-ssp \
86 --disable-multilib \
87 --disable-bootstrap \
88 --with-system-zlib</userinput></screen>
89<screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure"
90 arch="ml_32" >mlist=m64,m32</userinput><userinput remap="configure"
91 arch="ml_x32">mlist=m64,mx32</userinput><userinput remap="configure"
92 arch="ml_all">mlist=m64,m32,mx32</userinput>
93<userinput remap="configure">../configure --prefix=/usr \
94 LD=ld \
95 --enable-languages=c,c++ \
96 --enable-multilib \
97 --with-multilib-list=$mlist \
98 --disable-bootstrap \
99 --with-system-zlib</userinput></screen>
100
101 <para>Note that for other programming languages there are some prerequisites that
102 are not yet available. See the
103 <ulink url="&blfs-book;general/gcc.html">BLFS Book GCC page</ulink>
104 for instructions on how to build all of GCC's supported languages.</para>
105
106 <variablelist>
107 <title>The meaning of the new configure parameters:</title>
108
109 <varlistentry>
110 <term><parameter>LD=ld</parameter></term>
111 <listitem>
112 <para>This parameter makes the configure script use the ld installed
113 by the binutils built earlier in this chapter, rather than
114 the cross-built version which would otherwise be used.</para>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry>
119 <term><parameter>--with-system-zlib</parameter></term>
120 <listitem>
121 <para>This switch tells GCC to link to the system installed copy of
122 the zlib library, rather than its own internal copy.</para>
123 </listitem>
124 </varlistentry>
125 </variablelist>
126
127 <para>Compile the package:</para>
128
129<screen><userinput remap="make">make</userinput></screen>
130
131 <important>
132 <para>In this section, the test suite for GCC is considered
133 important, but it takes a long time. First time builders are
134 encouraged to not skip it. The time to run the tests can be
135 reduced significantly by adding -jx to the make command below
136 where x is the number of cores on your system.</para>
137 </important>
138
139 <para>One set of tests in the GCC test suite is known to exhaust the default
140 stack, so increase the stack size prior to running the tests:</para>
141
142<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
143
144 <para>Test the results as a non-privileged user, but do not stop at errors:</para>
145
146<screen><userinput remap="test">chown -Rv tester .
147su tester -c "PATH=$PATH make -k check"</userinput></screen>
148
149 <para>To receive a summary of the test suite results, run:</para>
150
151<screen><userinput remap="test">../contrib/test_summary</userinput></screen>
152
153 <para>For only the summaries, pipe the output through
154 <userinput>grep -A7 Summ</userinput>.</para>
155
156 <para>Results can be compared with those located at <ulink
157 url="&test-results;"/> and
158 <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
159
160 <para>In g++, four tests related to PR100400 are known to be reported
161 as both XPASS and FAIL. It's because the test file for this known issue
162 is not well written.</para>
163
164 <para>A few unexpected failures cannot always be avoided. The GCC developers
165 are usually aware of these issues, but have not resolved them yet.
166 Unless the test results are vastly different from those at the above URL,
167 it is safe to continue.</para>
168
169 <!--note><para>
170 On some combinations of kernel configuration and AMD processors
171 there may be more than 1100 failures in the gcc.target/i386/mpx
172 tests (which are designed to test the MPX option on recent
173 Intel processors). These can safely be ignored on AMD
174 processors. These tests will also fail on Intel processors if MPX support
175 is not enabled in the kernel even though it is present on the CPU.
176 </para></note-->
177
178 <para>Install the package:</para>
179
180<screen><userinput remap="install">make install</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/$(gcc -dumpmachine)/&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<screen><userinput>echo 'int main(){}' &gt; dummy.c
212cc dummy.c -v -Wl,--verbose &amp;&gt; dummy.log
213readelf -l a.out | grep ': /lib'</userinput></screen>
214
215 <para>There should be no errors,
216 and the output of the last command will be (allowing for
217 platform-specific differences in the dynamic linker name):</para>
218
219<screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
220
221 <para>Now make sure that we're setup to use the correct start files:</para>
222
223<screen><userinput>grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log</userinput></screen>
224
225 <para>The output of the last command should be:</para>
226
227<screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crt1.o succeeded
228/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded
229/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>
230
231 <para>Depending on your machine architecture, the above may differ slightly.
232 The difference will be the name of the directory
233 after <filename class="directory">/usr/lib/gcc</filename>. The important
234 thing to look for here is that <command>gcc</command> has found all three
235 <filename>crt*.o</filename> files under the
236 <filename class="directory">/usr/lib</filename> directory.</para>
237
238 <para>Verify that the compiler is searching for the correct header
239 files:</para>
240
241<screen><userinput>grep -B4 '^ /usr/include' dummy.log</userinput></screen>
242
243 <para>This command should return the following output:</para>
244
245<screen><computeroutput>#include &lt;...&gt; search starts here:
246 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include
247 /usr/local/include
248 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include-fixed
249 /usr/include</computeroutput></screen>
250
251 <para>Again, the directory named after your target triplet may be
252 different than the above, depending on your system architecture.</para>
253
254 <para>Next, verify that the new linker is being used with the correct search paths:</para>
255
256<screen><userinput>grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'</userinput></screen>
257
258 <para>References to paths that have components with '-linux-gnu' should
259 be ignored, but otherwise the output of the last command should be:</para>
260
261<screen><computeroutput>SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64")
262SEARCH_DIR("/usr/local/lib64")
263SEARCH_DIR("/lib64")
264SEARCH_DIR("/usr/lib64")
265SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")
266SEARCH_DIR("/usr/local/lib")
267SEARCH_DIR("/lib")
268SEARCH_DIR("/usr/lib");</computeroutput></screen>
269
270 <para arch="default">A 32-bit system may see a few different directories. For example, here
271 is the output from an i686 machine:</para>
272
273<!-- not using entities here as the dir names has nothing to do with multilib -->
274<screen arch="default"><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")
275SEARCH_DIR("/usr/local/lib32")
276SEARCH_DIR("/lib32")
277SEARCH_DIR("/usr/lib32")
278SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
279SEARCH_DIR("/usr/local/lib")
280SEARCH_DIR("/lib")
281SEARCH_DIR("/usr/lib");</computeroutput></screen>
282
283 <para>Next make sure that we're using the correct libc:</para>
284
285<screen><userinput>grep "/lib.*/libc.so.6 " dummy.log</userinput></screen>
286
287 <para>The output of the last command should be:</para>
288
289<screen><computeroutput>attempt to open /usr/lib/libc.so.6 succeeded</computeroutput></screen>
290
291 <para>Make sure GCC is using the correct dynamic linker:</para>
292
293<screen><userinput>grep found dummy.log</userinput></screen>
294
295 <para>The output of the last command should be (allowing for
296 platform-specific differences in dynamic linker name):</para>
297
298<screen><computeroutput>found ld-linux-x86-64.so.2 at /usr/lib/ld-linux-x86-64.so.2</computeroutput></screen>
299
300 <para>If the output does not appear as shown above or is not received
301 at all, then something is seriously wrong. Investigate and retrace the
302 steps to find out where the problem is and correct it. <!--The most likely
303 reason is that something went wrong with the specs file adjustment.--> Any
304 issues will need to be resolved before continuing with the process.</para>
305
306 <para>Once everything is working correctly, clean up the test files:</para>
307
308<screen><userinput>rm -v dummy.c a.out dummy.log</userinput></screen>
309
310 <para>Finally, move a misplaced file:</para>
311
312<screen><userinput remap="install">mkdir -pv /usr/share/gdb/auto-load/usr/lib
313mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
314
315 </sect2>
316
317 <sect2 id="contents-gcc" role="content">
318 <title>Contents of GCC</title>
319
320 <segmentedlist>
321 <segtitle>Installed programs</segtitle>
322 <segtitle>Installed libraries</segtitle>
323 <segtitle>Installed directories</segtitle>
324
325 <seglistitem>
326 <seg>c++, cc (link to gcc), cpp, g++, gcc,
327 gcc-ar, gcc-nm, gcc-ranlib, gcov, gcov-dump, gcov-tool,
328 and lto-dump</seg>
329
330 <seg>libasan.{a,so}, libatomic.{a,so}, libcc1.so, libgcc.a, libgcc_eh.a,
331 libgcc_s.so, libgcov.a, libgomp.{a,so}, libitm.{a,so},
332 liblsan.{a,so}, liblto_plugin.so,
333 libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a,
334 libstdc++.{a,so}, libstdc++fs.a, libsupc++.a, libtsan.{a,so},
335 and libubsan.{a,so}</seg>
336
337 <seg>/usr/include/c++, /usr/lib/gcc, /usr/libexec/gcc, and
338 /usr/share/gcc-&gcc-version;</seg>
339 </seglistitem>
340 </segmentedlist>
341
342 <variablelist>
343 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
344 <?dbfo list-presentation="list"?>
345 <?dbhtml list-presentation="table"?>
346
347 <varlistentry id="c">
348 <term><command>c++</command></term>
349 <listitem>
350 <para>The C++ compiler</para>
351 <indexterm zone="ch-system-gcc c">
352 <primary sortas="b-c++">c++</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="cc">
358 <term><command>cc</command></term>
359 <listitem>
360 <para>The C compiler</para>
361 <indexterm zone="ch-system-gcc cc">
362 <primary sortas="b-cc">cc</primary>
363 </indexterm>
364 </listitem>
365 </varlistentry>
366
367 <varlistentry id="cpp">
368 <term><command>cpp</command></term>
369 <listitem>
370 <para>The C preprocessor; it is used by the compiler to expand the
371 #include, #define, and similar statements in the source files</para>
372 <indexterm zone="ch-system-gcc cpp">
373 <primary sortas="b-cpp">cpp</primary>
374 </indexterm>
375 </listitem>
376 </varlistentry>
377
378 <varlistentry id="g">
379 <term><command>g++</command></term>
380 <listitem>
381 <para>The C++ compiler</para>
382 <indexterm zone="ch-system-gcc g">
383 <primary sortas="b-g++">g++</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="gcc">
389 <term><command>gcc</command></term>
390 <listitem>
391 <para>The C compiler</para>
392 <indexterm zone="ch-system-gcc gcc">
393 <primary sortas="b-gcc">gcc</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
397
398 <varlistentry id="gcc-ar">
399 <term><command>gcc-ar</command></term>
400 <listitem>
401 <para>A wrapper around <command>ar</command> that adds a
402 plugin to the command line. This program is only used
403 to add "link time optimization" and is not useful with the
404 default build options</para>
405 <indexterm zone="ch-system-gcc gcc-ar">
406 <primary sortas="b-gcc-ar">gc-ar</primary>
407 </indexterm>
408 </listitem>
409 </varlistentry>
410
411 <varlistentry id="gcc-nm">
412 <term><command>gcc-nm</command></term>
413 <listitem>
414 <para>A wrapper around <command>nm</command> that adds a
415 plugin to the command line. This program is only used
416 to add "link time optimization" and is not useful with the
417 default build options</para>
418 <indexterm zone="ch-system-gcc gcc-nm">
419 <primary sortas="b-gcc-nm">gc-nm</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
424 <varlistentry id="gcc-ranlib">
425 <term><command>gcc-ranlib</command></term>
426 <listitem>
427 <para>A wrapper around <command>ranlib</command> that adds a
428 plugin to the command line. This program is only used
429 to add "link time optimization" and is not useful with the
430 default build options</para>
431 <indexterm zone="ch-system-gcc gcc-ranlib">
432 <primary sortas="b-gcc-ranlib">gc-ranlib</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="gcov">
438 <term><command>gcov</command></term>
439 <listitem>
440 <para>A coverage testing tool; it is used to analyze programs to
441 determine where optimizations will have the most effect</para>
442 <indexterm zone="ch-system-gcc gcov">
443 <primary sortas="b-gcov">gcov</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 <varlistentry id="gcov-dump">
449 <term><command>gcov-dump</command></term>
450 <listitem>
451 <para>Offline gcda and gcno profile dump tool</para>
452 <indexterm zone="ch-system-gcc gcov-dump">
453 <primary sortas="b-gcov-dump">gcov-dump</primary>
454 </indexterm>
455 </listitem>
456 </varlistentry>
457
458 <varlistentry id="gcov-tool">
459 <term><command>gcov-tool</command></term>
460 <listitem>
461 <para>Offline gcda profile processing tool</para>
462 <indexterm zone="ch-system-gcc gcov-tool">
463 <primary sortas="b-gcov-tool">gcov-tool</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="lto-dump">
469 <term><command>lto-dump</command></term>
470 <listitem>
471 <para>Tool for dumping object files produced by GCC with LTO
472 enabled</para>
473 <indexterm zone="ch-system-gcc lto-dump">
474 <primary sortas="b-lto-dump">lto-dump</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="libasan">
480 <term><filename class="libraryfile">libasan</filename></term>
481 <listitem>
482 <para>The Address Sanitizer runtime library</para>
483 <indexterm zone="ch-system-gcc libasan">
484 <primary sortas="b-libasan">libasan</primary>
485 </indexterm>
486 </listitem>
487 </varlistentry>
488
489 <varlistentry id="libatomic">
490 <term><filename class="libraryfile">libatomic</filename></term>
491 <listitem>
492 <para>GCC atomic built-in runtime library</para>
493 <indexterm zone="ch-system-gcc libatomic">
494 <primary sortas="b-libatomic">libatomic</primary>
495 </indexterm>
496 </listitem>
497 </varlistentry>
498
499 <varlistentry id="libcc1">
500 <term><filename class="libraryfile">libcc1</filename></term>
501 <listitem>
502 <para>The C preprocessing library</para>
503 <indexterm zone="ch-system-gcc libcc1">
504 <primary sortas="b-libcc1">libcc1</primary>
505 </indexterm>
506 </listitem>
507 </varlistentry>
508
509 <varlistentry id="libgcc">
510 <term><filename class="libraryfile">libgcc</filename></term>
511 <listitem>
512 <para>Contains run-time support for <command>gcc</command></para>
513 <indexterm zone="ch-system-gcc libgcc">
514 <primary sortas="c-libgcc">libgcc</primary>
515 </indexterm>
516 </listitem>
517 </varlistentry>
518
519 <varlistentry id="libgcov">
520 <term><filename class="libraryfile">libgcov</filename></term>
521 <listitem>
522 <para>This library is linked in to a program when GCC is instructed
523 to enable profiling</para>
524 <indexterm zone="ch-system-gcc libgcov">
525 <primary sortas="c-libgcov">libgcov</primary>
526 </indexterm>
527 </listitem>
528 </varlistentry>
529
530 <varlistentry id="libgomp">
531 <term><filename class="libraryfile">libgomp</filename></term>
532 <listitem>
533 <para>GNU implementation of the OpenMP API for multi-platform
534 shared-memory parallel programming in C/C++ and Fortran</para>
535 <indexterm zone="ch-system-gcc libgomp">
536 <primary sortas="c-libgomp">libgomp</primary>
537 </indexterm>
538 </listitem>
539 </varlistentry>
540
541 <varlistentry id="libitm">
542 <term><filename class="libraryfile">libitm</filename></term>
543 <listitem>
544 <para>The GNU transactional memory library</para>
545 <indexterm zone="ch-system-gcc libitm">
546 <primary sortas="c-libitm">libitm</primary>
547 </indexterm>
548 </listitem>
549 </varlistentry>
550
551 <varlistentry id="liblsan">
552 <term><filename class="libraryfile">liblsan</filename></term>
553 <listitem>
554 <para>The Leak Sanitizer runtime library</para>
555 <indexterm zone="ch-system-gcc liblsan">
556 <primary sortas="c-liblsan">liblsan</primary>
557 </indexterm>
558 </listitem>
559 </varlistentry>
560
561 <varlistentry id="liblto_plugin">
562 <term><filename class="libraryfile">liblto_plugin</filename></term>
563 <listitem>
564 <para>GCC's LTO plugin allows binutils to process object files
565 produced by GCC with LTO enabled</para>
566 <indexterm zone="ch-system-gcc liblto_plugin">
567 <primary sortas="c-liblto_plugin">liblto_plugin</primary>
568 </indexterm>
569 </listitem>
570 </varlistentry>
571
572 <varlistentry id="libquadmath">
573 <term><filename class="libraryfile">libquadmath</filename></term>
574 <listitem>
575 <para>GCC Quad Precision Math Library API</para>
576 <indexterm zone="ch-system-gcc libquadmath">
577 <primary sortas="c-libquadmath">libquadmath</primary>
578 </indexterm>
579 </listitem>
580 </varlistentry>
581
582 <varlistentry id="libssp">
583 <term><filename class="libraryfile">libssp</filename></term>
584 <listitem>
585 <para>Contains routines supporting GCC's stack-smashing protection
586 functionality</para>
587 <indexterm zone="ch-system-gcc libssp">
588 <primary sortas="c-libssp">libssp</primary>
589 </indexterm>
590 </listitem>
591 </varlistentry>
592
593 <varlistentry id="libstdc">
594 <term><filename class="libraryfile">libstdc++</filename></term>
595 <listitem>
596 <para>The standard C++ library</para>
597 <indexterm zone="ch-system-gcc libstdc">
598 <primary sortas="c-libstdc++">libstdc++</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="libstdcfs">
604 <term><filename class="libraryfile">libstdc++fs</filename></term>
605 <listitem>
606 <para>ISO/IEC TS 18822:2015 Filesystem library</para>
607 <indexterm zone="ch-system-gcc libstdcfs">
608 <primary sortas="c-libstdc++fs">libstdc++fs</primary>
609 </indexterm>
610 </listitem>
611 </varlistentry>
612
613 <varlistentry id="libsupc">
614 <term><filename class="libraryfile">libsupc++</filename></term>
615 <listitem>
616 <para>Provides supporting routines for the C++ programming
617 language</para>
618 <indexterm zone="ch-system-gcc libsupc">
619 <primary sortas="c-libsupc++">libsupc++</primary>
620 </indexterm>
621 </listitem>
622 </varlistentry>
623
624 <varlistentry id="libtsan">
625 <term><filename class="libraryfile">libtsan</filename></term>
626 <listitem>
627 <para>The Thread Sanitizer runtime library</para>
628 <indexterm zone="ch-system-gcc libtsan">
629 <primary sortas="c-libtsan">libtsan</primary>
630 </indexterm>
631 </listitem>
632 </varlistentry>
633
634 <varlistentry id="libubsan">
635 <term><filename class="libraryfile">libubsan</filename></term>
636 <listitem>
637 <para>The Undefined Behavior Sanitizer runtime library</para>
638 <indexterm zone="ch-system-gcc libubsan">
639 <primary sortas="c-libubsan">libubsan</primary>
640 </indexterm>
641 </listitem>
642 </varlistentry>
643
644 </variablelist>
645
646 </sect2>
647
648</sect1>
Note: See TracBrowser for help on using the repository browser.