AnyQ icon indicating copy to clipboard operation
AnyQ copied to clipboard

请问在树莓派的arm环境上 可以编译成功吗?

Open hexler opened this issue 3 years ago • 1 comments

目前卡在make阶段。 In file included from amalgamation/xgboost-all0.cc:78: amalgamation/../src/common/host_device_vector.cc: In constructor ‘xgboost::HostDeviceVector<T>::HostDeviceVector(std::initializer_list<_Tp>, int) [with T = double]’: amalgamation/../src/common/host_device_vector.cc:42:1: note: parameter passing for argument of type ‘std::initializer_list’ changed in GCC 7.1 HostDeviceVector<T>::HostDeviceVector(std::initializer_list<T> init, int) ^~~~~~~~~~~~~~~~~~~ amalgamation/../src/common/host_device_vector.cc: In constructor ‘xgboost::HostDeviceVector<T>::HostDeviceVector(std::initializer_list<_Tp>, int) [with T = long long unsigned int]’: amalgamation/../src/common/host_device_vector.cc:42:1: note: parameter passing for argument of type ‘std::initializer_list’ changed in GCC 7.1

amalgamation/../src/common/host_device_vector.cc: In member function ‘void xgboost::HostDeviceVector<T>::Copy(std::initializer_list<_Tp>) [with T = double]’: amalgamation/../src/common/host_device_vector.cc:135:6: note: parameter passing for argument of type ‘std::initializer_list’ changed in GCC 7.1 void HostDeviceVector<T>::Copy(std::initializer_list<T> other) { ^~~~~~~~~~~~~~~~~~~ amalgamation/../src/common/host_device_vector.cc: In member function ‘void xgboost::HostDeviceVector<T>::Copy(std::initializer_list<_Tp>) [with T = long long unsigned int]’: amalgamation/../src/common/host_device_vector.cc:135:6: note: parameter passing for argument of type ‘std::initializer_list’ changed in GCC 7.1

编译过程很多警告 但是未出现错误。然后就会一直卡住。。。。。。。

hexler avatar Apr 05 '22 06:04 hexler

In file included from /usr/include/c++/8/vector:69, from dmlc-core/include/dmlc/registry.h:11, from amalgamation/../src/metric/metric.cc:6, from amalgamation/xgboost-all0.cc:13: /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const xgboost::data::ColumnarMetaInfo&}; _Tp = xgboost::data::ColumnarMetaInfo; _Alloc = std::allocatorxgboost::data::ColumnarMetaInfo]’: /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vectorxgboost::data::ColumnarMetaInfo::iterator’ {aka ‘__gnu_cxx::__normal_iterator<xgboost::data::ColumnarMetaInfo*, std::vectorxgboost::data::ColumnarMetaInfo >’} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~

最后卡住的地方 报以下警告。我重试过很多次了 希望大佬帮忙看看🥲

hexler avatar Apr 05 '22 06:04 hexler