GMP-6.1.2: TESTS_ENVIRONMENT=wine breaks "make check"

Keith Marshall keithmarshall at users.sourceforge.net
Sat May 27 13:17:20 UTC 2017


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Having (apparently) successfully built GMP-6.1.2 for mingw32 host, using 
self-built GCC-6.3.0 cross-compiler, hosted on LinuxMint-Debian:

$ uname -a
Linux ... 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64 GNU/Linux

$ mingw32-gcc --version
mingw32-gcc (GCC) 6.3.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS 
FOR A PARTICULAR PURPOSE.

Configure runs successfully (log attached), as does subsequent make; 
however, ultimately running (as instructed by configure):

$ make check TESTS_ENVIRONMENT=wine

dies thus:

make  check-TESTS
make[4]: Entering directory `/home/keith/src/mingw/gcc-build/gmp-6.1.2-shared/tests'
make[5]: Entering directory `/home/keith/src/mingw/gcc-build/gmp-6.1.2-shared/tests'
wine: Bad EXE format for Z:\bin\bash..
make[5]: *** [t-bswap.log] Error 193

Omitting the "TESTS_ENVIRONMENT=wine" assignment, and relying on Linux 
miscellaneous binary support to DTRT, allows the test-suite to run, with 
one reported FAIL (t-scanf.exe), for which I'll submit a separate report.

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJZKXxgAAoJEMCtNsY0flo/a6sP/1fkzy1YIhHvtIAwnpFU5Sb9
XbB/vkdPfrHqiCZ3pf/DZbCHRU0C4yKnGFeNq5iyxq63Jo+8QaugR1ZsJoNfevtN
tzBKlDhkyinyNhfNoaw3tfa1d2o6kCig+87q7+zoxdg6Tr1o9eSydXiWF1p3+/uN
CwEXibpVAWAEHsp2iLPWNC6A7V72atsMCiDyPl4TqTr/1asrxMUoNMmaeg1bb+Nn
FxhCoaGugMCCZnUAMaRIxRlbzlUKzhjnkG51kpLgv7VqWhl+Wje8hySCbCOmnblD
TwSpnILQdk5sjd5tdGpNWSsKV52AWyIXdpi6+SBE0DuP4casu4FAnVeyX8Gd0VdE
VfuGQ2f+bTtF6t6/cWVFH2vHqJ1MA99CJIPRlDjNGdQNiw+GHT3xbzUG/MVMjpYB
0TOZbzBHxbIYdQXbdGrQ70j/TOXgeI/eptk54CMeyYgZne8bWxVyo0tmz9FZOrnz
JWyJ6M9QRiHoAuxnmUzXuSdUT+rxNVwudY9oUGzet+SFlFst49RWwpJYg8Maq171
c2b9GB82c6/9alQc4A6XkfBcQcrdGMGyATD/dEKhrzUmde4KSZu4GB10pO7t+cJn
tJaamEwGN6bMClBniqrPyBPJrRVye7RLwNSWj7fjwrZ6A4EqaGg70ISoCwOwyAor
K96Srz3fXd1xjuXJ/suo
=tYlg
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.xz
Type: application/x-xz
Size: 31956 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20170527/ac58f732/attachment-0001.bin>


More information about the gmp-bugs mailing list