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 bu...@apache.org on 2001/06/05 20:01:10 UTC

[Bug 2012] New: - Internal Compiler Error building xerces-c on solaris 2.8

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2012

*** shadow/2012	Tue Jun  5 11:01:09 2001
--- shadow/2012.tmp.6504	Tue Jun  5 11:01:09 2001
***************
*** 0 ****
--- 1,51 ----
+ +============================================================================+
+ | Internal Compiler Error building xerces-c on solaris 2.8                   |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2012                        Product: Xerces-C                |
+ |       Status: NEW                         Version: 1.4                     |
+ |   Resolution:                            Platform: Sun                     |
+ |     Severity: Blocker                  OS/Version: Solaris                 |
+ |     Priority: Other                     Component: Build                   |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-c-dev@xml.apache.org                                  |
+ |  Reported By: bhallibu@tivoli.com                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I am trying to build xerces-c as single-threaded on Solaris 2.8 using the gcc
+ compiler:
+ Compiler Version - 2.7.2.3
+ OS solaris 2.8
+ I have set the XERCESCROOT environment variable to point to the directory where
+ I downloaded the source.
+ I executed the runConfigure command with the following options:
+ runConfigure -p solaris -cgcc -xgcc -nfileonly -tnative -D-fhandle-exceptions
+ I made the changes for solaris for single-threaded library on Unix.
+ Added -DAPP_NO_THREADS in Makefile.incl
+ Removed the -mt switch.
+ Removed the -D_REENTRANT flag
+ Removed -lpthread from each Makefile.
+ When building the library, I get the following error:
+ Building sax2
+ cd sax2 ; make  ; cd ..
+ make[1]: Entering directory `/space/lspangle/tmp/bo_tim/xml4csrc3_3_1/src/sax2'
+ gcc -fPIC -x none -DSOLARIS -DAPP_NO_THREADS -fhandle-exceptions -c -O -DXML_USE
+ _NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER    -I/space/lspangle/tmp/bo_tim
+ /xml4csrc3_3_1/include -I/space/lspangle/tmp/bo_tim/xml4csrc3_3_1/src  -o /space
+ /lspangle/tmp/bo_tim/xml4csrc3_3_1/obj/SOLARIS/SAX2XMLReaderImpl.o SAX2XMLReader
+ Impl.cpp
+ SAX2XMLReaderImpl.cpp: In method `SAXNotRecognizedException::SAXNotRecognizedExc
+ eption(const SAXNotRecognizedException &)':
+ SAX2XMLReaderImpl.cpp:1054: Internal compiler error.
+ SAX2XMLReaderImpl.cpp:1054: Please submit a full bug report to `bug-g++@prep.ai.
+ mit.edu'.
+ make[1]: *** [SAX2XMLReaderImpl.o] Error 1
+ make[1]: Leaving directory `/space/lspangle/tmp/bo_tim/xml4csrc3_3_1/src/parsers
+ '
+ 
+ Note: If you edit SAX2XMLReaderImpl.cpp, you will notice that line 1054 is }.
+ I am seeing this error in other files as well. I have queried your data base and
+ found defect 1942. This defect was oped using g++ instead of gcc and against a
+ different file. I get the same error compiling the file noted in defect 1942.
\ No newline at end of file

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