rust-lang/libc

Libc-test fails on linux due to Undeclared symbols Elf32_Relr and Elf64_Relr

biabbas opened this issue · 4 comments

cargo test -p libc-test fails on linux.

I've attached cargo test -p libc-test
The libc-test work on windows. For linux and mac, they fail.
On linux rust version = 1.79 nightly.
libc-test-p_linux_rust_179.txt
On windows rust version = 1.75 stable.
It ran 753 tests in tests/makedev.rs and all of them passed.
libc-test-pwindowspass.txt

libc-test works in recent debian sid. I suggest running in recent Linux, for example, inside Docker

@safinaskar Please share the info on C library that you are using, the Debian OS version info, along with the libc test log.

Generally speaking, the libc tests will only pass on the specific linux release that we use in our docker containers. If you run the test with run-docker.sh then they should all pass.

@Amanieu David @devnexen created a PR removing Elf32relr and Elf64relr tests for all systems including linux. Libc -tests worked on mysystem after that.