Skip to content

New cross images seem to require fairly new glibc versions (2.29) #960

@jszwedko

Description

@jszwedko

Checklist

Describe your issue

I noticed that the new cross images seem to require a fairly new glibc version (2.29) for the built binaries for the x86_64-unknown-linux-gnu target.

We are using ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main for the build image. I'll be trying to walk back and tag to an older image. I'll update when I find the most recent one that works.

An image SHA that seems to require 2.29 is sha256:ff64ffcf0960931b890b849c0e74946d49b10f09464d292bf39ebba35fd03309. Previously the image with SHA sha256:98dfbdc3e988dd9a7b359537a79ada1f6f1086fdbcffd953320c43949880a813 built binaries that required glibc 2.18 as determined by https://gist.github.com/fasterthanlime/17e002a8f5e0f189861c

What target(s) are you cross-compiling for?

aarch64-unknown-linux-gnu, aarch64-unknown-linux-musl, arm-unknown-linux-gnueabihf, x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl

Which operating system is the host (e.g computer cross is on) running?

  • macOS
  • Windows
  • Linux / BSD
  • other OS (specify in description)

What architecture is the host?

  • x86_64 / AMD64
  • arm32
  • arm64 (including Mac M1)

What container engine is cross using?

  • docker
  • podman
  • other container engine (specify in description)

cross version

cross 0.2.1

Example

git clone https://github.com/vectordotdev/vector
make package-deb-x86_64-unknown-linux-gnu

Additional information / notes

I'll try a newer version of cross to see if that changes anything.

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