Bug 1459524 - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963
internal compiler error: in finish_member_declaration, at cp/semantics.c:2963
Status: NEW
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
25
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-07 07:43 EDT by Matus Kocka
Modified: 2017-06-13 07:20 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
log see line 2949 (261.03 KB, text/plain)
2017-06-07 07:45 EDT, Matus Kocka
no flags Details

  None (edit)
Description Matus Kocka 2017-06-07 07:43:42 EDT
While building mongodb using mbs I had this gcc error:

DEBUG: In file included from /usr/include/c++/7/memory:80:0,
DEBUG:                  from src/mongo/util/unordered_fast_key_table.h:33,
DEBUG:                  from src/mongo/util/string_map.h:36,
DEBUG:                  from build/opt/mongo/db/fts/stop_words_list.h:5,
DEBUG:                  from build/opt/mongo/db/fts/stop_words_list.cpp:1:
DEBUG: /usr/include/c++/7/bits/unique_ptr.h: In instantiation of 'class std::unique_ptr<mongo::UnorderedFastKeyTable<mongo::StringData, std::__cxx11::basic_string<char>, std::set<std::__cxx11::basic_string<char> >, mongo::StringMapTraits>::Entry [], std::default_delete<mongo::UnorderedFastKeyTable<mongo::StringData, std::__cxx11::basic_string<char>, std::set<std::__cxx11::basic_string<char> >, mongo::StringMapTraits>::Entry []> >':
DEBUG: /usr/include/c++/7/bits/unique_ptr.h:588:16:   required from 'std::unique_ptr<_Tp [], _Dp>::pointer std::unique_ptr<_Tp [], _Dp>::get() const [with _Tp = mongo::UnorderedFastKeyTable<mongo::StringData, std::__cxx11::basic_string<char>, std::set<std::__cxx11::basic_string<char> >, mongo::StringMapTraits>::Entry; _Dp = std::default_delete<mongo::UnorderedFastKeyTable<mongo::StringData, std::__cxx11::basic_string<char>, std::set<std::__cxx11::basic_string<char> >, mongo::StringMapTraits>::Entry []>; std::unique_ptr<_Tp [], _Dp>::pointer = mongo::UnorderedFastKeyTable<mongo::StringData, std::__cxx11::basic_string<char>, std::set<std::__cxx11::basic_string<char> >, mongo::StringMapTraits>::Entry*]'
DEBUG: /usr/include/c++/7/bits/unique_ptr.h:602:19:   required from 'std::unique_ptr<_Tp [], _Dp>::operator bool() const [with _Tp = mongo::UnorderedFastKeyTable<mongo::StringData, std::__cxx11::basic_string<char>, std::set<std::__cxx11::basic_string<char> >, mongo::StringMapTraits>::Entry; _Dp = std::default_delete<mongo::UnorderedFastKeyTable<mongo::StringData, std::__cxx11::basic_string<char>, std::set<std::__cxx11::basic_string<char> >, mongo::StringMapTraits>::Entry []>]'
DEBUG: src/mongo/util/unordered_fast_key_table_internal.h:142:9:   required from 'std::pair<mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::iterator_impl<mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::Area*>, bool> mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::try_emplace(const HashedKey&, Args&& ...) [with Args = {}; K_L = mongo::StringData; K_S = std::__cxx11::basic_string<char>; V = std::set<std::__cxx11::basic_string<char> >; Traits = mongo::StringMapTraits; typename std::add_pointer<decltype (mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::Area*()->begin()->getData())>::type = std::pair<const std::__cxx11::basic_string<char>, std::set<std::__cxx11::basic_string<char> > >*; decltype (mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::Area*()->begin()->getData()) = std::pair<const std::__cxx11::basic_string<char>, std::set<std::__cxx11::basic_string<char> > >&; mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::HashedKey = mongo::StringMapTraits::HashedKey]'
DEBUG: src/mongo/util/unordered_fast_key_table_internal.h:110:23:   required from 'V& mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::get(const HashedKey&) [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string<char>; V = std::set<std::__cxx11::basic_string<char> >; Traits = mongo::StringMapTraits; mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::HashedKey = mongo::StringMapTraits::HashedKey]'
DEBUG: src/mongo/util/unordered_fast_key_table.h:248:19:   required from 'V& mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::get(const K_L&) [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string<char>; V = std::set<std::__cxx11::basic_string<char> >; Traits = mongo::StringMapTraits]' 
DEBUG: src/mongo/util/unordered_fast_key_table.h:243:19:   required from 'V& mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::operator[](const K_L&) [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string<char>; V = std::set<std::__cxx11::basic_string<char> >; Traits = mongo::StringMapTraits]'
DEBUG: build/opt/mongo/db/fts/stop_words_list.cpp:106:46:   required from here
DEBUG: /usr/include/c++/7/bits/unique_ptr.h:398:5: internal compiler error: in finish_member_declaration, at cp/semantics.c:2963
DEBUG:      {
DEBUG:      ^
Comment 1 Matus Kocka 2017-06-07 07:45 EDT
Created attachment 1285772 [details]
log see line 2949
Comment 2 Marek Polacek 2017-06-07 07:59:55 EDT
Sounds like PR80534 but that has been fixed.

Can you attach the preprocessed source file?  Just adding "-save-temps" and showing me the .ii file should be enough.

See <http://bugzilla.redhat.com/bugzilla> for more info.
Comment 3 Matus Kocka 2017-06-13 07:14:20 EDT
No, I cant because this is build in Koji and I have only logs like this: 
https://kojipkgs.fedoraproject.org//work/tasks/8113/20008113/build.log

I can try to get more info when building locally.
Comment 4 Marek Polacek 2017-06-13 07:20:28 EDT
(In reply to Matus Kocka from comment #3)
> No, I cant because this is build in Koji and I have only logs like this: 
> https://kojipkgs.fedoraproject.org//work/tasks/8113/20008113/build.log
> 
> I can try to get more info when building locally.

Please.  Without the preprocessed file I can't do anything.

Note You need to log in before you can comment on or make changes to this bug.