commit 0078509

hovercats  ·  2025-02-28 02:28:33 +0000 UTC
parent 151f1f0
valgrind: import
6 files changed,  +78, -0
+26, -0
 1@@ -0,0 +1,26 @@
 2+#!/bin/sh -e
 3+
 4+# Disable stripping
 5+: > nostrip
 6+
 7+# Bypass ccache
 8+export CC="/bin/cc"
 9+export CXX="/bin/c++"
10+export CFLAGS="$CFLAGS -fno-stack-protector -no-pie"
11+
12+./configure \
13+    --prefix=/usr \
14+    --sysconfdir=/etc \
15+    --libexecdir=/usr/lib \
16+    --mandir=/usr/share/man \
17+    --infodir=/usr/share/info \
18+    --localstatedir=/var \
19+    --without-mpicc
20+
21+make
22+make DESTDIR="$1" install
23+
24+# Compress manpages
25+find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
26+
27+rm -r "$1/usr/share/doc"
+2, -0
1@@ -0,0 +1,2 @@
2+1e3813bd3f879d647556d73d0843a176d70e116f64417f96793f5b4f0ef52a38dc
3+c261dc7b793168270a19dfe34f15bc1a283c4c8d10375de2788e368e8a0d82612f
+1, -0
1@@ -0,0 +1 @@
2+perl
+46, -0
 1@@ -0,0 +1,46 @@
 2+# Suppressions for musl libc
 3+# See: https://www.openwall.com/lists/musl/2017/06/15/4
 4+
 5+{
 6+   musl-dynlink-false-positive1
 7+   Memcheck:Leak
 8+   fun:calloc
 9+   fun:load_direct_deps
10+   fun:load_deps
11+   fun:load_deps
12+   fun:__dls3
13+   fun:__dls2b
14+   fun:__dls2
15+}
16+
17+{
18+   musl-dynlink-false-positive2
19+   Memcheck:Leak
20+   fun:calloc
21+   fun:load_direct_deps
22+   fun:load_deps
23+   fun:load_deps
24+   fun:__dls3
25+   fun:__dls2
26+}
27+
28+{
29+   musl-dynlink-false-positive3
30+   Memcheck:Leak
31+   fun:calloc
32+   fun:load_library
33+   fun:load_preload
34+   fun:__dls3
35+   fun:__dls2b
36+   fun:__dls2
37+}
38+
39+{
40+   musl-dynlink-false-positive4
41+   Memcheck:Leak
42+   fun:calloc
43+   fun:load_library
44+   fun:load_preload
45+   fun:__dls3
46+   fun:__dls2
47+}
+2, -0
1@@ -0,0 +1,2 @@
2+https://sourceware.org/pub/valgrind/valgrind-3.24.0.tar.bz2
3+files/musl.supp
+1, -0
1@@ -0,0 +1 @@
2+3.24.0 1