Date: Wed, 15 Dec 2004 13:20:25 GMT From: DaiP <inukai.d@jeans.ocn.ne.jp> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/71684: lang/scm does not compile on FreeBSD 5.3BETA Message-ID: <200412151320.iBFDKPEe014748@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/71684; it has been noted by GNATS. From: DaiP <inukai.d@jeans.ocn.ne.jp> To: freebsd-gnats-submit@FreeBSD.org, jmp@alvorlig.dk, flz@xbsd.org Cc: dai <inukai.d@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412151320.iBFDKPEe014748>