View Issue Details

IDProjectCategoryView StatusLast Update
0001023channel: kernel/el7kernel-mlpublic2020-07-17 17:11
Reportertoracat Assigned Toburakkucat  
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0001023: Kernel-ml for el7, using the linux sources > 5.8-rc4, now cannot be built because it requires a newer version of gcc
DescriptionAccording to commit 6ec4476ac82512f09c94aff5972654b70f3772b2
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Wed Jul 8 10:48:35 2020 -0700

Raise gcc version requirement to 4.9

==========================

Note that gcc version in RHEL-7 is 4.8.5.
Additional InformationUsing a newer version of gcc under RHEL-7 can be done as follows:

$ sudo yum --enablerepo rhel-server-rhscl-7-rpms install devtoolset-9-gcc
$ scl enable devtoolset-9 bash
$ gcc -v
(snip)
gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC)
TagsNo tags attached.

Relationships

related to 0001028 closedburakkucat kernel-ml-devel 5.7 has the CONFIG_CC_HAS_ASM_INLINE flag set - but RHEL 7 has gcc 4.8.5 not supporting it 

Activities

burakkucat

2020-07-17 15:00

administrator   ~0007053

Acknowledged.

burakkucat

2020-07-17 17:05

administrator   ~0007054

Last edited: 2020-07-17 17:06

Installing the devtoolset-9-gcc package on an up-to-date RHEL7 system results in the installation of the devtoolset-9-binutils, devtoolset-9-runtime and scl-utils packages, as dependencies.

A BuildRequires: line, specifying those four packages, was added to the kernel-ml specification file.

The addition of three ". /opt/rh/devtoolset-9/enable" lines were made, directly following the calls of the %prep, %build and %install macros, respectively.

Testing showed that the kernel-ml package set was then successfully built.

burakkucat

2020-07-17 17:11

administrator   ~0007055

Now closed as "resolved/fixed".

Issue History

Date Modified Username Field Change
2020-07-17 11:37 toracat New Issue
2020-07-17 11:37 toracat Status new => assigned
2020-07-17 11:37 toracat Assigned To => burakkucat
2020-07-17 15:00 burakkucat Note Added: 0007053
2020-07-17 15:02 burakkucat Priority normal => high
2020-07-17 15:02 burakkucat Reproducibility have not tried => always
2020-07-17 15:02 burakkucat Summary Kernel-ml for el7, using the linux sources > 5.18-rc4, now cannot be built because it requires a newer version of gcc => Kernel-ml for el7, using the linux sources > 5.8-rc4, now cannot be built because it requires a newer version of gcc
2020-07-17 17:05 burakkucat Note Added: 0007054
2020-07-17 17:06 burakkucat Note Edited: 0007054
2020-07-17 17:11 burakkucat Note Added: 0007055
2020-07-17 17:11 burakkucat Status assigned => resolved
2020-07-17 17:11 burakkucat Resolution open => fixed
2020-07-31 04:45 pperry Relationship added related to 0001028