uploader: Does not support the Apple M1 arm64 platform

Describe the bug I followed the instructions for uploading from linux, and it seems the linux (and alpine) binaries are referencing a dependency that’s missing in most common linux images. I understand that this could be a problem with my images, but I imagine you want to either fix the binary or provide instructions given this fails for Debian, Ubuntu, and Alpine.

To Reproduce Boot a debian container running bash:

docker run -it debian bash

Then, inside of that shell:

apt-get update && apt-get install -y curl
cd tmp
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -h

You will get the error:

/lib64/ld-linux-x86-64.so.2: No such file or directory

Expected behavior I expect to run the codecov cli and see the help text

Screenshots n/a

Additional context I tried this on latest debian and stretch as well as Ubuntu and Alpine.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 22 (14 by maintainers)

Commits related to this issue

Most upvoted comments

Any updates here? Once CircleCI drops support for Intel we’ll be obligated to drop Codecov 🤷🏻

@thomasrockhu-codecov Hi. I think aarch64 support does not solve this issue for arm64 macs. The binary you’ve mentioned is ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, stripped which is a linux executable and not Mach-O Apple binary.

As for now, CircleCI (which is your CI provider as well) conducts multiple brownouts of Intel macOS runners, which makes it impossible to natively run codecov on mac (other than building from source?)

A workaround will be to run it with Rosetta

softwareupdate --install-rosetta --agree-to-license
arch -x86_64 ./codecov

I believe this issue must be re-opened.

Related: https://github.com/codecov/feedback/issues/51