[elrepo] Last lt kernel built with gcc 9.3.1
Alan Bartlett
ajb at elrepo.org
Wed Sep 30 12:50:32 EDT 2020
On Wed, 30 Sep 2020 at 17:22, donoban <donoban at riseup.net> wrote:
>
> On 2020-09-30 18:07, Alan Bartlett wrote:
> > In one word: Yes.
> >
> > As of July 31st, 2020, all kernel builds for RHEL7 (both kernel-lt and
> > kernel-ml) have been built using the tools from the devtoolset-9
> > package.
> >
> > If you wish to build software which requires the installation of the
> > kernel-{lt|ml}-devel package then you will also need to install and
> > use the devtoolset-9 package.
> >
> > Alan.
>
> Ok thanks Alan.
>
> Maybe it's pretty offtopic but does anybody how to tell dkms to use
> devtoolset-9?
>
It must be more than ten years since I last used dkms and I have long
forgotten the details.
Perhaps something similar to what we use for the kernel-{lt|ml} builds
may be appropriate. I needed to modify the kernel specification file
in just three places. Immediately following the calls of the %prep,
%build and %install macros the enable script (from the devtoolset-9
package) was sourced. Example --
%prep
. /opt/rh/devtoolset-9/enable
If you were to create a controlling shell-script for the dkms
build/install process a line, as above, may be the solution.
Alan.
More information about the elrepo
mailing list