The following bug exists since at least GMP 4.3 and still persists:
gmp-h.in defines _GMP_DECLSPEC_EXPORT / _GMP_DECLSPEC_IMPORT for
different systems and use it later.
The problem: it does not define it to something for unknown environments.
The attached patch defines them empty when the
Thanks for the prompt answer!
Am 20.10.2021 um 16:19 schrieb Torbjörn Granlund:
When tuneup cannot measure things accurately, it bails out.
That's interesting. Is there any thing I can do to help tuneup measure
things accurately?
Can you please add that important information (abort of the
make check passed
Testsuite summary for GNU MP 6.2.1
# TOTAL: 0
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
and the installed library also seems to work fine from a quick test, but
the tuneup
Am 01.11.2022 um 22:55 schrieb Torbjörn Granlund:
Simon Sobisch writes:
config.status: linking ../mpn/x86_64/core2/popcount.asm to mpn/popcount.asm
config.status: linking ../mpn/x86_64/core2/hamdist.asm to mpn/hamdist.asm
tmp-popcount.s:181:suffix or operands invalid for `movq
Am 02.11.2022 um 08:58 schrieb Niels Möller:
Torbjörn Granlund writes:
This is not the same bug as we worked around for register-to-register
copying on x86-32 some years ago. It is not cleer what syntax this
assembler might accept, and which also gives the right instruction (here
and on
Am 02.11.2022 um 13:59 schrieb Torbjörn Granlund:
I seem to have misread the report. I thought the
movq mem,xmm
instructions were the problem.
Good that this got clearer.
I pushed a fix to the repo. Please try it.
https://gmplib.org/repo/gmp/rev/3ac5afa36be5 works fine for me on
Environment:
Version: GNU MP 6.2.1
Host type: core2-apple-darwin11.4.2
ABI: 64
linked files:
config.status: linking ../mpn/x86_64/core2/popcount.asm to mpn/popcount.asm
config.status: linking ../mpn/x86_64/core2/hamdist.asm to mpn/hamdist.asm
make -k
Problem when building from 6.3.0 release tarball:
libtool: compile: ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I.
-I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_x86_64_add_n -Wno-attribute
x86_64_add_n.asm -DDLL_EXPORT -DPIC -o .libs/x86_64_add_n.o
m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP
Am 10.12.2023 um 22:51 schrieb Marc Glisse:
On Sun, 10 Dec 2023, Simon Sobisch wrote:
$ ./config.guess && gcc --version && as --version
gcc -v file.c
gives more information about the assembler that is really used.
Thank you for the note, I'll use this next time.
On this