Re: segmentation fault in t-toom53 test with MAC OS X Catalina (Clang 11.0)

2019-11-08 Thread JRR

There, tfib2m segfaults.

Am 08.11.19 um 23:40 schrieb Marc Glisse:

On Fri, 8 Nov 2019, JRR wrote:


Interestingly now I get a segmentation fault
in t-powm test. This is with a new Macbook Pro
with i9. Are there any updates on this?


If you want to test something, a recent snapshot from 
https://gmplib.org/download/snapshot/ would be more interesting than 
6.1.2.




___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: segmentation fault in t-toom53 test with MAC OS X Catalina (Clang 11.0)

2019-11-08 Thread JRR

Interestingly now I get a segmentation fault
in t-powm test. This is with a new Macbook Pro
with i9. Are there any updates on this?
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1

Apple clang version 11.0.0 (clang-1100.0.33.12)
Target: x86_64-apple-darwin19.0.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin





Am 09.10.19 um 01:07 schrieb Hans Åberg:

One might take down MacPorts GCC on MacOS 10.14 and then update to MacOS 10.15, 
but then it cannot be updated unless MacPorts has done so.



On 9 Oct 2019, at 00:52, JRR  wrote:

I see, I haven't updated my newer Macbook Pro from 2015 (which is Haswell)
to 10.15, but updated the XCode. There compilation and running the tests do
work.


Am 09.10.19 um 00:44 schrieb Hans Åberg:

On 8 Oct 2019, at 23:59, Torbjörn Granlund  wrote:

Juergen Reuter  writes:

  Please let me know any further information you need.

This is almost surely a compiler bug.  We have encountered countless of
bugs in clang since it showed up.  We have up-to-date apple systems for
running GMP tests, but your clang seems to be newer than what we have.

One can take down a Clang 8 binary which might be newer than the inhouse one.


I suggest that you install gcc on your system.  It might be a pain to
compile if you only have a buggy clang on your system, but I believe
there are precompiled gcc ready to download.

One suggestion is MacPorts which has not yet been updated for this MacOS 10.15.


--
--
-
Juergen Reuter
DESY Theory Group, Bldg. 2a
Notkestr. 85
22607 Hamburg, GERMANY
Tel +49 (0)40 8998 3895
Fax +49 (0)40 8998 2777
skype: jr_reuter
-



___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: segmentation fault in t-toom53 test with MAC OS X Catalina (Clang 11.0)

2019-11-09 Thread JRR

How do we proceed? All other tests work fine.
The architecture is broadwell, clang is
Apple clang version 11.0.0 (clang-1100.0.33.12)
Target: x86_64-apple-darwin19.0.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


There are more problems in mpfr, and mpc does not even compile.
Is this already known?



Am 08.11.19 um 23:40 schrieb Marc Glisse:

On Fri, 8 Nov 2019, JRR wrote:


Interestingly now I get a segmentation fault
in t-powm test. This is with a new Macbook Pro
with i9. Are there any updates on this?


If you want to test something, a recent snapshot from 
https://gmplib.org/download/snapshot/ would be more interesting than 
6.1.2.




___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: segmentation fault in t-toom53 test with MAC OS X Catalina (Clang 11.0)

2019-11-09 Thread JRR
Is it known: does the Security Integrity Protocol of macOS have any 
influence on

this?

Am 08.11.19 um 23:40 schrieb Marc Glisse:

On Fri, 8 Nov 2019, JRR wrote:


Interestingly now I get a segmentation fault
in t-powm test. This is with a new Macbook Pro
with i9. Are there any updates on this?


If you want to test something, a recent snapshot from 
https://gmplib.org/download/snapshot/ would be more interesting than 
6.1.2.




--
--
-
Juergen Reuter
DESY Theory Group, Bldg. 2a
Notkestr. 85
22607 Hamburg, GERMANY
Tel +49 (0)40 8998 3895
Fax +49 (0)40 8998 2777
skype: jr_reuter
-

___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: segmentation fault in t-toom53 test with MAC OS X Catalina (Clang 11.0)

2019-10-09 Thread JRR

I see, I haven't updated my newer Macbook Pro from 2015 (which is Haswell)
to 10.15, but updated the XCode. There compilation and running the tests do
work.


Am 09.10.19 um 00:44 schrieb Hans Åberg:

On 8 Oct 2019, at 23:59, Torbjörn Granlund  wrote:

Juergen Reuter  writes:

  Please let me know any further information you need.

This is almost surely a compiler bug.  We have encountered countless of
bugs in clang since it showed up.  We have up-to-date apple systems for
running GMP tests, but your clang seems to be newer than what we have.

One can take down a Clang 8 binary which might be newer than the inhouse one.


I suggest that you install gcc on your system.  It might be a pain to
compile if you only have a buggy clang on your system, but I believe
there are precompiled gcc ready to download.

One suggestion is MacPorts which has not yet been updated for this MacOS 10.15.



--
--
-
Juergen Reuter
DESY Theory Group, Bldg. 2a
Notkestr. 85
22607 Hamburg, GERMANY
Tel +49 (0)40 8998 3895
Fax +49 (0)40 8998 2777
skype: jr_reuter
-

___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs