AerospaceNU / AerospaceNU/better-engine-control-software

`ldd` command doesn't work in cross-compile

Đang mở
#23 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
C++
Star
5
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

in our `pi-cross-compile` pipeline job, we build the wiringPi library which is a shared library, so it exists outside of the `ecs_pi` executable

we've had some trouble with this library not being found at runtime, there is a handy Linux tool called `ldd` that will check the links on an executable [TODO: show example of missing link]. problem is, we can't run it in the Docker cross compiler container, it errors saying that it's not a dynamic executable. we can only check on the actual Pi. if i had to wager, I think it's because of the fact we cross compiling for different OSs and architectures.

- [ ] Determine if we can get `ldd` to run in our Docker container. If not, so be it
- [ ] If it does work, use it with a piped `grep` to check for missing links during a pipeline run

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.