From: frederic voisin
Subject: threads in sbcl + linux 2.4
Date: 
Message-ID: <pan.2006.04.21.22.57.55.295676@cirm-manca.org>
Hello,

I must compile SBCL (cvs) on linux kernel 2.4 (rh9) with threads
enabled. Kernel has NPTL (0.29) and as long as I red in lists and forums,
it may work, but I dont succeed in when compiling with (enable
:sbthread) in lambda (features) in customize-target-features ?
May I use good option ?
May an (undocumented ?) flag/patch to be applied ?

after the first (or second) built (without threads enabled)

sh make.sh gives :

> obj/from-xc/src/pcl/walk.lisp-obj
> [building initial core file in "output/cold-sbcl.core":
> writing 4096 bytes [1 page] from #<SB!FASL::GSPACE :READ-ONLY>
> writing 4096 bytes [1 page] from #<SB!FASL::GSPACE :STATIC>
> writing 38154240 bytes [9315 pages] from #<SB!FASL::GSPACE :DYNAMIC>
> 
> [1]+  Stopped                 sh make.sh
> .....
> .....
> 
> 
> Argh! error in cold init, halting
> Argh! error in cold init, halting
> Argh! error in cold init, halting
> Argh! error in cold init, halting
> Argh! error in cold init, halting
> Argh! error in cold init, halting
> 
> fatal error encountered in SBCL pid 20885(tid 1074112192):
> maximum interrupt nesting depth (32) exceeded
> The system is too badly corrupted or confused to continue at the Lisp
> level. If the system had been compiled with the SB-LDB feature, we'd
> drop
> into the LDB low-level debugger now. But there's no LDB in this build,
> so
> we can't really do anything but just exit, sorry.

Thank you for your help !

fred voisin