You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
|
2
(1) |
3
(1) |
4
(5) |
5
|
6
(1) |
7
|
|
8
(10) |
9
(7) |
10
(2) |
11
(10) |
12
(1) |
13
|
14
(1) |
|
15
(3) |
16
|
17
|
18
|
19
|
20
|
21
(5) |
|
22
(2) |
23
(2) |
24
(4) |
25
(2) |
26
|
27
(7) |
28
(4) |
|
29
(5) |
30
(5) |
31
(1) |
|
|
|
|
|
From: Philippe W. <phi...@sk...> - 2023-01-09 23:36:18
|
On Mon, 2023-01-09 at 08:53 +0100, Paul Floyd wrote: > Hi Phlippe > > On 09-01-23 06:06, Philippe Waroquiers wrote: > > > I have just pushed changes to filter_gdb.in and filter_vgdb.in as this failure > > is quite general. > > OK but the change doesn't seem to have landed yet. My bad, I thought I pushed it. Now, I (really) pushed the changes. Next nightly builds should be better ... > > > > I have tested this on gcc186 where gdbserver tests were failing before the above updates, > > and now they are ok. > > > > Should fix the tests on FreeBSD also. > > > > When GDB can read your .gdbinit, setting the auto-load safe path should allow to load > > the python code. > > Unfortunately I think that there is a problem on FreeBSD. Does GDB load the python code on FreeBSD from a 'make install' launched valgrind, with .gdbinit allowing auto-load ? > As already > said there is an issue on a clean system when running in the build > directory. Because the auto-load uses VG_LIBDIR which is based on the > configure -prefix rather than the in-place location the scripts won't > load if you haven't done a make install. Effectively, the python code will be loaded only from the installation directory. > > The same should hold for the nightly tests. The script does a make / > make check / make install and then a make regtest in the build dir. So > that should work. > > I also see that several of the Linux nightlies also have failures. What I just pushed should make them work again. > > A+ > Paul |
|
From: Philippe W. <phi...@so...> - 2023-01-09 23:32:17
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=e41dff2999562246f0152a6403b668c7e9975a62 commit e41dff2999562246f0152a6403b668c7e9975a62 Author: Philippe Waroquiers <phi...@sk...> Date: Mon Jan 9 06:01:36 2023 +0100 Fix gdbserver tests failing when python code cannot be autoloaded. If the valgrind python code loading is not authorised by GDB config, ensure the related error messages and info messages are filtered. Diff: --- gdbserver_tests/filter_gdb.in | 8 +++++++- gdbserver_tests/filter_vgdb.in | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gdbserver_tests/filter_gdb.in b/gdbserver_tests/filter_gdb.in index 82a7d4c384..03f26dc860 100755 --- a/gdbserver_tests/filter_gdb.in +++ b/gdbserver_tests/filter_gdb.in @@ -15,10 +15,16 @@ cat > $PATTERNFILE <<EOF # general way to delete uninteresting and varying lines. /filter_gdb BEGIN drop/,/filter_gdb END drop/d -# delete the messages produced by valgrind python code. +# delete messages produced by valgrind python code loading. /Loaded.*valgrind-monitor.py$/d /Type "help valgrind" for more info\.$/d +# delete messages produced when GDB auto-load denies loading python code. +# Note that the first pattern is also present in filter_vgdb.in +# as this line is output on stderr. +/warning: File .*valgrind-monitor.py.*declined.*/d +/To enable execution of this file add/,/info "(gdb)Auto-loading safe path"/d + # initial tty control character sent by gdb 7.0 s/^\[?1034hReading symbols/Reading symbols/ diff --git a/gdbserver_tests/filter_vgdb.in b/gdbserver_tests/filter_vgdb.in index 23be6a475d..fb5c484bf8 100755 --- a/gdbserver_tests/filter_vgdb.in +++ b/gdbserver_tests/filter_vgdb.in @@ -30,5 +30,8 @@ $SED -e '/rtld.c: Inappropriate ioctl for device\./d' | # similar for Debian 11.0 arm64 $SED -e '/_exit.c: Inappropriate ioctl for device\./d' | +# filter python loading denied error message (see also filter_gdb.in) +$SED -e '/warning: File .*valgrind-monitor.py.*declined.*/d' | + # and filter out any remaining empty lines $SED -e '/^$/d' |
|
From: Paul F. <pa...@so...> - 2023-01-09 22:58:01
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=99dfad28a582352e8a38a5ec76554810f625d1bf commit 99dfad28a582352e8a38a5ec76554810f625d1bf Author: Paul Floyd <pj...@wa...> Date: Mon Jan 9 23:57:01 2023 +0100 Cleanup warnings Now no warnings on Fedora 36 For a short while Diff: --- configure.ac | 6 +++ drd/tests/thread_name.c | 2 +- memcheck/tests/Makefile.am | 88 +++++++++++++++++++++++------------- memcheck/tests/amd64/Makefile.am | 2 +- memcheck/tests/linux/Makefile.am | 6 +++ memcheck/tests/x86-linux/Makefile.am | 4 +- none/tests/Makefile.am | 1 + 7 files changed, 74 insertions(+), 35 deletions(-) diff --git a/configure.ac b/configure.ac index cffb22774b..206f54d61f 100755 --- a/configure.ac +++ b/configure.ac @@ -2541,6 +2541,7 @@ AC_GCC_WARNING_SUBST_NO([nonnull], [FLAG_W_NO_NONNULL]) AC_GCC_WARNING_SUBST_NO([overflow], [FLAG_W_NO_OVERFLOW]) AC_GCC_WARNING_SUBST_NO([pointer-sign], [FLAG_W_NO_POINTER_SIGN]) AC_GCC_WARNING_SUBST_NO([uninitialized], [FLAG_W_NO_UNINITIALIZED]) +AC_GCC_WARNING_SUBST_NO([maybe-uninitialized], [FLAG_W_NO_MAYBE_UNINITIALIZED]) AC_GCC_WARNING_SUBST_NO([unused-function], [FLAG_W_NO_UNUSED_FUNCTION]) AC_GCC_WARNING_SUBST_NO([static-local-in-inline], [FLAG_W_NO_STATIC_LOCAL_IN_INLINE]) AC_GCC_WARNING_SUBST_NO([mismatched-new-delete], [FLAG_W_NO_MISMATCHED_NEW_DELETE]) @@ -2549,6 +2550,11 @@ AC_GCC_WARNING_SUBST_NO([expansion-to-defined], [FLAG_W_NO_EXPANSION_TO_DEFINED] AC_GCC_WARNING_SUBST_NO([unused-but-set-variable], [FLAG_W_NO_UNUSED_BUT_SET_VARIABLE]) AC_GCC_WARNING_SUBST_NO([non-power-of-two-alignment], [FLAG_W_NO_NON_POWER_OF_TWO_ALIGNMENT]) AC_GCC_WARNING_SUBST_NO([sign-compare], [FLAG_W_NO_SIGN_COMPARE]) +AC_GCC_WARNING_SUBST_NO([stringop-overflow], [FLAG_W_NO_STRINGOP_OVERFLOW]) +AC_GCC_WARNING_SUBST_NO([stringop-overread], [FLAG_W_NO_STRINGOP_OVERREAD]) +AC_GCC_WARNING_SUBST_NO([format-overflow], [FLAG_W_NO_FORMAT_OVERFLOW]) +AC_GCC_WARNING_SUBST_NO([use-after-free], [FLAG_W_NO_USE_AFTER_FREE]) +AC_GCC_WARNING_SUBST_NO([free-nonheap-object], [FLAG_W_NO_FREE_NONHEAP_OBJECT]) AC_GCC_WARNING_SUBST([write-strings], [FLAG_W_WRITE_STRINGS]) AC_GCC_WARNING_SUBST([empty-body], [FLAG_W_EMPTY_BODY]) diff --git a/drd/tests/thread_name.c b/drd/tests/thread_name.c index 98c7bb8a3f..3b22e852e7 100644 --- a/drd/tests/thread_name.c +++ b/drd/tests/thread_name.c @@ -20,7 +20,7 @@ static void* thread_func(void* argp) { const int thread_num = (ptrdiff_t)(argp); pthread_mutex_t invalid_mutex; - char thread_name[32]; + char thread_name[34]; snprintf(thread_name, sizeof(thread_name), "thread_func instance %d", thread_num + 1); diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am index 53483e55cb..c382af5e07 100644 --- a/memcheck/tests/Makefile.am +++ b/memcheck/tests/Makefile.am @@ -476,6 +476,18 @@ cdebug_zlib_gnu_SOURCES = cdebug.c cdebug_zlib_gnu_CFLAGS = $(AM_CFLAGS) -g -gz=zlib-gnu @FLAG_W_NO_UNINITIALIZED@ endif +if HAVE_ALIGNED_CXX_ALLOC +check_PROGRAMS += cxx17_aligned_new +endif + +if HAVE_PTHREAD_BARRIER +check_PROGRAMS += reach_thread_register +endif + +if HAVE_FSIZED_DEALLOCATION +check_PROGRAMS += sized_delete +endif + if HAVE_GNU_STPNCPY check_PROGRAMS += stpncpy endif @@ -484,10 +496,6 @@ if HAVE_PTHREAD_SETNAME_NP check_PROGRAMS += threadname endif -if HAVE_PTHREAD_BARRIER -check_PROGRAMS += reach_thread_register -endif - AM_CFLAGS += $(AM_FLAG_M3264_PRI) AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) @@ -502,15 +510,16 @@ else atomic_incs_CFLAGS = $(AM_CFLAGS) endif +badpoll_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_STRINGOP_OVERFLOW@ +badrw_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ +big_blocks_freed_list_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_USE_AFTER_FREE@ + if VGCONF_OS_IS_SOLARIS buflen_check_LDADD = -lsocket -lnsl endif leak_cpp_interior_SOURCES = leak_cpp_interior.cpp -demangle_SOURCES = demangle.cpp -demangle_rust_SOURCES = demangle-rust.c - # Suppress various gcc warnings which are correct, but for things # we are actually testing for at runtime. accounting_CFLAGS = $(AM_CFLAGS) -Wno-alloc-size-larger-than @@ -525,6 +534,15 @@ big_debuginfo_symbol_SOURCES = big_debuginfo_symbol.cpp big_debuginfo_symbol_CXXFLAGS = $(AM_CXXFLAGS) -std=c++0x bug340392_CFLAGS = $(AM_CFLAGS) -O3 -Wno-maybe-uninitialized + +if HAVE_ALIGNED_CXX_ALLOC +cxx17_aligned_new_SOURCES = cxx17_aligned_new.cpp +cxx17_aligned_new_CXXFLAGS = -std=c++17 @FLAG_W_NO_MISMATCHED_NEW_DELETE@ +endif + +demangle_SOURCES = demangle.cpp +demangle_rust_SOURCES = demangle-rust.c +demangle_rust_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_USE_AFTER_FREE@ dw4_CFLAGS = $(AM_CFLAGS) -gdwarf-4 -fdebug-types-section descr_belowsp_LDADD = -lpthread @@ -534,10 +552,6 @@ err_disable4_CFLAGS = $(AM_CFLAGS) if VGCONF_OS_IS_SOLARIS err_disable4_CFLAGS += -D_XOPEN_SOURCE=600 endif -reach_thread_register_CFLAGS = $(AM_CFLAGS) -O2 -reach_thread_register_LDADD = -lpthread -thread_alloca_LDADD = -lpthread -threadname_LDADD = -lpthread error_counts_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ @FLAG_W_NO_UNUSED_BUT_SET_VARIABLE@ @@ -545,7 +559,7 @@ execve1_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ execve2_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ -fprw_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ -Wno-free-nonheap-object +fprw_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ @FLAG_W_NO_FREE_NONHEAP_OBJECT@ @FLAG_W_NO_USE_AFTER_FREE@ inits_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ @@ -556,9 +570,12 @@ inltemplate_CXXFLAGS = $(AM_CXXFLAGS) @FLAG_W_NO_UNINITIALIZED@ long_namespace_xml_SOURCES = long_namespace_xml.cpp -manuel1_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ +malloc_free_fill_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_USE_AFTER_FREE@ +malloc1_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_USE_AFTER_FREE@ +manuel1_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ +manuel3_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ -memalign2_CFLAGS = $(AM_CFLAGS) -Wno-non-power-of-two-alignment +memalign2_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NON_POWER_OF_TWO_ALIGNMENT@ if VGCONF_OS_IS_SOLARIS memalign2_CFLAGS += -D__EXTENSIONS__ endif @@ -571,6 +588,8 @@ mismatches_CXXFLAGS = $(AM_CXXFLAGS) @FLAG_W_NO_MISMATCHED_NEW_DELETE@ new_nothrow_SOURCES = new_nothrow.cpp new_override_SOURCES = new_override.cpp +noisy_child_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_USE_AFTER_FREE@ + if VGCONF_OS_IS_SOLARIS null_socket_LDADD = -lsocket -lnsl endif @@ -582,7 +601,7 @@ origin2_not_quite_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ origin3_no_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ # This requires optimisation in order to get just one resulting error. -origin4_many_CFLAGS = $(AM_CFLAGS) -O +origin4_many_CFLAGS = $(AM_CFLAGS) -O @FLAG_W_NO_USE_AFTER_FREE@ @FLAG_W_NO_UNINITIALIZED@ # Apply -O so as to run in reasonable time. origin5_bz2_CFLAGS = $(AM_CFLAGS) -O -Wno-inline @@ -591,7 +610,11 @@ origin6_fp_CFLAGS = $(AM_CFLAGS) -O # Don't allow GCC to inline memcpy() and strcpy(), # because then we can't intercept it overlap_CFLAGS = $(AM_CFLAGS) -fno-builtin-memcpy -fno-builtin-strcpy \ - -Wno-fortify-source + -Wno-fortify-source @FLAG_W_NO_STRINGOP_OVERFLOW@ + +partial_load_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_USE_AFTER_FREE@ +reach_thread_register_CFLAGS = $(AM_CFLAGS) -O2 +reach_thread_register_LDADD = -lpthread resvn_stack_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ @@ -602,15 +625,14 @@ sendmsg_LDADD = -lsocket -lnsl endif if HAVE_FSIZED_DEALLOCATION -check_PROGRAMS += sized_delete sized_delete_SOURCES = sized_delete.cpp sized_delete_CXXFLAGS = $(AM_CXXFLAGS) @FLAG_FSIZED_DEALLOCATION@ endif -str_tester_CFLAGS = $(AM_CFLAGS) -Wno-shadow -Wno-stringop-overflow \ +str_tester_CFLAGS = $(AM_CFLAGS) -Wno-shadow @FLAG_W_NO_STRINGOP_OVERFLOW@ \ -Wno-stringop-truncation \ -Wno-fortify-source -Wno-suspicious-bzero \ - @FLAG_W_NO_MEMSET_TRANSPOSED_ARGS@ + @FLAG_W_NO_MEMSET_TRANSPOSED_ARGS@ @FLAG_W_NO_STRINGOP_OVERREAD@ supp_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ @@ -623,6 +645,13 @@ supp1_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ supp2_SOURCES = supp.c supp2_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ +suppfree_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_USE_AFTER_FREE@ +test_plo_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_USE_AFTER_FREE@ + +thread_alloca_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_FORMAT_OVERFLOW@ +thread_alloca_LDADD = -lpthread +threadname_LDADD = -lpthread + vcpu_bz2_CFLAGS = $(AM_CFLAGS) -O2 vcpu_fbench_CFLAGS = $(AM_CFLAGS) -O2 vcpu_fnfns_CFLAGS = $(AM_CFLAGS) -O2 @@ -631,12 +660,12 @@ wrap6_CFLAGS = $(AM_CFLAGS) -O2 # To make it a bit more realistic, have some optimisation enabled # for the varinfo tests. We still expect sane results. -varinfo1_CFLAGS = $(AM_CFLAGS) -O -varinfo2_CFLAGS = $(AM_CFLAGS) -O -Wno-shadow -varinfo3_CFLAGS = $(AM_CFLAGS) -O -varinfo4_CFLAGS = $(AM_CFLAGS) -O +varinfo1_CFLAGS = $(AM_CFLAGS) -O @FLAG_W_NO_MAYBE_UNINITIALIZED@ +varinfo2_CFLAGS = $(AM_CFLAGS) -O -Wno-shadow @FLAG_W_NO_MAYBE_UNINITIALIZED@ +varinfo3_CFLAGS = $(AM_CFLAGS) -O @FLAG_W_NO_MAYBE_UNINITIALIZED@ +varinfo4_CFLAGS = $(AM_CFLAGS) -O @FLAG_W_NO_MAYBE_UNINITIALIZED@ varinfo5_CFLAGS = $(AM_CFLAGS) -O -varinfo6_CFLAGS = $(AM_CFLAGS) -O +varinfo6_CFLAGS = $(AM_CFLAGS) -O @FLAG_W_NO_MAYBE_UNINITIALIZED@ # Build shared object for varinfo5 varinfo5_SOURCES = varinfo5.c @@ -651,7 +680,7 @@ else endif varinfo5so_so_SOURCES = varinfo5so.c -varinfo5so_so_CFLAGS = $(AM_CFLAGS) -fpic -O -Wno-shadow +varinfo5so_so_CFLAGS = $(AM_CFLAGS) -fpic -O -Wno-shadow @FLAG_W_NO_MAYBE_UNINITIALIZED@ if VGCONF_OS_IS_DARWIN varinfo5so_so_LDFLAGS = -fpic $(AM_FLAG_M3264_PRI) -dynamic \ -dynamiclib -all_load @@ -705,11 +734,6 @@ else -Wl,-soname -Wl,wrapmallocso.so endif -xml1_CFLAGS = $(AM_CFLAGS) -D_GNU_SOURCE +writev1_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_STRINGOP_OVERFLOW@ @FLAG_W_NO_STRINGOP_OVERREAD@ +xml1_CFLAGS = $(AM_CFLAGS) -D_GNU_SOURCE @FLAG_W_NO_UNINITIALIZED@ @FLAG_W_NO_USE_AFTER_FREE@ -if HAVE_ALIGNED_CXX_ALLOC -check_PROGRAMS += cxx17_aligned_new -cxx17_aligned_new_SOURCES = cxx17_aligned_new.cpp -# need C++ 17, and we deliberately mismatch new and delete -cxx17_aligned_new_CXXFLAGS = -std=c++17 -Wno-mismatched-new-delete -endif diff --git a/memcheck/tests/amd64/Makefile.am b/memcheck/tests/amd64/Makefile.am index a5a78aa310..d3b1386a32 100644 --- a/memcheck/tests/amd64/Makefile.am +++ b/memcheck/tests/amd64/Makefile.am @@ -76,4 +76,4 @@ insn_pcmpistri_CFLAGS = $(AM_CFLAGS) more_x87_fp_CFLAGS = $(AM_CFLAGS) -O -ffast-math -mfpmath=387 \ -mfancy-math-387 more_x87_fp_LDADD = -lm -shr_edx_CFLAGS = $(AM_CFLAGS) @FLAG_NO_PIE@ +shr_edx_CFLAGS = $(AM_CFLAGS) @FLAG_NO_PIE@ @FLAG_W_NO_UNINITIALIZED@ diff --git a/memcheck/tests/linux/Makefile.am b/memcheck/tests/linux/Makefile.am index d5991dc5e5..64160c0c8e 100644 --- a/memcheck/tests/linux/Makefile.am +++ b/memcheck/tests/linux/Makefile.am @@ -101,3 +101,9 @@ dlclose_leak_DEPENDENCIES = dlclose_leak_so.so dlclose_leak_LDADD = -ldl dlclose_leak_LDFLAGS = $(AM_FLAG_M3264_PRI) \ -Wl,-rpath,$(top_builddir)/memcheck/tests/linux + +enomem_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_USE_AFTER_FREE@ +sys_preadv_pwritev_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_STRINGOP_OVERFLOW@ @FLAG_W_NO_STRINGOP_OVERREAD@ \ + @FLAG_W_NO_NONNULL@ +sys_preadv2_pwritev2_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ @FLAG_W_NO_STRINGOP_OVERREAD@ \ + @FLAG_W_NO_STRINGOP_OVERFLOW@ diff --git a/memcheck/tests/x86-linux/Makefile.am b/memcheck/tests/x86-linux/Makefile.am index 04c18442ef..6f9b2d4da6 100644 --- a/memcheck/tests/x86-linux/Makefile.am +++ b/memcheck/tests/x86-linux/Makefile.am @@ -28,4 +28,6 @@ AM_CFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE) AM_CXXFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE) AM_CCASFLAGS += @FLAG_M32@ -scalar_supp_CFLAGS = $(AM_CFLAGS) -Wno-uninitialized +scalar_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ +scalar_exit_group_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ +scalar_supp_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ diff --git a/none/tests/Makefile.am b/none/tests/Makefile.am index 871ec62777..ee2181f2dc 100644 --- a/none/tests/Makefile.am +++ b/none/tests/Makefile.am @@ -369,6 +369,7 @@ thread_exits_LDADD = -lpthread threaded_fork_LDADD = -lpthread threadederrno_CFLAGS = $(AM_CFLAGS) threadederrno_LDADD = -lpthread +timestamp_CFLAGS = -lpthread @FLAG_W_NO_USE_AFTER_FREE@ tls_SOURCES = tls.c tls2.c tls_DEPENDENCIES = tls.so tls2.so tls_LDFLAGS = -Wl,-rpath,$(abs_top_builddir)/none/tests |
|
From: Paul F. <pj...@wa...> - 2023-01-09 20:24:25
|
On 09-01-23 09:46, Floyd, Paul wrote: > > On 09/01/2023 08:53, Paul Floyd wrote: >> >> Unfortunately I think that there is a problem on FreeBSD. As already >> said there is an issue on a clean system when running in the build >> directory. Because the auto-load uses VG_LIBDIR which is based on the >> configure -prefix rather than the in-place location the scripts won't >> load if you haven't done a make install. >> > Though I don't think that I've yet done a test outside of regtest and > with make install done. I'll do that later today. > And with a bit of fighting with my gdbinit set debug auto-load all seems well now. A+ Paul |
|
From: Floyd, P. <pj...@wa...> - 2023-01-09 08:47:07
|
On 09/01/2023 08:53, Paul Floyd wrote: > > Unfortunately I think that there is a problem on FreeBSD. As already > said there is an issue on a clean system when running in the build > directory. Because the auto-load uses VG_LIBDIR which is based on the > configure -prefix rather than the in-place location the scripts won't > load if you haven't done a make install. > Though I don't think that I've yet done a test outside of regtest and with make install done. I'll do that later today. A+ Paul |
|
From: Paul F. <pj...@wa...> - 2023-01-09 07:53:45
|
Hi Phlippe On 09-01-23 06:06, Philippe Waroquiers wrote: > I have just pushed changes to filter_gdb.in and filter_vgdb.in as this failure > is quite general. OK but the change doesn't seem to have landed yet. > I have tested this on gcc186 where gdbserver tests were failing before the above updates, > and now they are ok. > > Should fix the tests on FreeBSD also. > > When GDB can read your .gdbinit, setting the auto-load safe path should allow to load > the python code. Unfortunately I think that there is a problem on FreeBSD. As already said there is an issue on a clean system when running in the build directory. Because the auto-load uses VG_LIBDIR which is based on the configure -prefix rather than the in-place location the scripts won't load if you haven't done a make install. The same should hold for the nightly tests. The script does a make / make check / make install and then a make regtest in the build dir. So that should work. I also see that several of the Linux nightlies also have failures. A+ Paul |
|
From: Philippe W. <phi...@sk...> - 2023-01-09 05:06:39
|
On Sun, 2023-01-08 at 22:27 +0100, Philippe Waroquiers wrote: > > > In the meantime, what we might do is to add additional patterns in > gdbserver_tests/filter_gdb.in to also delete the messages > when the python code cannot be loaded. I have just pushed changes to filter_gdb.in and filter_vgdb.in as this failure is quite general. I have tested this on gcc186 where gdbserver tests were failing before the above updates, and now they are ok. Should fix the tests on FreeBSD also. When GDB can read your .gdbinit, setting the auto-load safe path should allow to load the python code. Thanks Philippe |