ports/77027: lang/elk: fix for compilation on amd64

Johan van Selst johans at stack.nl
Wed Feb 2 18:30:25 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list