Unable to install on NetBSD as user.

Bug #2008031 reported by haziz
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Incomplete
Undecided
Unassigned

Bug Description

I am trying to install SBCL 2.31 on a NetBSD server running NetBSD ver. 9.3. I am not root on this system and therefore I am installing to ~/bin/sbcl within my home folder.

Make seems to proceed fine for some length of time, and does appear to find my local install of ECL (which is in my PATH) since it does seem to initially compile some LISP files followed by C files, but then I seem to run out of memory during the install. It reports the following error:

[building initial core file in "output/cold-sbcl.core":
writing 32768 bytes [1 page] from #<SB-FASL::GSPACE @#x20000000 :STATIC>
writing 1835008 bytes [56 pages] from #<SB-FASL::GSPACE @#x20100000 :IMMOBILE-FIXEDOBJ>
writing 14581760 bytes [445 pages] from #<SB-FASL::GSPACE @#x21A00000 :IMMOBILE-TEXT>
writing 23134208 bytes [706 pages] from #<SB-FASL::GSPACE @#x1000000000 :DYNAMIC>
writing 0 bytes [0 pages] from #<SB-FASL::GSPACE @#x20000000 :READ-ONLY>
movable dynamic space: 158 + 0 + 548 cons/code/mixed pages
/INITIAL-FUN=#X22757BEB
done]
//testing for consistency of first and second GENESIS passes
//header files match between first and second GENESIS -- good
      124.23 real 116.92 user 5.58 sys
//entering make-target-2.sh
//doing warm init - compilation phase
mmap: Permission denied
failed to allocate 1048576 bytes at 0x20000000
(hint: Try "ulimit -a"; maybe you should increase memory limits.)
        0.00 real 0.00 user 0.00 sys

I did try to limit the memory limit on the compile by using this invocation of gmake, but it still produces the same error:

sh make.sh --prefix=/home/my-name/bin/sbcl --dynamic-space-size=444Mb

I am including a slightly longer snippet of the output as an attachment.

Thanks.

Revision history for this message
haziz (haziz) wrote :
Revision history for this message
Douglas Katzman (dougk) wrote :

Did it execute 'paxctl'?
It should appear somewhere after src/runtime/sbcl is built, which is missing from your log

Revision history for this message
haziz (haziz) wrote :

It does not look like it gets that far as best as I can tell. I am attaching the full output of the compile including stdout and stderr ( 2>&1 ) redirected to a file.

Revision history for this message
Douglas Katzman (dougk) wrote :

Your problem is at
"sysctl: not found"
Apparently sysctl is used to decide whether to run paxctl.
See line 466 of make-config.sh and then propose a patch to deal with this.

Douglas Katzman (dougk)
Changed in sbcl:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.