Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 860330 - [guru] sci-electronics/verible-0.0.2152 fails to compile (lto)
Summary: [guru] sci-electronics/verible-0.0.2152 fails to compile (lto)
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: vowstar
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-23 18:24 UTC by Agostino Sarubbo
Modified: 2023-10-12 04:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,341.19 KB, text/plain)
2022-07-23 18:24 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-07-23 18:24:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-electronics/verible-0.0.2152 fails to compile (lto).
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-23 18:24:11 UTC
Created attachment 793565 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-23 18:24:12 UTC
Error(s) that match a know pattern:


/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans4.ltrans.o:<artificial>:function google::protobuf::compiler::(anonymous namespace)::MakeTypeNameTable() [clone .lto_priv.0] [clone .cold]: error: undefined reference to 'std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, google::protobuf::FieldDescriptorProto_Type>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, google::protobuf::FieldDescriptorProto_Type> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_deallocate_buckets()'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans4.ltrans.o:<artificial>:function google::protobuf::compiler::(anonymous namespace)::MakeTypeNameTable() [clone .lto_priv.0] [clone .cold]: error: undefined reference to 'std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, google::protobuf::FieldDescriptorProto_Type>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, google::protobuf::FieldDescriptorProto_Type> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::clear()'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans4.ltrans.o:<artificial>:function google::protobuf::compiler::(anonymous namespace)::MakeTypeNameTable() [clone .lto_priv.0]: error: undefined reference to 'std::__detail::_Map_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, google::protobuf::FieldDescriptorProto_Type>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, google::protobuf::FieldDescriptorProto_Type> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans42.ltrans.o:<artificial>:function _sub_I_65535_0.0: error: undefined reference to 'descriptor_table_google_2fprotobuf_2fany_2eproto'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans42.ltrans.o:<artificial>:function _sub_I_65535_0.0: error: undefined reference to 'descriptor_table_google_2fprotobuf_2fapi_2eproto'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans42.ltrans.o:<artificial>:function _sub_I_65535_0.0: error: undefined reference to 'descriptor_table_google_2fprotobuf_2fduration_2eproto'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans42.ltrans.o:<artificial>:function _sub_I_65535_0.0: error: undefined reference to 'descriptor_table_google_2fprotobuf_2fempty_2eproto'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans42.ltrans.o:<artificial>:function _sub_I_65535_0.0: error: undefined reference to 'descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans42.ltrans.o:<artificial>:function _sub_I_65535_0.0: error: undefined reference to 'descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans42.ltrans.o:<artificial>:function _sub_I_65535_0.0: error: undefined reference to 'descriptor_table_google_2fprotobuf_2fstruct_2eproto'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans42.ltrans.o:<artificial>:function _sub_I_65535_0.0: error: undefined reference to 'descriptor_table_google_2fprotobuf_2ftimestamp_2eproto'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans42.ltrans.o:<artificial>:function _sub_I_65535_0.0: error: undefined reference to 'descriptor_table_google_2fprotobuf_2ftype_2eproto'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans42.ltrans.o:<artificial>:function _sub_I_65535_0.0: error: undefined reference to 'descriptor_table_google_2fprotobuf_2fwrappers_2eproto'
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans42.ltrans.o:<artificial>:function _sub_I_65535_0.0: error: undefined reference to 'std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, google::protobuf::FieldDescriptorProto_Type, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, google::protobuf::FieldDescriptorProto_Type> > >::~unordered_map()'
FAILED: Build did NOT complete successfully
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/sci-electronics/verible-0.0.2152/temp/ccA4cNiu.ltrans4.ltrans.o:<artificial>:function google::protobuf::compiler::(anonymous namespace)::MakeTypeNameTable() [clone .lto_priv.0] [clone .cold]: error: undefined reference to 'std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, google::protobuf::FieldDescriptorProto_Type>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, google::protobuf::FieldDescriptorProto_Type> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::clear()'
Comment 3 vowstar 2022-09-07 04:37:00 UTC
Version bumped and may fixed
Comment 4 Larry the Git Cow gentoo-dev 2023-10-12 04:51:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=72ea9fe9f35fd1c3d93932224e7abd92543c9823

commit 72ea9fe9f35fd1c3d93932224e7abd92543c9823
Author:     Huang Rui <vowstar@gmail.com>
AuthorDate: 2023-10-12 04:43:04 +0000
Commit:     Huang Rui <vowstar@gmail.com>
CommitDate: 2023-10-12 04:44:17 +0000

    sci-electronics/verible: add 0.0.3420, drop 0.0.3124
    
    Closes: https://bugs.gentoo.org/860330
    Closes: https://bugs.gentoo.org/903723
    Signed-off-by: Huang Rui <vowstar@gmail.com>

 sci-electronics/verible/Manifest                   | 47 ++++++++++++----------
 ...ble-0.0.3124.ebuild => verible-0.0.3420.ebuild} | 47 ++++++++++++----------
 2 files changed, 52 insertions(+), 42 deletions(-)