-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
4.13
-
None
-
No
-
False
-
Description of problem:
The GCC binary version provided by DTK does not match the running kernel in OCP 4.13 nightly
Version-Release number of selected component (if applicable):
4.13.0-0.nightly-2023-03-28-132111
How reproducible:
Check the '/proc/version' and 'rpm -qa | grep gcc' while running DTK in a pod in 4.13 nightly cluster
Steps to Reproduce:
1. Run pod : oc run pod --image=quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:9560ae2bee00c6fc10228c338fbcbcf5bdb9eaac604f7484936694513f6f4894 /usr/sbin/init 2. oc rsh pod/pod 3.
Actual results:
Kernel was built with gcc 11.3.1 while the provided binary version is 11.2.1
sh-5.1# cat /proc/version Linux version 5.14.0-284.4.1.el9_2.x86_64 (mockbuild@x86-vm-08.build.eng.bos.redhat.com) (gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4), GNU ld version 2.35.2-37.el9) #1 SMP PREEMPT_DYNAMIC Mon Mar 20 17:01:37 EDT 2023
GCC related rpms
sh-5.1# rpm -qa | grep gcc libgcc-11.2.1-9.4.el9.x86_64 gcc-11.2.1-9.4.el9.x86_64 gcc-plugin-annobin-11.2.1-9.4.el9.x86_64
GCC binary version
sh-5.1# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-host-pie --enable-host-bind-now --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --without-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_64=x86-64-v2 --with-arch_32=x86-64 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.2.1 20220127 (Red Hat 11.2.1-9) (GCC)
Machineos from release info:
Component Versions: kubernetes 1.26.2 machine-os 413.92.202303292131-0 Red Hat Enterprise Linux CoreOS
Expected results:
gcc versions to match
Additional info:
- blocks
-
OCPBUGS-11252 The provided gcc RPM inside DTK does not match the gcc used to build the kernel
- Closed
- clones
-
OCPBUGS-11117 The provided gcc RPM inside DTK does not match the gcc used to build the kernel
- Closed
- is cloned by
-
OCPBUGS-11252 The provided gcc RPM inside DTK does not match the gcc used to build the kernel
- Closed
- is depended on by
-
OCPBUGS-11117 The provided gcc RPM inside DTK does not match the gcc used to build the kernel
- Closed
- links to
-
RHEA-2023:5006 rpm