unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#48458: Invalid %host-type on macOS, breaking dynamic loading
@ 2021-05-15 23:21 Matthew Keeter
  0 siblings, 0 replies; only message in thread
From: Matthew Keeter @ 2021-05-15 23:21 UTC (permalink / raw)
  To: 48458

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-15 23:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-15 23:21 bug#48458: Invalid %host-type on macOS, breaking dynamic loading Matthew Keeter

unofficial mirror of bug-guile@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guile-bugs/0 guile-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-bugs guile-bugs/ https://yhetil.org/guile-bugs \
		bug-guile@gnu.org
	public-inbox-index guile-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.lisp.guile.bugs
	nntp://news.gmane.io/gmane.lisp.guile.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git