2007-01-16 00:40:26 +01:00
|
|
|
#
|
2007-12-03 23:48:02 +01:00
|
|
|
# spec file for package valgrind (Version 3.3.0)
|
2007-01-16 00:40:26 +01:00
|
|
|
#
|
2007-01-23 01:31:15 +01:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:40:26 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: valgrind
|
|
|
|
BuildRequires: gcc-c++ glibc-devel-32bit xorg-x11-devel
|
2007-09-12 16:49:23 +02:00
|
|
|
%ifarch x86_64 ppc64
|
2007-01-16 00:40:26 +01:00
|
|
|
%if %suse_version > 1010
|
2007-01-23 15:15:03 +01:00
|
|
|
BuildRequires: gcc-32bit
|
2007-01-16 00:40:26 +01:00
|
|
|
%endif
|
|
|
|
%if %suse_version < 1010
|
|
|
|
BuildRequires: gcc-32bit glibc-32bit
|
|
|
|
%endif
|
|
|
|
%endif
|
2007-09-14 16:28:27 +02:00
|
|
|
Url: http://valgrind.org/
|
2007-09-12 16:49:23 +02:00
|
|
|
License: GPL v2 only
|
2007-01-16 00:40:26 +01:00
|
|
|
Group: Development/Tools/Debuggers
|
2007-09-14 16:28:27 +02:00
|
|
|
Summary: Valgrind Suite of Tools for Debugging and Profiling
|
2007-01-16 00:40:26 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-12-03 23:48:02 +01:00
|
|
|
Version: 3.3.0
|
2007-12-17 12:08:48 +01:00
|
|
|
Release: 6
|
2007-12-12 21:29:12 +01:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2007-01-16 00:40:26 +01:00
|
|
|
# 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
|
2007-07-10 19:12:55 +02:00
|
|
|
Patch8: jit-runtime-support.diff
|
2007-12-17 12:08:48 +01:00
|
|
|
Patch9: deprecated.diff
|
2007-12-03 23:48:02 +01:00
|
|
|
Provides: callgrind = %version
|
|
|
|
Obsoletes: callgrind < %version
|
2007-09-14 16:28:27 +02:00
|
|
|
ExclusiveArch: %ix86 x86_64 ppc ppc64
|
2007-01-16 00:40:26 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Valgrind checks all memory operations in an application, like read,
|
|
|
|
write, malloc, new, free, and delete. Valgrind can find uses of
|
|
|
|
uninitialized memory, access to already freed memory, overflows,
|
2007-09-14 16:28:27 +02:00
|
|
|
illegal heap operations, memory leaks, and any illegal
|
2007-01-16 00:40:26 +01:00
|
|
|
new/malloc/free/delete commands. Another program in the package is
|
2007-09-14 16:28:27 +02:00
|
|
|
"cachegrind," a profiler based on the valgrind engine. It is plugin
|
|
|
|
based and many different tools are available.
|
2007-01-16 00:40:26 +01:00
|
|
|
|
2007-09-14 16:28:27 +02:00
|
|
|
To use valgrind you should launch the application like normal with
|
|
|
|
debuginfo packages installed, for example:
|
|
|
|
|
|
|
|
|
|
|
|
_memcheck --leak-check_
|
2007-01-16 00:40:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
More valgrind options can be listed via "valgrind --help". There is
|
|
|
|
also complete documentation in the /usr/share/doc/packages/valgrind/
|
|
|
|
directory. A debugged application runs slower and needs much more
|
2007-09-14 16:28:27 +02:00
|
|
|
memory, but is usually still usable.
|
2007-01-16 00:40:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-06 00:31:09 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Julian Seward <jseward@acm.org>
|
|
|
|
Cerion Armour-Brown
|
|
|
|
Jeremy Fitzhardinge
|
|
|
|
Tom Hughes
|
|
|
|
Nicholas Nethercote
|
|
|
|
Paul Mackerras
|
|
|
|
Dirk Mueller
|
|
|
|
Robert Walsh
|
|
|
|
|
|
|
|
%package devel
|
2007-09-14 16:28:27 +02:00
|
|
|
Summary: Valgrind Suite of Tools for Debugging and Profiling
|
2007-04-06 00:31:09 +02:00
|
|
|
Group: Development/Tools/Debuggers
|
|
|
|
Requires: %name = %version
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Valgrind checks all memory operations in an application, like read,
|
|
|
|
write, malloc, new, free, and delete. Valgrind can find uses of
|
|
|
|
uninitialized memory, access to already freed memory, overflows,
|
2007-09-14 16:28:27 +02:00
|
|
|
illegal heap operations, memory leaks, and any illegal
|
2007-04-06 00:31:09 +02:00
|
|
|
new/malloc/free/delete commands. Another program in the package is
|
2007-09-14 16:28:27 +02:00
|
|
|
"cachegrind," a profiler based on the valgrind engine. It is plugin
|
|
|
|
based and many different tools are available.
|
|
|
|
|
|
|
|
To use valgrind you should launch the application like normal with
|
|
|
|
debuginfo packages installed, for example:
|
|
|
|
|
2007-04-06 00:31:09 +02:00
|
|
|
|
2007-09-14 16:28:27 +02:00
|
|
|
_memcheck --leak-check_
|
2007-04-06 00:31:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
More valgrind options can be listed via "valgrind --help". There is
|
|
|
|
also complete documentation in the /usr/share/doc/packages/valgrind/
|
|
|
|
directory. A debugged application runs slower and needs much more
|
2007-09-14 16:28:27 +02:00
|
|
|
memory, but is usually still usable.
|
2007-04-06 00:31:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:40:26 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Julian Seward <jseward@acm.org>
|
|
|
|
Cerion Armour-Brown
|
|
|
|
Jeremy Fitzhardinge
|
|
|
|
Tom Hughes
|
|
|
|
Nicholas Nethercote
|
|
|
|
Paul Mackerras
|
|
|
|
Dirk Mueller
|
|
|
|
Robert Walsh
|
|
|
|
|
|
|
|
%prep
|
2007-12-12 21:29:12 +01:00
|
|
|
%setup -q -n %{name}-%{version}
|
2007-01-16 00:40:26 +01:00
|
|
|
cd VEX
|
|
|
|
cd ..
|
2007-12-06 02:07:50 +01:00
|
|
|
%patch8
|
2007-12-17 12:08:48 +01:00
|
|
|
%patch9
|
2007-01-16 00:40:26 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
autoreconf -fi
|
|
|
|
export GDB=/usr/bin/gdb
|
|
|
|
%configure
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages
|
|
|
|
mv $RPM_BUILD_ROOT/usr/share/doc/valgrind $RPM_BUILD_ROOT/usr/share/doc/packages
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-04-06 00:31:09 +02:00
|
|
|
%exclude %_libdir/valgrind/*/*.a
|
2007-01-16 00:40:26 +01:00
|
|
|
%doc README* NEWS ACKNOWLEDGEMENTS AUTHORS COPYING
|
|
|
|
/usr/bin/*
|
|
|
|
%_libdir/valgrind
|
|
|
|
%doc %_mandir/*/*
|
|
|
|
|
2007-04-06 00:31:09 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/include/valgrind
|
|
|
|
/usr/%_lib/pkgconfig/valgrind.pc
|
|
|
|
%_libdir/valgrind/*/*.a
|
|
|
|
|
2007-03-30 11:43:37 +02:00
|
|
|
%changelog
|
2007-12-17 12:08:48 +01:00
|
|
|
* Sun Dec 16 2007 - dmueller@suse.de
|
|
|
|
- readd deprecated #define's (#348337)
|
2007-12-12 21:29:12 +01:00
|
|
|
* Wed Dec 12 2007 - dmueller@suse.de
|
|
|
|
- update to 3.3.0 (final):
|
|
|
|
* last minute bugfixes
|
2007-12-06 02:07:50 +01:00
|
|
|
* Thu Dec 06 2007 - dmueller@suse.de
|
|
|
|
- update jit-support patch
|
2007-12-03 23:48:02 +01:00
|
|
|
* Mon Dec 03 2007 - dmueller@suse.de
|
|
|
|
- update to 3.3.0 RC1:
|
|
|
|
- Helgrind works again
|
|
|
|
- Massif has been majorly overhauled
|
|
|
|
- Cachegrind now does branch-prediction profiling
|
|
|
|
- New experimental tools Omega and DRD
|
|
|
|
- Many small refinements to stability, scalability and performance
|
|
|
|
- Somewhat restructured documentation
|
|
|
|
- Many bug fixes
|
2007-11-26 21:41:49 +01:00
|
|
|
* Mon Nov 26 2007 - dmueller@suse.de
|
|
|
|
- fix build against glibc 2.7
|
2007-09-14 16:28:27 +02:00
|
|
|
* Fri Sep 14 2007 - dmueller@suse.de
|
|
|
|
- fix divisions by zero in massif (#310234)
|
2007-09-12 16:49:23 +02:00
|
|
|
* Wed Sep 12 2007 - dmueller@suse.de
|
|
|
|
- fix build on ppc64 again
|
|
|
|
- update suppressions
|
2007-08-25 00:06:37 +02:00
|
|
|
* Fri Aug 24 2007 - dmueller@suse.de
|
|
|
|
- fix valgrind on x86_64 (#296803)
|
2007-08-24 02:09:57 +02:00
|
|
|
* Tue Aug 21 2007 - dmueller@suse.de
|
|
|
|
- suppression update
|
2007-07-24 01:34:34 +02:00
|
|
|
* Tue Jul 24 2007 - dmueller@suse.de
|
|
|
|
- update suppression file
|
2007-07-10 19:12:55 +02:00
|
|
|
* Mon Jul 09 2007 - dmueller@suse.de
|
|
|
|
- support JIT runtimes (#289490)
|
2007-07-05 01:28:08 +02:00
|
|
|
* Tue Jul 03 2007 - dmueller@suse.de
|
|
|
|
- update suppression file (#287090)
|
2007-05-23 23:21:12 +02:00
|
|
|
* Wed May 23 2007 - dmueller@suse.de
|
|
|
|
- build against glibc 2.6
|
2007-04-06 00:31:09 +02:00
|
|
|
* Thu Apr 05 2007 - dmueller@suse.de
|
|
|
|
- split into -devel subpackage
|
2007-03-30 11:43:37 +02:00
|
|
|
* Fri Mar 30 2007 - dmueller@suse.de
|
|
|
|
- add patch to track undefinedness in environment (#249676)
|
2007-02-02 15:56:49 +01:00
|
|
|
* Tue Jan 30 2007 - dmueller@suse.de
|
|
|
|
- update to 3.2.3:
|
|
|
|
* fixes two serious regressions introduced in 3.2.2
|
|
|
|
* intercept stpcpy_chk (#234247)
|
|
|
|
- fix openat syscall wrapper (#240225)
|
|
|
|
* Thu Jan 25 2007 - dmueller@suse.de
|
|
|
|
- intercept stpcpy_chk and memrchr as well (#234347)
|
2007-01-23 15:15:03 +01:00
|
|
|
* Tue Jan 23 2007 - dmueller@suse.de
|
|
|
|
- switch to gcc-32bit on x86_64
|
2007-01-23 01:31:15 +01:00
|
|
|
* Mon Jan 22 2007 - dmueller@suse.de
|
|
|
|
- update to 3.2.2:
|
|
|
|
* many fixes for ppc 32/64 (#fate 301640)
|
2007-01-16 00:40:26 +01:00
|
|
|
* Tue Oct 17 2006 - dmueller@suse.de
|
|
|
|
- disable omega plugin for ppc/ppc64
|
|
|
|
* Mon Oct 16 2006 - dmueller@suse.de
|
|
|
|
- update to 3.2 BRANCH:
|
|
|
|
* support glibc 2.5
|
|
|
|
* update suppressions
|
|
|
|
- add omega plugin
|
|
|
|
* Sat Sep 16 2006 - dmueller@suse.de
|
|
|
|
- update to 3.2.1:
|
|
|
|
* suppresion updates
|
|
|
|
* Fri Sep 15 2006 - dmueller@suse.de
|
|
|
|
- update to 3.2.1rc1:
|
|
|
|
* about 36 bugfixes
|
|
|
|
* Wed Sep 13 2006 - stbinner@suse.de
|
|
|
|
- fix build with < Factory
|
|
|
|
* Mon Aug 28 2006 - dmueller@suse.de
|
|
|
|
- fix suppressions
|
|
|
|
- update drd plugin
|
|
|
|
* Thu Aug 24 2006 - dmueller@suse.de
|
|
|
|
- add experimental drd plugin
|
|
|
|
- fix build on x86_64
|
|
|
|
* Wed Aug 02 2006 - dmueller@suse.de
|
|
|
|
- also fix multibyte NOP parsing for x86_64
|
|
|
|
* Tue Aug 01 2006 - dmueller@suse.de
|
|
|
|
- add patch to handle multibyte NOPs as generated by
|
|
|
|
recent binutils
|
|
|
|
* Wed Jun 07 2006 - dmueller@suse.de
|
|
|
|
- update to 3.2.0 final
|
|
|
|
* only marginal changes since rc1
|
|
|
|
* Tue May 30 2006 - dmueller@suse.de
|
|
|
|
- update to 3.2.0 rc1:
|
|
|
|
* ppc64 support
|
|
|
|
* callgrind now integrated part
|
|
|
|
* massive performance improvements
|
|
|
|
* lots of emulation fixlets
|
|
|
|
* Thu Mar 16 2006 - dmueller@suse.de
|
|
|
|
- update to 3.1.1 (FATE #300493)
|
|
|
|
* Mon Mar 06 2006 - dmueller@suse.de
|
|
|
|
- various updates from branch to fix PPC32 support
|
|
|
|
* Mon Feb 06 2006 - dmueller@suse.de
|
|
|
|
- Fix GDB support
|
|
|
|
* Mon Feb 06 2006 - dmueller@suse.de
|
|
|
|
- Reduce BuildRequires
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Wed Jan 04 2006 - dmueller@suse.de
|
|
|
|
- update to 3.1 branch
|
|
|
|
* Fri Dec 09 2005 - dmueller@suse.de
|
|
|
|
- fix strict-aliasing issue
|
|
|
|
* Mon Nov 28 2005 - dmueller@suse.de
|
|
|
|
- 3.1.0 final update
|
|
|
|
* Mon Nov 21 2005 - dmueller@suse.de
|
|
|
|
- 3.1.0 RC1 update
|
|
|
|
* Thu Nov 10 2005 - dmueller@suse.de
|
|
|
|
- update to 3.1 SVN
|
|
|
|
* Tue Nov 08 2005 - dmueller@suse.de
|
|
|
|
- add hack to make valgrind work with apps that require executable stack
|
|
|
|
* Thu Sep 15 2005 - dmueller@suse.de
|
|
|
|
- update 3.0.1 final
|
|
|
|
* Thu Aug 25 2005 - dmueller@suse.de
|
|
|
|
- make massif work again
|
|
|
|
* Sun Aug 21 2005 - dmueller@suse.de
|
|
|
|
- fix trace-children=yes failure
|
|
|
|
- add default suppressions for SL 10
|
|
|
|
* Mon Aug 15 2005 - dmueller@suse.de
|
|
|
|
- regenerate VEX offset headers, otherwise it just hangs
|
|
|
|
* Fri Aug 12 2005 - dmueller@suse.de
|
|
|
|
- update to 3.0 branch to make it work on non-SSE platforms (#104181)
|
|
|
|
* Fri Aug 05 2005 - dmueller@suse.de
|
|
|
|
- initial package of 3.0
|