From d711a485a0330a373306e3f3880b50f8120b9df5 Mon Sep 17 00:00:00 2001 From: Simon Barner Date: Tue, 20 Sep 2005 00:40:08 +0000 Subject: - Fix on FreeBSD 6 and above: [1] [2] Valgrind did not handle the following sysarch calls, and thus crashed immediately o get_fsbase o set_fsbase o get_gsbase o set_fsbase - Valgrind no longer dumps core when its client application does. [2] Valgrind-snapshot does contain for safing the client's core dump, but it does not work (it resulted in a crash) and has therefore been disabled. - Fix crash with valgrind-snapshot when the application to debug does not exists or cannot be accessed. - Fix symlink farms for threading libraries. FreeBSD 4-7 are handled. [2] - Bump PORTREVISION Reported by: Ulrich Spoerlein [1], Chris Gilbert [2] PR: ports/86007 [1] --- devel/valgrind/files/patch-Makefile.am | 54 ++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 devel/valgrind/files/patch-Makefile.am (limited to 'devel/valgrind/files/patch-Makefile.am') diff --git a/devel/valgrind/files/patch-Makefile.am b/devel/valgrind/files/patch-Makefile.am new file mode 100644 index 000000000000..1d52c6bf7e90 --- /dev/null +++ b/devel/valgrind/files/patch-Makefile.am @@ -0,0 +1,54 @@ +--- Makefile.am.orig Thu Apr 8 21:05:08 2004 ++++ Makefile.am Tue Sep 20 00:01:29 2005 +@@ -50,26 +50,46 @@ + + install-exec-hook: + $(mkinstalldirs) $(DESTDIR)$(valdir) +- rm -f $(DESTDIR)$(valdir)/libpthread.so.0 ++ + if !IS_LINUX + if IS_FREEBSD4 + rm -f $(DESTDIR)$(valdir)/libc_r.so.4 +-else ++endif ++if IS_FREEBSD5 + rm -f $(DESTDIR)$(valdir)/libc_r.so.5 + rm -f $(DESTDIR)$(valdir)/libkse.so.1 + rm -f $(DESTDIR)$(valdir)/libthr.so.1 +- rm -f $(DESTDIR)$(valdir)/libpthread.so.1 ++endif ++if IS_FREEBSD6 ++ rm -f $(DESTDIR)$(valdir)/libc_r.so.6 ++ rm -f $(DESTDIR)$(valdir)/libthr.so.2 ++ rm -f $(DESTDIR)$(valdir)/libpthread.so.2 ++endif ++if IS_FREEBSD7 ++ rm -f $(DESTDIR)$(valdir)/libc_r.so.6 ++ rm -f $(DESTDIR)$(valdir)/libthr.so.2 ++ rm -f $(DESTDIR)$(valdir)/libpthread.so.2 + endif + endif +- $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libpthread.so.0 + if !IS_LINUX + if IS_FREEBSD4 + $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libc_r.so.4 +-else ++endif ++if IS_FREEBSD5 + $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libc_r.so.5 + $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libkse.so.1 + $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libthr.so.1 + $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libpthread.so.1 ++endif ++if IS_FREEBSD6 ++ $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libc_r.so.6 ++ $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libthr.so.2 ++ $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libpthread.so.2 ++endif ++if IS_FREEBSD7 ++ $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libc_r.so.6 ++ $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libthr.so.2 ++ $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libpthread.so.2 + endif + endif + -- cgit v1.2.3