[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] Add module functions to convert from and to big integers
From: |
Philipp Stephani |
Subject: |
Re: [PATCH 2/2] Add module functions to convert from and to big integers. |
Date: |
Wed, 24 Apr 2019 23:17:55 +0200 |
Am Mi., 24. Apr. 2019 um 22:58 Uhr schrieb Stefan Monnier
<address@hidden>:
>
> >> I'm not sure I understand the details of the discussion, but if we
> >> sometimes include mini-gmp.h (or copies of parts of it) and sometimes
> >> gmp.h, isn't there a risk that a module built for "Emacs on
> >> amd64" will not work on "all" versions of "Emacs on amd64" (depending
> >> on whether it was built with GMP or with mini-gmp)?
> >
> > Yes, although the module fingerprint is supposed to catch problems
> > like that. Such problems can also be caused by compiling with -O2
> > vs -O3, say.
>
> Really? I thought our module system was designed so modules aren't so
> tightly coupled to Emacs's internals [ I remember discussions
> around exposing the size of Lisp_Object, for example. ]
They are not coupled at all. They only depend on the basic machine ABI
(size and representation of arithmetic types and pointers, calling
conventions), but should otherwise be maximally compatible: If the
module author followed the recommendations from the manual, then any
version of Emacs can load any version of the module.
- Re: [PATCH] Unbreak build when building without GMP support., (continued)
- Re: [PATCH] Unbreak build when building without GMP support., Philipp Stephani, 2019/04/24
- Re: [PATCH] Unbreak build when building without GMP support., Eli Zaretskii, 2019/04/24
- Re: [PATCH] Unbreak build when building without GMP support., Philipp Stephani, 2019/04/24
- Re: [PATCH] Unbreak build when building without GMP support., Eli Zaretskii, 2019/04/25
- Re: [PATCH] Unbreak build when building without GMP support., Eli Zaretskii, 2019/04/25
- Re: [PATCH] Unbreak build when building without GMP support., Philipp Stephani, 2019/04/25
- Re: [PATCH] Unbreak build when building without GMP support., Philipp Stephani, 2019/04/24
- Re: [PATCH 2/2] Add module functions to convert from and to big integers., Stefan Monnier, 2019/04/24
- Re: [PATCH 2/2] Add module functions to convert from and to big integers., Paul Eggert, 2019/04/24
- Re: [PATCH 2/2] Add module functions to convert from and to big integers., Stefan Monnier, 2019/04/24
- Re: [PATCH 2/2] Add module functions to convert from and to big integers.,
Philipp Stephani <=
- Re: [PATCH 2/2] Add module functions to convert from and to big integers., Paul Eggert, 2019/04/24
- Re: [PATCH 2/2] Add module functions to convert from and to big integers., Philipp Stephani, 2019/04/24
- Re: [PATCH 2/2] Add module functions to convert from and to big integers., Paul Eggert, 2019/04/24
- Re: [PATCH 2/2] Add module functions to convert from and to big integers., Eli Zaretskii, 2019/04/25
- Re: [PATCH 2/2] Add module functions to convert from and to big integers., Philipp Stephani, 2019/04/25
- [PATCH 1/2] Require full GMP when building module support., Philipp Stephani, 2019/04/25
- [PATCH 2/2] Check for __attribute__ ((cleanup)) during configuration., Philipp Stephani, 2019/04/25
- Re: [PATCH 2/2] Check for __attribute__ ((cleanup)) during configuration., Paul Eggert, 2019/04/25
- Re: [PATCH 2/2] Check for __attribute__ ((cleanup)) during configuration., Philipp Stephani, 2019/04/28
- Re: [PATCH 1/2] Require full GMP when building module support., Eli Zaretskii, 2019/04/25