You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Roman Shved <ro...@altiris.ee> on 2004/06/14 09:06:45 UTC

Xalan-C crashes on Solaris 7 i86 with GNU colmpiler

HI
I porting to Solaris 7 i86 a project that uses the xerces and xalan
libraries and have some problems with xalan.

My configuration:
Solaris 7 i86pc (all last patches installed)
Xerces-C++ 2.5
Xalan-C++ 1.8
gcc version 3.3.2

Compiled Xalan 1.8 with GNU compiler:
./runConfigure -psolaris -cgcc -xg++

Test program always crashes:
./testXSLT 
Arithmetic Exception (core dumped)

gdb shows: 
Program received signal SIGFPE, Arithmetic exception.
0xdf97b912 in _Z41__static_initialization_and_destruction_0ii ()

With such back trace:
#0  0xdf97b912 in _Z41__static_initialization_and_destruction_0ii ()
#1  0xdf97b9e2 in _GLOBAL__I__ZN10xalanc_1_813DoubleSupport5s_NaNE ()
#2  0xdfa6e3f1 in __do_global_ctors_aux ()
#3  0xdfa6e408 in _init ()
#4  0xdfbd5b69 in ?? ()

Searched mail archives, but didn't find any solutions.
Does xalan supports such configuration (Solaris i86 + gcc) or I must use
native compiler? 

PS. xerces works fine with the same configuration, 
and we also dont't have any problems with Xalan on Solaris 7 sparc + gcc

Any help would be appreciated.

Roman Shved


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org