Bug 1012255

Summary: internal compiler error: in ggc_set_mark, at ggc-page.c:1468
Product: Red Hat Developer Toolset Reporter: soul.jack <spirit.hence>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Martin Cermak <mcermak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: law, mcermak, mfranc, mnewsome, mpolacek, spirit.hence
Target Milestone: ---   
Target Release: 2.4   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-08 12:48:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description soul.jack 2013-09-26 05:58:52 UTC
Description of problem:
compile error again on webkit.


Version-Release number of selected component (if applicable):


How reproducible:
autogen.sh ---enable-debug --enable-optimizations --disable-webkit2
make -j6

Steps to Reproduce:
1.download webkit source from http://builds.nightly.webkit.org/files/trunk/src/WebKit-r156422.tar.bz2
2.uncompress it and change directory to WebKit-r156422
3.execute command "./autogen.sh ---enable-debug --enable-optimizations --disable-webkit2"
4.execute command " make -j4"

Actual results:
  CXX      DerivedSources/webkitdom/libGObjectDOMBindings_la-WebKitDOMHistory.lo
In file included from ./Source/WTF/wtf/HashMap.h:24:0,
                 from ./Source/WebCore/platform/ThreadGlobalData.h:30,
                 from ./Source/WebCore/dom/EventNames.h:25,
                 from ./Source/WebCore/dom/EventTarget.h:36,
                 from ./Source/WebCore/dom/Node.h:29,
                 from ./Source/WebCore/dom/ContainerNode.h:28,
                 from ./Source/WebCore/dom/Document.h:33,
                 from DerivedSources/webkitdom/WebKitDOMEvent.cpp:26:
./Source/WTF/wtf/HashTable.h: In instantiation of ‘WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::FullLookupType WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::fullLookupForWriting(const T&) [with HashTranslator = WTF::HashSetTranslatorAdapter<JSC::IdentifierCharBufferTranslator<unsigned char> >; T = JSC::CharBuffer<unsigned char>; Key = WTF::StringImpl*; Value = WTF::StringImpl*; Extractor = WTF::IdentityExtractor; HashFunctions = WTF::StringHash; Traits = WTF::HashTraits<WTF::StringImpl*>; KeyTraits = WTF::HashTraits<WTF::StringImpl*>; WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::FullLookupType = std::pair<std::pair<WTF::StringImpl**, bool>, unsigned int>]’:
./Source/WTF/wtf/HashTable.h:913:59:   required from ‘WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::AddResult WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::addPassingHashCode(T&&, Extra&&) [with HashTranslator = WTF::HashSetTranslatorAdapter<JSC::IdentifierCharBufferTranslator<unsigned char> >; T = const JSC::CharBuffer<unsigned char>&; Extra = const JSC::CharBuffer<unsigned char>&; Key = WTF::StringImpl*; Value = WTF::StringImpl*; Extractor = WTF::IdentityExtractor; HashFunctions = WTF::StringHash; Traits = WTF::HashTraits<WTF::StringImpl*>; KeyTraits = WTF::HashTraits<WTF::StringImpl*>; WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::AddResult = WTF::HashTableAddResult<WTF::HashTableIterator<WTF::StringImpl*, WTF::StringImpl*, WTF::IdentityExtractor, WTF::StringHash, WTF::HashTraits<WTF::StringImpl*>, WTF::HashTraits<WTF::StringImpl*> > >]’
./Source/WTF/wtf/HashSet.h:200:106:   required from ‘WTF::HashSet<Value, HashFunctions, Traits>::AddResult WTF::HashSet<Value, HashFunctions, Traits>::add(const T&) [with HashTranslator = JSC::IdentifierCharBufferTranslator<unsigned char>; T = JSC::CharBuffer<unsigned char>; ValueArg = WTF::StringImpl*; HashArg = WTF::StringHash; TraitsArg = WTF::HashTraits<WTF::StringImpl*>; WTF::HashSet<Value, HashFunctions, Traits>::AddResult = WTF::HashTableAddResult<WTF::HashTableIterator<WTF::StringImpl*, WTF::StringImpl*, WTF::IdentityExtractor, WTF::StringHash, WTF::HashTraits<WTF::StringImpl*>, WTF::HashTraits<WTF::StringImpl*> > >]’
./Source/JavaScriptCore/runtime/Identifier.h:256:70:   required from ‘WTF::HashSet<WTF::StringImpl*>::AddResult JSC::IdentifierTable::add(U) [with U = JSC::CharBuffer<unsigned char>; V = JSC::IdentifierCharBufferTranslator<unsigned char>; WTF::HashSet<WTF::StringImpl*>::AddResult = WTF::HashTableAddResult<WTF::HashTableIterator<WTF::StringImpl*, WTF::StringImpl*, WTF::IdentityExtractor, WTF::StringHash, WTF::HashTraits<WTF::StringImpl*>, WTF::HashTraits<WTF::StringImpl*> > >]’
./Source/JavaScriptCore/runtime/Identifier.h:185:132:   required from ‘static WTF::PassRefPtr<WTF::StringImpl> JSC::Identifier::add(JSC::VM*, const T*, int) [with T = unsigned char]’
./Source/JavaScriptCore/runtime/Identifier.h:50:84:   required from here
./Source/WTF/wtf/HashTable.h:786:5: internal compiler error: in ggc_set_mark, at ggc-page.c:1468
     }
     ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[1]: *** [DerivedSources/webkitdom/libGObjectDOMBindings_la-WebKitDOMEvent.lo] 错误 1

Expected results:


Additional info:

Comment 2 Marek Polacek 2013-09-26 06:16:23 UTC
If the bug is not reproducible, then it's really hard to judge whether the bug is actually in GCC; could you attach the preprocessed source?

Could be PR57461/PR58024.

Comment 3 Marek Polacek 2013-10-08 12:48:28 UTC
Feedback not coming, closing.