[Top][All Lists]

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

Re: bignum branch

From: Eli Zaretskii
Subject: Re: bignum branch
Date: Fri, 10 Aug 2018 15:33:28 +0300

> From: Andy Moreton <address@hidden>
> Date: Fri, 10 Aug 2018 12:39:33 +0100
> >> Emacs currently links against the shared library on MSYS2 64bit, and has
> >> a dependency on "c:/msys64/mingw64/bin/libgmp-10.dll".
> >
> > You mean, on the bignum branch or on master/emacs-26?  If the latter,
> This entire thread is about the bignum branch. GMP has never been linked
> in on master. Why would you think otherwise ?

Because "currently" is ambiguous, and because you evidently changed
the static/dynamic linking as part of trying to investigate this
problem, so it wasn't clear whether "currently" refers to what was
before or after the change.  Sorry for my slow mind.

> I used the MSYS2 version of cygcheck to report the dependencies, and
> also the Dependency Walker tool. Both show libgmp-10.dll as a direct
> dependency of emacs.exe.

And that happens no matter what version of the gmp.h header, the
original one or the one you modified. you use during compilation?

> The only thing I changed was the dllimport decorations, and that changed
> the behaviour from a crash to working properly.

What happens if you restore the original gmp.h, rename libgmp.dll.a to
something the linker won't recognize, and rebuild Emacs?  (This should
cause Emacs to be linked statically against libgmp.a.)  Does the
problem with the test suite happen then?


reply via email to

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