Skip to content

"ARM64 image contains x86-64 binary #6

@krim404

Description

@krim404

The ARM64 multi-arch image contains an x86-64 compiled binary instead of an ARM64 binary, causing exec format error on ARM64 nodes.

Steps to Reproduce

# Pull the ARM64 manifest explicitly                                                                                               
crane export archsyscall/restart-operator@sha256:9302a79072b4be99fabd03583dce6cafbcf82473f58d659e214f1a8d4e6a989b - | tar -xf -   manager                                                                                                                            
                                                                                                                                   
# Check the binary architecture                                                                                                    
file ./manager                                                                                                                     

Expected Result

./manager: ELF 64-bit LSB executable, ARM aarch64, ...                                                                             

Actual Result

./manager: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked,                                                 
BuildID[sha1]=bbb72550eaba09029baaca6013d9e3c792cd98a1, with debug_info, not stripped                                              

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions