Skip to content

test run-make/atomic-lock-free fails on i686 linux #38818

@djzin

Description

@djzin

stderr:

nm: rust.metadata.bin: File format not recognized
nm: atomic_lock_free.0.bytecode.deflate: File format not recognized
nm: atomic_lock_free.0.o: File format not recognized
nm: rust.metadata.bin: File format not recognized
nm: atomic_lock_free.0.bytecode.deflate: File format not recognized
make: *** [Makefile:12: all] Error 1

I looked into it and it seems the reason is that gnu binutils is not compiled with --enable-targets=all on my system (default arch install). This means that nm is not able to read symbols from x86_64 binaries and so the test fails.

Seems odd to have a dependency on the way binutils was compiled, especially one where for a major distro it is not set by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions