source: chapter08/gcc.xml@ 0611f706

11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 bdubbs/gcc13 multilib renodr/libudev-from-systemd trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 0611f706 was 0611f706, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

Use default-pie and default-ssp flags in gcc

Committing only the commands for now, so that others can test the
build. TODO:

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