From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 5 01:30:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D706B16A46C for ; Sat, 5 Jan 2008 01:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AF9EC13C44B for ; Sat, 5 Jan 2008 01:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m051U3vQ039719 for ; Sat, 5 Jan 2008 01:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m051U3M3039718; Sat, 5 Jan 2008 01:30:03 GMT (envelope-from gnats) Resent-Date: Sat, 5 Jan 2008 01:30:03 GMT Resent-Message-Id: <200801050130.m051U3M3039718@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, Geoffrey Giesemann Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B42B916A419 for ; Sat, 5 Jan 2008 01:21:44 +0000 (UTC) (envelope-from geoffwa@idkfa.ath.cx) Received: from outbound.icp-qv1-irony-out1.iinet.net.au (outbound.icp-qv1-irony-out1.iinet.net.au [203.59.1.108]) by mx1.freebsd.org (Postfix) with ESMTP id 3339613C4CE for ; Sat, 5 Jan 2008 01:21:43 +0000 (UTC) (envelope-from geoffwa@idkfa.ath.cx) Received: from unknown (HELO idkfa.ath.cx) ([124.168.65.83]) by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 05 Jan 2008 10:08:08 +0900 Received: by idkfa.ath.cx (Postfix, from userid 1001) id 6245733C32; Sat, 5 Jan 2008 01:08:08 +0000 (UTC) Message-Id: <20080105010808.6245733C32@idkfa.ath.cx> Date: Sat, 5 Jan 2008 01:08:08 +0000 (UTC) From: Geoffrey Giesemann To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/119348: Patch to make sysutils/cpuburn build on AMD64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Geoffrey Giesemann List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2008 01:30:03 -0000 >Number: 119348 >Category: ports >Synopsis: Patch to make sysutils/cpuburn build on AMD64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 05 01:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Geoffrey Giesemann >Release: FreeBSD 7.0-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD idkfa.local 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Sun Dec 23 14:34:56 UTC 2007 geoffwa@idkfa.local:/usr/obj/usr/src/sys/GENERIC amd64 >Description: sysutils/cpuburn only builds on i386 a the moment. A small modification to the port allows it to work on amd64 as well. >How-To-Repeat: >Fix: Building cpuburn explicitly for a 32bit environment using -m32 works. All of the burn programs run successfully on my (amd64) box. --- cpuburn.patch begins here --- --- Makefile.orig 2008-01-05 00:52:17.000000000 +0000 +++ Makefile 2008-01-05 00:54:45.000000000 +0000 @@ -16,7 +16,7 @@ COMMENT= CPU/memory stress testing utilities WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 PORTDOCS= README Design CPUS= BX K6 K7 MMX P5 P6 @@ -24,7 +24,7 @@ do-build: .for CPU in ${CPUS} - ${CC} -s -nostdlib -o ${WRKSRC}/burn${CPU} ${WRKSRC}/burn${CPU}.S + ${CC} -m32 -s -nostdlib -o ${WRKSRC}/burn${CPU} ${WRKSRC}/burn${CPU}.S .endfor do-install: --- cpuburn.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: