Your message dated Sat, 12 Aug 2023 13:34:49 -0500
with message-id <4505800.LvFx2qVVIh@riemann>
and subject line Re: libgmp10: GMP is limited to 32-bit size on a 64-bit
machine: failure in mpz_realloc2
has caused the Debian Bug report #818476,
regarding libgmp10: GMP is limited to 32-bit size on a 64-bit machine: failure
in mpz_realloc2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
818476: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818476
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgmp10
Version: 2:6.1.0+dfsg-2
Severity: normal
Tags: upstream
Consider:
#include <stdio.h>
#include <gmp.h>
int main (void)
{
mpz_t u;
int i;
mpz_init (u);
for (i = 30; i <= 40; i++)
{
printf ("i = %d\n", i);
mpz_realloc2 (u, 1UL << i);
}
mpz_clear (u);
return 0;
}
cventin:~> gcc tst.c -o tst -lgmp
cventin:~> ./tst
i = 30
i = 31
i = 32
i = 33
i = 34
i = 35
i = 36
i = 37
gmp: overflow in mpz type
Not sure whether this has now been fixed upstream, but a discussion
suggests that LP64 like here is fine, so that there shouldn't be
such a limit.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500,
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libgmp10:amd64 depends on:
ii libc6 2.22-3
libgmp10:amd64 recommends no packages.
libgmp10:amd64 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Thu, 17 Mar 2016 13:56:38 +0100 Vincent Lefevre <[email protected]> wrote:
> Package: libgmp10
> Version: 2:6.1.0+dfsg-2
> Severity: normal
> Tags: upstream
>
> Consider:
>
> #include <stdio.h>
> #include <gmp.h>
>
> int main (void)
> {
> mpz_t u;
> int i;
>
> mpz_init (u);
> for (i = 30; i <= 40; i++)
> {
> printf ("i = %d\n", i);
> mpz_realloc2 (u, 1UL << i);
> }
> mpz_clear (u);
>
> return 0;
> }
>
> cventin:~> gcc tst.c -o tst -lgmp
> cventin:~> ./tst
> i = 30
> i = 31
> i = 32
> i = 33
> i = 34
> i = 35
> i = 36
> i = 37
> gmp: overflow in mpz type
>
> Not sure whether this has now been fixed upstream,
I just tested with GMP 6.3.0 and encountered a different symptom:
./a.out
i = 30
i = 31
i = 32
i = 33
i = 34
i = 35
i = 36
i = 37
Floating point exception (core dumped)
> but a discussion
> suggests that LP64 like here is fine, so that there shouldn't be
> such a limit.
I think that any changes to address this bug ultimately do belong in an
upstream
discussion rather than a Debian bug. Therefore, I'm closing this.
Regards,
-Steve
signature.asc
Description: This is a digitally signed message part.
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers