[ 
http://issues.apache.org/jira/browse/XALANC-300?page=comments#action_12423952 ] 
            
Max Polk commented on XALANC-300:
---------------------------------

Here's a workaround that worked for me on RHEL, ES release 2.1, gcc 2.96, Xalan 
1.10.

After running "runConfigure -plinux -cgcc -xg++", edit Makefile.incl, and just 
after each "-O2" type in "-fno-default-inline" so that it ends up like this:

CFLAGS =  -O2 -fno-default-inline -DNDEBUG    
CXXFLAGS =  -O2 -fno-default-inline -DNDEBUG     -fno-elide-constructors

This tweak to the optimization fixes the problem, the compile then works.

> Internal Error: Segmentation Fault during build
> -----------------------------------------------
>
>                 Key: XALANC-300
>                 URL: http://issues.apache.org/jira/browse/XALANC-300
>             Project: XalanC
>          Issue Type: Bug
>          Components: XPathC
>    Affects Versions: 1.5
>         Environment: Operating System: Linux
> Platform: Other
>            Reporter: David Elder
>         Assigned To: Xalan Developers Mailing List
>
> While building Xalan-C 1.5 on Redhat with Xerces-C 2.2.0 installed, I
> encountered the following:
> During the build of XPathExecutionContextDefault.o, I get:
> In method 
> 'xalanc_1_5::XPathExecutionContextDefault(xalanc_1_5::XPathEnvSupport &,
> xalanc_1_5::DOMSupport &, xalanc_1_5::XObjectFactory &, xalanc_1_5::XalanNode 
> *,
> const xalanc_1_5::NodeRefListBase *, const xalanc_1_5::PrefixResolver *)':
> /students/elddm/xalan-c/src/Include/XalanObjectCache.hpp: Internal error:
> Segmentation fault.
> The build cannot proceed past this point.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to