You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Dave Connet <co...@entelos.com> on 2001/02/09 22:03:37 UTC

RE: g++ crashes on Solaris for compiling file XMLSupport/Formatte rToHTML.cpp

You need to turn off optimization (-O0). This seems to be an issue with gcc
2.92.2 on solaris... (I actually modified the Makefile so only
FormatterToHTML isn't optimized)

Dave Connet


-----Original Message-----
From: Wilhelm Vortisch [mailto:wilhelm.vortisch@isst.fhg.de]
Sent: Friday, February 09, 2001 9:19 AM
To: xalan-dev@xml.apache.org
Subject: g++ crashes on Solaris for compiling file
XMLSupport/FormatterToHTML.cpp 


Hi *,

I have no problems to build Xerces-C 1.4.0 with g++ on Solaris 8/SunOS
5.8. 

By the compilation of the newest sources (out of CVS) of Xalan there is
a big crash of g++ (with a 80 MB big core - all my quota is gone ...
huhu). 
g++ complie the following file:
--------------------------------- snipp
---------------------------------
g++ -O -fPIC -DSOLARIS -instances=static -D_REENTRANT -c -I.
-I/home/wvor/Project/xerces-c-src1_4_0/src/
-I/home/wvor/Project/xerces-c-src1_4_0/include/ -o
/home/wvor/Project/xml-xalan/obj/FormatterToHTML.o
XMLSupport/FormatterToHTML.cpp
g++: Internal compiler error: program cc1plus got fatal signal 11
--------------------------------- snipp
---------------------------------

(The compiler option -DXALAN_NO_NAMESPACE didn't make any difference
...)

On a linux system I have no problems ....

What's wrong with this file??

Any tips&help are welcome ... 


CU

	Wilhelm

-- 
Fraunhofer ISST | Telefon  : +49 (0) 30/2 43 06-4 22
Bereich ITM     | Telefax  : +49 (0) 30/2 43 06-1 99
Mollstr. 1      | E-Mail   : Wilhelm.Vortisch@isst.fhg.de
D-10178 Berlin  | Internet : http://www.isst.fhg.de