GCC version: 4.0.0 release Host = Target = Build = Cygwin (i686-pc-cygwin) I configure with: ../gcc-4.0.0/configure --prefix=/usr/local --sysconfdir=/etc --program-suffix=-4 \ --enable-threads=posix --enable-version-specific-runtime-libs \ --enable-languages=c,ada,c++,f95,java,objc,treelang --disable-win32-registry --disable-nls \ --enable-sjlj-exceptions --with-system-zlib --enable-libgcj
Then, during "make bootstrap-lean" all goes fine until the following: /bin/sh ./libtool --mode=compile /tmp/gcc4/build/gcc/gcj -B/tmp/gcc4/build/gcc/ -B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include -isystem /usr/local/i686-pc-cygwin/sys-include -ffloat-store -fno-omit-frame-pointer -fclasspath= -fbootclasspath=/tmp/gcc4/build/i686-pc-cygwin/libjava':'../../../gcc-4.0.0/libjava':'../../../gcc-4.0.0/libjava/external/w3c_dom':'../../../gcc-4.0.0/libjava/external/sax --encoding=UTF-8 -Wno-deprecated -g -O2 -fjni -findirect-dispatch -c -o gnu-xml.lo \ `find gnu/xml -name '*.class' -print | sort -r` ..which gives the following error: gnu/xml/dom/DomDOMException.java:171: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [gnu-xml.lo] Error 1 Thinking that it might be a problem with the long command line (the 'find' expands to a large number of .class files) I tried mounting my build directory "cygexec" (which is a feature of cygwin that sidesteps windows limitations on environment and command line length.) Unfortunately this did not make a difference. The full expanded compile line is below: /tmp/gcc4/build/gcc/gcj -B/tmp/gcc4/build/gcc/ -B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include -isystem /usr/local/i686-pc-cygwin/sys-include -ffloat-store -fno-omit-frame-pointer -fclasspath= -fbootclasspath=/tmp/gcc4/build/i686-pc-cygwin/libjava:../../../gcc-4.0.0/libjava:../../../gcc-4.0.0/libjava/external/w3c_dom:../../../gcc-4.0.0/libjava/external/sax --encoding=UTF-8 -Wno-deprecated -g -O2 -fjni -findirect-dispatch -c gnu/xml/xpath/XPathTokenizer.class gnu/xml/xpath/XPathTokenizer\$XPathToken.class gnu/xml/xpath/XPathParser.class gnu/xml/xpath/XPathParser\$yyInput.class gnu/xml/xpath/XPathParser\$yyException.class gnu/xml/xpath/XPathParser\$YyTableClass.class gnu/xml/xpath/XPathParser\$YySindexClass.class gnu/xml/xpath/XPathParser\$YyRindexClass.class gnu/xml/xpath/XPathParser\$YyNameClass.class gnu/xml/xpath/XPathParser\$YyLhsClass.class gnu/xml/xpath/XPathParser\$YyLenClass.class gnu/xml/xpath/XPathParser\$YyGindexClass.class gnu/xml/xpath/XPathParser\$YyDgotoClass.class gnu/xml/xpath/XPathParser\$YyDefRedClass.class gnu/xml/xpath/XPathParser\$YyCheckClass.class gnu/xml/xpath/XPathImpl.class gnu/xml/xpath/XPathFactoryImpl.class gnu/xml/xpath/VariableReference.class gnu/xml/xpath/UnionExpr.class gnu/xml/xpath/TrueFunction.class gnu/xml/xpath/TranslateFunction.class gnu/xml/xpath/Test.class gnu/xml/xpath/SumFunction.class gnu/xml/xpath/SubstringFunction.class gnu/xml/xpath/SubstringBeforeFunction.class gnu/xml/xpath/SubstringAfterFunction.class gnu/xml/xpath/StringLengthFunction.class gnu/xml/xpath/StringFunction.class gnu/xml/xpath/Steps.class gnu/xml/xpath/StartsWithFunction.class gnu/xml/xpath/Selector.class gnu/xml/xpath/RoundFunction.class gnu/xml/xpath/Root.class gnu/xml/xpath/RelationalExpr.class gnu/xml/xpath/Predicate.class gnu/xml/xpath/PositionFunction.class gnu/xml/xpath/Pattern.class gnu/xml/xpath/Path.class gnu/xml/xpath/ParenthesizedExpr.class gnu/xml/xpath/OrExpr.class gnu/xml/xpath/NumberFunction.class gnu/xml/xpath/NotFunction.class gnu/xml/xpath/NormalizeSpaceFunction.class gnu/xml/xpath/NodeTypeTest.class gnu/xml/xpath/NegativeExpr.class gnu/xml/xpath/NamespaceUriFunction.class gnu/xml/xpath/NamespaceTest.class gnu/xml/xpath/NameTest.class gnu/xml/xpath/NameFunction.class gnu/xml/xpath/LocalNameFunction.class gnu/xml/xpath/LastFunction.class gnu/xml/xpath/LangFunction.class gnu/xml/xpath/IdFunction.class gnu/xml/xpath/FunctionCall.class gnu/xml/xpath/Function.class gnu/xml/xpath/FloorFunction.class gnu/xml/xpath/FalseFunction.class gnu/xml/xpath/Expr.class gnu/xml/xpath/EqualityExpr.class gnu/xml/xpath/DocumentOrderComparator.class gnu/xml/xpath/CountFunction.class gnu/xml/xpath/ContainsFunction.class gnu/xml/xpath/Constant.class gnu/xml/xpath/ConcatFunction.class gnu/xml/xpath/CeilingFunction.class gnu/xml/xpath/BooleanFunction.class gnu/xml/xpath/ArithmeticExpr.class gnu/xml/xpath/AndExpr.class gnu/xml/util/XMLWriter.class gnu/xml/util/XHTMLWriter.class gnu/xml/util/XCat.class gnu/xml/util/XCat\$Loader.class gnu/xml/util/XCat\$DoneDelegation.class gnu/xml/util/XCat\$Catalog.class gnu/xml/util/SAXNullTransformerFactory.class gnu/xml/util/SAXNullTransformerFactory\$NullTransformer.class gnu/xml/util/SAXNullTransformerFactory\$NullHandler.class gnu/xml/util/SAXNullTransformerFactory\$LocatorAdapter.class gnu/xml/util/SAXNullTransformerFactory\$ListenerAdapter.class gnu/xml/util/SAXNullTransformerFactory\$DomTerminus.class gnu/xml/util/SAXNullTransformerFactory\$DomHandler.class gnu/xml/util/Resolver.class gnu/xml/util/DomParser.class gnu/xml/util/DoParse.class gnu/xml/util/DoParse\$MyErrorHandler.class gnu/xml/transform/XSLURIResolver.class gnu/xml/transform/XSLComparator.class gnu/xml/transform/WithParam.class gnu/xml/transform/WhenNode.class gnu/xml/transform/ValueOfNode.class gnu/xml/transform/UnparsedEntityUriFunction.class gnu/xml/transform/URIResolverEntityResolver.class gnu/xml/transform/TransformerOutputProperties.class gnu/xml/transform/TransformerImpl.class gnu/xml/transform/TransformerFactoryImpl.class gnu/xml/transform/TextNode.class gnu/xml/transform/TemplatesImpl.class gnu/xml/transform/TemplateNode.class gnu/xml/transform/Template.class gnu/xml/transform/SystemPropertyFunction.class gnu/xml/transform/Stylesheet.class gnu/xml/transform/StreamSerializer.class gnu/xml/transform/SortKey.class gnu/xml/transform/SAXSerializer.class gnu/xml/transform/ProcessingInstructionNode.class gnu/xml/transform/ParameterNode.class gnu/xml/transform/OtherwiseNode.class gnu/xml/transform/NumberNode.class gnu/xml/transform/NodeNumberNode.class gnu/xml/transform/MessageNode.class gnu/xml/transform/LiteralNode.class gnu/xml/transform/KeyFunction.class gnu/xml/transform/Key.class gnu/xml/transform/IfNode.class gnu/xml/transform/GenerateIdFunction.class gnu/xml/transform/FunctionAvailableFunction.class gnu/xml/transform/FormatNumberFunction.class gnu/xml/transform/ForEachNode.class gnu/xml/transform/ErrorListenerErrorHandler.class gnu/xml/transform/ElementNode.class gnu/xml/transform/ElementAvailableFunction.class gnu/xml/transform/DocumentFunction.class gnu/xml/transform/DOMSourceLocator.class gnu/xml/transform/CurrentFunction.class gnu/xml/transform/CopyOfNode.class gnu/xml/transform/CopyNode.class gnu/xml/transform/CommentNode.class gnu/xml/transform/ChooseNode.class gnu/xml/transform/CallTemplateNode.class gnu/xml/transform/Bindings.class gnu/xml/transform/AttributeSet.class gnu/xml/transform/AttributeNode.class gnu/xml/transform/ApplyTemplatesNode.class gnu/xml/transform/ApplyImportsNode.class gnu/xml/transform/AbstractNumberNode.class gnu/xml/pipeline/XsltFilter.class gnu/xml/pipeline/XIncludeFilter.class gnu/xml/pipeline/XIncludeFilter\$Scrubber.class gnu/xml/pipeline/WellFormednessFilter.class gnu/xml/pipeline/ValidationConsumer.class gnu/xml/pipeline/ValidationConsumer\$Recognizer.class gnu/xml/pipeline/ValidationConsumer\$MixedRecognizer.class gnu/xml/pipeline/ValidationConsumer\$EmptyRecognizer.class gnu/xml/pipeline/ValidationConsumer\$ElementInfo.class gnu/xml/pipeline/ValidationConsumer\$ChildrenRecognizer.class gnu/xml/pipeline/ValidationConsumer\$AttributeInfo.class gnu/xml/pipeline/TextConsumer.class gnu/xml/pipeline/TeeConsumer.class gnu/xml/pipeline/PipelineFactory.class gnu/xml/pipeline/PipelineFactory\$Stage.class gnu/xml/pipeline/PipelineFactory\$Pipeline.class gnu/xml/pipeline/NSFilter.class gnu/xml/pipeline/LinkFilter.class gnu/xml/pipeline/EventFilter.class gnu/xml/pipeline/EventConsumer.class gnu/xml/pipeline/DomConsumer.class gnu/xml/pipeline/DomConsumer\$Handler.class gnu/xml/pipeline/CallFilter.class gnu/xml/pipeline/CallFilter\$Requestor.class gnu/xml/dom/ls/WriterOutputStream.class gnu/xml/dom/ls/SAXEventSink.class gnu/xml/dom/ls/ReaderInputStream.class gnu/xml/dom/ls/FilteredSAXEventSink.class gnu/xml/dom/ls/DomLSSerializer.class gnu/xml/dom/ls/DomLSParser.class gnu/xml/dom/ls/DomLSOutput.class gnu/xml/dom/ls/DomLSInput.class gnu/xml/dom/ls/DomLSException.class gnu/xml/dom/JAXPFactory.class gnu/xml/dom/JAXPFactory\$JAXPBuilder.class gnu/xml/dom/ImplementationSource.class gnu/xml/dom/ImplementationList.class gnu/xml/dom/DomXPathResult.class gnu/xml/dom/DomXPathNSResolver.class gnu/xml/dom/DomXPathExpression.class gnu/xml/dom/DomText.class gnu/xml/dom/DomProcessingInstruction.class gnu/xml/dom/DomNsNode.class gnu/xml/dom/DomNotation.class gnu/xml/dom/DomNodeIterator.class gnu/xml/dom/DomNode.class gnu/xml/dom/DomNode\$ShadowList.class gnu/xml/dom/DomNode\$LiveNodeList.class gnu/xml/dom/DomNode\$ListenerRecord.class gnu/xml/dom/DomNode\$DomEventException.class gnu/xml/dom/DomNamedNodeMap.class gnu/xml/dom/DomNSResolverContext.class gnu/xml/dom/DomIterator.class gnu/xml/dom/DomImpl.class gnu/xml/dom/DomExtern.class gnu/xml/dom/DomEvent.class gnu/xml/dom/DomEvent\$DomUIEvent.class gnu/xml/dom/DomEvent\$DomMutationEvent.class gnu/xml/dom/DomEntityReference.class gnu/xml/dom/DomEntity.class gnu/xml/dom/DomElement.class gnu/xml/dom/DomDocumentFragment.class gnu/xml/dom/DomDocumentConfiguration.class gnu/xml/dom/DomDocumentBuilderFactory.class gnu/xml/dom/DomDocumentBuilder.class gnu/xml/dom/DomDocument.class gnu/xml/dom/DomDoctype.class gnu/xml/dom/DomDOMException.class gnu/xml/dom/DomComment.class gnu/xml/dom/DomCharacterData.class gnu/xml/dom/DomCDATASection.class gnu/xml/dom/DomAttr.class gnu/xml/dom/DTDElementTypeInfo.class gnu/xml/dom/DTDAttributeTypeInfo.class gnu/xml/dom/Consumer.class gnu/xml/dom/Consumer\$Backdoor.class gnu/xml/aelfred2/XmlReader.class gnu/xml/aelfred2/XmlReader\$FatalErrorHandler.class gnu/xml/aelfred2/XmlParser.class gnu/xml/aelfred2/XmlParser\$Input.class gnu/xml/aelfred2/XmlParser\$ExternalIdentifiers.class gnu/xml/aelfred2/XmlParser\$EntityInfo.class gnu/xml/aelfred2/XmlParser\$ElementDecl.class gnu/xml/aelfred2/XmlParser\$AttributeDecl.class gnu/xml/aelfred2/SAXDriver.class gnu/xml/aelfred2/SAXDriver\$Attribute.class gnu/xml/aelfred2/SAXDriver\$Adapter.class gnu/xml/aelfred2/JAXPFactory.class gnu/xml/aelfred2/JAXPFactory\$JaxpParser.class gnu/xml/aelfred2/ContentHandler2.class -o gnu-xml.o -- Summary: ICE when building gnu-xml.lo in libjava directory Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: brian at dessent dot net CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21695