[Openmcl-devel] Fwd: Error: Foreign function not found: X86-DARWIN64::|gethostname|

Shannon Spires svs at bearlanding.com
Fri Jun 25 03:35:03 UTC 2021


I've been unable to reproduce this behavior using the 1.12.1 release and 
running ./dx86cl64 from the command line, and from the IDE after 
rebuilding the CCL IDE from the latest 1.12 git repo.

I am using the 0.8.3 version of usocket since that's what quicklisp is 
grabbing.

The only thing that's different is that I'm on MacOS 10.15.7. I don't 
have a way to test on 10.14.

(The Mac App store version of CCL is known to be DOA on later versions 
of MacOS. The git version is the one you want, and you have that.)

In any case, this smells like the famous Catalina bug where it can't 
find the normal C shared libraries, rather than a CCL bug. And yet 
you're not running Catalina, so I don't know what's going on. Do you 
have a Catalina machine you can test on?

-SS

On 6/24/21 5:39 PM, Mark Klein wrote:
>
> I got the following error when quickloading usocket:
>
>> Clozure Common Lisp Version 1.12.1 (v1.12.1) DarwinX8664
>>
>> For more information about CCL, please see http://ccl.clozure.com 
>> <http://ccl.clozure.com>.
>>
>> CCL is free software.  It is distributed under the terms of the 
>> Apache Licence, Version 2.0.
>> ? (ql:quickload 'usocket)
>> To load "usocket":
>>  Load 1 ASDF system:
>>    usocket
>> ; Loading "usocket"
>> Read error between positions 66 and 163 in 
>> /Users/markklein/quicklisp/dists/quicklisp/software/usocket-0.8.3/backend/openmcl.lisp.
>>> Error: Foreign function not found: X86-DARWIN64::|gethostname|
>>> While executing: CCL::LOAD-EXTERNAL-FUNCTION, in process Listener(4).
>>> Type cmd-. to abort, cmd-\ for a list of available restarts.
>>> Type :? for other options.
>> 1 >
>
> I am using a Macbook Pro with Mac OS 10.14.1 I upgraded today from CCL 
> 1.12-dev to CCL 1.12.1, so maybe that's what caused the problem.
>
> Any suggestions on how I can fix this?
>
> I tried downloading the Mac App Store version of clozure CL, but that 
> crashed:
>
>> Unhandled exception 10 at 0x7fff67416a1d, context->regs at #x7ffeefbfdc00
>> Exception occurred while executing foreign code
>> at objc_msgSend + 29
>> received signal 10; faulting address: 0x7fff00000018
>> ? for help
>> [1283] Clozure CL kernel debugger:
>
>
> I'm dead in the water because of this, so any pointers would be 
> greatly appreciated.
>
>    Thanks!
>
>        Mark Klein
>
> ----------------------
> Mark Klein, PhD
> Principal Research Scientist
> Massachusetts Institute of Technology
> http://cci.mit.edu/klein/ <http://cci.mit.edu/klein/>
>
> ----------------------
> Mark Klein, PhD
> Principal Research Scientist
> Massachusetts Institute of Technology
> http://cci.mit.edu/klein/ <http://cci.mit.edu/klein/>
>
>
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20210624/857e0889/attachment.html>


More information about the Openmcl-devel mailing list