source: chapter08/gcc.xml@ 5365c7a

xry111/mips64el
Last change on this file since 5365c7a was 5365c7a, checked in by Xi Ruoyao <xry111@…>, 2 weeks ago

Merge remote-tracking branch 'origin/trunk' into xry111/mips64el

  • Property mode set to 100644
File size: 24.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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-fin-sbu;</seg>
35 <seg>&gcc-fin-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of GCC</title>
43
44 <para>For building on 64-bit MIPS, change the default directory name for
45 64-bit libraries to <quote>lib</quote>:</para>
46
47<screen><userinput remap="pre">sed -e 's/lib64/lib/' \
48 -i.orig gcc/config/mips/{mips.h,t-linux64}</userinput></screen>
49
50 <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
51
52<screen><userinput remap="pre">mkdir -v build
53cd build</userinput></screen>
54
55 <para>Prepare GCC for compilation:</para>
56
57<screen><userinput remap="configure">../configure --prefix=/usr \
58 LD=ld \
59 --enable-languages=c,c++ \
60 --enable-default-pie \
61 --enable-default-ssp \
62 --enable-host-pie \
63 --disable-multilib \
64 --disable-bootstrap \
65 --disable-fixincludes \
66 --with-arch=mips64r2 \
67 --with-system-zlib \
68 $(cc -v 2>&amp;1 | grep -o .-with-nan=2008)</userinput></screen>
69
70 <para>GCC supports seven different computer languages, but the
71 prerequisites for most of them have not yet been installed. See the
72 <ulink url="&blfs-book;general/gcc.html">BLFS Book GCC page</ulink>
73 for instructions on how to build all of GCC's supported languages.</para>
74
75 <variablelist>
76 <title>The meaning of the new configure parameters:</title>
77
78 <varlistentry>
79 <term><parameter>LD=ld</parameter></term>
80 <listitem>
81 <para>This parameter makes the configure script use the ld program installed
82 by the Binutils package built earlier in this chapter, rather than
83 the cross-built version which would otherwise be used.</para>
84 </listitem>
85 </varlistentry>
86
87 <varlistentry>
88 <term><parameter>--disable-fixincludes</parameter></term>
89 <listitem>
90 <para>By default, during the installation of GCC some system
91 headers would be <quote>fixed</quote> to be used with GCC. This
92 is not necessary for a modern Linux system, and potentially
93 harmful if a package is reinstalled after installing GCC. This
94 switch prevents GCC from <quote>fixing</quote> the headers.</para>
95 </listitem>
96 </varlistentry>
97
98 <varlistentry>
99 <term><parameter>--with-system-zlib</parameter></term>
100 <listitem>
101 <para>This switch tells GCC to link to the system installed copy of
102 the Zlib library, rather than its own internal copy.</para>
103 </listitem>
104 </varlistentry>
105 </variablelist>
106
107 <note>
108 <anchor id="pie-ssp-info" xreflabel="note on PIE and SSP"/>
109 <para>
110 PIE (position-independent executables) are
111 binary programs that can be loaded anywhere in memory. Without PIE,
112 the security feature named ASLR (Address Space Layout Randomization)
113 can be applied for the shared libraries, but not for the executables
114 themselves. Enabling PIE allows ASLR for the executables in addition to
115 the shared libraries, and mitigates some attacks based on fixed
116 addresses of sensitive code or data in the executables.
117 </para>
118 <para>
119 SSP (Stack Smashing Protection) is a technique to ensure
120 that the parameter stack is not corrupted. Stack corruption can,
121 for example, alter the return address of a subroutine,
122 thus transferring control to some dangerous code
123 (existing in the program or shared libraries, or injected by the
124 attacker somehow).
125 </para>
126 </note>
127
128 <para>Compile the package:</para>
129
130<screen><userinput remap="make">make</userinput></screen>
131
132 <important>
133 <para>In this section, the test suite for GCC is considered
134 important, but it takes a long time. First-time builders are
135 encouraged to run the test suite. The time to run the tests can be
136 reduced significantly by adding -jx to the <command>make -k check</command>
137 command below, where x is the number of CPU cores on your system.</para>
138 </important>
139
140 <para>GCC may need more stack space compiling some extremely complex
141 code patterns. As a precaution for the host distros with a tight stack
142 limit, explicitly set the stack size hard limit to infinite.
143 On most host distros (and the final LFS system) the hard limit is
144 infinite by default, but there is no harm done by setting it explicitly.
145 It's not necessary to change the stack size soft limit because GCC will
146 automatically set it to an appropriate value, as long as the value does
147 not exceed the hard limit:</para>
148
149<screen><userinput remap="test">ulimit -s -H unlimited</userinput></screen>
150
151 <para>Now remove/fix several known test failures:</para>
152
153<screen><userinput remap="test">sed -e '/cpython/d' -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp
154sed -e 's/no-pic /&amp;-no-pie /' -i ../gcc/testsuite/gcc.target/i386/pr113689-1.c
155sed -e 's/300000/(1|300000)/' -i ../libgomp/testsuite/libgomp.c-c++-common/pr109062.c
156sed -e 's/{ target nonpic } //' \
157 -e '/GOTPCREL/d' -i ../gcc/testsuite/gcc.target/i386/fentryname3.c</userinput></screen>
158
159 <para>Test the results as a non-privileged user, but do not stop at errors:</para>
160
161<screen><userinput remap="test">chown -R tester .
162su tester -c "PATH=$PATH make -k check"</userinput></screen>
163
164 <para>To extract a summary of the test suite results, run:</para>
165
166<screen><userinput remap="test">../contrib/test_summary</userinput></screen>
167
168 <para>To filter out only the summaries, pipe the output through
169 <userinput>grep -A7 Summ</userinput>.</para>
170
171 <para>Results can be compared with those located at <ulink
172 url="&test-results;"/> and
173 <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
174
175 <para>Hundreds of gcc and g++ tests can fail on MIPS systems, as MIPS
176 is not a primary platform of GCC and many MIPS tests are not written
177 with <option>--enable-default-pie</option> or
178 <option>--enable-default-ssp</option> in mind.</para>
179
180 <para>In libstdc++ tests, the tests named
181 <filename>abi_check</filename> and
182 <filename>compare_exchange_padding.cc</filename> are known to fail.</para>
183
184 <para>A few unexpected failures cannot always be avoided. In some cases
185 test failures depend on the specific hardware of the system.<!--The GCC developers
186 are usually aware of these issues, but have not resolved them yet.-->
187 Unless the test results are vastly different from those at the above URL,
188 it is safe to continue.</para>
189
190 <para>Install the package:</para>
191
192<screen><userinput remap="install">make install</userinput></screen>
193
194 <para>The GCC build directory is owned by <systemitem class="username">
195 tester</systemitem> now, and the ownership of the installed header
196 directory (and its content) is incorrect. Change the ownership to the
197 <systemitem class="username">root</systemitem> user and group:</para>
198
199<screen><userinput remap="install">chown -v -R root:root \
200 /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include{,-fixed}</userinput></screen>
201
202 <para>Create a symlink required by the <ulink
203 url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>
204 for "historical" reasons.</para>
205
206<screen><userinput remap="install">ln -svr /usr/bin/cpp /usr/lib</userinput></screen>
207
208 <para>Many packages use the name <command>cc</command> to call the C
209 compiler. We've already created <command>cc</command> as a symlink in
210 <xref linkend='ch-tools-gcc-pass2'/>, create its man page as a symlink
211 as well:</para>
212
213<screen><userinput remap="install">ln -sv gcc.1 /usr/share/man/man1/cc.1</userinput></screen>
214
215 <para>Add a compatibility symlink to enable building programs with
216 Link Time Optimization (LTO):</para>
217
218<screen><userinput remap="install">ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \
219 /usr/lib/bfd-plugins/</userinput></screen>
220
221 <para>Now that our final toolchain is in place, it is important to again ensure
222 that compiling and linking will work as expected. We do this by performing
223 some sanity checks:</para>
224
225<screen><userinput>echo 'int main(){}' &gt; dummy.c
226cc dummy.c -v -Wl,--verbose &amp;&gt; dummy.log
227readelf -l a.out | grep ': /lib'</userinput></screen>
228
229 <para>There should be no errors,
230 and the output of the last command will be (allowing for
231 platform-specific differences in the dynamic linker name):</para>
232
233<screen><computeroutput>[Requesting program interpreter: /lib64/ld.so.1]</computeroutput></screen>
234
235 <para>Now make sure that we're set up to use the correct start files:</para>
236
237<screen><userinput>grep -E -o '/usr/lib.*/S?crt[1in].*succeeded' dummy.log</userinput></screen>
238
239 <para>The output of the last command should be:</para>
240
241<screen><computeroutput>/usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/../../../../lib/Scrt1.o succeeded
242/usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/../../../../lib/crti.o succeeded
243/usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>
244
245 <para>Depending on your machine architecture, the above may differ slightly.
246 The difference will be the name of the directory
247 after <filename class="directory">/usr/lib/gcc</filename>. The important
248 thing to look for here is that <command>gcc</command> has found all three
249 <filename>crt*.o</filename> files under the
250 <filename class="directory">/usr/lib</filename> directory.</para>
251
252 <para>Verify that the compiler is searching for the correct header
253 files:</para>
254
255<screen><userinput>grep -B4 '^ /usr/include' dummy.log</userinput></screen>
256
257 <para>This command should return the following output:</para>
258
259<screen><computeroutput>#include &lt;...&gt; search starts here:
260 /usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/include
261 /usr/local/include
262 /usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/include-fixed
263 /usr/include</computeroutput></screen>
264
265 <para>Again, the directory named after your target triplet may be
266 different than the above, depending on your system architecture.</para>
267
268 <para>Next, verify that the new linker is being used with the correct search paths:</para>
269
270<screen><userinput>grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'</userinput></screen>
271
272 <para>References to paths that have components with '-linux-gnu' should
273 be ignored, but otherwise the output of the last command should be:</para>
274
275<screen><computeroutput>SEARCH_DIR("/usr/mips64el-unknown-linux-gnuabi64/lib64")
276SEARCH_DIR("/usr/local/lib64")
277SEARCH_DIR("/lib64")
278SEARCH_DIR("/usr/lib64")
279SEARCH_DIR("/usr/mips64el-unknown-linux-gnuabi64/lib")
280SEARCH_DIR("/usr/local/lib")
281SEARCH_DIR("/lib")
282SEARCH_DIR("/usr/lib");</computeroutput></screen>
283<!--
284 <para>A 32-bit system may use a few other directories. For example, here
285 is the output from an i686 machine:</para>
286
287<screen><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")
288SEARCH_DIR("/usr/local/lib32")
289SEARCH_DIR("/lib32")
290SEARCH_DIR("/usr/lib32")
291SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
292SEARCH_DIR("/usr/local/lib")
293SEARCH_DIR("/lib")
294SEARCH_DIR("/usr/lib");</computeroutput></screen>
295-->
296 <para>Next make sure that we're using the correct libc:</para>
297
298<screen><userinput>grep "/lib.*/libc.so.6 " dummy.log</userinput></screen>
299
300 <para>The output of the last command should be:</para>
301
302<screen><computeroutput>attempt to open /usr/lib/libc.so.6 succeeded</computeroutput></screen>
303
304 <para>Make sure GCC is using the correct dynamic linker:</para>
305
306<screen><userinput>grep found dummy.log</userinput></screen>
307
308 <para>The output of the last command should be (allowing for
309 platform-specific differences in dynamic linker name):</para>
310
311<screen><computeroutput>found ld.so.1 at /usr/lib/ld.so.1</computeroutput></screen>
312
313 <para>If the output does not appear as shown above or is not received
314 at all, then something is seriously wrong. Investigate and retrace the
315 steps to find out where the problem is and correct it. <!--The most likely
316 reason is that something went wrong with the specs file adjustment.--> Any
317 issues should be resolved before continuing with the process.</para>
318
319 <para>Once everything is working correctly, clean up the test files:</para>
320
321<screen><userinput>rm -v dummy.c a.out dummy.log</userinput></screen>
322
323 <para>Finally, move a misplaced file:</para>
324
325<screen><userinput remap="install">mkdir -pv /usr/share/gdb/auto-load/usr/lib
326mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
327
328 </sect2>
329
330 <sect2 id="contents-gcc" role="content">
331 <title>Contents of GCC</title>
332
333 <segmentedlist>
334 <segtitle>Installed programs</segtitle>
335 <segtitle>Installed libraries</segtitle>
336 <segtitle>Installed directories</segtitle>
337
338 <seglistitem>
339 <seg>c++, cc (link to gcc), cpp, g++, gcc,
340 gcc-ar, gcc-nm, gcc-ranlib, gcov, gcov-dump, gcov-tool,
341 and lto-dump</seg>
342
343 <seg>libasan.{a,so}, libatomic.{a,so}, libcc1.so, libgcc.a, libgcc_eh.a,
344 libgcc_s.so, libgcov.a, libgomp.{a,so},
345 liblto_plugin.so,
346 libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a,
347 libstdc++.{a,so}, libstdc++exp.a, libstdc++fs.a, libsupc++.a,
348 and libubsan.{a,so}</seg>
349
350 <seg>/usr/include/c++, /usr/lib/gcc, /usr/libexec/gcc, and
351 /usr/share/gcc-&gcc-version;</seg>
352 </seglistitem>
353 </segmentedlist>
354
355 <variablelist>
356 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
357 <?dbfo list-presentation="list"?>
358 <?dbhtml list-presentation="table"?>
359
360 <varlistentry id="c">
361 <term><command>c++</command></term>
362 <listitem>
363 <para>The C++ compiler</para>
364 <indexterm zone="ch-system-gcc c">
365 <primary sortas="b-c++">c++</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="cc">
371 <term><command>cc</command></term>
372 <listitem>
373 <para>The C compiler</para>
374 <indexterm zone="ch-system-gcc cc">
375 <primary sortas="b-cc">cc</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="cpp">
381 <term><command>cpp</command></term>
382 <listitem>
383 <para>The C preprocessor; it is used by the compiler to expand the
384 #include, #define, and similar directives in the source files</para>
385 <indexterm zone="ch-system-gcc cpp">
386 <primary sortas="b-cpp">cpp</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="g">
392 <term><command>g++</command></term>
393 <listitem>
394 <para>The C++ compiler</para>
395 <indexterm zone="ch-system-gcc g">
396 <primary sortas="b-g++">g++</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 <varlistentry id="gcc">
402 <term><command>gcc</command></term>
403 <listitem>
404 <para>The C compiler</para>
405 <indexterm zone="ch-system-gcc gcc">
406 <primary sortas="b-gcc">gcc</primary>
407 </indexterm>
408 </listitem>
409 </varlistentry>
410
411 <varlistentry id="gcc-ar">
412 <term><command>gcc-ar</command></term>
413 <listitem>
414 <para>A wrapper around <command>ar</command> that adds a
415 plugin to the command line. This program is only used
416 to add "link time optimization" and is not useful with the
417 default build options.</para>
418 <indexterm zone="ch-system-gcc gcc-ar">
419 <primary sortas="b-gcc-ar">gc-ar</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
424 <varlistentry id="gcc-nm">
425 <term><command>gcc-nm</command></term>
426 <listitem>
427 <para>A wrapper around <command>nm</command> that adds a
428 plugin to the command line. This program is only used
429 to add "link time optimization" and is not useful with the
430 default build options.</para>
431 <indexterm zone="ch-system-gcc gcc-nm">
432 <primary sortas="b-gcc-nm">gc-nm</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="gcc-ranlib">
438 <term><command>gcc-ranlib</command></term>
439 <listitem>
440 <para>A wrapper around <command>ranlib</command> that adds a
441 plugin to the command line. This program is only used
442 to add "link time optimization" and is not useful with the
443 default build options.</para>
444 <indexterm zone="ch-system-gcc gcc-ranlib">
445 <primary sortas="b-gcc-ranlib">gc-ranlib</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="gcov">
451 <term><command>gcov</command></term>
452 <listitem>
453 <para>A coverage testing tool; it is used to analyze programs to
454 determine where optimizations will have the greatest effect</para>
455 <indexterm zone="ch-system-gcc gcov">
456 <primary sortas="b-gcov">gcov</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="gcov-dump">
462 <term><command>gcov-dump</command></term>
463 <listitem>
464 <para>Offline gcda and gcno profile dump tool</para>
465 <indexterm zone="ch-system-gcc gcov-dump">
466 <primary sortas="b-gcov-dump">gcov-dump</primary>
467 </indexterm>
468 </listitem>
469 </varlistentry>
470
471 <varlistentry id="gcov-tool">
472 <term><command>gcov-tool</command></term>
473 <listitem>
474 <para>Offline gcda profile processing tool</para>
475 <indexterm zone="ch-system-gcc gcov-tool">
476 <primary sortas="b-gcov-tool">gcov-tool</primary>
477 </indexterm>
478 </listitem>
479 </varlistentry>
480
481 <varlistentry id="lto-dump">
482 <term><command>lto-dump</command></term>
483 <listitem>
484 <para>Tool for dumping object files produced by GCC with LTO
485 enabled</para>
486 <indexterm zone="ch-system-gcc lto-dump">
487 <primary sortas="b-lto-dump">lto-dump</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
491
492 <varlistentry id="libasan">
493 <term><filename class="libraryfile">libasan</filename></term>
494 <listitem>
495 <para>The Address Sanitizer runtime library</para>
496 <indexterm zone="ch-system-gcc libasan">
497 <primary sortas="b-libasan">libasan</primary>
498 </indexterm>
499 </listitem>
500 </varlistentry>
501
502 <varlistentry id="libatomic">
503 <term><filename class="libraryfile">libatomic</filename></term>
504 <listitem>
505 <para>GCC atomic built-in runtime library</para>
506 <indexterm zone="ch-system-gcc libatomic">
507 <primary sortas="b-libatomic">libatomic</primary>
508 </indexterm>
509 </listitem>
510 </varlistentry>
511
512 <varlistentry id="libcc1">
513 <term><filename class="libraryfile">libcc1</filename></term>
514 <listitem>
515 <para>A library that allows GDB to make use of GCC</para>
516 <indexterm zone="ch-system-gcc libcc1">
517 <primary sortas="b-libcc1">libcc1</primary>
518 </indexterm>
519 </listitem>
520 </varlistentry>
521
522 <varlistentry id="libgcc">
523 <term><filename class="libraryfile">libgcc</filename></term>
524 <listitem>
525 <para>Contains run-time support for <command>gcc</command></para>
526 <indexterm zone="ch-system-gcc libgcc">
527 <primary sortas="c-libgcc">libgcc</primary>
528 </indexterm>
529 </listitem>
530 </varlistentry>
531
532 <varlistentry id="libgcov">
533 <term><filename class="libraryfile">libgcov</filename></term>
534 <listitem>
535 <para>This library is linked into a program when GCC is instructed
536 to enable profiling</para>
537 <indexterm zone="ch-system-gcc libgcov">
538 <primary sortas="c-libgcov">libgcov</primary>
539 </indexterm>
540 </listitem>
541 </varlistentry>
542
543 <varlistentry id="libgomp">
544 <term><filename class="libraryfile">libgomp</filename></term>
545 <listitem>
546 <para>GNU implementation of the OpenMP API for multi-platform
547 shared-memory parallel programming in C/C++ and Fortran</para>
548 <indexterm zone="ch-system-gcc libgomp">
549 <primary sortas="c-libgomp">libgomp</primary>
550 </indexterm>
551 </listitem>
552 </varlistentry>
553
554 <varlistentry id="liblto_plugin">
555 <term><filename class="libraryfile">liblto_plugin</filename></term>
556 <listitem>
557 <para>GCC's LTO plugin allows Binutils to process object files
558 produced by GCC with LTO enabled</para>
559 <indexterm zone="ch-system-gcc liblto_plugin">
560 <primary sortas="c-liblto_plugin">liblto_plugin</primary>
561 </indexterm>
562 </listitem>
563 </varlistentry>
564
565 <varlistentry id="libquadmath">
566 <term><filename class="libraryfile">libquadmath</filename></term>
567 <listitem>
568 <para>GCC Quad Precision Math Library API</para>
569 <indexterm zone="ch-system-gcc libquadmath">
570 <primary sortas="c-libquadmath">libquadmath</primary>
571 </indexterm>
572 </listitem>
573 </varlistentry>
574
575 <varlistentry id="libssp">
576 <term><filename class="libraryfile">libssp</filename></term>
577 <listitem>
578 <para>Contains routines supporting GCC's stack-smashing protection
579 functionality. Normally it is not used, because Glibc also provides
580 those routines.</para>
581 <indexterm zone="ch-system-gcc libssp">
582 <primary sortas="c-libssp">libssp</primary>
583 </indexterm>
584 </listitem>
585 </varlistentry>
586
587 <varlistentry id="libstdc">
588 <term><filename class="libraryfile">libstdc++</filename></term>
589 <listitem>
590 <para>The standard C++ library</para>
591 <indexterm zone="ch-system-gcc libstdc">
592 <primary sortas="c-libstdc++">libstdc++</primary>
593 </indexterm>
594 </listitem>
595 </varlistentry>
596
597 <varlistentry id="libstdcexp">
598 <term><filename class="libraryfile">libstdc++exp</filename></term>
599 <listitem>
600 <para>Experimental C++ Contracts library</para>
601 <indexterm zone="ch-system-gcc libstdcexp">
602 <primary sortas="c-libstdc++exp">libstdc++exp</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606
607 <varlistentry id="libstdcfs">
608 <term><filename class="libraryfile">libstdc++fs</filename></term>
609 <listitem>
610 <para>ISO/IEC TS 18822:2015 Filesystem library</para>
611 <indexterm zone="ch-system-gcc libstdcfs">
612 <primary sortas="c-libstdc++fs">libstdc++fs</primary>
613 </indexterm>
614 </listitem>
615 </varlistentry>
616
617 <varlistentry id="libsupc">
618 <term><filename class="libraryfile">libsupc++</filename></term>
619 <listitem>
620 <para>Provides supporting routines for the C++ programming
621 language</para>
622 <indexterm zone="ch-system-gcc libsupc">
623 <primary sortas="c-libsupc++">libsupc++</primary>
624 </indexterm>
625 </listitem>
626 </varlistentry>
627
628 <varlistentry id="libubsan">
629 <term><filename class="libraryfile">libubsan</filename></term>
630 <listitem>
631 <para>The Undefined Behavior Sanitizer runtime library</para>
632 <indexterm zone="ch-system-gcc libubsan">
633 <primary sortas="c-libubsan">libubsan</primary>
634 </indexterm>
635 </listitem>
636 </varlistentry>
637
638 </variablelist>
639
640 </sect2>
641
642</sect1>
Note: See TracBrowser for help on using the repository browser.