Opened 19 years ago

Closed 19 years ago

#4392 closed defect (fixed)

SBCL 0.9.3

Reported by: lars@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: darwinports-bugs@…
Port:

Description

The bootstrap binary will attempt to load ~/.sbclrc if present, resulting in potential build failures such as this:

debugger invoked on a SIMPLE-ERROR in thread 21745:

Error during processing of initialization file /Users/lars/.sbclrc:

Don't know how to REQUIRE ASDF.

See also:

The SBCL Manual, Variable *MODULE-PROVIDER-FUNCTIONS* The SBCL Manual, Function REQUIRE

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):

0: [CONTINUE] Ignore and continue processing. 1: [ABORT ] Skip rest of initialization file. 2: Skip to toplevel READ/EVAL/PRINT loop. 3: [QUIT ] Quit SBCL (calling #'QUIT, killing the process).

((LAMBDA (SB-IMPL::E)) #<SB-INT:EXTENSION-FAILURE {400097B9}>) 0]

To avoid this problem, the bootstrap binary should be launched with the --sysinit /dev/null and --userinit /dev/null command line options when building sbcl. This is what I do for fink's sbcl package:

unset LD_PREBIND ; sh make.sh "../%n-0.9.0-powerpc-darwin/src/runtime/sbcl --c ore ../%n-0.9.0-powerpc-darwin/output/sbcl.core --disable-debugger --sysinit /de v/null --userinit /dev/null"

Change History (1)

comment:1 Changed 19 years ago by gwright@…

Resolution: fixed
Status: newclosed

Lars, I added the additional flags as you suggested. Thanks!

-Greg

Note: See TracTickets for help on using tickets.