source: chapter06/gcc.xml@ bc12dcb

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

Merge upstream; Upgrade isl+firmware; add description to glibc

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

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