I have found that the GNU C library routines for controlling the
signalling of floating point exceptions, which are not really C
standard but GNU extensions, do not work in the itanium. Well, they
work in the sense that they can suppress the signalling but when
activating it, saving and restoring exceptions, etc, they break.

The solution is taking src/h/config.h
and surrounding the line that contains #undef HAVE_FEENABLEEXCEPT
with something like
#ifndef __ia64__
#endif

I must say I tested this with ECL 9.10.2 but I think the fix should
also work in the versions that Sage is using.

BTW, I do not have access to  my development machine so this fix has
not yet been committed.

Juanjo

On Sun, Oct 25, 2009 at 9:26 AM, Juan Jose Garcia-Ripoll
<juanjose.garciarip...@googlemail.com> wrote:
> I got an itanium account recently. I am testing on that right now
>
> Juanjo
>
> On Sun, Oct 25, 2009 at 5:44 AM, William Stein <wst...@gmail.com> wrote:
>> On Sat, Oct 24, 2009 at 10:49 AM, Robert Dodier <robert.dod...@gmail.com> 
>> wrote:
>>> On 10/24/09, William Stein <wst...@gmail.com> wrote:
>>>
>>>> I can't get Maxima--5.19.1 to build on Itanium on top of ECL.   The
>>>> build fails with:
>>>> --------------------
>>>> ...
>>>> ;;; Emitting code for DO-MERGE-SYMM.
>>>> ;;; Emitting code for DO-MERGE-ASYM.
>>>> ;;; Internal error: #<a floating-point-overflow>
>>>> ;      - Loading binary file "binary-ecl/clmacs.fas" An error occurred
>>>> during initialization:
>>>
>>> clmacs.lisp has a lot of floating point stuff in it, to calculate
>>> extreme values and what-not. Do you have a working build from
>>> an earlier version of Maxima? If so, try
>>> :lisp (load "path/to/clmacs.lisp")
>>> in Maxima. That should fail with a more informative message.
>>>
>>> If you don't have a working version, try reverting clmacs.lisp.
>>> I don't know how far back you'll have to go.
>>
>> Thanks for your suggestions.   It turns out that even the last working
>> Maxima on that machine (5.16) doesn't build anymore on ECL-9.8.  So
>> the problem is with ECL (or GCC, which has also been upgraded).  I'll
>> let you know if I'm unable to resolve this by using either an older or
>> newer ECL or GCC.
>>
>> William
>>
>
>
>
> --
> Instituto de Física Fundamental, CSIC
> c/ Serrano, 113b, Madrid 28006 (Spain)
> http://juanjose.garciaripoll.googlepages.com
>



-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com

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

Reply via email to