source: chapter06/gcc.xml@ a23757b

multilib-10.1
Last change on this file since a23757b was ee1a413, checked in by Thomas Trepl <thomas@…>, 5 years ago

Change profiling attribute to enable selection of m32 and/or mx32. Fixes #4452.

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

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