gcc.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  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. <sect1 id="ch-system-gcc" role="wrap">
  8. <?dbhtml filename="gcc.html"?>
  9. <sect1info condition="script">
  10. <productname>gcc</productname>
  11. <productnumber>&gcc-version;</productnumber>
  12. <address>&gcc-url;</address>
  13. </sect1info>
  14. <title>GCC-&gcc-version;</title>
  15. <indexterm zone="ch-system-gcc">
  16. <primary sortas="a-GCC">GCC</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The GCC package contains the GNU compiler collection, which includes
  21. the C and C++ compilers.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&gcc-fin-sbu;</seg>
  27. <seg>&gcc-fin-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of GCC</title>
  33. <para>If building on x86_64, change the default directory name for 64-bit
  34. libraries to <quote>lib</quote>:</para>
  35. <screen><userinput remap="pre">case $(uname -m) in
  36. x86_64)
  37. sed -e '/m64=/s/lib64/lib/' \
  38. -i.orig gcc/config/i386/t-linux64
  39. ;;
  40. esac</userinput></screen>
  41. <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
  42. <screen><userinput remap="pre">mkdir -v build
  43. cd build</userinput></screen>
  44. <para>Prepare GCC for compilation:</para>
  45. <screen><userinput remap="configure">../configure --prefix=/usr \
  46. LD=ld \
  47. --enable-languages=c,c++ \
  48. --disable-multilib \
  49. --disable-bootstrap \
  50. --with-system-zlib</userinput></screen>
  51. <para>Note that for other programming languages there are some prerequisites that
  52. are not yet available. See the
  53. <ulink url="&blfs-book;general/gcc.html">BLFS Book GCC page</ulink>
  54. for instructions on how to build all of GCC's supported languages.</para>
  55. <variablelist>
  56. <title>The meaning of the new configure parameters:</title>
  57. <varlistentry>
  58. <term><parameter>LD=ld</parameter></term>
  59. <listitem>
  60. <para>This parameter makes the configure script use the ld installed
  61. by the binutils built earlier in this chapter, rather than
  62. the cross-built version which would otherwise be used.</para>
  63. </listitem>
  64. </varlistentry>
  65. <varlistentry>
  66. <term><parameter>--with-system-zlib</parameter></term>
  67. <listitem>
  68. <para>This switch tells GCC to link to the system installed copy of
  69. the zlib library, rather than its own internal copy.</para>
  70. </listitem>
  71. </varlistentry>
  72. </variablelist>
  73. <para>Compile the package:</para>
  74. <screen><userinput remap="make">make</userinput></screen>
  75. <important>
  76. <para>In this section, the test suite for GCC is considered
  77. critical. Do not skip it under any circumstance.</para>
  78. </important>
  79. <para>One set of tests in the GCC test suite is known to exhaust the default
  80. stack, so increase the stack size prior to running the tests:</para>
  81. <screen><userinput remap="test">ulimit -s 32768</userinput></screen>
  82. <para>Test the results as a non-privileged user, but do not stop at errors:</para>
  83. <screen><userinput remap="test">chown -Rv tester .
  84. su tester -c "PATH=$PATH make -k check"</userinput></screen>
  85. <para>To receive a summary of the test suite results, run:</para>
  86. <screen><userinput remap="test">../contrib/test_summary</userinput></screen>
  87. <para>For only the summaries, pipe the output through
  88. <userinput>grep -A7 Summ</userinput>.</para>
  89. <para>Results can be compared with those located at <ulink
  90. url="&test-results;"/> and
  91. <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
  92. <para>Six tests related to get_time are known to fail. These are
  93. apparently related to the en_HK locale.</para>
  94. <para>Additionally the following tests related to the following files
  95. are known to fail with glibc-2.33: asan_test.C, co-ret-17-void-ret-coro.C,
  96. pr95519-05-gro.C, pr80166.c.</para>
  97. <!-- don't fail anymore after the move of iana-etc and /etc/hosts
  98. <para>Two tests named lookup.cc and reverse.cc in experimental/net
  99. are known to fail in LFS chroot environment because they require
  100. /etc/hosts and iana-etc.</para>
  101. -->
  102. <para>A few unexpected failures cannot always be avoided. The GCC developers
  103. are usually aware of these issues, but have not resolved them yet.
  104. Unless the test results are vastly different from those at the above URL,
  105. it is safe to continue.</para>
  106. <!--note><para>
  107. On some combinations of kernel configuration and AMD processors
  108. there may be more than 1100 failures in the gcc.target/i386/mpx
  109. tests (which are designed to test the MPX option on recent
  110. Intel processors). These can safely be ignored on AMD
  111. processors. These tests will also fail on Intel processors if MPX support
  112. is not enabled in the kernel even though it is present on the CPU.
  113. </para></note-->
  114. <para>Install the package and remove an unneeded directory:</para>
  115. <screen><userinput remap="install">make install
  116. rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/</userinput></screen>
  117. <para>The GCC build directory is owned by <systemitem class="username">
  118. tester</systemitem> now and the ownership of the installed header
  119. directory (and its content) will be incorrect. Change the ownership to
  120. <systemitem class="username">root</systemitem> user and group:</para>
  121. <screen><userinput remap="install">chown -v -R root:root \
  122. /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed}</userinput></screen>
  123. <para>Create a symlink required by the <ulink
  124. url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>
  125. for "historical" reasons.</para>
  126. <screen><userinput remap="install">ln -sv ../usr/bin/cpp /lib</userinput></screen>
  127. <!-- already done earlier
  128. <para>Many packages use the name <command>cc</command> to call the C
  129. compiler. To satisfy those packages, create a symlink:</para>
  130. <screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen>
  131. -->
  132. <para>Add a compatibility symlink to enable building programs with
  133. Link Time Optimization (LTO):</para>
  134. <screen><userinput remap="install">ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \
  135. /usr/lib/bfd-plugins/</userinput></screen>
  136. <para>Now that our final toolchain is in place, it is important to again ensure
  137. that compiling and linking will work as expected. We do this by performing
  138. some sanity checks:</para>
  139. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  140. href="adjusting.xml"
  141. xpointer="xpointer(//*[@os='a'])"/>
  142. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  143. href="adjusting.xml"
  144. xpointer="xpointer(//*[@os='b'])"/>
  145. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  146. href="adjusting.xml"
  147. xpointer="xpointer(//*[@os='c'])"/>
  148. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  149. href="adjusting.xml"
  150. xpointer="xpointer(//*[@os='d'])"/>
  151. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  152. href="adjusting.xml"
  153. xpointer="xpointer(//*[@os='e'])"/>
  154. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  155. href="adjusting.xml"
  156. xpointer="xpointer(//*[@os='f'])"/>
  157. <screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crt1.o succeeded
  158. /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded
  159. /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>
  160. <para>Depending on your machine architecture, the above may differ slightly.
  161. The difference will be the name of the directory
  162. after <filename class="directory">/usr/lib/gcc</filename>. The important
  163. thing to look for here is that <command>gcc</command> has found all three
  164. <filename>crt*.o</filename> files under the
  165. <filename class="directory">/usr/lib</filename> directory.</para>
  166. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  167. href="adjusting.xml"
  168. xpointer="xpointer(//*[@os='g'])"/>
  169. <screen><userinput>grep -B4 '^ /usr/include' dummy.log</userinput></screen>
  170. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  171. href="adjusting.xml"
  172. xpointer="xpointer(//*[@os='h'])"/>
  173. <screen><computeroutput>#include &lt;...&gt; search starts here:
  174. /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include
  175. /usr/local/include
  176. /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include-fixed
  177. /usr/include</computeroutput></screen>
  178. <para>Again, the directory named after your target triplet may be
  179. different than the above, depending on your system architecture.</para>
  180. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  181. href="adjusting.xml"
  182. xpointer="xpointer(//*[@os='i'])"/>
  183. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  184. href="adjusting.xml"
  185. xpointer="xpointer(//*[@os='j'])"/>
  186. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  187. href="adjusting.xml"
  188. xpointer="xpointer(//*[@os='k'])"/>
  189. <screen><computeroutput>SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64")
  190. SEARCH_DIR("/usr/local/lib64")
  191. SEARCH_DIR("/lib64")
  192. SEARCH_DIR("/usr/lib64")
  193. SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")
  194. SEARCH_DIR("/usr/local/lib")
  195. SEARCH_DIR("/lib")
  196. SEARCH_DIR("/usr/lib");</computeroutput></screen>
  197. <para>A 32-bit system may see a few different directories. For example, here
  198. is the output from an i686 machine:</para>
  199. <screen><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")
  200. SEARCH_DIR("/usr/local/lib32")
  201. SEARCH_DIR("/lib32")
  202. SEARCH_DIR("/usr/lib32")
  203. SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
  204. SEARCH_DIR("/usr/local/lib")
  205. SEARCH_DIR("/lib")
  206. SEARCH_DIR("/usr/lib");</computeroutput></screen>
  207. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  208. href="adjusting.xml"
  209. xpointer="xpointer(//*[@os='l'])"/>
  210. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  211. href="adjusting.xml"
  212. xpointer="xpointer(//*[@os='m'])"/>
  213. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  214. href="adjusting.xml"
  215. xpointer="xpointer(//*[@os='n'])"/>
  216. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  217. href="adjusting.xml"
  218. xpointer="xpointer(//*[@os='o'])"/>
  219. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  220. href="adjusting.xml"
  221. xpointer="xpointer(//*[@os='p'])"/>
  222. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  223. href="adjusting.xml"
  224. xpointer="xpointer(//*[@os='q'])"/>
  225. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  226. href="adjusting.xml"
  227. xpointer="xpointer(//*[@os='r'])"/>
  228. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  229. href="adjusting.xml"
  230. xpointer="xpointer(//*[@os='s'])"/>
  231. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  232. href="adjusting.xml"
  233. xpointer="xpointer(//*[@os='t'])"/>
  234. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  235. href="adjusting.xml"
  236. xpointer="xpointer(//*[@os='u'])"/>
  237. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  238. href="adjusting.xml"
  239. xpointer="xpointer(//*[@os='v'])"/>
  240. <para>Finally, move a misplaced file:</para>
  241. <screen><userinput remap="install">mkdir -pv /usr/share/gdb/auto-load/usr/lib
  242. mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
  243. </sect2>
  244. <sect2 id="contents-gcc" role="content">
  245. <title>Contents of GCC</title>
  246. <segmentedlist>
  247. <segtitle>Installed programs</segtitle>
  248. <segtitle>Installed libraries</segtitle>
  249. <segtitle>Installed directories</segtitle>
  250. <seglistitem>
  251. <seg>c++, cc (link to gcc), cpp, g++, gcc,
  252. gcc-ar, gcc-nm, gcc-ranlib, gcov, gcov-dump, and gcov-tool</seg>
  253. <seg>libasan.{a,so}, libatomic.{a,so}, libcc1.so, libgcc.a, libgcc_eh.a,
  254. libgcc_s.so, libgcov.a, libgomp.{a,so}, libitm.{a,so},
  255. liblsan.{a,so}, liblto_plugin.so,
  256. libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a,
  257. libstdc++.{a,so}, libstdc++fs.a, libsupc++.a, libtsan.{a,so},
  258. and libubsan.{a,so}</seg>
  259. <seg>/usr/include/c++, /usr/lib/gcc, /usr/libexec/gcc, and
  260. /usr/share/gcc-&gcc-version;</seg>
  261. </seglistitem>
  262. </segmentedlist>
  263. <variablelist>
  264. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  265. <?dbfo list-presentation="list"?>
  266. <?dbhtml list-presentation="table"?>
  267. <varlistentry id="c">
  268. <term><command>c++</command></term>
  269. <listitem>
  270. <para>The C++ compiler</para>
  271. <indexterm zone="ch-system-gcc c">
  272. <primary sortas="b-c++">c++</primary>
  273. </indexterm>
  274. </listitem>
  275. </varlistentry>
  276. <varlistentry id="cc">
  277. <term><command>cc</command></term>
  278. <listitem>
  279. <para>The C compiler</para>
  280. <indexterm zone="ch-system-gcc cc">
  281. <primary sortas="b-cc">cc</primary>
  282. </indexterm>
  283. </listitem>
  284. </varlistentry>
  285. <varlistentry id="cpp">
  286. <term><command>cpp</command></term>
  287. <listitem>
  288. <para>The C preprocessor; it is used by the compiler to expand the
  289. #include, #define, and similar statements in the source files</para>
  290. <indexterm zone="ch-system-gcc cpp">
  291. <primary sortas="b-cpp">cpp</primary>
  292. </indexterm>
  293. </listitem>
  294. </varlistentry>
  295. <varlistentry id="g">
  296. <term><command>g++</command></term>
  297. <listitem>
  298. <para>The C++ compiler</para>
  299. <indexterm zone="ch-system-gcc g">
  300. <primary sortas="b-g++">g++</primary>
  301. </indexterm>
  302. </listitem>
  303. </varlistentry>
  304. <varlistentry id="gcc">
  305. <term><command>gcc</command></term>
  306. <listitem>
  307. <para>The C compiler</para>
  308. <indexterm zone="ch-system-gcc gcc">
  309. <primary sortas="b-gcc">gcc</primary>
  310. </indexterm>
  311. </listitem>
  312. </varlistentry>
  313. <varlistentry id="gcc-ar">
  314. <term><command>gcc-ar</command></term>
  315. <listitem>
  316. <para>A wrapper around <command>ar</command> that adds a
  317. plugin to the command line. This program is only used
  318. to add "link time optimization" and is not useful with the
  319. default build options</para>
  320. <indexterm zone="ch-system-gcc gcc-ar">
  321. <primary sortas="b-gcc-ar">gc-ar</primary>
  322. </indexterm>
  323. </listitem>
  324. </varlistentry>
  325. <varlistentry id="gcc-nm">
  326. <term><command>gcc-nm</command></term>
  327. <listitem>
  328. <para>A wrapper around <command>nm</command> that adds a
  329. plugin to the command line. This program is only used
  330. to add "link time optimization" and is not useful with the
  331. default build options</para>
  332. <indexterm zone="ch-system-gcc gcc-nm">
  333. <primary sortas="b-gcc-nm">gc-nm</primary>
  334. </indexterm>
  335. </listitem>
  336. </varlistentry>
  337. <varlistentry id="gcc-ranlib">
  338. <term><command>gcc-ranlib</command></term>
  339. <listitem>
  340. <para>A wrapper around <command>ranlib</command> that adds a
  341. plugin to the command line. This program is only used
  342. to add "link time optimization" and is not useful with the
  343. default build options</para>
  344. <indexterm zone="ch-system-gcc gcc-ranlib">
  345. <primary sortas="b-gcc-ranlib">gc-ranlib</primary>
  346. </indexterm>
  347. </listitem>
  348. </varlistentry>
  349. <varlistentry id="gcov">
  350. <term><command>gcov</command></term>
  351. <listitem>
  352. <para>A coverage testing tool; it is used to analyze programs to
  353. determine where optimizations will have the most effect</para>
  354. <indexterm zone="ch-system-gcc gcov">
  355. <primary sortas="b-gcov">gcov</primary>
  356. </indexterm>
  357. </listitem>
  358. </varlistentry>
  359. <varlistentry id="gcov-dump">
  360. <term><command>gcov-dump</command></term>
  361. <listitem>
  362. <para>Offline gcda and gcno profile dump tool</para>
  363. <indexterm zone="ch-system-gcc gcov-dump">
  364. <primary sortas="b-gcov-dump">gcov-dump</primary>
  365. </indexterm>
  366. </listitem>
  367. </varlistentry>
  368. <varlistentry id="gcov-tool">
  369. <term><command>gcov-tool</command></term>
  370. <listitem>
  371. <para>Offline gcda profile processing tool</para>
  372. <indexterm zone="ch-system-gcc gcov-tool">
  373. <primary sortas="b-gcov-tool">gcov-tool</primary>
  374. </indexterm>
  375. </listitem>
  376. </varlistentry>
  377. <varlistentry id="libasan">
  378. <term><filename class="libraryfile">libasan</filename></term>
  379. <listitem>
  380. <para>The Address Sanitizer runtime library</para>
  381. <indexterm zone="ch-system-gcc libasan">
  382. <primary sortas="b-libasan">libasan</primary>
  383. </indexterm>
  384. </listitem>
  385. </varlistentry>
  386. <varlistentry id="libatomic">
  387. <term><filename class="libraryfile">libatomic</filename></term>
  388. <listitem>
  389. <para>GCC atomic built-in runtime library</para>
  390. <indexterm zone="ch-system-gcc libatomic">
  391. <primary sortas="b-libatomic">libatomic</primary>
  392. </indexterm>
  393. </listitem>
  394. </varlistentry>
  395. <varlistentry id="libcc1">
  396. <term><filename class="libraryfile">libcc1</filename></term>
  397. <listitem>
  398. <para>The C preprocessing library</para>
  399. <indexterm zone="ch-system-gcc libcc1">
  400. <primary sortas="b-libcc1">libcc1</primary>
  401. </indexterm>
  402. </listitem>
  403. </varlistentry>
  404. <varlistentry id="libgcc">
  405. <term><filename class="libraryfile">libgcc</filename></term>
  406. <listitem>
  407. <para>Contains run-time support for <command>gcc</command></para>
  408. <indexterm zone="ch-system-gcc libgcc">
  409. <primary sortas="c-libgcc">libgcc</primary>
  410. </indexterm>
  411. </listitem>
  412. </varlistentry>
  413. <varlistentry id="libgcov">
  414. <term><filename class="libraryfile">libgcov</filename></term>
  415. <listitem>
  416. <para>This library is linked in to a program when GCC is instructed
  417. to enable profiling</para>
  418. <indexterm zone="ch-system-gcc libgcov">
  419. <primary sortas="c-libgcov">libgcov</primary>
  420. </indexterm>
  421. </listitem>
  422. </varlistentry>
  423. <varlistentry id="libgomp">
  424. <term><filename class="libraryfile">libgomp</filename></term>
  425. <listitem>
  426. <para>GNU implementation of the OpenMP API for multi-platform
  427. shared-memory parallel programming in C/C++ and Fortran</para>
  428. <indexterm zone="ch-system-gcc libgomp">
  429. <primary sortas="c-libgomp">libgomp</primary>
  430. </indexterm>
  431. </listitem>
  432. </varlistentry>
  433. <varlistentry id="liblsan">
  434. <term><filename class="libraryfile">liblsan</filename></term>
  435. <listitem>
  436. <para>The Leak Sanitizer runtime library</para>
  437. <indexterm zone="ch-system-gcc liblsan">
  438. <primary sortas="c-liblsan">liblsan</primary>
  439. </indexterm>
  440. </listitem>
  441. </varlistentry>
  442. <varlistentry id="liblto_plugin">
  443. <term><filename class="libraryfile">liblto_plugin</filename></term>
  444. <listitem>
  445. <para>GCC's Link Time Optimization (LTO) plugin allows GCC to perform
  446. optimizations across compilation units</para>
  447. <indexterm zone="ch-system-gcc liblto_plugin">
  448. <primary sortas="c-liblto_plugin">liblto_plugin</primary>
  449. </indexterm>
  450. </listitem>
  451. </varlistentry>
  452. <varlistentry id="libquadmath">
  453. <term><filename class="libraryfile">libquadmath</filename></term>
  454. <listitem>
  455. <para>GCC Quad Precision Math Library API</para>
  456. <indexterm zone="ch-system-gcc libquadmath">
  457. <primary sortas="c-libquadmath">libquadmath</primary>
  458. </indexterm>
  459. </listitem>
  460. </varlistentry>
  461. <varlistentry id="libssp">
  462. <term><filename class="libraryfile">libssp</filename></term>
  463. <listitem>
  464. <para>Contains routines supporting GCC's stack-smashing protection
  465. functionality</para>
  466. <indexterm zone="ch-system-gcc libssp">
  467. <primary sortas="c-libssp">libssp</primary>
  468. </indexterm>
  469. </listitem>
  470. </varlistentry>
  471. <varlistentry id="libstdc">
  472. <term><filename class="libraryfile">libstdc++</filename></term>
  473. <listitem>
  474. <para>The standard C++ library</para>
  475. <indexterm zone="ch-system-gcc libstdc">
  476. <primary sortas="c-libstdc++">libstdc++</primary>
  477. </indexterm>
  478. </listitem>
  479. </varlistentry>
  480. <varlistentry id="libstdcfs">
  481. <term><filename class="libraryfile">libstdc++fs</filename></term>
  482. <listitem>
  483. <para>ISO/IEC TS 18822:2015 Filesystem library</para>
  484. <indexterm zone="ch-system-gcc libstdcfs">
  485. <primary sortas="c-libstdc++fs">libstdc++fs</primary>
  486. </indexterm>
  487. </listitem>
  488. </varlistentry>
  489. <varlistentry id="libsupc">
  490. <term><filename class="libraryfile">libsupc++</filename></term>
  491. <listitem>
  492. <para>Provides supporting routines for the C++ programming
  493. language</para>
  494. <indexterm zone="ch-system-gcc libsupc">
  495. <primary sortas="c-libsupc++">libsupc++</primary>
  496. </indexterm>
  497. </listitem>
  498. </varlistentry>
  499. <varlistentry id="libtsan">
  500. <term><filename class="libraryfile">libtsan</filename></term>
  501. <listitem>
  502. <para>The Thread Sanitizer runtime library</para>
  503. <indexterm zone="ch-system-gcc libtsan">
  504. <primary sortas="c-libtsan">libtsan</primary>
  505. </indexterm>
  506. </listitem>
  507. </varlistentry>
  508. <varlistentry id="libubsan">
  509. <term><filename class="libraryfile">libubsan</filename></term>
  510. <listitem>
  511. <para>The Undefined Behavior Sanitizer runtime library</para>
  512. <indexterm zone="ch-system-gcc libubsan">
  513. <primary sortas="c-libubsan">libubsan</primary>
  514. </indexterm>
  515. </listitem>
  516. </varlistentry>
  517. </variablelist>
  518. </sect2>
  519. </sect1>