Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-33471

glibc: stream10 containers don't work under rosetta

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • CentOS Stream 10, rhel-10.0.beta
    • glibc
    • None
    • sst_pt_libraries
    • ssg_platform_tools
    • 5
    • None
    • CentOS Stream
    • None
    • None
    • None
    • x86_64, aarch64
    • None

      What were you trying to do that didn't work?

      isaoptimized x86-64-v3 container from

      https://sigs.centos.org/isa/consuming/containers/

      run on M1 / aarch64 mac using podman and rosetta

      https://github.com/containers/podman/pull/21670

      While it works with baseline, it doesn't work with optimized container:

      $ podman run --rm --arch amd64 -it registry.gitlab.com/centos/isa/containers/isabaseline
      [root@006c3ec4cf2b /]
      exit
      $ podman run --rm --arch amd64 -it registry.gitlab.com/centos/isa/containers/isaoptimized
      Fatal glibc error: CPU does not support x86-64-v3

      Please provide the package NVR for which bug is seen:

      podman version 5.0.2 (on M1 mac)

      podman-4.9.4-1.fc39.aarch64 (in Fedora VM that runs the container and has rosetta mounted)

      MacOS Sonoma 14.4.1 (23E224)

      How reproducible:

      100%

      Steps to reproduce

      1. Install podman on Mac
      2. Create a VM on Mac, Ensure apple virtualization is used in VM, rosetta is enabled in VM
        1. I've used https://lima-vm.io/docs/config/multi-arch/#fast-mode-2
      1. Connect podman to a VM

      Expected results

      Container runs

      Actual results

      Fatal glibc error

       

            glibc-bugzilla Platform Tools - Libraries Bot
            sgraf@redhat.com Stanislav Graf
            Platform Tools - Libraries Bot Platform Tools - Libraries Bot
            qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: