You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by xe...@xml.apache.org on 2004/10/12 18:36:52 UTC

[jira] Resolved: (XERCESC-1201) xerces-c-2_3_0 doesn't compile with gcc 2.95 on Linux Debian

Message:

   The following issue has been resolved as INVALID.

   Resolver: cargilld
       Date: Tue, 12 Oct 2004 9:35 AM

Closing this issue as it works in the latest code.  We don't supply fixes for earlier releases, although a comment has been added to this issue that may resolve the problem.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1201

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1201
    Summary: xerces-c-2_3_0 doesn't compile with gcc 2.95 on Linux Debian
       Type: Bug

     Status: Resolved
   Priority: Blocker
 Resolution: INVALID

    Project: Xerces-C++
 Components: 
             Build
   Versions:
             2.3.0

   Assignee: 
   Reporter: kynn jones

    Created: Thu, 22 Apr 2004 2:46 PM
    Updated: Tue, 12 Oct 2004 9:35 AM
Environment: Linux Debian 3.0; kernel 2.4.18; output of "gcc -v": gcc version 2.95.4 20011002 (Debian prerelease)

Description:
NB: The problem described below appears to be with gcc 2.95.4.  Do you know a work around?

I tried compiling without an optimization flag, but it made no difference.

I can get version 2.5.0 to compile, but I need version 2.3.0, because that's the one that the current versio of the Perl module XML::Xerces requires.

...

DESCRIPTION:


I downloaded http://xml.apache.org/dist/xerces-c/archives/Xerces-C_2_3_0/xerces-c-src_2_3_0.tar.gz

Ran runConfigure like this:

./runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rpthread -P/opt

Upon running make, I hit this error:

g++ -fPIC -DLINUX -D_REENTRANT -c -I/home/jones/build/xerces-c-src_2_3_0/include -w -O -DPROJ_XMLPARSER  -DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM  -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET     -o /home/jones/build/xerces-c-src_2_3_0/obj/LINUX/DOMDocumentImpl.o DOMDocumentImpl.cpp

/home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c: In method `xercesc_2_3::DOMDeepNodeListPool<xercesc_2_3::DOMDeepNodeListImpl>::DOMDeepNodeListPool(long unsigned int, bool, long unsigned int = 128)':
DOMDocumentImpl.cpp:900:   instantiated from here
/home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Internal compiler error.
/home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Please submit a full bug report.
/home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Internal compiler error:
/home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [DOMDocumentImpl.o] Error 1
make[2]: Leaving directory `/home/jones/build/xerces-c-src_2_3_0/src/xercesc/dom/impl'
make[1]: *** [impl] Error 2
make[1]: Leaving directory `/home/jones/build/xerces-c-src_2_3_0/src/xercesc/dom'
make: *** [Dom] Error 2



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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