From: Matthew Keeter <matt.j.keeter@gmail.com>
To: 48458@debbugs.gnu.org
Subject: bug#48458: Invalid %host-type on macOS, breaking dynamic loading
Date: Sat, 15 May 2021 19:21:32 -0400 [thread overview]
Message-ID: <6A94C47B-FADE-478B-9426-7EEFC8EAA150@gmail.com> (raw)
Good evening,
I’m running into an interesting issue with Guile 3.07, where dynamic-link has stopped working (macOS 10.14).
(details in this thread: https://github.com/libfive/libfive/issues/440)
Hunting through the code, I see that foreign-library.scm defines system-library-extensions by checking
(string-contains %host-type "-darwin-“)
However, my local %host-type is "x86_64-apple-darwin18.7.0” – note the lack of dash after “darwin”, which means this doesn’t match, so it doesn’t look for files ending in “dylib”
Is this a Guile bug, or is the %host-type triple constructed wrong somehow?
(I know that dynamic-link is deprecated, but load-dynamic-library is also broken due to this)
Thanks,
Matt Keeter
reply other threads:[~2021-05-15 23:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6A94C47B-FADE-478B-9426-7EEFC8EAA150@gmail.com \
--to=matt.j.keeter@gmail.com \
--cc=48458@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).