bug report - 2 tests fail in make check

Torbjörn Granlund tg at gmplib.org
Thu Jul 30 08:36:46 UTC 2020


Elyassaf Loyfer <loyfer.e at gmail.com> writes:

  >>> uname -a
  Darwin huji-132-64-28-195.xt.huji.ac.il 19.5.0 Darwin Kernel Version
  19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64
  x86_64
  >>> ./config.guess
  kabylake-apple-darwin19.5.0
  >>> ./configfsf.guess
  x86_64-apple-darwin19.5.0
  >>> what `which cc`
  /usr/bin/cc
  >>> gcc -v
  Configured with: --prefix=/Library/Developer/CommandLineTools/usr
  --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
  Apple clang version 11.0.0 (clang-1100.0.33.8)
  Target: x86_64-apple-darwin19.5.0
  Thread model: posix
  InstalledDir: /Library/Developer/CommandLineTools/usr/bin

These test suite failures smell compiler bug.  Unfortunately, while
Apple is a large company, their compiler team does not seem to be able
to produce a robust compiler.  Only every few "Xcode" release comes with
a compiler which GMP does not trip up.

I haven't kept a list of versions of the compiler which does not work.
But I know for a fact that the first Xcode release which came with
Catalina did not.  The first update was no better, but I think the third
update actually worked.

You might want to install a new Xcode version.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list