From 465ada75f34fa49ab5d077b7a6b6f54cbd5a874f Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 3 May 2023 11:15:43 +0800 Subject: [PATCH] gcc: Add libhwasan and libstdc++exp into contents and short desc TODO: HWAsan needs Linux 6.4 (not released yet) and a recent Intel CPU. So it the kernel and hardware support is available, we may see more test failures. I'll try it out on my new system... --- chapter08/gcc.xml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index bbef8643c..df5a0ff07 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -346,10 +346,10 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib and lto-dump libasan.{a,so}, libatomic.{a,so}, libcc1.so, libgcc.a, libgcc_eh.a, - libgcc_s.so, libgcov.a, libgomp.{a,so}, libitm.{a,so}, + libgcc_s.so, libgcov.a, libgomp.{a,so}, libhwasan.{a,so}, libitm.{a,so}, liblsan.{a,so}, liblto_plugin.so, libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a, - libstdc++.{a,so}, libstdc++fs.a, libsupc++.a, libtsan.{a,so}, + libstdc++.{a,so}, libstdc++exp.a, libstdc++fs.a, libsupc++.a, libtsan.{a,so}, and libubsan.{a,so} /usr/include/c++, /usr/lib/gcc, /usr/libexec/gcc, and @@ -556,6 +556,16 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib + + libhwasan + + The Hardware-assisted Address Sanitizer runtime library + + libhwasan + + + + libitm @@ -619,6 +629,16 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib + + libstdc++exp + + Experimental C++ Contracts library + + libstdc++exp + + + + libstdc++fs