source: chapter06/gcc.xml@ 020068e

8.4
Last change on this file since 020068e was d4407c7, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Disable deprecated mpx code in gcc

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11457 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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