https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71089

            Bug ID: 71089
           Summary: [7 Regression] Failed to build 483.xalancbmk in SPEC
                    CPU 2006
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: hubicka at ucw dot cz
  Target Milestone: ---

On x86-64, r236012 caused:

g++  -O2 -ffast-math -fwhole-program -flto=jobserver -fuse-linker-plugin 
-DSPEC_CPU_LP64        AIXPlatformUtils.o CSetDefs.o BinHTTPURLInputStream.o
Win32PlatformUtils.o Win32MsgLoader.o Win32TransService.o Win32TransService2.o
WinSockNetAccessor.o SunCCDefs.o SolarisPlatformUtils.o GCCDefs.o
LinuxPlatformUtils.o MIPSproDefs.o IRIXPlatformUtils.o HPCCDefs.o
HPPlatformUtils.o WFXMLScanner.o ASCIIRangeFactory.o AbstractDOMParser.o
AbstractNumericFacetValidator.o AbstractNumericValidator.o
AbstractStringValidator.o AllContentModel.o AnySimpleTypeDatatypeValidator.o
AnyURIDatatypeValidator.o AttrImpl.o AttrMapImpl.o AttrNSImpl.o BMPattern.o
Base64.o Base64BinaryDatatypeValidator.o BinFileInputStream.o
BinFileOutputStream.o BinInputStream.o BinMemInputStream.o BinMemOutputStream.o
BinOutputStream.o BitSet.o BlockRangeFactory.o BooleanDatatypeValidator.o
CDATASectionImpl.o CMAny.o CMBinaryOp.o CMUnaryOp.o CharToken.o
CharacterDataImpl.o ChildNode.o ClosureToken.o CommentImpl.o ComplexTypeInfo.o
ConcatToken.o ConditionToken.o ContentLeafNameTypeVector.o ContentSpecNode.o
DFAContentModel.o DGXMLScanner.o DOMAttrImpl.o DOMAttrMapImpl.o DOMAttrNSImpl.o
DOMBuilderImpl.o DOMCDATASectionImpl.o DOMCharacterDataImpl.o DOMChildNode.o
DOMCommentImpl.o DOMConfigurationImpl.o DOMDeepNodeListImpl.o
DOMDocumentFragmentImpl.o DOMDocumentImpl.o DOMDocumentTypeImpl.o
DOMElementImpl.o DOMElementNSImpl.o DOMEntityImpl.o DOMEntityReferenceImpl.o
DOMErrorImpl.o DOMException.o DOMImplementationImpl.o
DOMImplementationRegistry.o DOMLocatorImpl.o DOMNamedNodeMapImpl.o
DOMNodeIDMap.o DOMNodeImpl.o DOMNodeIteratorImpl.o DOMNodeListImpl.o
DOMNodeVector.o DOMNormalizer.o DOMNotationImpl.o DOMParentNode.o DOMParser.o
DOMProcessingInstructionImpl.o DOMRangeException.o DOMRangeImpl.o DOMString.o
DOMStringPool.o DOMTextImpl.o DOMTreeWalkerImpl.o DOMTypeInfoImpl.o
DOMWriterImpl.o DOMXPathException.o DOM_Attr.o DOM_CDATASection.o
DOM_CharacterData.o DOM_Comment.o DOM_DOMException.o DOM_DOMImplementation.o
DOM_Document.o DOM_DocumentFragment.o DOM_DocumentType.o DOM_Element.o
DOM_Entity.o DOM_EntityReference.o DOM_NamedNodeMap.o DOM_Node.o
DOM_NodeFilter.o DOM_NodeIterator.o DOM_NodeList.o DOM_Notation.o
DOM_ProcessingInstruction.o DOM_Range.o DOM_RangeException.o DOM_Text.o
DOM_TreeWalker.o DOM_XMLDecl.o DStringPool.o DTDAttDef.o DTDAttDefList.o
DTDElementDecl.o DTDEntityDecl.o DTDGrammar.o DTDScanner.o DTDValidator.o
DatatypeValidator.o DatatypeValidatorFactory.o DateDatatypeValidator.o
DateTimeDatatypeValidator.o DateTimeValidator.o DayDatatypeValidator.o
DecimalDatatypeValidator.o DeepNodeListImpl.o DefaultPanicHandler.o
DocumentFragmentImpl.o DocumentImpl.o DocumentTypeImpl.o DomMemDebug.o
DoubleDatatypeValidator.o Dummy.o DurationDatatypeValidator.o
ENTITYDatatypeValidator.o ElemStack.o ElementDefinitionImpl.o ElementImpl.o
ElementNSImpl.o EncodingValidator.o EntityImpl.o EntityReferenceImpl.o
FieldActivator.o FieldValueMap.o FloatDatatypeValidator.o
GeneralAttributeCheck.o Grammar.o GrammarResolver.o HashPtr.o HashXMLCh.o
HeaderDummy.o HexBin.o HexBinaryDatatypeValidator.o IC_Field.o IC_Key.o
IC_KeyRef.o IC_Selector.o IC_Unique.o IDDatatypeValidator.o
IDREFDatatypeValidator.o IGXMLScanner.o IGXMLScanner2.o IconvTransService.o
IdentityConstraint.o InMemMsgLoader.o InputSource.o KVStringPair.o
ListDatatypeValidator.o LocalFileFormatTarget.o LocalFileInputSource.o Match.o
MemBufFormatTarget.o MemBufInputSource.o MemoryManagerArrayImpl.o
MemoryManagerImpl.o MixedContentModel.o ModifierToken.o
MonthDatatypeValidator.o MonthDayDatatypeValidator.o Mutexes.o
NCNameDatatypeValidator.o NOTATIONDatatypeValidator.o NameDatatypeValidator.o
NamedNodeMapImpl.o NamespaceScope.o NodeIDMap.o NodeImpl.o NodeIteratorImpl.o
NodeListImpl.o NodeVector.o NotationImpl.o Op.o OpFactory.o PSVIAttribute.o
PSVIAttributeList.o PSVIElement.o PSVIItem.o PanicHandler.o ParenToken.o
ParentNode.o ParserForXMLSchema.o PlatformUtils.o ProcessingInstructionImpl.o
QName.o QNameDatatypeValidator.o RangeFactory.o RangeImpl.o RangeToken.o
RangeTokenMap.o ReaderMgr.o RefCountedImpl.o RegularExpression.o RegxParser.o
RegxUtil.o SAX2XMLReaderImpl.o SAXException.o SAXParseException.o SAXParser.o
SGXMLScanner.o SchemaAttDef.o SchemaAttDefList.o SchemaElementDecl.o
SchemaGrammar.o SchemaInfo.o SchemaSymbols.o SchemaValidator.o
SimpleContentModel.o StdInInputSource.o StdOutFormatTarget.o
StringDatatypeValidator.o StringPool.o StringToken.o
SubstitutionGroupComparator.o SynchronizedStringPool.o TextImpl.o
TimeDatatypeValidator.o Token.o TokenFactory.o TransService.o TraverseSchema.o
TreeWalkerImpl.o URLInputSource.o UnicodeRangeFactory.o
UnionDatatypeValidator.o UnionToken.o ValidationContextImpl.o ValueStore.o
ValueStoreCache.o VecAttrListImpl.o VecAttributesImpl.o
Wrapper4DOMInputSource.o Wrapper4InputSource.o XML256TableTranscoder.o
XML88591Transcoder.o XMLASCIITranscoder.o XMLAbstractDoubleFloat.o XMLAttDef.o
XMLAttDefList.o XMLAttr.o XMLBigDecimal.o XMLBigInteger.o XMLBuffer.o
XMLBufferMgr.o XMLCanRepGroup.o XMLChTranscoder.o XMLChar.o XMLContentModel.o
XMLDTDDescription.o XMLDTDDescriptionImpl.o XMLDateTime.o XMLDeclImpl.o
XMLDouble.o XMLEBCDICTranscoder.o XMLElementDecl.o XMLEntityDecl.o
XMLException.o XMLFloat.o XMLFormatter.o XMLGrammarDescription.o
XMLGrammarPoolImpl.o XMLIBM1047Transcoder.o XMLIBM1140Transcoder.o
XMLMsgLoader.o XMLNotationDecl.o XMLNumber.o XMLRangeFactory.o XMLReader.o
XMLRecognizer.o XMLRefInfo.o XMLScanner.o XMLScannerResolver.o
XMLSchemaDescription.o XMLSchemaDescriptionImpl.o XMLString.o
XMLStringTokenizer.o XMLUCSTranscoder.o XMLURL.o XMLUTF16Transcoder.o
XMLUTF8Transcoder.o XMLUni.o XMLUniCharacter.o XMLUri.o XMLValidator.o
XMLWin1252Transcoder.o XMemory.o XObjectComparator.o XPathMatcher.o
XPathMatcherStack.o XPathSymbols.o XProtoType.o XSAnnotation.o
XSAttributeDeclaration.o XSAttributeGroupDefinition.o XSAttributeUse.o
XSComplexTypeDefinition.o XSDDOMParser.o XSDElementNSImpl.o XSDErrorReporter.o
XSDLocator.o XSElementDeclaration.o XSFacet.o XSIDCDefinition.o XSModel.o
XSModelGroup.o XSModelGroupDefinition.o XSMultiValueFacet.o XSNamespaceItem.o
XSNotationDeclaration.o XSObject.o XSObjectFactory.o XSParticle.o
XSSimpleTypeDefinition.o XSTypeDefinition.o XSWildcard.o XSerializeEngine.o
XTemplateComparator.o XTemplateSerializer.o XUtil.o XercesAttGroupInfo.o
XercesDOMParser.o XercesElementWildcard.o XercesGroupInfo.o XercesXPath.o
YearDatatypeValidator.o YearMonthDatatypeValidator.o sax2Dummy.o DOMServices.o
DOMSupport.o DOMSupportDefault.o DOMSupportException.o DOMSupportInit.o
TreeWalker.o XalanDocumentPrefixResolver.o XalanNamespacesStack.o
AttributeListImpl.o AttributesImpl.o DOMStringHelper.o DOMStringPrintWriter.o
DoubleSupport.o Writer.o ExecutionContext.o FormatterListener.o
NamedNodeMapAttributeList.o NullPrintWriter.o PlatformSupportInit.o
PrefixResolver.o PrintWriter.o Resettable.o StdBinInputStream.o
StringTokenizer.o URISupport.o XSLException.o XalanBitmap.o
XalanDOMStringCache.o XalanDOMStringAllocator.o XalanDOMStringHashTable.o
XalanDOMStringPool.o XalanDecimalFormatSymbols.o XalanEncodingPropertyCache.o
XalanFStreamOutputStream.o XalanFileOutputStream.o XalanICUMessageLoader.o
XalanInMemoryMessageLoader.o XalanMessageLoader.o XalanNLSMessageLoader.o
XalanNullOutputStream.o XalanNumberFormat.o XalanOutputStream.o
XalanOutputStreamPrintWriter.o XalanParsedURI.o XalanReferenceCountedObject.o
XalanSimplePrefixResolver.o XalanStdOutputStream.o XalanTranscodingServices.o
XalanToXercesTranscoderWrapper.o XalanUTF16Transcoder.o XalanXMLChar.o
NodeNameTreeWalker.o ICUResHandler.o InMemHandler.o MsgFileOutputStream.o
NLSHandler.o SAX2Handler.o XalanMsgLib.o FormatterToDOM.o FormatterToHTML.o
FormatterToNull.o FormatterToText.o FormatterToXML.o FormatterToXMLBase.o
FormatterToXML_UTF16.o FormatterToXML_UTF8.o XMLSupportInit.o
FormatterTreeWalker.o XMLParserLiaison.o XMLSupportException.o
XalanHTMLElementsProperties.o ElementPrefixResolverProxy.o
FormatterStringLengthCounter.o Function.o FunctionConcat.o FunctionContains.o
FunctionID.o FunctionLang.o FunctionNamespaceURI.o FunctionNormalizeSpace.o
FunctionStartsWith.o FunctionString.o FunctionSubstring.o
FunctionSubstringAfter.o FunctionSubstringBefore.o FunctionTranslate.o
MutableNodeRefList.o NodeRefList.o NodeRefListBase.o XBoolean.o XNodeSet.o
XNodeSetAllocator.o XNodeSetBase.o XNodeSetNodeProxy.o
XNodeSetNodeProxyAllocator.o XNodeSetResultTreeFragProxy.o XNull.o XNumber.o
XNumberAllocator.o XNumberBase.o XObject.o XObjectFactory.o
XObjectFactoryDefault.o XObjectResultTreeFragProxy.o
XObjectResultTreeFragProxyBase.o XObjectResultTreeFragProxyText.o
XObjectTypeCallback.o XPath.o XPathAllocator.o XPathConstructionContext.o
XPathConstructionContextDefault.o XPathEnvSupport.o XPathEnvSupportDefault.o
XPathEvaluator.o XPathExecutionContext.o XPathExecutionContextDefault.o
XPathExpression.o XPathFactory.o XPathFactoryBlock.o XPathFactoryDefault.o
XPathFunctionTable.o XPathInit.o XPathParserException.o XPathProcessor.o
XPathProcessorImpl.o XSpan.o XString.o XStringAdapter.o
XStringAdapterAllocator.o XStringAllocator.o XStringBase.o XStringCached.o
XStringCachedAllocator.o XStringReference.o XStringReferenceAllocator.o
XToken.o XTokenNumberAdapter.o XUnknown.o XTokenNumberAdapterAllocator.o
XTokenStringAdapter.o XTokenStringAdapterAllocator.o
XalanDocumentFragmentNodeRefListBaseProxy.o XalanQName.o
XalanQNameByReference.o XalanQNameByValue.o XalanQNameByValueAllocator.o
XalanXPathException.o XPathCAPI.o AVTPart.o AVT.o AVTPartSimple.o
AVTPartXPath.o Constants.o CountersTable.o ElemApplyImport.o
ElemApplyTemplates.o ElemAttribute.o ElemChoose.o ElemAttributeSet.o
ElemCallTemplate.o ElemComment.o ElemCopy.o ElemCopyOf.o ElemDecimalFormat.o
ElemElement.o ElemEmpty.o ElemFallback.o ElemExtensionCall.o ElemForEach.o
ElemForwardCompatible.o ElemIf.o ElemLiteralResult.o ElemMessage.o ElemNumber.o
ElemOtherwise.o ElemPI.o ElemParam.o ElemSort.o ElemTemplate.o
ElemTemplateElement.o ElemText.o ElemTextLiteral.o ElemUse.o ElemValueOf.o
ElemVariable.o ElemWhen.o ElemWithParam.o ExtensionFunctionHandler.o
ExtensionNSHandler.o FunctionCurrent.o FunctionDocument.o
FunctionElementAvailable.o FunctionFormatNumber.o FunctionFunctionAvailable.o
FunctionGenerateID.o FunctionKey.o FunctionSystemProperty.o
FunctionUnparsedEntityURI.o GenerateEvent.o KeyTable.o NamespacesHandler.o
NodeSortKey.o NodeSorter.o OutputContextStack.o ProblemListener.o
ProblemListenerDefault.o ResultNamespacesStack.o SelectionEvent.o Stylesheet.o
StylesheetExecutionContext.o StylesheetConstructionContext.o
StylesheetConstructionContextDefault.o StylesheetExecutionContextDefault.o
StylesheetHandler.o StylesheetRoot.o TopLevelArg.o TraceListener.o
TraceListenerDefault.o TracerEvent.o VariablesStack.o XResultTreeFrag.o
XResultTreeFragAllocator.o XSLTEngineImpl.o XSLTInit.o XSLTInputSource.o
XSLTProcessor.o XSLTProcessorEnvSupport.o XSLTProcessorEnvSupportDefault.o
XSLTProcessorException.o XSLTResultTarget.o XalanAVTAllocator.o
XalanAVTPartSimpleAllocator.o XalanAVTPartXPathAllocator.o
XalanElemApplyTemplatesAllocator.o XalanElemAttributeAllocator.o
XalanElemAttributeSetAllocator.o XalanElemCallTemplateAllocator.o
XalanElemElementAllocator.o XalanElemEmptyAllocator.o
XalanElemLiteralResultAllocator.o XalanElemTemplateAllocator.o
XalanElemTextAllocator.o XalanElemTextLiteralAllocator.o XalanTemplate.o
XalanElemValueOfAllocator.o XalanElemVariableAllocator.o
XalanNumberingResourceBundle.o XalanSourceTreeDocumentAllocator.o
XalanSourceTreeDocumentFragmentAllocator.o XalanSpaceNodeTester.o XalanAttr.o
XalanCDataSection.o XalanCharacterData.o XalanComment.o XalanDOMException.o
XalanDOMImplementation.o XalanDOMInit.o XalanDOMString.o XalanDocument.o
XalanDocumentFragment.o XalanDocumentType.o XalanElement.o
XalanEmptyNamedNodeMap.o XalanEntity.o XalanEntityReference.o
XalanNamedNodeMap.o XalanNode.o XalanNodeList.o XalanNodeListDummy.o
XalanNodeListSurrogate.o XalanNotation.o XalanProcessingInstruction.o
XalanText.o XalanEXSLTCommon.o XalanEXSLTDateTime.o XalanEXSLTDynamic.o
XalanEXSLTMath.o XalanEXSLTSet.o XalanEXSLTString.o FunctionDifference.o
FunctionDistinct.o FunctionEvaluate.o FunctionHasSameNodes.o
FunctionIntersection.o FunctionNodeSet.o XalanExtensions.o
FormatterToSourceTree.o XalanSourceTreeAttr.o XalanSourceTreeAttrNS.o
XalanSourceTreeAttributeAllocator.o XalanSourceTreeAttributeNSAllocator.o
XalanSourceTreeComment.o XalanSourceTreeCommentAllocator.o
XalanSourceTreeContentHandler.o XalanSourceTreeDOMSupport.o
XalanSourceTreeDocument.o XalanSourceTreeDocumentFragment.o
XalanSourceTreeElement.o XalanSourceTreeElementA.o
XalanSourceTreeElementAAllocator.o XalanSourceTreeElementANS.o
XalanSourceTreeElementANSAllocator.o XalanSourceTreeElementNA.o
XalanSourceTreeElementNAAllocator.o XalanSourceTreeElementNANS.o
XalanSourceTreeElementNANSAllocator.o XalanSourceTreeHelper.o
XalanSourceTreeInit.o XalanSourceTreeParserLiaison.o
XalanSourceTreeProcessingInstruction.o
XalanSourceTreeProcessingInstructionAllocator.o XalanSourceTreeText.o
XalanSourceTreeTextAllocator.o XalanSourceTreeTextIWS.o
XalanSourceTreeTextIWSAllocator.o XalanCAPI.o XalanCompiledStylesheetDefault.o
XalanDefaultDocumentBuilder.o XalanDefaultParsedSource.o XalanParsedSource.o
XalanSourceTreeWrapperParsedSource.o XalanTransformer.o
XalanTransformerOutputStream.o XalanTransformerProblemListener.o
XercesDOMParsedSource.o XercesDOMWrapperParsedSource.o FormatterToXercesDOM.o
XercesAttrWrapper.o XercesAttrWrapperAllocator.o XercesCDATASectionWrapper.o
XercesCommentWrapper.o XercesDOMException.o XercesDOMFormatterWalker.o
XercesDOMImplementationWrapper.o XercesDOMSupport.o XercesDOMWalker.o
XercesDOMWrapperException.o XercesDocumentTypeWrapper.o XercesDocumentWrapper.o
XercesEntityWrapper.o XercesElementWrapper.o XercesElementWrapperAllocator.o
XercesEntityReferenceWrapper.o XercesLiaisonXalanDOMStringPool.o
XercesNamedNodeMapAttributeList.o XercesParserLiaison.o
FormatterToDeprecatedXercesDOM.o XercesAttrBridge.o
XercesAttributeBridgeAllocator.o XercesBridgeHelper.o XercesBridgeNavigator.o
XercesCDATASectionBridge.o XercesCommentBridge.o
XercesDOMImplementationBridge.o XercesDOM_NodeHack.o XercesDocumentBridge.o
XercesDocumentFragmentBridge.o XercesDocumentTypeBridge.o XercesElementBridge.o
XercesElementBridgeAllocator.o XercesEntityBridge.o
XercesEntityReferenceBridge.o XercesNamedNodeMapBridge.o XercesNodeListBridge.o
XercesNotationBridge.o XercesProcessingInstructionBridge.o XercesTextBridge.o
XercesTextBridgeAllocator.o XercesToXalanNodeMap.o XercesTreeWalker.o
XercesNamedNodeMapWrapper.o XercesNodeListWrapper.o XercesNotationWrapper.o
XercesProcessingInstructionWrapper.o XercesTextWrapper.o
XercesTextWrapperAllocator.o XercesWrapperHelper.o XercesWrapperNavigator.o
XercesWrapperToXalanNodeMap.o XalanExe.o                     -o Xalan
lto1: internal compiler error: in lto_output_node, at lto-cgraph.c:473
0x949178 lto_output_node
        ../../src-trunk/gcc/lto-cgraph.c:473
0x949178 output_symtab()
        ../../src-trunk/gcc/lto-cgraph.c:1021
0x95ab1a lto_output()
        ../../src-trunk/gcc/lto-streamer-out.c:2386
0x9c37ae write_lto
        ../../src-trunk/gcc/passes.c:2452
0x9c73ca ipa_write_optimization_summaries(lto_symtab_encoder_d*)
        ../../src-trunk/gcc/passes.c:2656
0x62721a do_stream_out
        ../../src-trunk/gcc/lto/lto.c:2294
0x633ad8 stream_out
        ../../src-trunk/gcc/lto/lto.c:2338
0x633ad8 lto_wpa_write_files
        ../../src-trunk/gcc/lto/lto.c:2475
0x633ad8 do_whole_program_analysis
        ../../src-trunk/gcc/lto/lto.c:3157
0x633ad8 lto_main()
        ../../src-trunk/gcc/lto/lto.c:3317
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/local/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
specmake[3]: *** [Xalan] Error 1

Reply via email to