You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Sergey Matveychuk <se...@ciam.ru> on 2002/03/23 00:12:48 UTC

XalanC: Segmentation Fault with Linux RedHat 7.2

Hello.

Xalan (I'v got source from CVS) have built successfully, but I get
Segmentation Fault immediatly I run both testXSLT and testXPath (and Xalan
too).
It's my first try to build Xalan from source under Linux.
I used this line to configure Xalan:
./runConfigure -plinux -cgcc -xg++ -rpthread
Nothing special.

----
Sem.


Re: XalanC: Segmentation Fault with Linux RedHat 7.2

Posted by Holger Floerke <fl...@doctronic.de>.
>Xalan (I'v got source from CVS) have built successfully, but I get
>Segmentation Fault immediatly I run both testXSLT and testXPath (and Xalan
>too).
>It's my first try to build Xalan from source under Linux.
>I used this line to configure Xalan:
>./runConfigure -plinux -cgcc -xg++ -rpthread
>Nothing special.
Which version of GCC you use? There are some GCC-Optimization bugs. You can 
try to
1) delete xml-xalan/c/obj/FormtatterToHTML.o
2) edit xml-xalan/c/src/Makefile
    change the line:
      CXXFLAGS =  -O -DNDEBUG
    into
      CXXFLAGS =  -DNDEBUG
    to turn of optimization
3) "make" again

This applies to all gcc release from the Xalan official supported 
"egcs-2.91.66" up to the current 3.0.4 release.

HolgeR

-- 
holger floerke                     d  o  c  t  r  o  n  i  c
email floerke@doctronic.de         information publishing + retrieval
phone +49 2222 9292 90             http://www.doctronic.de


Re: XalanC: Segmentation Fault with Linux RedHat 7.2

Posted by Sergey Matveychuk <se...@ciam.ru>.
Of course, I built it too.
But today I'v built XalanC with debugging and ... no segmentation fault!
Bad sign isn't it? :)

----- Original Message ----- 
From: "Carlos" <ca...@cvc.edu>
To: <xa...@xml.apache.org>
Sent: Saturday, March 23, 2002 2:20 AM
Subject: Re: XalanC: Segmentation Fault with Linux RedHat 7.2


> Just out of curiosity, did you also install Xerces?




Re: XalanC: Segmentation Fault with Linux RedHat 7.2

Posted by Sergey Matveychuk <se...@ciam.ru>.
Of course, I built it too.
But today I'v built XalanC with debugging and ... no segmentation fault!
Bad sign isn't it? :)

----- Original Message ----- 
From: "Carlos" <ca...@cvc.edu>
To: <xa...@xml.apache.org>
Sent: Saturday, March 23, 2002 2:20 AM
Subject: Re: XalanC: Segmentation Fault with Linux RedHat 7.2


> Just out of curiosity, did you also install Xerces?




Re: XalanC: Segmentation Fault with Linux RedHat 7.2

Posted by Carlos <ca...@cvc.edu>.
Just out of curiosity, did you also install Xerces?

On 03/22/02 15:12, "Sergey Matveychuk" <se...@ciam.ru> wrote:

> Hello.
> 
> Xalan (I'v got source from CVS) have built successfully, but I get
> Segmentation Fault immediatly I run both testXSLT and testXPath (and Xalan
> too).
> It's my first try to build Xalan from source under Linux.
> I used this line to configure Xalan:
> ./runConfigure -plinux -cgcc -xg++ -rpthread
> Nothing special.
> 
> ----
> Sem.
> 

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email               carlos@cvc.edu
web                 http://www.cvc1.org/ (work)
                    http://www.silverwolf-net.net (personal)
phone               408 257 0420 (work)
PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

Beta Test Version:  Still too buggy to be released.
Release Version:  Alternate pronunciation of "Beta Test Version".