Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 2004 22:44:26 +0100 (CET)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61806: math/freefem++: fix compilation on 4.x.
Message-ID:  <20040123214426.B66C37628@graf.pompo.net>
Resent-Message-ID: <200401232230.i0NMUISJ059661@freefall.freebsd.org>

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

>Number:         61806
>Category:       ports
>Synopsis:       math/freefem++: fix compilation on 4.x.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 23 14:30:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Nov 20 23:06:13 CET 2003 thierry@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	Freefem++ cannot be compiled by gcc 2.95.4, but it's OK with
	gcc 3.3.3 (on FreeBSD 5.2). The error message is:
	"virtual memory exhausted". Tested with or without -pipe.

	It's appears as a bug in gcc, and OK with gcc 3.2.3 on 4.x.

	(Reported by Bento via Kris)

>How-To-Repeat:
	See log on Bento at
	<http://bento.freebsd.org/errorlogs/i386-4-latest/freefem++-1.37.log>.

>Fix:
	Please apply the following patch:

--- freefem++.diff begins here ---
diff -urN math/freefem++.orig/Makefile math/freefem++/Makefile
--- math/freefem++.orig/Makefile	Mon Jan 12 18:53:04 2004
+++ math/freefem++/Makefile	Fri Jan 23 22:30:04 2004
@@ -22,6 +22,7 @@
 
 USE_XLIB=	yes
 USE_GMAKE=	yes
+USE_GCC=	3.2
 
 MAKE_ENV=	CXX=${CXX} HOSTTYPE=${HOSTTYPE}
 
--- freefem++.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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