freenode/#lisp - IRC Chatlog
Search
22:31:57
sm2n
sveit, if it's actually libc, you could maybe try compiling against musl statically instead
22:33:20
sveit
sm2n: thanks! long shot, but do you know what to pass to the SBCL make to do this static linking?
22:35:43
sveit
Nilby: only clang is officially supported, i think getting GCC will run into more problems than SBCL :)
22:36:59
sm2n
but it looks like threading is disabled on aarch64, so I think that means slime etc won't work
22:37:21
sm2n
here is the build script: https://git.alpinelinux.org/aports/tree/community/sbcl/APKBUILD
22:38:20
Nilby
searching reports this: https://github.com/its-pointless/gcc_termux . It looks pretty kludgy though.
22:38:53
no-defun-allowed
Well, threading on AArch64 does work, so it could be enabled. (I think you pass --fancy and you get all the good stuff including threading.)
1:10:24
drl
OK, I'm back. I deleted the old code in ~/.sbclrc. I also deleted ~/.cache/common-lisp/ and ~/.slime/fasl/. I closed and restarted emacs. But alexandria still can't load. The first line of the backtrace is: 0: (SB-IMPL::UPDATE-PACKAGE-WITH-VARIANCE #<PACKAGE "ALEXANDRIA.1.0.0"> "ALEXANDRIA" ("ALEXANDRIA.1.0.0" "ALEXANDRIA-1") #S(SB-C:DEFINITION-SOURCE-LOCATION :NAMESTRING "/home/l/quicklisp/dists/quicklisp/..
1:31:41
drl
|3b|, the file ~/.swank.lisp does not exist, but /home/l/quicklisp/dists/quicklisp/software/slime-v2.24/swank.lisp does exist.
2:03:29
drl
|3b|, if sbcl is started like this: sbcl --no-sysinit --no-userinit, and then * (load "alexandria") I get "Couldn't load "alexandria": file does not exist."
2:14:43
Alfr
And --no-userinit will also skip the bits that quicklisp set up for, not sure you want this, unless you've manually set up alexandria somewhere.
2:16:55
drl
Alfr, alexandria has been downloaded by quicklisp, but can't load. I just ran "sbcl --no-sysinit --no-userinit" because |3b| asked me to. Usually I use slime.
2:19:36
drl
(ql:quickload "alexandria") give this error message: ALEXANDRIA is a nickname for the package ALEXANDRIA.1.0.0
2:25:32
Alfr
drl, w/ --no-sysinit --no-userinit; did you try loading the setup.lisp file in the quicklisp directory and then quickloading alexandria?
2:35:51
drl
Alfr, Is this the correct way to load it?: (load '/home/l/quicklisp/quicklisp/setup.lisp)
3:02:10
drl
If sbcl is started without those options, then (ql:quickload "alexandria") loads without error.
3:04:23
Alfr_
So sbcl finds its contibs. Move your ~/.sbclrc somewhere safe and install quicklisp again with sbcl --no-sysinit .