ports/71684: lang/scm does not compile on FreeBSD 5.3BETA

DaiP inukai.d at jeans.ocn.ne.jp
Wed Dec 15 13:20:26 UTC 2004


The following reply was made to PR ports/71684; it has been noted by GNATS.

From: DaiP <inukai.d at jeans.ocn.ne.jp>
To: freebsd-gnats-submit at FreeBSD.org, jmp at alvorlig.dk, flz at xbsd.org
Cc: dai <inukai.d at jeans.ocn.ne.jp>
Subject: Re: ports/71684: lang/scm does not compile on FreeBSD 5.3BETA
Date: Wed, 15 Dec 2004 22:16:22 +0900

 Hi, this is dai inukai
 
 Florent Thoumie wrote:
 
 >Attached patch seems to solve this problem.
 >
 
 Though the port is fixed now, another approach might have been 
 possible.  The 'volatile' modifier excludes the varibale from the 
 optimization process by the compiler and I would have prefered not to 
 change the source code because the problem seems to me  due to a 
 transitory regression of the actual system C compiler.  The ports' 
 Makefile is flexible enough to accept various options.
 
 After cd-ing to /usr/ports/lang/scm, the followings would have done 
 without changing thte source soce.
 
 With the actual system C compiler (gcc version 3.4.2 [FreeBSD] 20040728):
 
 % make  "CFLAGS=-O3 -DGCC_SPARC_BUG"
 
 or
 
 % make CC=gcc34 CFLAGS=-O3
 
 if gcc34 is istalled from the port.
 
 -- 
 dai -- http://www.dinukai.org/programming/scheme/scheme.html
 
 



More information about the freebsd-ports-bugs mailing list