Re: COFF_TYPE on x86_64

2020-11-01 Thread Marco Bodrato

Ciao Jeremy,

Il 2020-10-02 20:45 Jeremy Drake ha scritto:
Looking at the ld code, it only generated the thunk in the import 
library

if it thought the symbol was a function.  Checking the output of gcc -S
showed that it added ".def func; .scl 2; .type 32; .endef" to 
functions,
and inserting that into the assembly functions caused ld to generate 
the

thunks, which solved the crash.  When I started to investigate how to
integrate generating that in the GMP build system, I came across 
existing
code that did exactly that, but only on 32-bit x86 not x86_64.  The 
patch

I sent copied the necessary parts of that to the x86_64 path.


Can you test if the latest available snapshot is working in your 
environment?


You can download it at:
https://gmplib.org/download/snapshot/gmp-6.2/gmp-6.2.0-20201101220635.tar.zst

Do you know if this might be needed also for mingw running on ARM cpus?

Ĝis,
m
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: 6.2.0 build failure on x86_64 Skylake PC - FIX

2020-11-01 Thread Marco Bodrato

Ciao Ralph,

Il 2020-05-30 21:12 tsurzin ha scritto:
The PC is running Msys2 under Windows 10 and without change GMP failed 
to build.


Can you test if the latest available snapshot is working in your 
environment?


You can download it at:
https://gmplib.org/download/snapshot/gmp-6.2/gmp-6.2.0-20201101220635.tar.zst


With very limited understanding of the Gnu-tools I was unable to make
a shared (.dll) version although Msys2 provides a generic one.


I'm not sure it will work (I don't have Windows, and it seems hard to 
make Msys2 work under wine), but you can try what happen with:

configure --enable-shared --disable-static

Ĝis,
m
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: possible miscompilation on macOS Catalina 10.15.6

2020-11-01 Thread Marco Bodrato

Ciao,

Il 2020-10-29 20:02 Niels Möller ha scritto:

Paul Koning  writes:


There is another possibility: GMP might be doing something undefined,
where previous compilers did "what we want" while some recent new ones
do something different.



So you have to forgive GMP developers of not being thrilled at spending
our spare time investigating, in particular if it's a proprietary
compiler with known bugs in recent history.


In particular because we are speaking about a "report" that does not 
tell us which compiler. We can only guess :-)


Ĝis,
m
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Make check fails on samsung S8 (2)

2020-11-01 Thread Marco Bodrato

Ciao Luc,

Il 2020-10-29 08:39 Marc Glisse ha scritto:

I think so, yes. Maybe Luc can confirm if that works?


Could you try if the latest available snapshot is working in your 
environment?


You can download it at:
https://gmplib.org/download/snapshot/gmp-6.2/gmp-6.2.0-20201101220635.tar.zst

Ĝis,
m
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs