Search
5:39:18
fiddlerwoaroof
Where is arch_os_thread_init defined for x86-64 darwin?
5:40:45
no-defun-allowed
I would guess src/runtime/x86-darwin-os.c if there's no x86-64-darwin-os.c
5:41:44
no-defun-allowed
No, there's too much 32-bit stuff there.
5:42:33
no-defun-allowed
Wait, there is an x86-64-darwin-os.c
5:42:51
fiddlerwoaroof
It's actually in x86-64-bsd-os.c, I think
5:43:01
fiddlerwoaroof
Rubber-ducking it here :)
5:43:27
fiddlerwoaroof
I don't think I'll actually be able to port sbcl to my mac, but I like to try :)
5:43:41
no-defun-allowed
There's #ifdef on LISP_FEATURE_DARWIN in that, so it could well be that one.
5:46:28
no-defun-allowed
Looking over that is much less terrifying than looking over gencgc.c though.
7:03:42
fiddlerwoaroof
I've gotten all the C stuff to compile, running int a linking error
7:05:24
fiddlerwoaroof
https://gitlab.com/fiddlerwoaroof/sbcl/-/snippets/2041970
7:12:40
fiddlerwoaroof
I think I fixed that, thanks to this: https://github.com/below/HelloSilicon#chapter-4
7:13:48
fiddlerwoaroof
I have no idea what I'm actually doing, but...
7:24:31
no-defun-allowed
Could you not speak of the machine that they must not speak about?
7:29:44
fiddlerwoaroof
The Developer kits were released under NDA, I believe
7:29:54
fiddlerwoaroof
Standard Apple policy for pre-release software
7:30:01
fiddlerwoaroof
and hardware
7:33:28
no-defun-allowed
Fair enough.
7:46:40
fiddlerwoaroof
ensure_space: failed to allocate 1048576 bytes at 0xf0000000
7:46:46
fiddlerwoaroof
During make-target-2.sh
14:49:57
stassats
why can't we divide via multiplication for signed fixnums?
15:49:15
Krystof
stassats: I think it "just" takes a bit of work to implement it
15:49:36
stassats
the original paper has it, trying to digest
15:52:30
stassats
spotted it in get-internal-real-time, that divides by 1000, but the whole thing could be done in C
15:53:09
stassats
but making our own gen-signed-truncate-by-constant-expr would benefit more things
15:55:46
stassats
and lisp_init_time has to be dereferenced twice, and sb-alien is too primitive to handle using a variable twice