#3452 PR open
: run-in-docker: Use /lib64/ld-linux-x86-64.so.2 to detect HW architecture¶
Labels: enhancement
, ReaR Project
gdha opened issue at 2025-04-08 14:46:¶
Pull Request Details:¶
-
Type: Enhancement
-
Impact: Low
-
Reference to related issue (URL): n/a
-
How was this pull request tested?
$ ./run-in-docker
Hardware architecture not supported, removing incompatible Docker images matching centos:stream10
********** ubuntu:20.04 **********
Bash is 5.0.17(1)-release
********** Copying dist to dist-all/ubuntu-20-04
********** ubuntu:22.04 **********
Bash is 5.1.16(1)-release
********** Copying dist to dist-all/ubuntu-22-04
********** ubuntu:24.04 **********
Bash is 5.2.21(1)-release
********** Copying dist to dist-all/ubuntu-24-04
********** debian:10 **********
Bash is 5.0.3(1)-release
********** Copying dist to dist-all/debian-10
********** debian:11 **********
Bash is 5.1.4(1)-release
********** Copying dist to dist-all/debian-11
********** debian:12 **********
Bash is 5.2.15(1)-release
********** Copying dist to dist-all/debian-12
********** debian:unstable **********
Bash is 5.2.37(1)-release
********** Copying dist to dist-all/debian-unstable
********** opensuse/leap:15 **********
Bash is 4.4.23(1)-release
********** Copying dist to dist-all/opensuse-leap-15
********** registry.suse.com/suse/sle15 **********
Bash is 4.4.23(1)-release
********** Copying dist to dist-all/registry-suse-com-suse-sle15
********** centos:8 **********
Bash is 4.4.19(1)-release
********** Copying dist to dist-all/centos-8
********** quay.io/centos/centos:stream9 **********
Bash is 5.1.8(1)-release
********** Copying dist to dist-all/quay-io-centos-centos-stream9
********** fedora:41 **********
Bash is 5.2.32(1)-release
********** Copying dist to dist-all/fedora-41
********** fedora:42 **********
Bash is 5.2.37(1)-release
********** Copying dist to dist-all/fedora-42
********** archlinux **********
Bash is 5.2.37(1)-release
********** Copying dist to dist-all/archlinux
********** manjarolinux/base **********
Bash is 5.2.37(1)-release
********** Copying dist to dist-all/manjarolinux-base
** SCRIPT RUN TIME 13 SECONDS **
- Description of the changes in this pull request:
One of my test system is rather old - see:
$ /lib64/ld-linux-x86-64.so.2 --help | grep supported
x86-64-v2 (supported, searched)
And we got the error:
********** quay.io/centos/centos:stream10 **********
Fatal glibc error: CPU does not support x86-64-v3
ERROR: ############### DOCKER RUN FAILED FOR quay.io/centos/centos:stream10
And, the run-in-docker
bailed out.
We want to avoid this and therefore, check the HW architecture and for
centos10 we must have x86-64-v3 or x86-64-v4.
[Export of Github issue for rear/rear.]