source: chapter06/gcc.xml@ 0efb8e1

multilib-10.1
Last change on this file since 0efb8e1 was 0efb8e1, checked in by Thomas Trepl <thomas@…>, 4 years ago

MultiLib: Merge changes from trunk

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

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