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-snapshot/files/patch-Makefile.am | 52 +++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 devel/valgrind-snapshot/files/patch-Makefile.am (limited to 'devel/valgrind-snapshot/files/patch-Makefile.am') diff --git a/devel/valgrind-snapshot/files/patch-Makefile.am b/devel/valgrind-snapshot/files/patch-Makefile.am new file mode 100644 index 000000000000..a1d24a03edb8 --- /dev/null +++ b/devel/valgrind-snapshot/files/patch-Makefile.am @@ -0,0 +1,52 @@ +--- Makefile.am.orig Sun May 9 13:00:57 2004 ++++ Makefile.am Tue Sep 20 00:04:44 2005 +@@ -55,26 +55,44 @@ + 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 +-if !IS_FREEBSD_LIBC_R + 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 ++ $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libpthread.so.0 ++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 +-if !IS_FREEBSD_LIBC_R + $(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