Re: macOS Catalina: FAIL: t-powm

2019-11-16 Thread Torbjörn Granlund
Marc Glisse writes: It seems to have code for "native" variant, although possibly noone uses it. Does --enable-fat not work on Mac? It works. -- Torbjörn Please encrypt, key id 0xC8601622 ___ gmp-bugs mailing list gmp-bugs@gmplib.org

Re: macOS Catalina: FAIL: t-powm

2019-11-16 Thread Hans Åberg
> On 16 Nov 2019, at 10:14, Torbjörn Granlund wrote: > > There is a non-zero probability that these GMP test suite failures are > caused by bugs in GMP. We cannot tell for sure, as we have not isolated > the failures. Or maybe just the test suite, as suggested som other post?! > And as gdb

Re: macOS Catalina: FAIL: t-powm

2019-11-16 Thread Hans Åberg
> On 16 Nov 2019, at 14:21, Jack Howarth > wrote: > >> > And as gdb no longer >> > works on Macos, I would feel like a beginner programmer again. >> >> There is “native” lldb, which should work with GCC, too, I think. > > Just to be clear, the 'gcc' on recent macOS has always been stub

Re: macOS Catalina: FAIL: t-powm

2019-11-16 Thread Hans Åberg
> On 16 Nov 2019, at 14:21, Jack Howarth > wrote: > > The gmp package in MacPorts relies on always building with the core2 > architecture in order ship uniform packaging of gmp for all Intel based Macs. > That is why everyone sees the same glitch in Xcode 11 who is using MacPorts. The make

Re: macOS Catalina: FAIL: t-powm

2019-11-16 Thread Jack Howarth
On Sat, Nov 16, 2019 at 4:33 AM Hans Åberg wrote: > > > On 16 Nov 2019, at 10:14, Torbjörn Granlund wrote: > > > > There is a non-zero probability that these GMP test suite failures are > > caused by bugs in GMP. We cannot tell for sure, as we have not isolated > > the failures. > > Or maybe

Re: macOS Catalina: FAIL: t-powm

2019-11-16 Thread Jack Howarth
On Fri, Nov 15, 2019 at 6:42 AM Torbjörn Granlund wrote: > Apple has released a new version of Xcode. It is said to fix some issue > with UITextView, and as the update size is 8 GiB UITextView must be a > very large function. > > But hopefully they also managed to fix the C compiler to

Re: macOS Catalina: FAIL: t-powm

2019-11-15 Thread Hans Åberg
> On 15 Nov 2019, at 12:42, Torbjörn Granlund wrote: > > Apple has released a new version of Xcode. It is said to fix some issue > with UITextView, and as the update size is 8 GiB UITextView must be a > very large function. > > But hopefully they also managed to fix the C compiler to

Re: macOS Catalina: FAIL: t-powm

2019-11-15 Thread Torbjörn Granlund
Apple has released a new version of Xcode. It is said to fix some issue with UITextView, and as the update size is 8 GiB UITextView must be a very large function. But hopefully they also managed to fix the C compiler to miscompile many of our functions. -- Torbjörn Please encrypt, key id

Re: macOS Catalina: FAIL: t-powm

2019-11-09 Thread Torbjörn Granlund
Jack Howarth writes: Torbjörn, Are you just using... ./configure Yes. or are you explicitly passing -fstack-check to clang on CFLAGS and CXXFLAGS? I did notice one extra oddity to this bug. When the default stack checking in Xcode 11 clang is used, the t-powm test case

Re: macOS Catalina: FAIL: t-powm

2019-11-09 Thread Jack Howarth
On Fri, Nov 8, 2019 at 5:53 PM Torbjörn Granlund wrote: > Jack Howarth writes: > >Torbjörn, > Are you using the clang from Xcode 11? > > Yes, of course. > > -- > Torbjörn > Please encrypt, key id 0xC8601622 > Torbjörn, Are you just using... ./configure or are you

Re: macOS Catalina: FAIL: t-powm

2019-11-08 Thread Torbjörn Granlund
Jack Howarth writes: Torbjörn, Are you using the clang from Xcode 11? Yes, of course. -- Torbjörn Please encrypt, key id 0xC8601622 ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs

Re: macOS Catalina: FAIL: t-powm

2019-11-08 Thread Jack Howarth
On Fri, Nov 8, 2019 at 8:35 AM Torbjörn Granlund wrote: > Jack Howarth writes: > > FYI, I reported this issue to Apple via radar and their response was... > > Engineering has provided the following information regarding this issue: > It sounds like gmp has a memory corruption issue which

Re: macOS Catalina: FAIL: t-powm

2019-11-08 Thread Torbjörn Granlund
Jack Howarth writes: FYI, I reported this issue to Apple via radar and their response was... Engineering has provided the following information regarding this issue: It sounds like gmp has a memory corruption issue which -fstack-check has uncovered. We suggest filing a bug with the

Re: macOS Catalina: FAIL: t-powm

2019-11-02 Thread Torbjörn Granlund
Cedric Berger writes: This is a fresh XCode 11.2 (11B52) and Catalina 10.15.1 (19B88) What could I do? Many people are reporting that Catalina's version of clang miscompiles GMP. We don't have any workaround. We generally don't work around compiler bugs. -- Torbjörn Please encrypt, key

macOS Catalina: FAIL: t-powm

2019-11-01 Thread Cedric Berger
Hello, This is a fresh XCode 11.2 (11B52) and Catalina 10.15.1 (19B88) What could I do? $ which cc /usr/bin/cc $ cc -v Apple clang version 11.0.0 (clang-1100.0.33.12) Target: x86_64-apple-darwin19.0.0 Thread model: posix InstalledDir: