> If it is a workaround you cant include in the code
> because of portability and maintenance reasons, is
> there something I can do at my end.  May be include
> the workaround code change only for my AIX build etc. 
> If so, can you let me know what the workaround is.  We
> do this initialization during our server startup and 
> so this crash pretty much has rendered the server
> useless. The workaround will buy me time to
> investigate if we are doing something wrong in our
> linking/compiling.

You can try the following patch, which seems to work on my AIX machine.

Index: DoubleSupport.cpp
===================================================================
RCS file: 
/home/cvspublic/xml-xalan/c/src/xalanc/PlatformSupport/DoubleSupport.cpp,v
retrieving revision 1.7
diff -r1.7 DoubleSupport.cpp
19a20,22
> #if defined(_AIX)
> #include <cfloat>
> #endif
33c36,38
< 
---
> #if defined(_AIX)
> DoubleSupport::NumberUnion          DoubleSupport::s_NaN = { DBL_QNAN };
> #else
34a40
> #endif
48a55
> #if !defined(_AIX)
57a65
> #endif

Also, please open a Jira report, so we can track this.  We may need to 
re-work this code so we don't call sqrt() any longer.  You can open an 
issue here:

http://issues.apache.org/jira/browse/XALANC

Dave

Reply via email to