Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2003 13:31:26 +0100 (CET)
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        linimon@FreeBSD.org
Subject:   ports/59637: [patch] emulators/generator: Force use of gcc-2.95
Message-ID:  <200311241231.hAOCVQLD058920@menelaos.informatik.rwth-aachen.de>
Resent-Message-ID: <200311241240.hAOCe9Fp084715@freefall.freebsd.org>

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

>Number:         59637
>Category:       ports
>Synopsis:       [patch] emulators/generator: Force use of gcc-2.95
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 24 04:40:08 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.9-RC i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-RC FreeBSD 4.9-RC #10: Tue Oct 7 12:32:25 CEST 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


>Description:
The mastersite states that gcc3-produced code doesn't work correctly and
suggest using gcc 2.95 (See below).
>How-To-Repeat:
>Fix:
Force use of gcc295 (where applicable) (and thus unbreak on -CURRENT)

--- generator begins here ---
--- Makefile.orig	Mon Nov 24 13:20:40 2003
+++ Makefile	Mon Nov 24 13:25:04 2003
@@ -16,6 +16,10 @@
 # apparently the configure script can't handle this
 NOT_FOR_ARCHS=	alpha
 
+# force gcc 2.9.5 for the time being, c.f. comment on MASTERSITE:
+# "... Until this is sorted, you should use gcc 2.95 to compile Generator."
+USE_GGC=	2.95
+
 LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
 		SDL-1.1.5:${PORTSDIR}/devel/sdl12
 .if (${MACHINE_ARCH} == "i386")
@@ -53,10 +57,6 @@
 		's|-malign-loops|-falign-loops|g ; \
 		 s|-malign-jumps|-falign-jumps|g ; \
 		 s|-malign-functions|-falign-functions|g' ${WRKSRC}/configure
-.endif
-
-.if ${OSVERSION} >= 501102
-BROKEN=		"Fails to compile due to gcc3.3 preprocessor"
 .endif
 
 .include <bsd.port.post.mk>
--- generator ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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