Re: Fwd: [mpir-devel] Re: Status of trac #94

2009-10-29 Thread Jason Moxham
Hi , Alex and Case Did the latest fix in svn trunk work ? I can close the ticket if it did , hooray!! Thanks Jason On Tuesday 27 October 2009 12:10:12 Jason Moxham wrote: > I did the simple fix of replacing all files that had PIC code with versions > that dont . The most serious slowdowns ar

Re: Fwd: [mpir-devel] Re: Status of trac #94

2009-10-27 Thread Jason Moxham
I did the simple fix of replacing all files that had PIC code with versions that dont . The most serious slowdowns are with dive_1 which is not used that much and add/sub_n which is , here we had to fallback to C code. mul_basecase did not need changing , so there should be not too much of a s

Re: Fwd: [mpir-devel] Re: Status of trac #94

2009-10-26 Thread Bill Hart
I don't know whether to comment on this one or not. But my understanding is that Darwin does not support 32 bit PIC relocations. The *only* way to fix the problem is to delete all the assembly files which use PIC code, or rewrite them in the very peculiar Darwin way (I couldn't follow the docs). O

Re: Fwd: [mpir-devel] Re: Status of trac #94

2009-10-25 Thread Jason Moxham
And I should of said this fix will apply to any machine which returns a config.guess of core2-apple-darwin* or penryn-apple-darwin* and no others If this covers more machines than necessary then we will have a slight slowdown on them. On Monday 26 October 2009 00:41:46 Jason Moxham wrote: >

Re: Fwd: [mpir-devel] Re: Status of trac #94

2009-10-25 Thread Jason Moxham
svn trunk 2478 should fix everything , so a configure ABI=32 should work now yasm failed configure because in 32bit mode it doesn't like core2 as a cpu type but prefers i686 , and when we force a cpu type with build= this overrides yasm autodetect Thanks Jason On Sunday 25 October 2009

Re: Fwd: [mpir-devel] Re: Status of trac #94

2009-10-25 Thread Jason Moxham
first line is the problem checking build system type... penryn-apple-darwin9.8.0 clearly we need penryn and core2 for the cpu what about the darwin version ? I can do darwin* or darwin9.* or ? We need to know which versions have this different asm code for PIC if you do ./configure --build=cor

Fwd: [mpir-devel] Re: Status of trac #94

2009-10-25 Thread Case Vanhorsen
Coming up, I've done a make distclean and right now I'm running $ ./configure ABI=32 >conou 2>&1 ... OK, file conou attached to this mail.  Offhand I can't spot anything suspicious, but then I'm definitely no configure expert;-). Thanks, Alex On Sun, Oct 25, 2009 at 4:40 PM, Case Vanhorsen

[mpir-devel] Re: Status of trac #94

2009-10-25 Thread Jason Moxham
Hi can you give me the output of ./configure or the exact configure that you used Thanks Jason On Sunday 25 October 2009 23:27:01 casevh wrote: > On Oct 24, 10:41 am, Jason Moxham wrote: > > Hi , > > > > svn rev trunk 2474 should have the fixes applied . > > I can not test it , so if you woul

[mpir-devel] Re: Status of trac #94

2009-10-25 Thread casevh
On Oct 24, 10:41 am, Jason Moxham wrote: > Hi , > > svn rev trunk 2474 should have the fixes applied . > I can not test it , so if you would be so kind, thanks. > > The new code is : when config.guess or --build is used to pass > core2-apple-darwin to configure AND we are building with a 32bit

[mpir-devel] Re: Status of trac #94

2009-10-24 Thread Jason Moxham
Hi , svn rev trunk 2474 should have the fixes applied . I can not test it , so if you would be so kind, thanks. The new code is : when config.guess or --build is used to pass core2-apple-darwin to configure AND we are building with a 32bit ABI , then a new mpn code path is selected ie x86/apple

[mpir-devel] Re: Status of trac #94

2009-10-24 Thread Case Vanhorsen
On Fri, Oct 23, 2009 at 4:56 PM, Jason Moxham wrote: > > Actually being an apple machine can we narrow down the cpu some more , ie will > it just be a core2 in 32bit mode , as apple didn't start using intel cpus > until then ? I think it will just be a core2 cpu. Below are the comments I receive

[mpir-devel] Re: Status of trac #94

2009-10-23 Thread Jason Moxham
Actually being an apple machine can we narrow down the cpu some more , ie will it just be a core2 in 32bit mode , as apple didn't start using intel cpus until then ? On Saturday 24 October 2009 00:45:03 Jason Moxham wrote: > On Friday 23 October 2009 19:17:18 casevh wrote: > > I've been tested

[mpir-devel] Re: Status of trac #94

2009-10-23 Thread Jason Moxham
On Friday 23 October 2009 19:17:18 casevh wrote: > I've been tested the latest version of gmpy with mpir-1.3.0rc1. > Everything works fine on Windows and Linux. Another developer tested > with OSX and encountered trac issue #94. Python/gmpy wants the PIC > option. :( > > Is there a chance this iss