baidu / baidu/AnyQ

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

Open
#250 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.6k
Forks
657
PR merge metrics
No merged PRs in 30d

Description

目前卡在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

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the make-stage output and the amalgamation/xgboost-all0.cc include of src/common/host_device_vector.cc. Determine whether the GCC 7.1 parameter-passing messages are warnings and identify where the ARM build stops after them. Done means establishing whether AnyQ compiles successfully on Raspberry Pi ARM or documenting the blocking failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, raspberry-pi
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.