libc icon indicating copy to clipboard operation
libc copied to clipboard

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

Open biabbas opened this issue 1 year ago • 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

biabbas avatar Apr 01 '24 08:04 biabbas

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

safinaskar avatar Apr 03 '24 21:04 safinaskar

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

biabbas avatar Apr 08 '24 07:04 biabbas

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 avatar Apr 10 '24 19:04 Amanieu

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

biabbas avatar Apr 15 '24 08:04 biabbas