but doesn't src/code/numbers define that for other platforms?
Originally I used mask-signed-field which definitely has implementations on all platforms but then I realized that the operation is always a left-shift, so preferred to do it in one function call.
Do you know if this worked in the code I originally had with 'mask-signed-field' ?
Sorry about this of course.

On Sun, Mar 16, 2014 at 10:11 PM, Stas Boukarev <stassats@gmail.com> wrote:
Stas Boukarev <stassats@gmail.com> writes:

> I didn't debug it any further, nor bisected:
> //entering make-target-2.sh
> internal error #23 (An attempt was made to use an undefined FDEFINITION.)
>     SC: 6, Offset: 20             0x00000000: even fixnum: 0
> fatal error encountered in SBCL pid 56151(tid 268380544):
> internal error too early in init, can't recover
> ldb> back
> Backtrace:
> <Frame 0xf7490158 [interrupted], CODE: 0x4F16641F, QUICK-PACKED-INFO-INSERT, LRA: 0x4f1666ff, PC: 0x2c0>
> <Frame 0xf7490138, CODE: 0x4F344E27, UPDATE-SYMBOL-INFO, LRA: 0x4f344ef7, PC: 0xb0>
> <Frame 0xf7490100, CODE: 0x4F16D94F, SYMBOL-SET-INFO-VALUE, (Not other pointer???), LRA: 0x4f16daaf, PC: 0x130>
> <Frame 0xf74900c0, CODE: 0x4FA4623F, REGISTER-INFO-METADATA, LRA: 0x4fa464ef, PC: 0x270>
> <Frame 0xf74900a0, CODE: 0x4FA6B3C7, !GLOBALDB-COLD-INIT, LRA: 0x4fa6b617, PC: 0x150>
> <Frame 0xf7490000, CODE: 0x511B9897, !COLD-INIT, LRA: 0x511b9eb7, PC: 0x4d0>
> <Frame 0x0000005a, CODE: ???, LRA: 0x1002a387, PC: ???>
> Bogus callee value (0x0000005a).
I would now guess that it's due to sb-c::make-info-descriptor using
sb-vm::ash-left-modfx for some reason, which is available only on x86.

With best regards, Stas.