Dirk Mueller
1704b14b62
* The option "--vgdb-stop-at=event1,event2,..." accepts the new value abexit. This indicates to invoke gdbserver when your program exits abnormally (i.e. with a non zero exit code). * Fix Rust v0 name demangling. * The Linux rseq syscall is now implemented as (silently) returning ENOSYS. * Add FreeBSD syscall wrappers for __specialfd and __realpathat. * Remove FreeBSD dependencies on COMPAT10, which fixes compatibility with HardenedBSD * The option --enable-debuginfod=<no|yes> [default: yes] has been added on Linux. * More DWARF5 support as generated by clang14. OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=253
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
Index: valgrind-3.20.0/configure
|
|
===================================================================
|
|
--- valgrind-3.20.0.orig/configure
|
|
+++ valgrind-3.20.0/configure
|
|
@@ -10983,7 +10983,7 @@ if test "x${vg_cv_lto}" != "xno" -a "x${
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if toolchain accepts lto" >&5
|
|
printf %s "checking if toolchain accepts lto... " >&6; }
|
|
safe_CFLAGS=$CFLAGS
|
|
-TEST_LTO_CFLAGS="-flto -flto-partition=one -fuse-linker-plugin"
|
|
+TEST_LTO_CFLAGS="-flto=auto"
|
|
# Note : using 'one' partition is giving a slightly smaller/faster memcheck
|
|
# and ld/lto-trans1 still needs a reasonable memory (about 0.5GB) when linking.
|
|
CFLAGS="$TEST_LTO_CFLAGS -Werror"
|
|
Index: valgrind-3.20.0/configure.ac
|
|
===================================================================
|
|
--- valgrind-3.20.0.orig/configure.ac
|
|
+++ valgrind-3.20.0/configure.ac
|
|
@@ -2448,7 +2448,7 @@ AC_CACHE_CHECK([for using the link time
|
|
if test "x${vg_cv_lto}" != "xno" -a "x${LTO_AR}" != "x" -a "x${LTO_RANLIB}" != "x"; then
|
|
AC_MSG_CHECKING([if toolchain accepts lto])
|
|
safe_CFLAGS=$CFLAGS
|
|
-TEST_LTO_CFLAGS="-flto -flto-partition=one -fuse-linker-plugin"
|
|
+TEST_LTO_CFLAGS="-flto=auto"
|
|
# Note : using 'one' partition is giving a slightly smaller/faster memcheck
|
|
# and ld/lto-trans1 still needs a reasonable memory (about 0.5GB) when linking.
|
|
CFLAGS="$TEST_LTO_CFLAGS -Werror"
|