On Fri, 20 Jun 2003 [EMAIL PROTECTED] wrote:
> > From: Alexei Dets <[EMAIL PROTECTED]>
> > > What exactly are your problems with FreeBSD and xerces-c ?
> >
> > All Xerces applications are crashing (at least on FreeBSD-4.7) with
> > segmentation fault immediately after XML convertions - I mean all supplied
> > demo applications. My applications are using Xalan -> they are also
> > crashing
> > (as well as Xalan executable itself).
> >
>
> I did some work on this last night to try and
> track things a bit further. testXPath gives a
> SIGSEGV almost immediately. Running gdb, the
> crash occurs during the construction of
> theXMLSupportInit. Looking at the stack at the
> time of the crash it would appear that something
> has well and truly clobbered it.
Can you please try following patch:
--- src/xercesc/runConfigure Fri Jun 20 13:11:49 2003
+++ src.test/xercesc/runConfigure Fri Jun 20 13:13:04 2003
@@ -249,6 +249,8 @@
debugflag="-w -O2";
elif test $platform = "aix"; then
debugflag="-w -O2";
+ elif test $platform = "freebsd"; then
+ debugflag="-w"
else
debugflag="-w -O";
fi
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
56 69 73 69 74 http://www.zabbadoz.net/