Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  2 Feb 2005 19:22:05 +0100 (CET)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/77027: lang/elk: fix for compilation on amd64
Message-ID:  <20050202182205.AFD666952@hammer.stack.nl>
Resent-Message-ID: <200502021830.j12IUO3x007167@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         77027
>Category:       ports
>Synopsis:       lang/elk: fix for compilation on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 02 18:30:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 6.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD hammer.stack.nl 6.0-CURRENT FreeBSD 6.0-CURRENT #3: Mon Nov 1 18:36:46 CET 2004 marcolz@hammer.stack.nl:/usr/obj/usr/src/sys/HAMMER amd64


	
>Description:
	
	This looks like a compiler bug - am not ready to debug gcc though.
	Fix: disable compiler optimisation on amd64

>How-To-Repeat:
	
>Fix:

	

Include workaround for amd64 in ports Makefile (is this the right location?)
Should probably include a helpful comment as well...

--- Makefile.orig	Wed Feb  2 19:11:27 2005
+++ Makefile	Wed Feb  2 19:08:51 2005
@@ -33,7 +33,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64"
-BROKEN=		"Does not build"
+CFLAGS=		-O0
 .endif
 
 post-install:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050202182205.AFD666952>