Skip to content

Cross compile armv7 not working #257

@bartpeeters

Description

@bartpeeters

After the update of the image cross compiling for armv7 no longer seems to work. I compile with -lssl -lcrypto, but with the new image they were no longer found, so I manually linked them and the build works again. When I start the binary, I get the following error:

No such file or directory binaryname

Then comparing the output of the file command I see the following differences:

Compiled using old image:

ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32

Compiled using new image:

ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 4.10.8

If I symlink /lib/ld-linux.so.3 to /lib/ld-linux-armhf.so.3 the binary does start, but just quits immediately.

This is all very frustrating for us, because we use dockcross to make our arm production build and it now suddenly no longer works. There is also no option for us to go back to an older tag, which did work, because the only tag is the latest tag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions