Re: segmentation fault in t-toom53 test with MAC OS X Catalina (Clang 11.0)
On Sat, 9 Nov 2019, JRR wrote: There are more problems in mpfr, and mpc does not even compile. If MPC does not compile, I think you are on the wrong list to report it... -- Marc Glisse ___ 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)
Dear Juergen, > There are more problems in mpfr, and mpc does not even compile. > Is this already known? please report mpfr and mpc specific issues to the corresponding lists. Paul Zimmermann ___ 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)
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)
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)
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)
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. -- Marc Glisse ___ 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)
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)
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)
> 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. ___ 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)
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)
Hi Torbjorn, I usually always use gcc, that's the reason why I compile gmplib. I never encountered a problem with compiling and running the testsuite. Apparently, it also generates lots of segmentation faults in the test suite of mpfr as well (not just one). Cheers, JRR Am 08.10.19 um 23:59 schrieb Torbjörn Granlund: 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. 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. -- -- - 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)
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. 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. -- Torbjörn Please encrypt, key id 0xC8601622 ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs
segmentation fault in t-toom53 test with MAC OS X Catalina (Clang 11.0)
Hi all, I get the following segmentation fault when running the test suite of gmplib 6.1.2, configured just with prefix=/usr/local, /usr/bin/cc --version Apple clang version 11.0.0 (clang-1100.0.33.8) Target: x86_64-apple-darwin19.0.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin FAIL t-toom53 (exit status: 139) This is the backtrace from running lldb on it: sh-3.2# lldb .libs/t-toom53 (lldb) target create ".libs/t-toom53" Current executable set to '.libs/t-toom53' (x86_64). (lldb) run Process 31069 launched: '/usr/local/packages/gmp-6.1.2/_build/tests/mpn/.libs/t-toom53' (x86_64) Process 31069 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x7ffeefc0) frame #0: 0x00010013cdf5 libgmp.10.dylib`__gmpn_add_n + 245 libgmp.10.dylib`__gmpn_add_n: -> 0x10013cdf5 <+245>: movq 0x10(%rsi), %r10 0x10013cdf9 <+249>: movq 0x18(%rsi), %r11 0x10013cdfd <+253>: leaq 0x20(%rsi), %rsi 0x10013ce01 <+257>: adcq 0x10(%rdx), %r10 Target 0: (t-toom53) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x7ffeefc0) * frame #0: 0x00010013cdf5 libgmp.10.dylib`__gmpn_add_n + 245 frame #1: 0x000100163731 libgmp.10.dylib`__gmpn_toom_eval_pm1 + 321 frame #2: 0x00010015b7e5 libgmp.10.dylib`__gmpn_toom53_mul + 341 $ uname -a Darwin Orome-2.local 19.0.0 Darwin Kernel Version 19.0.0: Wed Sep 25 20:18:50 PDT 2019; root:xnu-6153.11.26~2/RELEASE_X86_64 x86_64 i386 MacBookAir5,1 Darwin Please let me know any further information you need. Cheers, JRR -- -- - 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