Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kernel 4.9.77 error segfault in compile.
Date: Tue, 23 Jan 2018 17:31:00
Message-Id: CAGfcS_n-MXkqqaMuNS0p=yXML5wPrdgQydKu-djuRbHQuyt-hQ@mail.gmail.com
In Reply to: Re: [gentoo-user] kernel 4.9.77 error segfault in compile. by Corbin Bird
1 On Mon, Jan 22, 2018 at 9:34 PM, Corbin Bird <corbinbird@×××××××.net> wrote:
2 > On 01/22/2018 11:56 AM, Rich Freeman wrote:
3 >
4 > Tried both approaches ... the results :
5 >>
6 >> make distclean
7 >> make mrproper
8 >> --> copy over .config
9 >> make O=/var/tmp/linux modules_prepare
10 >> make O=/var/tmp/linux && make O=/var/tmp/linux modules_install
11
12 Two comments:
13
14 1. You don't need to run modules_prepare, unless you're just building
15 modules and not the rest of the kernel.
16 2. .config goes in /var/tmp/linux, not in /usr/src/linux.
17
18 It probably wouldn't hurt to wipe your sources and re-download them
19 instead of just running make mrproper (which won't fix modifications
20 made to source files). If you're using git sources you could just do
21 a hard git reset, which would fix any files in the repo.
22
23 I'll comment on your later reply...
24
25 --
26 Rich