Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555754 - app-text/libetonyek-0.1.3 - configure: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/limits:313:62: error: no matching function for call to 'Value::Value(int)'
Summary: app-text/libetonyek-0.1.3 - configure: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-24 05:52 UTC by Milka
Modified: 2016-02-29 13:40 UTC (History)
2 users (show)

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


Attachments
configuration log (config.log,46.79 KB, text/plain)
2015-07-24 05:52 UTC, Milka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milka 2015-07-24 05:52:50 UTC
Created attachment 407494 [details]
configuration log

The app-text/libetonyek-0.1.3 fails during the configure phase when using gcc x86_64-pc-linux-gnu-4.7.3 with error

checking checking if mdds::flat_segment_tree can store values of any type... no
configure: error: please install mdds >= 0.12.1

Installed versions of dev-util/mdds is 0.12.1. The actual problem is not 'mdds' but the compiler. See attached config.log lines 656-723.

In file included from /usr/include/mdds/flat_segment_tree.hpp:35:0,
                 from conftest.cpp:45:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/limits: In instantiation of 'static _Tp std::numeric_limits<_Tp>::max() [with _Tp = Value]':
/usr/include/mdds/flat_segment_tree_def.inl:49:5:   required from 'mdds::flat_segment_tree<_Key, _Value>::flat_segment_tree(mdds::flat_segment_tree<_Key, _Value>::key_type, mdds::flat_segment_tree<_Key, _Value>::key_type, mdds::flat_segment_tree<_Key, _Value>::value_type) [with _Key = int; _Value = Value; mdds::flat_segment_tree<_Key, _Value>::key_type = int; mdds::flat_segment_tree<_Key, _Value>::value_type = Value]'
conftest.cpp:47:55:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/limits:313:62: error: no matching function for call to 'Value::Value(int)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/limits:313:62: note: candidates are:
conftest.cpp:46:8: note: Value::Value()
conftest.cpp:46:8: note:   candidate expects 0 arguments, 1 provided
conftest.cpp:46:8: note: Value::Value(const Value&)
conftest.cpp:46:8: note:   no known conversion for argument 1 from 'int' to 'const Value&'

configure: failed program was:
<snip>
| #include <mdds/flat_segment_tree.hpp>
| struct Value {};
| mdds::flat_segment_tree<int, Value> tree(0, 4, Value());



Compilation with gcc x86_64-pc-linux-gnu-4.8.4 finishes OK.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2015-07-24 19:05:40 UTC
I am able to hit this as well.

gcc-4.7.4 hardened here.
Comment 2 Nuno Silva 2015-07-25 07:47:57 UTC
I can reproduce on amd64 with gcc 4.7.4 and 4.6.4. It compiles with gcc 4.8.4.
Comment 3 Andreas Sturmlechner gentoo-dev 2016-02-29 00:24:40 UTC
libetonyek >=0.1.3 now checks for GCC >=4.8
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2016-02-29 13:40:54 UTC
(In reply to Andreas Sturmlechner from comment #3)
> libetonyek >=0.1.3 now checks for GCC >=4.8

Is stable, old removed.