Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-11-18 Thread Dima Pasechnik
On Saturday, November 18, 2017 at 8:42:48 PM UTC, Michael Frey wrote: > > This is still broken ins Sage 8.1.rc2 with the same error. Should I post > a new thread? > please try the branch on https://trac.sagemath.org/ticket/24085 -- You received this message because you are subscribed to the

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-11-18 Thread Michael Frey
This is still broken ins Sage 8.1.rc2 with the same error. Should I post a new thread? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@goo

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-10-20 Thread Dima Pasechnik
The Sage way is to create a patch in build/pkgs/mpir/patches which removes said file(s). You can also untar the tarball in upstream/, remove files, tar it up again, run ./sage --package fix-checksum And then rebuild the package with ./sage -f mpir Please feel free to open a trac ticket on thi

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-09-13 Thread Robert Jacobson
I'm having the same issue. To get MPIR to compile I had to remove all three of mpn/x86_64/skylake/avx/addmul_1.asm mpn/x86_64/skylake/avx/mul_basecase.asm mpn/x86_64/skylake/avx/sqr_basecase.asm Thanks for working on this, Bill. Best, Robert On Wednesday, 6 September 2017 21:44:21 UTC-4, Bi

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-09-06 Thread 'Bill Hart' via sage-devel
That's right. For now that is the only workaround. We know what the problem is now, but don't have a working patch to fix it. It's the JMPENT macro in mpn/x86_64/x86_64-defs.m4 that doesn't work on 64 bit OSX. Details of the issue can be found here, I believe [1]. Bill. [1] https://gmplib.org/

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-08-22 Thread Alex J Best
As the problem is skylake I assume mpn/x86_64/skylake/avx/addmul_1.asm is the one to patch out. On Monday, August 21, 2017 at 11:51:28 AM UTC-4, Dima Pasechnik wrote: > > > > On Monday, August 21, 2017 at 4:15:29 PM UTC+1, Michael Frey wrote: >> >> What is the best way to do this? The file is ex

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-08-21 Thread Dima Pasechnik
On Monday, August 21, 2017 at 4:15:29 PM UTC+1, Michael Frey wrote: > > What is the best way to do this? The file is extracted from the > mpir-3.0.0.tar.bz2 every time make is run. > the standard way would be to add the patch removing this file (which one exactly, there are few files named s

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-08-21 Thread Michael Frey
What is the best way to do this? The file is extracted from the mpir-3.0.0.tar.bz2 every time make is run. On Wednesday, August 2, 2017 at 5:41:01 PM UTC-4, Bill Hart wrote: > > The only workaround I'm currently aware of is to remove the offending > addmul_1.asm file. It is to do with our use o

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-08-02 Thread 'Bill Hart' via sage-devel
The only workaround I'm currently aware of is to remove the offending addmul_1.asm file. It is to do with our use of jump tables. On Monday, 31 July 2017 19:13:57 UTC+2, Michael Frey wrote: > > Hi François, > > Thank you for your help. > > I tried as you suggested from a clean source. Unfortunat

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-07-30 Thread François Bissey
Michael in view of my experiments I want you to try something different. Forget about the CFLAGS and the environment variable. Instead, can you edit the file build/pkgs/mpir/spkg-install and remove the following section # In some cases (see SAGE_ROOT/spkg/bin/sage-env), on Darwin,

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-07-30 Thread François Bissey
Nevermind I generated it myself and it is more surprising than I expected: configure:5214: /usr/bin/gcc -m64 -O2 -march=corei7-avx -mtune=corei7-avx -g -Wa,-q conftest.c >&5 clang: error: unsupported argument '-q' to option 'Wa,’ which means that we are probably talking about options for gcc whe

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-07-30 Thread François Bissey
Ok, by curiosity I would like to also see the config.log file generated for mpir-3.0.0.p0.CFLAGS.log, the one in /Users/michael/sage-8.0/local/var/tmp/sage/build/mpir-3.0.0.p0/src/config.log that is. François > On 31/07/2017, at 13:11, Michael Frey wrote: > > I have attached the log for muir, t

Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-07-29 Thread François Bissey
Can we have a bit more of that log? I would like to see the full command. François > On 30/07/2017, at 12:04, Michael Frey wrote: > > I tried AS_INTEGRATED_ASSEMBLER=1 make without success, I also tried adding > it to my environment and also from the debugging shell. > > I also tried: export

[sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-07-29 Thread Michael Frey
I tried AS_INTEGRATED_ASSEMBLER=1 make without success, I also tried adding it to my environment and also from the debugging shell. I also tried: export CFLAGS="-Wa,-q $CFLAGS" without success. The make ends with: vscanf.o scanf/.libs/vsscanf.o -L/Users/michael/sage-8.0/local/lib -m64 -O2 -

[sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-07-29 Thread Volker Braun
I made https://trac.sagemath.org/ticket/23549 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send

[sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-07-29 Thread Volker Braun
Can you try building sage with AS_INTEGRATED_ASSEMBLER=1 make On Saturday, July 29, 2017 at 4:53:40 PM UTC+2, Michael Frey wrote: > > I found this thread on the MPIR issues list: > https://github.com/wbhart/mpir/issues/217 > > It appears that the MacOS assembler is old. Is there to configure

[sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.

2017-07-29 Thread Michael Frey
I found this thread on the MPIR issues list: https://github.com/wbhart/mpir/issues/217 It appears that the MacOS assembler is old. Is there to configure the sage build as they suggest? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsub