From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH] Fix jellyfish on non-x86_64 Date: Sun, 28 Feb 2016 00:31:17 +0100 Message-ID: <20160227233117.GA12075@solar> References: <8760xadti8.fsf@mdc-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZoKb-0001gx-RU for guix-devel@gnu.org; Sat, 27 Feb 2016 18:31:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZoKY-0000Mv-JD for guix-devel@gnu.org; Sat, 27 Feb 2016 18:31:25 -0500 Received: from mailrelay6.public.one.com ([91.198.169.200]:47014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZoKY-0000Md-7f for guix-devel@gnu.org; Sat, 27 Feb 2016 18:31:22 -0500 Content-Disposition: inline In-Reply-To: <8760xadti8.fsf@mdc-berlin.de> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel 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::TestBody() [with gtest_TypeParam_ = {anonymous}::VTC, 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 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 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 _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 _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::TestBody() [with gtest_TypeParam_ = {anonymous}::VTC, 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 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 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 _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 _Tp std::min(std::initializer_list<_Tp>, _Compare) min(initializer_list<_Tp> __l, _Compare __comp) Is there maybe an assumption of 64bit? Andreas