From: Andreas Enge <andreas@enge.fr>
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Fix jellyfish on non-x86_64
Date: Sun, 28 Feb 2016 00:31:17 +0100 [thread overview]
Message-ID: <20160227233117.GA12075@solar> (raw)
In-Reply-To: <8760xadti8.fsf@mdc-berlin.de>
Hello,
on armhf, I get lots of errors such as these:
unit_tests/test_mer_dna.cc: In instantiation of ‘void {anonymous}::MerDNA_GetBits_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = {anonymous}::VTC<jellyfish::mer_dna_ns::mer_base_dynamic<long long unsigned int>, 1>]’:
unit_tests/test_mer_dna.cc:529:1: required from here
unit_tests/test_mer_dna.cc:464:96: error: no matching function for call to ‘min(long unsigned int, unsigned int)’
unit_tests/test_mer_dna.cc:464:96: note: candidates are:
In file included from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_tree.h:61:0,
from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/map:60,
from unit_tests/test_mer_dna.cc:20:
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algobase.h:194:5: note: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)
min(const _Tp& __a, const _Tp& __b)
^
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algobase.h:194:5: note: template argument deduction/substitution failed:
unit_tests/test_mer_dna.cc:464:96: note: deduced conflicting types for parameter ‘const _Tp’ (‘long unsigned int’ and ‘unsigned int’)
std::min(this->GetParam().size() - start, 8 * sizeof(typename TypeParam::Type::base_type));
^
In file included from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_tree.h:61:0,
from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/map:60,
from unit_tests/test_mer_dna.cc:20:
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algobase.h:240:5: note: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare)
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algobase.h:240:5: note: template argument deduction/substitution failed:
unit_tests/test_mer_dna.cc:464:96: note: deduced conflicting types for parameter ‘const _Tp’ (‘long unsigned int’ and ‘unsigned int’)
std::min(this->GetParam().size() - start, 8 * sizeof(typename TypeParam::Type::base_type));
^
In file included from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/algorithm:62:0,
from ./include/jellyfish/misc.hpp:34,
from ./include/jellyfish/mer_dna.hpp:33,
from unit_tests/test_mer_dna.cc:24:
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algo.h:3439:5: note: template<class _Tp> _Tp std::min(std::initializer_list<_Tp>)
min(initializer_list<_Tp> __l)
^
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algo.h:3439:5: note: template argument deduction/substitution failed:
unit_tests/test_mer_dna.cc:464:96: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘long unsigned int’
std::min(this->GetParam().size() - start, 8 * sizeof(typename TypeParam::Type::base_type));
^
In file included from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/algorithm:62:0,
from ./include/jellyfish/misc.hpp:34,
from ./include/jellyfish/mer_dna.hpp:33,
from unit_tests/test_mer_dna.cc:24:
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algo.h:3444:5: note: template<class _Tp, class _Compare> _Tp std::min(std::initializer_list<_Tp>, _Compare)
min(initializer_list<_Tp> __l, _Compare __comp)
^
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algo.h:3444:5: note: template argument deduction/substitution failed:
unit_tests/test_mer_dna.cc:464:96: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘long unsigned int’
std::min(this->GetParam().size() - start, 8 * sizeof(typename TypeParam::Type::base_type));
^
unit_tests/test_mer_dna.cc: In instantiation of ‘void {anonymous}::MerDNA_GetBits_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = {anonymous}::VTC<jellyfish::mer_dna_ns::mer_base_dynamic<long long unsigned int>, 0>]’:
unit_tests/test_mer_dna.cc:529:1: required from here
unit_tests/test_mer_dna.cc:464:96: error: no matching function for call to ‘min(long unsigned int, unsigned int)’
unit_tests/test_mer_dna.cc:464:96: note: candidates are:
In file included from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_tree.h:61:0,
from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/map:60,
from unit_tests/test_mer_dna.cc:20:
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algobase.h:194:5: note: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)
min(const _Tp& __a, const _Tp& __b)
^
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algobase.h:194:5: note: template argument deduction/substitution failed:
unit_tests/test_mer_dna.cc:464:96: note: deduced conflicting types for parameter ‘const _Tp’ (‘long unsigned int’ and ‘unsigned int’)
std::min(this->GetParam().size() - start, 8 * sizeof(typename TypeParam::Type::base_type));
^
In file included from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_tree.h:61:0,
from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/map:60,
from unit_tests/test_mer_dna.cc:20:
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algobase.h:240:5: note: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare)
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algobase.h:240:5: note: template argument deduction/substitution failed:
unit_tests/test_mer_dna.cc:464:96: note: deduced conflicting types for parameter ‘const _Tp’ (‘long unsigned int’ and ‘unsigned int’)
std::min(this->GetParam().size() - start, 8 * sizeof(typename TypeParam::Type::base_type));
^
In file included from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/algorithm:62:0,
from ./include/jellyfish/misc.hpp:34,
from ./include/jellyfish/mer_dna.hpp:33,
from unit_tests/test_mer_dna.cc:24:
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algo.h:3439:5: note: template<class _Tp> _Tp std::min(std::initializer_list<_Tp>)
min(initializer_list<_Tp> __l)
^
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algo.h:3439:5: note: template argument deduction/substitution failed:
unit_tests/test_mer_dna.cc:464:96: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘long unsigned int’
std::min(this->GetParam().size() - start, 8 * sizeof(typename TypeParam::Type::base_type));
^
In file included from /gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/algorithm:62:0,
from ./include/jellyfish/misc.hpp:34,
from ./include/jellyfish/mer_dna.hpp:33,
from unit_tests/test_mer_dna.cc:24:
/gnu/store/i23hviqfy0pw7xjvqy263k55pz0zaf8m-gcc-4.9.3/include/c++/bits/stl_algo.h:3444:5: note: template<class _Tp, class _Compare> _Tp std::min(std::initializer_list<_Tp>, _Compare)
min(initializer_list<_Tp> __l, _Compare __comp)
Is there maybe an assumption of 64bit?
Andreas
next prev parent reply other threads:[~2016-02-27 23:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-27 16:10 [PATCH] Fix jellyfish on non-x86_64 Ricardo Wurmus
2016-02-27 20:22 ` Efraim Flashner
2016-02-27 21:02 ` Ricardo Wurmus
2016-02-27 23:31 ` Andreas Enge [this message]
2016-02-28 14:47 ` Ricardo Wurmus
2016-02-28 14:52 ` Andreas Enge
2016-02-28 17:26 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160227233117.GA12075@solar \
--to=andreas@enge.fr \
--cc=guix-devel@gnu.org \
--cc=ricardo.wurmus@mdc-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.