guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile test-ffi uses an unportable assumption


From: Andy Wingo
Subject: Re: Guile test-ffi uses an unportable assumption
Date: Sat, 23 Jul 2016 23:17:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

On Sat 23 Jul 2016 13:51, Eli Zaretskii <address@hidden> writes:

> It assumes that libltdl can only produce a handle for a symbol in the
> the program itself, as opposed to those loaded from shared libraries.
> It tries 'strerror'.  This cannot work on MS-Windows, unless the
> program was linked with -export-dynamic, which is not true for
> the test program.

Interesting.  The test program is a Scheme script which looks up
strerror in the dlopen(NULL).  Libguile is compiled with -export-dynamic
but the guile binary is not.  Which part needs to be compiled with
-export-dynamic, do you think?

Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]