Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #191572

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

From Michael Lange <klappnase@freenet.de>
Newsgroups linux.debian.user
Subject Re: kernel 4.14.15 compilation using GCC 8 in unstable.......
Date 2018-01-26 00:40 +0100
Message-ID <vbZhD-3Y0-5@gated-at.bofh.it> (permalink)
References <vbYlA-3o7-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On Thu, 25 Jan 2018 22:23:38 +0000
Michael Fothergill <michael.fothergill@gmail.com> wrote:

> Dear All,
> 
> I am continuing the discussion of the kernel 4.14.15 compilation in the
> Question on CVE-2017-5754 on Debian 8.9 post in a new post.
> 
> The reason I am running with this kernel and not the 4.15.0 rc9 kernel
> that is now available on kernel.org is that:
> 
> 1. It is stable
> 
> 2. I have never tried to compile a kernel in Debian before and want to
> make it a bit easier for me the first time would try.
> 
> 3.  kernel 4.14.15 does have the KPTI and retpoline patches in it, so
> it is a fair candidate for the GCC8 compiler to produce a kernel that
> the patch checker could confirm has these meltdown and spectre fixes
> are properly set up and active.

Ok, my advice if you don't want to give up yet :-)

Don't try to force the use of gcc-8 until you know that everything runs
properly with the default compiler.

Maybe you should follow the advice from the previously posted error
message:

"make[2]: Entering directory '/usr/src/linux-4.14.15'
Makefile:942: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y,
please install libelf-dev, libelf-devel or elfutils-libelf-devel".  Stop."
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

(Ignore the messages about the debian directory.)
If similar messages as the above appear again, try to figure out what
needs to be additionally installed (some *-dev packages might still be
missing).

Once you get past the first few minutes of the procedure when using the
default compiler and you see how one module after the other is compiled,
hit Ctrl-C, do "make mrproper" and start over again with gcc-8.

This is just my 2ยข, but I believe "debugging" one thing at a time is the
more promising approach here.

Good luck (and for now good night :)

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Virtue is a relative term.
		-- Spock, "Friday's Child", stardate 3499.1

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-25 23:40 +0100
  Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-26 00:40 +0100
    Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-26 15:30 +0100
      Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-26 17:00 +0100
      Re: kernel 4.14.15 compilation using GCC 8 in unstable....... "tv.debian@googlemail.com" <tv.debian@googlemail.com> - 2018-01-26 17:10 +0100
        Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Greg Wooledge <wooledg@eeg.ccf.org> - 2018-01-26 17:40 +0100
          Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-26 18:20 +0100
        Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-26 17:40 +0100
          Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-26 17:50 +0100
          Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-26 17:50 +0100
            Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-26 18:00 +0100
        Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-26 17:50 +0100
          Re: kernel 4.14.15 compilation using GCC 8 in unstable....... "tv.debian@googlemail.com" <tv.debian@googlemail.com> - 2018-01-26 18:00 +0100
            Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-26 18:10 +0100
              Re: kernel 4.14.15 compilation using GCC 8 in unstable....... "tv.debian@googlemail.com" <tv.debian@googlemail.com> - 2018-01-26 18:20 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-26 18:40 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-26 18:50 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-26 18:50 +0100
              Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Sven Hartge <sven@svenhartge.de> - 2018-01-26 18:40 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-26 21:00 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Sven Hartge <sven@svenhartge.de> - 2018-01-26 21:40 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-26 23:20 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Sven Hartge <sven@svenhartge.de> - 2018-01-26 23:30 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-26 23:50 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Sven Hartge <sven@svenhartge.de> - 2018-01-27 00:00 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-27 00:10 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-27 00:10 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 11:50 +0100
              Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Greg Wooledge <wooledg@eeg.ccf.org> - 2018-01-26 18:50 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-26 23:50 +0100
            Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-26 18:40 +0100
    Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 12:40 +0100
      Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 12:50 +0100
        Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-27 13:10 +0100
          Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 13:40 +0100
          Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 13:40 +0100
            Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-27 13:50 +0100
              Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 14:10 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 14:20 +0100
              Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 14:40 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-27 14:50 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 15:20 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 15:40 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 16:20 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... "tv.debian@googlemail.com" <tv.debian@googlemail.com> - 2018-01-27 18:10 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-27 18:30 +0100
                Re: kernel 4.14.15 compilation using GCC 8 in unstable....... "tv.debian@googlemail.com" <tv.debian@googlemail.com> - 2018-01-27 18:40 +0100
          Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 13:50 +0100
            Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Lange <klappnase@freenet.de> - 2018-01-27 14:30 +0100
              Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 14:50 +0100
        Re: kernel 4.14.15 compilation using GCC 8 in unstable....... Michael Fothergill <michael.fothergill@gmail.com> - 2018-01-27 13:30 +0100

csiph-web