This commit is contained in:
parent
77645be29a
commit
6060843a87
344
glibc-2.8.diff
344
glibc-2.8.diff
@ -1,344 +0,0 @@
|
||||
------------------------------------------------------------------------
|
||||
r7915 | dirk | 2008-04-25 13:33:30 +0200 (Fri, 25 Apr 2008) | 4 lines
|
||||
|
||||
glibc 2.8 has the very same checking reports as did
|
||||
glibc 2.7 have.. as did glibc 2.6, as did glibc 2.5, as did glibc 2.4
|
||||
as did glibc 2.4. so consolidate into one suppression file
|
||||
|
||||
------------------------------------------------------------------------
|
||||
--- glibc-2.X.supp.in
|
||||
+++ glibc-2.X.supp.in
|
||||
@@ -0,0 +1,196 @@
|
||||
+
|
||||
+##----------------------------------------------------------------------##
|
||||
+
|
||||
+# Errors to suppress by default with glibc @GLIBC_VERSION@.x
|
||||
+
|
||||
+# Format of this file is:
|
||||
+# {
|
||||
+# name_of_suppression
|
||||
+# tool_name:supp_kind
|
||||
+# (optional extra info for some suppression types)
|
||||
+# caller0 name, or /name/of/so/file.so
|
||||
+# caller1 name, or ditto
|
||||
+# (optionally: caller2 name)
|
||||
+# (optionally: caller3 name)
|
||||
+# }
|
||||
+#
|
||||
+# For Memcheck, the supp_kinds are:
|
||||
+#
|
||||
+# Param Value1 Value2 Value4 Value8 Value16 Jump
|
||||
+# Free Addr1 Addr2 Addr4 Addr8 Addr16
|
||||
+# Cond (previously known as Value0)
|
||||
+#
|
||||
+# and the optional extra info is:
|
||||
+# if Param: name of system call param
|
||||
+
|
||||
+{
|
||||
+ dl-hack1
|
||||
+ Memcheck:Cond
|
||||
+ fun:_dl_start
|
||||
+ fun:_start
|
||||
+}
|
||||
+
|
||||
+{
|
||||
+ dl-hack2
|
||||
+ Memcheck:Cond
|
||||
+ obj:/lib*/ld-@GLIBC_VERSION@*.so
|
||||
+ obj:/lib*/ld-@GLIBC_VERSION@*.so
|
||||
+ obj:/lib*/ld-@GLIBC_VERSION@*.so
|
||||
+ obj:/lib*/ld-@GLIBC_VERSION@*.so
|
||||
+}
|
||||
+
|
||||
+{
|
||||
+ dl-hack3-1
|
||||
+ Memcheck:Cond
|
||||
+ obj:/lib*/ld-@GLIBC_VERSION@*.so*
|
||||
+ obj:/lib*/ld-@GLIBC_VERSION@*.so*
|
||||
+ obj:/lib*/ld-@GLIBC_VERSION@*.so*
|
||||
+}
|
||||
+{
|
||||
+ dl-hack3-2
|
||||
+ Memcheck:Cond
|
||||
+ obj:/lib*/ld-@GLIBC_VERSION@*.so*
|
||||
+ obj:/lib*/ld-@GLIBC_VERSION@*.so*
|
||||
+ obj:/lib*/libc-@GLIBC_VERSION@*.so*
|
||||
+}
|
||||
+
|
||||
+{
|
||||
+ dl-hack4-64bit-1
|
||||
+ Memcheck:Addr8
|
||||
+ obj:/lib64/ld-@GLIBC_VERSION@*.so*
|
||||
+ obj:/lib64/ld-@GLIBC_VERSION@*.so*
|
||||
+ obj:/lib64/ld-@GLIBC_VERSION@*.so*
|
||||
+}
|
||||
+{
|
||||
+ dl-hack4-64bit-2
|
||||
+ Memcheck:Addr8
|
||||
+ obj:/lib64/ld-@GLIBC_VERSION@*.so*
|
||||
+ obj:/lib64/ld-@GLIBC_VERSION@*.so*
|
||||
+ obj:/lib64/libc-@GLIBC_VERSION@*.so*
|
||||
+}
|
||||
+{
|
||||
+ dl-hack4-64bit-3
|
||||
+ Memcheck:Addr8
|
||||
+ obj:/lib64/ld-@GLIBC_VERSION@*.so*
|
||||
+ obj:/lib64/ld-@GLIBC_VERSION@*.so*
|
||||
+ obj:/lib64/libdl-@GLIBC_VERSION@*.so*
|
||||
+}
|
||||
+
|
||||
+
|
||||
+
|
||||
+##----------------------------------------------------------------------##
|
||||
+{
|
||||
+ glibc-2.5.x-on-SUSE-10.2-(PPC)-1
|
||||
+ Memcheck:Cond
|
||||
+ fun:_dl_start_final
|
||||
+ fun:_dl_start
|
||||
+ fun:_start
|
||||
+}
|
||||
+{
|
||||
+ glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
|
||||
+ Memcheck:Cond
|
||||
+ fun:index
|
||||
+ obj:*ld-@GLIBC_VERSION@.*.so
|
||||
+}
|
||||
+{
|
||||
+ glibc-2.5.x-on-SuSE-10.2-(PPC)-2b
|
||||
+ Memcheck:Addr4
|
||||
+ fun:index
|
||||
+ fun:expand_dynamic_string_token
|
||||
+}
|
||||
+{
|
||||
+ glibc-2.5.5-on-SuSE-10.2-(PPC)-2c
|
||||
+ Memcheck:Addr4
|
||||
+ fun:index
|
||||
+ obj:*ld-@GLIBC_VERSION@.*.so
|
||||
+}
|
||||
+{
|
||||
+ glibc-2.3.5-on-SuSE-10.1-(PPC)-3
|
||||
+ Memcheck:Addr4
|
||||
+ fun:*wordcopy_fwd_dest_aligned*
|
||||
+ fun:mem*cpy
|
||||
+ obj:*lib*@GLIBC_VERSION@.*.so
|
||||
+}
|
||||
+
|
||||
+{
|
||||
+ glibc-@GLIBC_VERSION@-on-SUSE-10.3-(x86)
|
||||
+ Memcheck:Addr4
|
||||
+ obj:/lib/ld-@GLIBC_VERSION@*.so
|
||||
+ obj:/lib/ld-@GLIBC_VERSION@*.so
|
||||
+ obj:/lib/ld-@GLIBC_VERSION@*.so
|
||||
+}
|
||||
+
|
||||
+{
|
||||
+ glibc24-64bit-padding-1a
|
||||
+ Memcheck:Param
|
||||
+ socketcall.sendto(msg)
|
||||
+ fun:send
|
||||
+ fun:get_mapping
|
||||
+ fun:__nscd_get_map_ref
|
||||
+ fun:nscd*
|
||||
+}
|
||||
+{
|
||||
+ glibc24-64bit-padding-1b
|
||||
+ Memcheck:Param
|
||||
+ socketcall.sendto(msg)
|
||||
+ fun:__sendto_nocancel
|
||||
+ obj:/*libc-@GLIBC_VERSION@.so
|
||||
+ obj:/*libc-@GLIBC_VERSION@.so
|
||||
+ obj:/*libc-@GLIBC_VERSION@.so
|
||||
+}
|
||||
+{
|
||||
+ glibc24-64bit-padding-1c
|
||||
+ Memcheck:Param
|
||||
+ socketcall.send(msg)
|
||||
+ fun:send
|
||||
+ fun:__nscd_get_map_ref
|
||||
+ fun:nscd_get*_r
|
||||
+ fun:*nscd*
|
||||
+ obj:/*libc-@GLIBC_VERSION@.so
|
||||
+}
|
||||
+
|
||||
+
|
||||
+{
|
||||
+ X11-64bit-padding-3a
|
||||
+ Memcheck:Param
|
||||
+ write(buf)
|
||||
+ obj:/*libpthread-2.4.so*
|
||||
+ obj:/usr/lib*/libX11.so*
|
||||
+ obj:/usr/lib*/libX11.so*
|
||||
+ obj:/usr/lib*/libX11.so*
|
||||
+}
|
||||
+
|
||||
+{
|
||||
+ X11-64bit-padding-4a
|
||||
+ Memcheck:Param
|
||||
+ socketcall.sendto(msg)
|
||||
+ fun:send
|
||||
+ obj:/*libc-@GLIBC_VERSION@.so
|
||||
+ obj:/*libc-@GLIBC_VERSION@.so
|
||||
+ obj:/*libc-@GLIBC_VERSION@.so
|
||||
+}
|
||||
+{
|
||||
+ X11-64bit-padding-4b
|
||||
+ Memcheck:Param
|
||||
+ socketcall.send(msg)
|
||||
+ fun:send
|
||||
+ obj:/*libc-@GLIBC_VERSION@.so
|
||||
+ obj:/*libc-@GLIBC_VERSION@.so
|
||||
+ obj:/*libc-@GLIBC_VERSION@.so
|
||||
+}
|
||||
+
|
||||
+##----------------------------------------------------------------------##
|
||||
+# MontaVista Linux 4.0.1 on ppc32
|
||||
+{
|
||||
+ MVL-401-linuxthreads-pthread_create
|
||||
+ Memcheck:Param
|
||||
+ write(buf)
|
||||
+ fun:pthread_create
|
||||
+}
|
||||
+{
|
||||
+ MVL-401-linuxthreads-pthread_create
|
||||
+ Memcheck:Param
|
||||
+ write(buf)
|
||||
+ obj:/lib/libpthread-0.10.so
|
||||
+ fun:pthread_create
|
||||
+}
|
||||
|
||||
Property changes on: glibc-2.X.supp.in
|
||||
___________________________________________________________________
|
||||
Added: svn:mergeinfo
|
||||
|
||||
|
||||
--- configure.in
|
||||
+++ configure.in
|
||||
@@ -407,7 +407,7 @@ DEFAULT_SUPP=""
|
||||
AC_SUBST(DEFAULT_SUPP)
|
||||
|
||||
|
||||
-libc=""
|
||||
+GLIBC_VERSION=""
|
||||
|
||||
AC_EGREP_CPP([GLIBC_22], [
|
||||
#include <features.h>
|
||||
@@ -417,7 +417,7 @@ AC_EGREP_CPP([GLIBC_22], [
|
||||
#endif
|
||||
#endif
|
||||
],
|
||||
-libc="2.2")
|
||||
+GLIBC_VERSION="2.2")
|
||||
|
||||
AC_EGREP_CPP([GLIBC_23], [
|
||||
#include <features.h>
|
||||
@@ -427,7 +427,7 @@ AC_EGREP_CPP([GLIBC_23], [
|
||||
#endif
|
||||
#endif
|
||||
],
|
||||
-libc="2.3")
|
||||
+GLIBC_VERSION="2.3")
|
||||
|
||||
AC_EGREP_CPP([GLIBC_24], [
|
||||
#include <features.h>
|
||||
@@ -437,7 +437,7 @@ AC_EGREP_CPP([GLIBC_24], [
|
||||
#endif
|
||||
#endif
|
||||
],
|
||||
-libc="2.4")
|
||||
+GLIBC_VERSION="2.4")
|
||||
|
||||
AC_EGREP_CPP([GLIBC_25], [
|
||||
#include <features.h>
|
||||
@@ -447,7 +447,7 @@ AC_EGREP_CPP([GLIBC_25], [
|
||||
#endif
|
||||
#endif
|
||||
],
|
||||
-libc="2.5")
|
||||
+GLIBC_VERSION="2.5")
|
||||
|
||||
AC_EGREP_CPP([GLIBC_26], [
|
||||
#include <features.h>
|
||||
@@ -457,7 +457,7 @@ AC_EGREP_CPP([GLIBC_26], [
|
||||
#endif
|
||||
#endif
|
||||
],
|
||||
-libc="2.6")
|
||||
+GLIBC_VERSION="2.6")
|
||||
|
||||
AC_EGREP_CPP([GLIBC_27], [
|
||||
#include <features.h>
|
||||
@@ -467,7 +467,17 @@ AC_EGREP_CPP([GLIBC_27], [
|
||||
#endif
|
||||
#endif
|
||||
],
|
||||
-libc="2.7")
|
||||
+GLIBC_VERSION="2.7")
|
||||
+
|
||||
+AC_EGREP_CPP([GLIBC_28], [
|
||||
+#include <features.h>
|
||||
+#ifdef __GNU_LIBRARY__
|
||||
+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 8)
|
||||
+ GLIBC_28
|
||||
+ #endif
|
||||
+#endif
|
||||
+],
|
||||
+GLIBC_VERSION="2.8")
|
||||
|
||||
AC_EGREP_CPP([AIX5_LIBC], [
|
||||
#include <standards.h>
|
||||
@@ -475,11 +485,11 @@ AC_EGREP_CPP([AIX5_LIBC], [
|
||||
AIX5_LIBC
|
||||
#endif
|
||||
],
|
||||
-libc="aix5")
|
||||
+GLIBC_VERSION="aix5")
|
||||
|
||||
-AC_MSG_CHECKING([the libc version])
|
||||
+AC_MSG_CHECKING([the GLIBC_VERSION version])
|
||||
|
||||
-case "${libc}" in
|
||||
+case "${GLIBC_VERSION}" in
|
||||
2.2)
|
||||
AC_MSG_RESULT(2.2 family)
|
||||
AC_DEFINE([GLIBC_2_2], 1, [Define to 1 if you're using glibc 2.2.x])
|
||||
@@ -516,9 +526,16 @@ case "${libc}" in
|
||||
2.7)
|
||||
AC_MSG_RESULT(2.7 family)
|
||||
AC_DEFINE([GLIBC_2_7], 1, [Define to 1 if you're using glibc 2.7.x])
|
||||
- DEFAULT_SUPP="glibc-2.7.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
+ ;;
|
||||
+ 2.8)
|
||||
+ AC_MSG_RESULT(2.8 family)
|
||||
+ AC_DEFINE([GLIBC_2_8], 1, [Define to 1 if you're using glibc 2.8.x])
|
||||
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
|
||||
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
;;
|
||||
+
|
||||
aix5)
|
||||
AC_MSG_RESULT(AIX 5.1 or 5.2 or 5.3)
|
||||
AC_DEFINE([AIX5_LIBC], 1, [Define to 1 if you're using AIX 5.1 or 5.2 or 5.3])
|
||||
@@ -527,11 +544,12 @@ case "${libc}" in
|
||||
|
||||
*)
|
||||
AC_MSG_RESULT(unsupported version)
|
||||
- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.7])
|
||||
- AC_MSG_ERROR([or AIX 5.1 or 5.2 or 5.3 libc])
|
||||
+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.8])
|
||||
+ AC_MSG_ERROR([or AIX 5.1 or 5.2 or 5.3 GLIBC_VERSION])
|
||||
;;
|
||||
esac
|
||||
|
||||
+AC_SUBST(GLIBC_VERSION)
|
||||
|
||||
# We don't know how to detect the X client library version
|
||||
# (detecting the server version is easy, but no help). So we
|
||||
@@ -964,6 +982,7 @@ AC_OUTPUT(
|
||||
Makefile
|
||||
valgrind.spec
|
||||
valgrind.pc
|
||||
+ glibc-2.X.supp
|
||||
docs/Makefile
|
||||
docs/lib/Makefile
|
||||
docs/images/Makefile
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5af08229d77fe55437a6c558aee9babcff23f28c8a9c8f1f0a7d152754e9947a
|
||||
size 4519551
|
3
valgrind-3.3.1.tar.bz2
Normal file
3
valgrind-3.3.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:95b7b4d815bd479332637c93e69ec24167cd28d4f9d9f9b718e1b091bb88aafa
|
||||
size 4544805
|
@ -1,3 +1,47 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 22 21:27:30 CEST 2008 - dmueller@suse.de
|
||||
|
||||
- update to 3.3.1:
|
||||
n-i-bz Massif segfaults at exit
|
||||
n-i-bz Memcheck asserts on Altivec code
|
||||
n-i-bz fix sizeof bug in Helgrind
|
||||
n-i-bz check fd on sys_llseek
|
||||
n-i-bz update syscall lists to kernel 2.6.23.1
|
||||
n-i-bz support sys_sync_file_range
|
||||
n-i-bz handle sys_sysinfo, sys_getresuid, sys_getresgid on ppc64-linux
|
||||
n-i-bz intercept memcpy in 64-bit ld.so's
|
||||
n-i-bz Fix wrappers for sys_{futimesat,utimensat}
|
||||
n-i-bz Minor false-error avoidance fixes for Memcheck
|
||||
n-i-bz libmpiwrap.c: add a wrapper for MPI_Waitany
|
||||
n-i-bz helgrind support for glibc-2.8
|
||||
n-i-bz partial fix for mc_leakcheck.c:698 assert:
|
||||
'lc_shadows[i]->data + lc_shadows[i] ...
|
||||
n-i-bz Massif/Cachegrind output corruption when programs fork
|
||||
n-i-bz register allocator fix: handle spill stores correctly
|
||||
n-i-bz add support for PA6T PowerPC CPUs
|
||||
126389 vex x86->IR: 0xF 0xAE (FXRSTOR)
|
||||
158525 ==126389
|
||||
152818 vex x86->IR: 0xF3 0xAC (repz lodsb)
|
||||
153196 vex x86->IR: 0xF2 0xA6 (repnz cmpsb)
|
||||
155011 vex x86->IR: 0xCF (iret)
|
||||
155091 Warning [...] unhandled DW_OP_ opcode 0x23
|
||||
156960 ==155901
|
||||
155528 support Core2/SSSE3 insns on x86/amd64
|
||||
155929 ms_print fails on massif outputs containing long lines
|
||||
157665 valgrind fails on shmdt(0) after shmat to 0
|
||||
157748 support x86 PUSHFW/POPFW
|
||||
158212 helgrind: handle pthread_rwlock_try{rd,wr}lock.
|
||||
158425 sys_poll incorrectly emulated when RES==0
|
||||
158744 vex amd64->IR: 0xF0 0x41 0xF 0xC0 (xaddb)
|
||||
160907 Support for a couple of recent Linux syscalls
|
||||
161285 Patch -- support for eventfd() syscall
|
||||
161378 illegal opcode in debug libm (FUCOMPP)
|
||||
160136 ==161378
|
||||
161487 number of suppressions files is limited to 10
|
||||
162386 ms_print typo in milliseconds time unit for massif
|
||||
161036 exp-drd: client allocated memory was never freed
|
||||
162663 signalfd_wrapper fails on 64bit linux
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 28 00:33:35 CEST 2008 - dmueller@suse.de
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package valgrind (Version 3.3.0)
|
||||
# spec file for package valgrind (Version 3.3.1)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -26,15 +26,14 @@ License: GPL v2 only
|
||||
Group: Development/Tools/Debuggers
|
||||
Summary: Valgrind Suite of Tools for Debugging and Profiling
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Version: 3.3.0
|
||||
Release: 33
|
||||
Version: 3.3.1
|
||||
Release: 1
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
# svn di svn://svn.valgrind.org/valgrind/tags/VALGRIND_3_2_1 svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_2_BRANCH > 3_2_BRANCH.diff
|
||||
# svn di svn://svn.valgrind.org/vex/tags/VEX_3_2_1 svn://svn.valgrind.org/vex/branches/VEX_3_2_BRANCH > VEX_3_2_BRANCH.diff
|
||||
Patch8: jit-runtime-support.diff
|
||||
Patch9: deprecated.diff
|
||||
Patch10: update-suppressions.diff
|
||||
Patch11: glibc-2.8.diff
|
||||
Patch12: xcb-update.diff
|
||||
Provides: callgrind = %version
|
||||
Obsoletes: callgrind < %version
|
||||
@ -121,7 +120,6 @@ cd ..
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%patch11
|
||||
%patch12
|
||||
|
||||
%build
|
||||
@ -152,6 +150,47 @@ mv $RPM_BUILD_ROOT/usr/share/doc/valgrind $RPM_BUILD_ROOT/usr/share/doc/packages
|
||||
%_libdir/valgrind/*/*.a
|
||||
|
||||
%changelog
|
||||
* Sun Jun 22 2008 dmueller@suse.de
|
||||
- update to 3.3.1:
|
||||
n-i-bz Massif segfaults at exit
|
||||
n-i-bz Memcheck asserts on Altivec code
|
||||
n-i-bz fix sizeof bug in Helgrind
|
||||
n-i-bz check fd on sys_llseek
|
||||
n-i-bz update syscall lists to kernel 2.6.23.1
|
||||
n-i-bz support sys_sync_file_range
|
||||
n-i-bz handle sys_sysinfo, sys_getresuid, sys_getresgid on ppc64-linux
|
||||
n-i-bz intercept memcpy in 64-bit ld.so's
|
||||
n-i-bz Fix wrappers for sys_{futimesat,utimensat}
|
||||
n-i-bz Minor false-error avoidance fixes for Memcheck
|
||||
n-i-bz libmpiwrap.c: add a wrapper for MPI_Waitany
|
||||
n-i-bz helgrind support for glibc-2.8
|
||||
n-i-bz partial fix for mc_leakcheck.c:698 assert:
|
||||
'lc_shadows[i]->data + lc_shadows[i] ...
|
||||
n-i-bz Massif/Cachegrind output corruption when programs fork
|
||||
n-i-bz register allocator fix: handle spill stores correctly
|
||||
n-i-bz add support for PA6T PowerPC CPUs
|
||||
126389 vex x86->IR: 0xF 0xAE (FXRSTOR)
|
||||
158525 ==126389
|
||||
152818 vex x86->IR: 0xF3 0xAC (repz lodsb)
|
||||
153196 vex x86->IR: 0xF2 0xA6 (repnz cmpsb)
|
||||
155011 vex x86->IR: 0xCF (iret)
|
||||
155091 Warning [...] unhandled DW_OP_ opcode 0x23
|
||||
156960 ==155901
|
||||
155528 support Core2/SSSE3 insns on x86/amd64
|
||||
155929 ms_print fails on massif outputs containing long lines
|
||||
157665 valgrind fails on shmdt(0) after shmat to 0
|
||||
157748 support x86 PUSHFW/POPFW
|
||||
158212 helgrind: handle pthread_rwlock_try{rd,wr}lock.
|
||||
158425 sys_poll incorrectly emulated when RES==0
|
||||
158744 vex amd64->IR: 0xF0 0x41 0xF 0xC0 (xaddb)
|
||||
160907 Support for a couple of recent Linux syscalls
|
||||
161285 Patch -- support for eventfd() syscall
|
||||
161378 illegal opcode in debug libm (FUCOMPP)
|
||||
160136 ==161378
|
||||
161487 number of suppressions files is limited to 10
|
||||
162386 ms_print typo in milliseconds time unit for massif
|
||||
161036 exp-drd: client allocated memory was never freed
|
||||
162663 signalfd_wrapper fails on 64bit linux
|
||||
* Mon Apr 28 2008 dmueller@suse.de
|
||||
- update glibc 2.8 support
|
||||
* Sun Dec 16 2007 dmueller@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user