Subject: pkg/33189: devel/clisp fails to build for amd64 (And probably alpha)
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 04/04/2006 08:15:01
>Number:         33189
>Category:       pkg
>Synopsis:       devel/clisp fails to build for amd64 (And probably alpha)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 04 08:15:01 +0000 2006
>Release:        NetBSD 3.99.17
System: NetBSD 3.99.17 NetBSD 3.99.17 (ATLAS) #2: Tue Mar 21 19:50:15 CET 2006 amd64
Architecture: x86_64
Machine: amd64
	devel/clisp fails to build for amd64. After its initial build, it'll 

cp -p cfgunix.lisp config.lisp
chmod +w config.lisp
echo '(setq *clhs-root-default* "")' >> config.lisp
./ -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)"
Cannot map memory to address 0x4000000000000 .
[spvw_mmap.d:359] errno = EFBIG: File too large.
./ Not enough memory for Lisp.
*** Error code 1

	build clisp on an amd64 and watch it fail.
	Some googling revealed that disabling mmap support should help. This
was also suggested for alpha. See the diff.

Index: Makefile
RCS file: /cvsroot/pkgsrc/lang/clisp/Makefile,v
retrieving revision 1.51
diff -r1.51 Makefile
> # (ab)use MODULES to disable mmap too, as this will automagically fix the
> # makemake call
> .if ${MACHINE_ARCH:Malpha} || ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mx86_64}
> MODULES+=		--disable-mmap
> .endif