Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression on aarch64-unknown-linux-musl: undefined reference to `getauxval' #2450

Closed
pejter opened this issue Oct 15, 2021 · 1 comment
Closed
Labels
C-bug Category: bug

Comments

@pejter
Copy link

pejter commented Oct 15, 2021

The crate no longer builds for aarch64-unknown-linux-musl target.

Builds successfully on:

  • stable rustc 1.55.0 (c8dfcfe04 2021-09-06)
  • beta rustc 1.56.0-beta.4 (e6e620e1c 2021-10-04)

Fails on:

  • nightly rustc 1.57.0-nightly (dfc5add91 2021-10-13)

Steps to reproduce:

  • Create a empty crate with cargo init
  • Add libc = "*" to dependencies
  • Run cargo build

Error logs: https://gist.github.com/pejter/4432b29f946cee4721e209c1a4184883
Dockerfile for reproducing the build environment:

FROM rustlang/rust:nightly-alpine as builder

RUN apk add --no-cache musl-dev

COPY . .

RUN cargo build --release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants