Dr. David Kirkby wrote:
> Dr. David Kirkby wrote:
>> Bill Hart wrote:
>>> Here is the entire sparc configuration from MPIR:
>>>
>>>   *sparc*-*-*)
>>>     # sizeof(long)==4 or 8 is tested, to ensure we get the right ABI.
>>> We've
>>
>> Hi Bill,
>>
>> The processor in Thommy's computer is is not SPARC - see the output I 
>> posted:
>>
>> Host system
>> uname -a:
>> SunOS bigblue 5.11 snv_101b i86pc i386 i86pc Solaris
>>
>> What I just noticed is the incorrect output from the configure script.
>>
>> checking for ld used by gcc -std=gnu99... ld
>> checking if the linker (ld) is GNU ld... yes
>>
>> So the configure script seems to have decided that the linker is the GNU 
>> linker, which might explain why it sends GNU specific flags. But the way 
>> the compiler is configured, we see its built with the Sun linker, not 
>> the GNU one.
> 
> I've submitted this to the Sage bug-tracking system, with the ID of  6539.
> 
> http://sagetrac.org/sage_trac/ticket/6539
> 
> I believe Thommy's build failure is a result of the failure of the 
> configure script to determine the linker properly on OpenSolaris.
> 
> 
> Dave


I've since tested this on another x86 based OpenSolaris machine using 
the same build 101b (11/2008) release.

$ cat /etc/release
                        OpenSolaris 2008.11 snv_101b_rc2 X86
            Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                         Use is subject to license terms.
                            Assembled 19 November 2008


I found the mpir configure script manages to work out the Sun linker is 
used, and does not get it wrong like on Thommy's computer.

I created a new package which is the mpir code, but using the latest 
versions of autoconf, automake and m4. That failed inside sage as mpir 
is looking for the gmp library. (I thought it was supposed to be 
replacement for gmp). Anyway, that is all I have done. So I've not 
solved it.

Dave



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to