From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 25 09:00:41 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C84F816A4CE for ; Sun, 25 Jul 2004 09:00:41 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B209543D46 for ; Sun, 25 Jul 2004 09:00:41 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6P90e5M025651 for ; Sun, 25 Jul 2004 09:00:40 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6P90er5025640; Sun, 25 Jul 2004 09:00:40 GMT (envelope-from gnats) Resent-Date: Sun, 25 Jul 2004 09:00:40 GMT Resent-Message-Id: <200407250900.i6P90er5025640@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Simon Barner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A929616A4CE for ; Sun, 25 Jul 2004 08:51:46 +0000 (GMT) Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C151943D41 for ; Sun, 25 Jul 2004 08:51:45 +0000 (GMT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id B02193FBC; Sun, 25 Jul 2004 10:51:42 +0200 (CEST) Message-Id: <20040725085142.B02193FBC@zi025.glhnet.mhn.de> Date: Sun, 25 Jul 2004 10:51:42 +0200 (CEST) From: Simon Barner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/69553: [maintainer] ports/valgrind: update to version 352 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Simon Barner List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2004 09:00:41 -0000 >Number: 69553 >Category: ports >Synopsis: [maintainer] ports/valgrind: update to version 352 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jul 25 09:00:39 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Simon Barner >Release: FreeBSD 5.2.1-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD zi025.glhnet.mhn.de 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Sat Apr 17 12:06:11 CEST 2004 toor@zi025.glhnet.mhn.de:/usr/src/sys/i386/compile/KISTE i386 >Description: Update port to latest version from Doug Rabsons SVN repository. The main part of the port update is also by him. Other improvement: Check gmake version, since the build process fails with gmake < 3.80. Note: there is a similar PR for valgrind-snapshot :-) >How-To-Repeat: N/A >Fix: diff -ruN valgrind.orig/Makefile valgrind/Makefile --- valgrind.orig/Makefile Sun May 23 19:00:03 2004 +++ valgrind/Makefile Sun Jul 25 10:41:43 2004 @@ -6,7 +6,7 @@ # PORTNAME= valgrind -PORTVERSION= 327 +PORTVERSION= 352 CATEGORIES= devel MASTER_SITES= http://www.rabson.org/ DISTNAME= ${PORTNAME}-stable-${PORTVERSION} @@ -27,6 +27,7 @@ .include PROCFS!= /sbin/mount | ${GREP} '^procfs' | ${AWK} '{print $1}' +GMAKE_VER!= gmake -v | ${AWK} ' NR == 1 { print $$3 } ' pre-everything:: @@ -44,6 +45,14 @@ @${ECHO_CMD} "" @${ECHO_CMD} "-----------------------------------------------------------" @${FALSE} +.endif + +.if ${GMAKE_VER} < 3.80 + @${ECHO_CMD} "" + @${ECHO_CMD} "All gmake versions < 3.80 are affected by a bug that makes the" + @${ECHO_CMD} "valgrind port fail. Please update your gmake installation." + @${ECHO_CMD} "" + @${FALSE} .endif .if ${PERL_LEVEL} < 500601 diff -ruN valgrind.orig/distinfo valgrind/distinfo --- valgrind.orig/distinfo Sun May 23 19:00:03 2004 +++ valgrind/distinfo Sun Jul 25 10:06:12 2004 @@ -1,2 +1,2 @@ -MD5 (valgrind-stable-327.tar.gz) = 56aabe03a41c4ebbb0cf2fbda3f4656a -SIZE (valgrind-stable-327.tar.gz) = 1161744 +MD5 (valgrind-stable-352.tar.gz) = dcf8f9d7d9f8092d2215362c169fd0ab +SIZE (valgrind-stable-352.tar.gz) = 1228052 diff -ruN valgrind.orig/files/patch-rev328 valgrind/files/patch-rev328 --- valgrind.orig/files/patch-rev328 Sun May 23 19:00:03 2004 +++ valgrind/files/patch-rev328 Thu Jan 1 01:00:00 1970 @@ -1,16 +0,0 @@ ---- coregrind/vg_main.c 2004-04-10 08:32:49 UTC (rev 327) -+++ coregrind/vg_main.c 2004-04-19 09:10:49 UTC (rev 328) -@@ -1135,9 +1135,10 @@ - - /* Move logfile_fd into the safe range, so it doesn't conflict with any app fds */ - eventually_logfile_fd = VG_(fcntl)(VG_(clo_logfile_fd), VKI_F_DUPFD, VG_(max_fd)+1); -- if (eventually_logfile_fd < 0) -+ if (eventually_logfile_fd < 0) { -+ VG_(clo_logfile_fd) = 2; - VG_(message)(Vg_UserMsg, "valgrind: failed to move logfile fd into safe range"); -- else { -+ } else { - VG_(clo_logfile_fd) = eventually_logfile_fd; - VG_(fcntl)(VG_(clo_logfile_fd), VKI_F_SETFD, VKI_FD_CLOEXEC); - } - diff -ruN valgrind.orig/files/patch-rev329 valgrind/files/patch-rev329 --- valgrind.orig/files/patch-rev329 Sun May 23 19:00:03 2004 +++ valgrind/files/patch-rev329 Thu Jan 1 01:00:00 1970 @@ -1,16 +0,0 @@ ---- coregrind/vg_scheduler.c 2004-04-19 09:10:49 UTC (rev 328) -+++ coregrind/vg_scheduler.c 2004-04-22 08:53:06 UTC (rev 329) -@@ -1146,7 +1146,12 @@ - ) { - - /* If __NR_exit, remember the supplied argument. */ -+#ifdef __linux__ - VG_(exitcode) = VG_(threads)[tid].m_ebx; /* syscall arg1 */ -+#endif -+#ifdef __FreeBSD__ -+ VG_(exitcode) = ((UInt*)VG_(threads)[tid].m_esp)[1]; /* syscall arg1 */ -+#endif - - /* Only run __libc_freeres if the skin says it's ok and - it hasn't been overridden with --run-libc-freeres=no - diff -ruN valgrind.orig/pkg-message valgrind/pkg-message --- valgrind.orig/pkg-message Sun May 23 19:00:03 2004 +++ valgrind/pkg-message Fri Jun 25 12:43:02 2004 @@ -1,7 +1,9 @@ -Note: This version of valgrind does not support some older AMD processors. +Note: This version of valgrind does not support some older processors, + e.g. AMD K6-III, some (?) Pentium II. + If valgrind crashes immediately after it was started with the error message "Illegal hardware instruction", your processor is affected by this problem. As a workaround you can use the devel/valgrind-snapshot port, which is - based on a more recent snapshot + based on a more recent snapshot. >Release-Note: >Audit-Trail: >Unformatted: