From 465ada75f34fa49ab5d077b7a6b6f54cbd5a874f Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 3 May 2023 11:15:43 +0800 Subject: [PATCH 1/2] 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 From 8051256700c1741dbb7fc09e39d7e208acb96ef6 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 3 May 2023 11:21:54 +0800 Subject: [PATCH 2/2] psmisc: Run the test suite It seems the package has provided the test suite since some time point. --- chapter08/psmisc.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chapter08/psmisc.xml b/chapter08/psmisc.xml index 6a826202d..cbf7609f3 100644 --- a/chapter08/psmisc.xml +++ b/chapter08/psmisc.xml @@ -49,7 +49,9 @@ make - This package does not come with a test suite. + To run the test suite, run: + +make check Install the package: