Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

MAC user's dynamic debugging list evaluator? Never heard of that.


devel / comp.lang.lisp / Lisp on Mac M1

SubjectAuthor
* Lisp on Mac M1Alan Canales
+* Re: Lisp on Mac M1Peri Didaskalou
|`- Re: Lisp on Mac M1nemo
+* Re: Lisp on Mac M1Stephane Tougard
|`- Re: Lisp on Mac M1nemo
`* Re: Lisp on Mac M1argenfargen
 `* Re: Lisp on Mac M1argenfargen
  `- Re: Lisp on Mac M1Zyni Moë

1
Lisp on Mac M1

<4f17a741-4a8c-4c26-8c3f-3c7dda40aad8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16691&group=comp.lang.lisp#16691

  copy link   Newsgroups: comp.lang.lisp
X-Received: by 2002:a05:622a:180f:: with SMTP id t15mr25408129qtc.33.1635262233838;
Tue, 26 Oct 2021 08:30:33 -0700 (PDT)
X-Received: by 2002:a05:6830:410d:: with SMTP id w13mr20319154ott.292.1635262233573;
Tue, 26 Oct 2021 08:30:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.lisp
Date: Tue, 26 Oct 2021 08:30:33 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=189.219.72.32; posting-account=ZcTOBwoAAAD_h4h1CaAHb2XAobfmw9f1
NNTP-Posting-Host: 189.219.72.32
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4f17a741-4a8c-4c26-8c3f-3c7dda40aad8n@googlegroups.com>
Subject: Lisp on Mac M1
From: alanrafacanales@gmail.com (Alan Canales)
Injection-Date: Tue, 26 Oct 2021 15:30:33 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 2
 by: Alan Canales - Tue, 26 Oct 2021 15:30 UTC

I'm trying to use Lisp on Apple silicon but can't still. Any recommendations?

Thank you.

Re: Lisp on Mac M1

<F_VdJ.3$g81.2@fx19.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16692&group=comp.lang.lisp#16692

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx19.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:95.0) Gecko/20100101
Thunderbird/95.0a1
Subject: Re: Lisp on Mac M1
Content-Language: en-US
Newsgroups: comp.lang.lisp
References: <4f17a741-4a8c-4c26-8c3f-3c7dda40aad8n@googlegroups.com>
From: pfd@torfree.net (Peri Didaskalou)
In-Reply-To: <4f17a741-4a8c-4c26-8c3f-3c7dda40aad8n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 11
Message-ID: <F_VdJ.3$g81.2@fx19.iad>
X-Complaints-To: abuse@UsenetServer.com
NNTP-Posting-Date: Tue, 26 Oct 2021 16:26:13 UTC
Date: Tue, 26 Oct 2021 12:26:11 -0400
X-Received-Bytes: 1084
 by: Peri Didaskalou - Tue, 26 Oct 2021 16:26 UTC

Hi Alan, Have you seen this reddit thread?

https://www.reddit.com/r/lisp/comments/jwqg8f/cl_implementation_support_for_apple_silicon/

On 2021-10-26 11:30 a.m., Alan Canales wrote:
> I'm trying to use Lisp on Apple silicon but can't still. Any recommendations?
>
> Thank you.
>

Re: Lisp on Mac M1

<v7nl4i-0bb.ln1@clipper.unices.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16693&group=comp.lang.lisp#16693

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp1-1.free.fr!not-for-mail
Newsgroups: comp.lang.lisp
From: stephane@unices.org (Stephane Tougard)
Subject: Re: Lisp on Mac M1
References: <4f17a741-4a8c-4c26-8c3f-3c7dda40aad8n@googlegroups.com>
Reply-To: stephane@unices.org
User-Agent: slrn/1.0.3 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Date: Tue, 26 Oct 2021 18:33:35 +0200
Message-ID: <v7nl4i-0bb.ln1@clipper.unices.org>
Lines: 40
Organization: Guest of ProXad - France
NNTP-Posting-Date: 26 Oct 2021 19:08:02 CEST
NNTP-Posting-Host: 78.247.52.194
X-Trace: 1635268082 news-1.free.fr 3679 78.247.52.194:59752
X-Complaints-To: abuse@proxad.net
 by: Stephane Tougard - Tue, 26 Oct 2021 16:33 UTC

Hi,

Install the port from https://www.macports.org/

Insure that /opt/local/bin is in PATH

export PATH=/opt/local/bin:$PATH
sudo port install sbcl

Then :

stephane@Stephanes-MacBook-Pro ~ % uname -a
Darwin Stephanes-MacBook-Pro.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:31 PDT 2021; root:xnu-7195.121.3~9/RELEASE_ARM64_T8101 arm64
stephane@Stephanes-MacBook-Pro ~ % sbcl
This is SBCL 2.1.9, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
*

I could not get clisp working (compilation failed)

I could install ccl, but I could not get it working (seems there is no
valid kernel for the M1).

So I guess, you have to use sbcl for the time being.

Stéphane

On 2021-10-26, Alan Canales <alanrafacanales@gmail.com> wrote:
> I'm trying to use Lisp on Apple silicon but can't still. Any recommendations?
>
> Thank you.

Re: Lisp on Mac M1

<16b1a77425ef8cfb$1$3170636$4ed50460@news.newsdemon.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16694&group=comp.lang.lisp#16694

  copy link   Newsgroups: comp.lang.lisp
Subject: Re: Lisp on Mac M1
Newsgroups: comp.lang.lisp
References: <4f17a741-4a8c-4c26-8c3f-3c7dda40aad8n@googlegroups.com> <F_VdJ.3$g81.2@fx19.iad>
From: invalid@invalid.invalid (nemo)
Date: Tue, 26 Oct 2021 14:17:36 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <F_VdJ.3$g81.2@fx19.iad>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-CA
Content-Transfer-Encoding: 7bit
Message-ID: <16b1a77425ef8cfb$1$3170636$4ed50460@news.newsdemon.com>
Lines: 16
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!2a07:8080:119:fe::41.MISMATCH!news.newsdemon.com!not-for-mail
NNTP-Posting-Date: Tue, 26 Oct 2021 18:17:37 +0000
X-Received-Bytes: 996
Organization: NewsDemon - www.newsdemon.com
X-Complaints-To: abuse@newsdemon.com
 by: nemo - Tue, 26 Oct 2021 18:17 UTC

On 2021-10-26 12:26, Peri Didaskalou wrote:
> Hi Alan, Have you seen this reddit thread?
>
> https://www.reddit.com/r/lisp/comments/jwqg8f/cl_implementation_support_for_apple_silicon/
>
> On 2021-10-26 11:30 a.m., Alan Canales wrote:
>> I'm trying to use Lisp on Apple silicon but can't still. Any
>> recommendations?
>>
>> Thank you.

Roberto posted this a few months ago:
https://sourceforge.net/p/clisp/bugs/742/?limit=25#7773

(I have not tried it, though.)
N.

Re: Lisp on Mac M1

<16b1eb836ff3d615$1$3165828$cad58068@news.newsdemon.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16695&group=comp.lang.lisp#16695

  copy link   Newsgroups: comp.lang.lisp
Subject: Re: Lisp on Mac M1
Newsgroups: comp.lang.lisp
References: <4f17a741-4a8c-4c26-8c3f-3c7dda40aad8n@googlegroups.com> <v7nl4i-0bb.ln1@clipper.unices.org>
From: invalid@invalid.invalid (nemo)
Date: Wed, 27 Oct 2021 11:04:48 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <v7nl4i-0bb.ln1@clipper.unices.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-CA
Content-Transfer-Encoding: 8bit
Message-ID: <16b1eb836ff3d615$1$3165828$cad58068@news.newsdemon.com>
Lines: 22
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!2a07:8080:119:fe:96e5:a795:b76a:6816.MISMATCH!news.newsdemon.com!not-for-mail
NNTP-Posting-Date: Wed, 27 Oct 2021 15:04:49 +0000
X-Received-Bytes: 1219
Organization: NewsDemon - www.newsdemon.com
X-Complaints-To: abuse@newsdemon.com
 by: nemo - Wed, 27 Oct 2021 15:04 UTC

On 2021-10-26 12:33, Stephane Tougard wrote (in part):
> I could not get clisp working (compilation failed)
>
> I could install ccl, but I could not get it working (seems there is no
> valid kernel for the M1).
>
> So I guess, you have to use sbcl for the time being.
>
> Stéphane

Clisp is available via Homebrew:
build [~]=> file /opt/homebrew/bin/clisp
/opt/homebrew/bin/clisp: Mach-O 64-bit executable arm64

/opt/homebrew/bin/clisp: Mach-O 64-bit executable arm64
build [~]=> /opt/homebrew/bin/clisp --version
GNU CLISP 2.49.92 (2018-02-18) (built on hmbrw-a-001-m1-005.local
[127.0.0.1])
Software: GNU C Apple LLVM 12.0.5 (clang-1205.0.22.9)
[...]

N.

Re: Lisp on Mac M1

<6c1b28c1-eeb9-4ecc-bfac-1b2b9c63fb31n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17161&group=comp.lang.lisp#17161

  copy link   Newsgroups: comp.lang.lisp
X-Received: by 2002:a37:4648:0:b0:6b9:29d9:5756 with SMTP id t69-20020a374648000000b006b929d95756mr1677847qka.57.1659769762896;
Sat, 06 Aug 2022 00:09:22 -0700 (PDT)
X-Received: by 2002:a05:6870:f6a4:b0:10e:2561:e6c8 with SMTP id
el36-20020a056870f6a400b0010e2561e6c8mr4943395oab.187.1659769762456; Sat, 06
Aug 2022 00:09:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.lisp
Date: Sat, 6 Aug 2022 00:09:22 -0700 (PDT)
In-Reply-To: <4f17a741-4a8c-4c26-8c3f-3c7dda40aad8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=216.24.219.148; posting-account=rJ_N4AoAAAB7Rd9sInBVxQJ67DvOi3cZ
NNTP-Posting-Host: 216.24.219.148
References: <4f17a741-4a8c-4c26-8c3f-3c7dda40aad8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6c1b28c1-eeb9-4ecc-bfac-1b2b9c63fb31n@googlegroups.com>
Subject: Re: Lisp on Mac M1
From: kkimes2020@gmail.com (argenfargen)
Injection-Date: Sat, 06 Aug 2022 07:09:22 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1836
 by: argenfargen - Sat, 6 Aug 2022 07:09 UTC

On Tuesday, October 26, 2021 at 4:30:37 PM UTC+1, alanraf...@gmail.com wrote:
> I'm trying to use Lisp on Apple silicon but can't still. Any recommendations?
>
> Thank you.
I looked through the ruby code on homebrew for clisp.
So, I adapted that:
curl https://alpha.gnu.org/gnu/clisp/clisp-2.49.92.tar.bz2 -o clisp-2.49.92.tar.bz2
tar xf clisp-2.49.92.tar.bz2
cd clisp-2.49.92/src/gllib/

Edited "vma-iter.c" to delete this line (line 1330):
# if defined __ppc64__ || defined __x86_64__

and replaced it with:
# if defined __aarch64__ || defined __ppc64__ || defined __x86_64__

It compiled and passed a lot of tests and gives me:
usr~/clisp-2.49.92/src> file clisp
clisp: Mach-O 64-bit executable arm64

Re: Lisp on Mac M1

<c2ec8916-af31-4fc4-afde-debbbb615933n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17162&group=comp.lang.lisp#17162

  copy link   Newsgroups: comp.lang.lisp
X-Received: by 2002:a05:620a:687:b0:6b8:fad6:abbd with SMTP id f7-20020a05620a068700b006b8fad6abbdmr7856801qkh.338.1659773145786;
Sat, 06 Aug 2022 01:05:45 -0700 (PDT)
X-Received: by 2002:a05:6808:14c6:b0:33a:90ad:241f with SMTP id
f6-20020a05680814c600b0033a90ad241fmr4438623oiw.116.1659773145445; Sat, 06
Aug 2022 01:05:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.lisp
Date: Sat, 6 Aug 2022 01:05:45 -0700 (PDT)
In-Reply-To: <6c1b28c1-eeb9-4ecc-bfac-1b2b9c63fb31n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=216.24.219.161; posting-account=rJ_N4AoAAAB7Rd9sInBVxQJ67DvOi3cZ
NNTP-Posting-Host: 216.24.219.161
References: <4f17a741-4a8c-4c26-8c3f-3c7dda40aad8n@googlegroups.com> <6c1b28c1-eeb9-4ecc-bfac-1b2b9c63fb31n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c2ec8916-af31-4fc4-afde-debbbb615933n@googlegroups.com>
Subject: Re: Lisp on Mac M1
From: kkimes2020@gmail.com (argenfargen)
Injection-Date: Sat, 06 Aug 2022 08:05:45 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 22
 by: argenfargen - Sat, 6 Aug 2022 08:05 UTC

On Saturday, August 6, 2022 at 8:09:25 AM UTC+1, argenfargen wrote:
> On Tuesday, October 26, 2021 at 4:30:37 PM UTC+1, alanraf...@gmail.com wrote:
> > I'm trying to use Lisp on Apple silicon but can't still. Any recommendations?
> >
> > Thank you.
> I looked through the ruby code on homebrew for clisp.
> So, I adapted that:
> curl https://alpha.gnu.org/gnu/clisp/clisp-2.49.92.tar.bz2 -o clisp-2.49.92.tar.bz2
> tar xf clisp-2.49.92.tar.bz2
> cd clisp-2.49.92/src/gllib/
>
> Edited "vma-iter.c" to delete this line (line 1330):
> # if defined __ppc64__ || defined __x86_64__
>
> and replaced it with:
> # if defined __aarch64__ || defined __ppc64__ || defined __x86_64__
>
> It compiled and passed a lot of tests and gives me:
> usr~/clisp-2.49.92/src> file clisp
> clisp: Mach-O 64-bit executable arm64

Steel Bank now has version 2.1.2 for macos M1. I've rebuilt sbcl 2.2.7 with it and taht passes regression tests.
It's on the sbcl.org site. Click on "Downloads" link and it takes you to a table showing 2.1.2 and will download from sourcforge.com

Re: Lisp on Mac M1

<tdgs3b$4rqp$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17166&group=comp.lang.lisp#17166

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: no_email@invalid.invalid (Zyni Moë)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp on Mac M1
Date: Tue, 16 Aug 2022 19:44:43 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <tdgs3b$4rqp$1@dont-email.me>
References: <4f17a741-4a8c-4c26-8c3f-3c7dda40aad8n@googlegroups.com>
<6c1b28c1-eeb9-4ecc-bfac-1b2b9c63fb31n@googlegroups.com>
<c2ec8916-af31-4fc4-afde-debbbb615933n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Aug 2022 19:44:43 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="22d48d0c3c22db397831f64942e7381f";
logging-data="159577"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1925xZwOWVHCs1HtSh16TEvEePYWQ5vawA="
User-Agent: NewsTap/5.5 (iPad)
Cancel-Lock: sha1:sy3DdJUnDcOWWZL0Hav8Y8Hrh0M=
sha1:Zp1pN1QjBFAhxqZu9EafSEhnasc=
 by: Zyni Moë - Tue, 16 Aug 2022 19:44 UTC

argenfargen <kkimes2020@gmail.com> wrote:

> Steel Bank now has version 2.1.2 for macos M1. I've rebuilt sbcl 2.2.7
> with it and taht passes regression tests.

I found that you can use x64 ccl using Rosetta to cross-compile sbcl for
M1. Is very slow but once you have done it once you can of course use
resulting sbcl to rebuild itself, much faster,so now

This is SBCL 2.2.7.96-ceb434314, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

--
the small snake

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor