source: chapter06/gcc.xml@ 788f897

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

MultiLib: Merge changes from trunk

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

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