Hello community, here is the log from the commit of package valgrind for openSUSE:Factory checked in at 2011-11-10 16:07:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/valgrind (Old) and /work/SRC/openSUSE:Factory/.valgrind.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "valgrind", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/valgrind/valgrind.changes 2011-10-28 15:25:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.valgrind.new/valgrind.changes 2011-11-10 16:07:19.000000000 +0100 @@ -1,0 +2,22 @@ +Wed Nov 9 20:01:00 CET 2011 - [email protected] + +- update to 3.7.0 (bnc#724215): + * Support for IBM z/Architecture (s390x) running Linux. Valgrind can + analyse 64-bit programs running on z/Architecture. Most user space + instructions up to and including z10 are supported. + See README.s390 for more details. + * Support for the IBM Power ISA 2.06 (Power7 instructions) + * Further solidification of support for SSE 4.2 in 64-bit mode + * Memcheck: + * - reduction of memory use in some circumstances + * - improved handling of freed memory for finding more errors + * - fix of a longstanding bug that could cause false negatives + * Helgrind: + * - Helgrind: performance improvements and major memory use reductions + * GDB server: Valgrind now has an embedded GDB server. That means it + is possible to control a Valgrind run from GDB, doing all the usual + things that GDB can do (single stepping, breakpoints, examining + data, etc). Tool-specific functionality is also available. + * Over 160 bugs have been fixed. + +------------------------------------------------------------------- Old: ---- glibc-2.14.diff valgrind-3.6.0.svn11566-s390x-port.diff valgrind-3.6.1-kernel3.patch valgrind-3.6.1.tar.bz2 valgrind-r11643.diff valgrind-r11644.diff valgrind-vex-r2106.diff valgrind-vex-r2109.diff valgrind_r12002.diff vg_bug259977_r11687.patch vg_bug259977_r11688.patch vg_bug259977_r11689.patch vg_bug259977_r11690.patch vg_bug267630_r2127.patch vg_bug270794_r11697.patch vg_bug270851_r2130.patch vg_bug270851_r2148.patch vg_bug270856_r2136.patch vg_bug271042_r11699.patch vg_bug271043_r11700.patch vg_bug271043_r11765.patch New: ---- valgrind-3.7.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ valgrind.spec ++++++ --- /var/tmp/diff_new_pack.8rApvT/_old 2011-11-10 16:07:21.000000000 +0100 +++ /var/tmp/diff_new_pack.8rApvT/_new 2011-11-10 16:07:21.000000000 +0100 @@ -27,32 +27,12 @@ Group: Development/Tools/Debuggers Summary: Memory Management Debugger BuildRoot: %{_tmppath}/%{name}-%{version}-build -Version: 3.6.1 -Release: 11 +Version: 3.7.0 +Release: 1 Source0: %{name}-%{version}.tar.bz2 # svn di svn://svn.valgrind.org/valgrind/tags/VALGRIND_3_5_0 svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_5_BRANCH > 3_5_BRANCH.diff # svn di svn://svn.valgrind.org/vex/tags/VEX_3_5_0 svn://svn.valgrind.org/vex/branches/VEX_3_5_BRANCH > VEX_3_5_BRANCH.diff Patch1: jit-register-unregister.diff -Patch3: valgrind-3.6.0.svn11566-s390x-port.diff -Patch5: valgrind-vex-r2109.diff -Patch6: valgrind-r11644.diff -Patch7: valgrind-r11643.diff -Patch8: valgrind-vex-r2106.diff -Patch9: vg_bug259977_r11687.patch -Patch10: vg_bug259977_r11688.patch -Patch11: vg_bug259977_r11689.patch -Patch12: vg_bug259977_r11690.patch -Patch14: vg_bug270794_r11697.patch -Patch15: vg_bug271042_r11699.patch -Patch16: vg_bug271043_r11700.patch -Patch17: vg_bug271043_r11765.patch -Patch41: vg_bug267630_r2127.patch -Patch42: vg_bug270851_r2130.patch -Patch43: vg_bug270856_r2136.patch -Patch44: vg_bug270851_r2148.patch -Patch45: valgrind-3.6.1-kernel3.patch -Patch46: glibc-2.14.diff -Patch47: valgrind_r12002.diff # during building the major version of glibc is built into the suppression file %define glibc_main_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f1) %define glibc_major_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f2) @@ -149,31 +129,8 @@ %prep %setup -q -n %{name}-%{version} cd VEX -%patch5 -%patch8 cd .. %patch1 -#%ifarch s390x -%patch3 -#%endif -%patch6 -%patch7 -%patch9 -%patch10 -%patch11 -%patch12 -%patch14 -%patch15 -%patch16 -%patch17 - -%patch41 -%patch42 -%patch43 -%patch44 -%patch45 -%patch46 -%patch47 %build %ifarch %arm @@ -181,6 +138,8 @@ # native thumb support. RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-mthumb/-mthumb-interwork -marm} %endif +# not a good idea to build valgrind with fortify, as it does not link glibc +RPM_OPT_FLAGS="${RPM_OPT_FLAGS/-D_FORTIFY_SOURCE=2/}" export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" autoreconf -fi @@ -230,6 +189,43 @@ %endif %_libdir/valgrind/*-linux.so %_libdir/valgrind/*.supp +%_libdir/valgrind/32bit-core.xml +%_libdir/valgrind/32bit-linux.xml +%_libdir/valgrind/32bit-sse.xml +%_libdir/valgrind/64bit-core.xml +%_libdir/valgrind/64bit-linux.xml +%_libdir/valgrind/64bit-sse.xml +%_libdir/valgrind/32bit-core-valgrind-s*.xml +%_libdir/valgrind/32bit-linux-valgrind-s*.xml +%_libdir/valgrind/32bit-sse-valgrind-s*.xml +%_libdir/valgrind/64bit-core-valgrind-s*.xml +%_libdir/valgrind/64bit-linux-valgrind-s*.xml +%_libdir/valgrind/64bit-sse-valgrind-s*.xml +%_libdir/valgrind/amd64-coresse-valgrind.xml +%_libdir/valgrind/amd64-linux-valgrind.xml +%_libdir/valgrind/arm-core-valgrind-s*.xml +%_libdir/valgrind/arm-core.xml +%_libdir/valgrind/arm-vfpv3-valgrind-s*.xml +%_libdir/valgrind/arm-vfpv3.xml +%_libdir/valgrind/arm-with-vfpv3-valgrind.xml +%_libdir/valgrind/arm-with-vfpv3.xml +%_libdir/valgrind/i386-coresse-valgrind.xml +%_libdir/valgrind/i386-linux-valgrind.xml +%_libdir/valgrind/power-altivec-valgrind-s*.xml +%_libdir/valgrind/power-altivec.xml +%_libdir/valgrind/power-core.xml +%_libdir/valgrind/power-fpu-valgrind-s*.xml +%_libdir/valgrind/power-fpu.xml +%_libdir/valgrind/power-linux-valgrind-s*.xml +%_libdir/valgrind/power-linux.xml +%_libdir/valgrind/power64-core-valgrind-s*.xml +%_libdir/valgrind/power64-core.xml +%_libdir/valgrind/power64-linux-valgrind-s*.xml +%_libdir/valgrind/power64-linux.xml +%_libdir/valgrind/powerpc-altivec32l-valgrind.xml +%_libdir/valgrind/powerpc-altivec32l.xml +%_libdir/valgrind/powerpc-altivec64l-valgrind.xml +%_libdir/valgrind/powerpc-altivec64l.xml %if %suse_version > 1100 ++++++ jit-register-unregister.diff ++++++ --- /var/tmp/diff_new_pack.8rApvT/_old 2011-11-10 16:07:21.000000000 +0100 +++ /var/tmp/diff_new_pack.8rApvT/_new 2011-11-10 16:07:21.000000000 +0100 @@ -1,46 +1,6 @@ -Index: include/valgrind.h -=================================================================== ---- include/valgrind.h.orig -+++ include/valgrind.h -@@ -4328,7 +4328,12 @@ typedef - VG_USERREQ__LOAD_PDB_DEBUGINFO = 0x1601, - - /* Querying of debug info. */ -- VG_USERREQ__MAP_IP_TO_SRCLOC = 0x1701 -+ VG_USERREQ__MAP_IP_TO_SRCLOC = 0x1701, -+ -+ /* JIT support */ -+ VG_USERREQ__JIT_REGISTER_MAP = 0x1702, -+ VG_USERREQ__JIT_UNREGISTER_MAP = 0x1703 -+ - } Vg_ClientRequest; - - #if !defined(__GNUC__) -@@ -4780,6 +4785,19 @@ VALGRIND_PRINTF_BACKTRACE(const char *fo - addr, buf64, 0, 0, 0); \ - } - -+#define VALGRIND_JIT_REGISTER_MAP(name, start, end) \ -+ {unsigned int _qzz_res; \ -+ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ -+ VG_USERREQ__JIT_REGISTER_MAP, \ -+ name, start, end, 0, 0); \ -+ } -+ -+#define VALGRIND_JIT_UNREGISTER_MAP(name, start) \ -+ {unsigned int _qzz_res; \ -+ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ -+ VG_USERREQ__JIT_REGISTER_MAP, \ -+ start, 0, 0, 0, 0); \ -+ } - - #undef PLAT_x86_linux - #undef PLAT_amd64_linux -Index: coregrind/m_debuginfo/debuginfo.c -=================================================================== ---- coregrind/m_debuginfo/debuginfo.c.orig +--- coregrind/m_debuginfo/debuginfo.c +++ coregrind/m_debuginfo/debuginfo.c -@@ -48,6 +48,7 @@ +@@ -49,6 +49,7 @@ #include "pub_core_oset.h" #include "pub_core_stacktrace.h" // VG_(get_StackTrace) XXX: circular dependency #include "pub_core_ume.h" @@ -48,8 +8,8 @@ #include "priv_misc.h" /* dinfo_zalloc/free */ #include "priv_d3basics.h" /* ML_(pp_GX) */ -@@ -1201,6 +1202,132 @@ ULong VG_(di_aix5_notify_segchange)( - #endif /* defined(VGO_aix5) */ +@@ -1253,6 +1254,132 @@ + #endif /* defined(VGO_linux) || defined(VGO_darwin) */ +/* Storing and retrieving information caused by JITted code. TODO: @@ -181,7 +141,7 @@ /*------------------------------------------------------------*/ /*--- ---*/ /*--- TOP LEVEL: QUERYING EXISTING DEBUG INFO ---*/ -@@ -1336,8 +1463,19 @@ Bool get_sym_name ( Bool do_cxx_demangli +@@ -1388,8 +1515,19 @@ PtrdiffT offset; search_all_symtabs ( a, &di, &sno, match_anywhere_in_sym, findText ); @@ -200,30 +160,11 @@ return False; + } + vg_assert(di->symtab[sno].pri_name); VG_(demangle) ( do_cxx_demangling, do_z_demangling, - di->symtab[sno].name, buf, nbuf ); -Index: coregrind/pub_core_debuginfo.h -=================================================================== ---- coregrind/pub_core_debuginfo.h.orig -+++ coregrind/pub_core_debuginfo.h -@@ -106,6 +106,12 @@ Bool VG_(get_fnname_raw) ( Addr a, Char* - extern - Bool VG_(get_fnname_no_cxx_demangle) ( Addr a, Char* buf, Int nbuf ); - -+/* Register/deregister symbols created by JITs. */ -+extern -+void VG_(register_jited_code)( Char* name, Addr start, SizeT len ); -+ -+extern -+void VG_(unregister_jited_code)( Addr start ); - - /* Use DWARF2/3 CFA information to do one step of stack unwinding. - D3UnwindRegs holds the current register values, and is -Index: coregrind/m_scheduler/scheduler.c -=================================================================== ---- coregrind/m_scheduler/scheduler.c.orig +--- coregrind/m_scheduler/scheduler.c +++ coregrind/m_scheduler/scheduler.c -@@ -1585,6 +1585,16 @@ void do_client_request ( ThreadId tid ) +@@ -1669,6 +1669,16 @@ goto my_default; } @@ -240,3 +181,51 @@ default: my_default: if (os_client_request(tid, arg)) { +--- coregrind/pub_core_debuginfo.h ++++ coregrind/pub_core_debuginfo.h +@@ -93,6 +93,12 @@ + extern + Bool VG_(get_fnname_no_cxx_demangle) ( Addr a, Char* buf, Int nbuf ); + ++/* Register/deregister symbols created by JITs. */ ++extern ++void VG_(register_jited_code)( Char* name, Addr start, SizeT len ); ++ ++extern ++void VG_(unregister_jited_code)( Addr start ); + + /* Use DWARF2/3 CFA information to do one step of stack unwinding. + D3UnwindRegs holds the current register values, and is +--- include/valgrind.h ++++ include/valgrind.h +@@ -3664,6 +3664,10 @@ + /* Querying of debug info. */ + VG_USERREQ__MAP_IP_TO_SRCLOC = 0x1701, + ++ /* JIT support */ ++ VG_USERREQ__JIT_REGISTER_MAP = 0x1702, ++ VG_USERREQ__JIT_UNREGISTER_MAP = 0x1703, ++ + /* Disable/enable error reporting level. Takes a single + Word arg which is the delta to this thread's error + disablement indicator. Hence 1 disables or further +@@ -3828,6 +3832,19 @@ + _qyy_arg1, _qyy_arg2, \ + _qyy_arg3, 0) + ++#define VALGRIND_JIT_REGISTER_MAP(name, start, end) \ ++ {unsigned int _qzz_res; \ ++ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ ++ VG_USERREQ__JIT_REGISTER_MAP, \ ++ name, start, end, 0, 0); \ ++ } ++ ++#define VALGRIND_JIT_UNREGISTER_MAP(name, start) \ ++ {unsigned int _qzz_res; \ ++ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ ++ VG_USERREQ__JIT_REGISTER_MAP, \ ++ start, 0, 0, 0, 0); \ ++ } + + /* Counts the number of errors that have been recorded by a tool. Nb: + the tool must record the errors with VG_(maybe_record_error)() or ++++++ valgrind-3.6.1.tar.bz2 -> valgrind-3.7.0.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/valgrind/valgrind-3.6.1.tar.bz2 /work/SRC/openSUSE:Factory/.valgrind.new/valgrind-3.7.0.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
