Hello community, here is the log from the commit of package valgrind for openSUSE:Factory checked in at Fri May 7 15:38:19 CEST 2010. -------- --- valgrind/valgrind.changes 2010-03-26 13:56:50.000000000 +0100 +++ valgrind/valgrind.changes 2010-05-07 13:44:28.000000000 +0200 @@ -1,0 +2,11 @@ +Fri May 7 13:44:18 CEST 2010 - dmueller@suse.de + +- fix build for ppc64 + +------------------------------------------------------------------- +Mon Apr 26 16:14:02 CEST 2010 - dmueller@suse.de + +- handle pthread apps better (bnc#599585) +- prefer CFI for better stack unwinding (bnc#559061) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- prefer-cfi.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ valgrind.spec ++++++ --- /var/tmp/diff_new_pack.fLJrNA/_old 2010-05-07 15:35:11.000000000 +0200 +++ /var/tmp/diff_new_pack.fLJrNA/_new 2010-05-07 15:35:11.000000000 +0200 @@ -28,7 +28,7 @@ Summary: Valgrind Suite of Tools for Debugging and Profiling BuildRoot: %{_tmppath}/%{name}-%{version}-build Version: 3.5.0 -Release: 4 +Release: 5 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 @@ -36,6 +36,7 @@ Patch2: deprecated.diff Patch3: glibc-211.diff Patch4: bnc558964.diff +Patch5: prefer-cfi.diff Provides: callgrind = %version Obsoletes: callgrind < %version ExclusiveArch: %ix86 x86_64 ppc ppc64 @@ -122,6 +123,9 @@ %patch2 %patch3 %patch4 +%if %suse_version >= 1120 +%patch5 +%endif %build export CFLAGS="$RPM_OPT_FLAGS" ++++++ bnc558964.diff ++++++ --- /var/tmp/diff_new_pack.fLJrNA/_old 2010-05-07 15:35:11.000000000 +0200 +++ /var/tmp/diff_new_pack.fLJrNA/_new 2010-05-07 15:35:11.000000000 +0200 @@ -63,11 +63,13 @@ const UInt ML_(syscall_table_size) = --- coregrind/m_syswrap/syswrap-ppc64-linux.c +++ coregrind/m_syswrap/syswrap-ppc64-linux.c -@@ -1507,7 +1507,7 @@ +@@ -1506,8 +1506,8 @@ + LINX_(__NR_eventfd2, sys_eventfd2), // 314 LINXY(__NR_epoll_create1, sys_epoll_create1), // 315 // (__NR_dup3, sys_ni_syscall) // 316 - LINXY(__NR_pipe2, sys_pipe2) // 317 +- LINXY(__NR_pipe2, sys_pipe2) // 317 - // (__NR_inotify_init1, sys_ni_syscall) // 318 ++ LINXY(__NR_pipe2, sys_pipe2), // 317 + LINXY(__NR_inotify_init1, sys_inotify_init1), // 318 }; ++++++ prefer-cfi.diff ++++++ --- coregrind/m_stacktrace.c +++ coregrind/m_stacktrace.c @@ -153,11 +153,18 @@ /* Try to derive a new (ip,sp,fp) triple from the current set. */ - /* On x86, first try the old-fashioned method of following the - %ebp-chain. Code which doesn't use this (that is, compiled - with -fomit-frame-pointer) is not ABI compliant and so - relatively rare. Besides, trying the CFI first almost always - fails, and is expensive. */ + /* That didn't work out, so see if there is any CF info to hand + which can be used. */ + if ( VG_(use_CF_info)( &ip, &sp, &fp, fp_min, fp_max ) ) { + if (0 == ip || 1 == ip) break; + if (sps) sps[i] = sp; + if (fps) fps[i] = fp; + ips[i++] = ip - 1; /* -1: refer to calling insn, not the RA */ + if (debug) + VG_(printf)(" ipsC[%d]=0x%08lx\n", i-1, ips[i-1]); + ip = ip - 1; /* as per comment at the head of this loop */ + continue; + } /* Deal with frames resulting from functions which begin "pushl% ebp ; movl %esp, %ebp" which is the ABI-mandated preamble. */ if (fp_min <= fp && @@ -183,19 +190,6 @@ ip = ip - 1; /* as per comment at the head of this loop */ continue; } - - /* That didn't work out, so see if there is any CF info to hand - which can be used. */ - if ( VG_(use_CF_info)( &ip, &sp, &fp, fp_min, fp_max ) ) { - if (0 == ip || 1 == ip) break; - if (sps) sps[i] = sp; - if (fps) fps[i] = fp; - ips[i++] = ip - 1; /* -1: refer to calling insn, not the RA */ - if (debug) - VG_(printf)(" ipsC[%d]=0x%08lx\n", i-1, ips[i-1]); - ip = ip - 1; /* as per comment at the head of this loop */ - continue; - } /* And, similarly, try for MSVC FPO unwind info. */ if ( VG_(use_FPO_info)( &ip, &sp, &fp, fp_min, fp_max ) ) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org