Date: Sat, 5 Jan 2008 01:08:08 +0000 (UTC) From: Geoffrey Giesemann <geoffwa@idkfa.ath.cx> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/119348: Patch to make sysutils/cpuburn build on AMD64 Message-ID: <20080105010808.6245733C32@idkfa.ath.cx> Resent-Message-ID: <200801050130.m051U3M3039718@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080105010808.6245733C32>