Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hexler opened this issue Apr 5, 2022 · 1 comment
Open

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

hexler opened this issue Apr 5, 2022 · 1 comment

Comments

@hexler
Copy link

hexler commented Apr 5, 2022

目前卡在make阶段。
In file included from amalgamation/xgboost-all0.cc:78:
amalgamation/../src/common/host_device_vector.cc: In constructor ‘xgboost::HostDeviceVector::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::HostDeviceVector(std::initializer_list init, int)
^~~~~~~~~~~~~~~~~~~
amalgamation/../src/common/host_device_vector.cc: In constructor ‘xgboost::HostDeviceVector::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::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::Copy(std::initializer_list other) {
^~~~~~~~~~~~~~~~~~~
amalgamation/../src/common/host_device_vector.cc: In member function ‘void xgboost::HostDeviceVector::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
Copy link
Author

hexler commented Apr 5, 2022

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>::
^~~~~~~~~~~~~~~~~~~

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant