All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mirsad Goran Todorovac <mirsad.todorovac@alu.unizg.hr>
To: Bagas Sanjaya <bagasdotme@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	Slade Watkins <srw@sladewatkins.net>,
	Marc Miltenberger <marcmiltenberger@gmail.com>,
	Thorsten Leemhuis <regressions@leemhuis.info>,
	"regressions@lists.linux.dev" <regressions@lists.linux.dev>
Subject: Re: 6.0.0-RC kernels trigger Firefox snap bug with 6.0.0-rc3 through 6.0.0-rc7
Date: Fri, 14 Oct 2022 23:44:43 +0200	[thread overview]
Message-ID: <951eb72c-09b5-1832-3852-fa25e423b840@alu.unizg.hr> (raw)
In-Reply-To: <7e0b733d-db73-f9a7-0965-4744e63f1a33@gmail.com>

On 14. 10. 2022. 14:28, Bagas Sanjaya wrote:

> On 10/14/22 17:32, Mirsad Todorovac wrote:
>> I tried the "make localmodconfig" and provided the default answers ([ENTER]) to all questions
>> the script asked as advised here: https://www.stolaf.edu/people/rab/os/linux-compile.html .
>>
>> However, though it built much faster, the stripped version did not trigger the bug.
>>
>> I am now trying to reproduce the bug with v6.0-rc[123] with config-{051913,060000}.
>> This brings a lot of combinations, and though I am a newbie, I noticed that build scripts
>> start with "make clean" for both deb-pkg and rpm-pkg.
>>
>> Is there a way to rebuild only the stuff that changed between the versions?
>>
> You can try building kernel with ccache enabled. However, you'll need
> to unset build timestamp, since it will make builds non-deterministic:
>
> 	make CC="ccache gcc" KBUILD_BUILD_TIMESTAMP=""
>
> The first ccache build will be slower than normal build, because the
> object files needs to be written twice (to the output directory and
> to the cache), though.

Hi, Bagas,

Unfortunately, the ccache command did not work as expected. It still 
calls the gcc compiler proper,
even in the second run ...

PID USER      PR  NI    VIRT    RES    SHR S %CPU  %MEM     TIME+ COMMAND
29213 root      20   0   67420  55100  15676 R  98.1   0.3 0:02.42 
/opt/alt/python38/bin/python3 /usr/bin/imunify360-agent rstatus
29374 mtodorov  30  10  133932 110104  18408 R  98.1   0.7 0:01.46 
/usr/lib/gcc/x86_64-linux-gnu/8/cc1 -quiet -nostdinc -I 
./arch/x86/include -I ./arch/x86/include/generated -I ./include -I ./arc+
  1079 root      20   0  589008 371700   2320 S  97.1   2.3 2343:20 
/usr/sbin/bacula-fd -f -c /etc/bacula/bacula-fd.conf
29425 mtodorov  30  10   95052  71520  16700 R  76.9   0.4 0:00.80 
/usr/lib/gcc/x86_64-linux-gnu/8/cc1 -quiet -nostdinc -I 
./arch/x86/include -I ./arch/x86/include/generated -I ./include -I ./arc+
29459 mtodorov  30  10   79268  51432  12732 R  46.2   0.3 0:00.48 
/usr/lib/gcc/x86_64-linux-gnu/8/cc1 -quiet -nostdinc -I 
./arch/x86/include -I ./arch/x86/include/generated -I ./include -I ./arc+
29462 mtodorov  30  10   65516  34828   9224 R  43.3   0.2 0:00.45 
/usr/lib/gcc/x86_64-linux-gnu/8/cc1 -E -quiet -nostdinc -I 
./arch/x86/include -I ./arch/x86/include/generated -I ./include -I ./+
29505 mtodorov  30  10       0      0      0 R  32.7   0.0 0:00.34 [cc1]
29506 mtodorov  30  10   65940  38560  12576 R  32.7   0.2 0:00.34 
/usr/lib/gcc/x86_64-linux-gnu/8/cc1 -quiet -nostdinc -I 
./arch/x86/include -I ./arch/x86/include/generated -I ./include -I ./arc+
29523 mtodorov  30  10   52180  21572   9344 R  17.3   0.1 0:00.18 
/usr/lib/gcc/x86_64-linux-gnu/8/cc1 -E -quiet -nostdinc -I 
./arch/x86/include -I ./arch/x86/include/generated -I ./include -I ./+
  5517 root      20   0  780956  77812  10052 S  11.5   0.5 466:39.30 
/opt/alt/python38/bin/python3 -m im360.run
29384 mtodorov  30  10    7132   3964   3568 S  11.5   0.0 0:00.12 
/usr/local/bin/ccache gcc -Wp,-MMD,sound/i2c/other/.ak4114.o.d -nostdinc 
-I./arch/x86/include -I./arch/x86/include/generated -I.+
29407 mtodorov  30  10    7116   3748   3360 S  10.6   0.0 0:00.11 
/usr/local/bin/ccache gcc -Wp,-MMD,fs/exfat/.nls.o.d -nostdinc 
-I./arch/x86/include -I./arch/x86/include/generated -I./include -+
29451 mtodorov  30  10    7132   3968   3568 S   9.6   0.0 0:00.10 
/usr/local/bin/ccache gcc 
-Wp,-MMD,drivers/pinctrl/intel/.pinctrl-tigerlake.o.d -nostdinc 
-I./arch/x86/include -I./arch/x86/incl+
29522 mtodorov  30  10    8288   7520   1468 R   8.7   0.0 0:00.09 
scripts/genksyms/genksyms -r /dev/null
29524 mtodorov  30  10   17008  12480   3204 R   4.8   0.1 0:00.05 as -I 
./arch/x86/include -I ./arch/x86/include/generated -I ./include -I 
./arch/x86/include/uapi -I ./arch/x86/include/generated+
  8896 mtodorov  20   0   12212   4616   3348 R   3.8   0.0 0:04.58 top

29525 mtodorov  30  10   15028  10412 3248 R   3.8   0.1   0:00.04 as -I 
./arch/x86/include -I ./arch/x86/include/generated -I ./include -I 
./arch/x86/include/uapi -I ./arch/x86/include/generated+

I used the command line:
$ make CC="/usr/local/bin/ccache gcc" KBUILD_BUILD_TIMESTAMP="" -j10 deb-pkg

I tried to install the latest ccache (version 4.6.3), but it silently 
calls cc1, despite having 4GiB of cache in $HOME/.ccache ...

I must be doing something wrong. Heavens are not aligned in favour to me 
this day :-/

--
Mirsad Goran Todorovac
Sistem inženjer
Grafički fakultet | Akademija likovnih umjetnosti
Sveučilište u Zagrebu
-- 
System engineer
Faculty of Graphic Arts | Academy of Fine Arts
University of Zagreb, Republic of Croatia
The European Union


  parent reply	other threads:[~2022-10-14 21:44 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-27 17:57 6.0.0-RC kernels trigger Firefox snap bug with 6.0.0-rc3 through 6.0.0-rc7 Mirsad Goran Todorovac
2022-09-30 10:48 ` BUG: " Mirsad Todorovac
2022-09-30 11:21   ` Slade Watkins
2022-09-30 11:44     ` Mirsad Todorovac
2022-09-30 12:03       ` Slade Watkins
2022-09-30 18:27         ` Slade Watkins
2022-10-03  8:18           ` Mirsad Goran Todorovac
2022-10-07  8:47             ` Slade Watkins
2022-10-07 10:55               ` Mirsad Goran Todorovac
2022-10-06 10:39   ` Marc Miltenberger
2022-10-06 16:27     ` Slade Watkins
2022-10-06 12:00 ` Thorsten Leemhuis
2022-10-06 12:25   ` Thorsten Leemhuis
2022-10-06 12:43     ` Mirsad Todorovac
2022-10-06 13:23       ` Thorsten Leemhuis
     [not found]         ` <c05134cc-92fa-dac2-e738-cf6fae194521@alu.unizg.hr>
2022-10-06 16:58           ` Thorsten Leemhuis
     [not found]             ` <f23494b5-b4ea-a32a-e260-4541039dedc8@alu.unizg.hr>
2022-10-07  6:09               ` Mirsad Goran Todorovac
2022-10-07  6:31               ` Mirsad Goran Todorovac
2022-10-08 13:41             ` Mirsad Goran Todorovac
2022-10-08 16:46               ` Mirsad Goran Todorovac
     [not found]               ` <c40786ab-8b3b-9b64-683f-dac589c024df@alu.unizg.hr>
2022-10-09  6:45                 ` BUG reproduced: " Thorsten Leemhuis
2022-10-09 22:45                   ` Slade Watkins
2022-10-11 17:53                     ` Mirsad Goran Todorovac
2022-10-12  6:05                 ` Mirsad Todorovac
2022-10-12 22:58                   ` Slade Watkins
2022-10-06 12:38   ` Mirsad Todorovac
2022-10-12  7:46 ` Bagas Sanjaya
2022-10-13 13:24   ` Mirsad Goran Todorovac
2022-10-14 10:32     ` Mirsad Todorovac
2022-10-14 12:28       ` Bagas Sanjaya
2022-10-14 15:06         ` Mirsad Todorovac
2022-10-14 21:44         ` Mirsad Goran Todorovac [this message]
     [not found]           ` <ddf13e46-c091-80b2-3b57-c43ac45435f0@alu.unizg.hr>
2022-10-15 14:59             ` Fwd: BISECT result: " Mirsad Goran Todorovac
2022-10-15 15:32             ` Thorsten Leemhuis
2022-10-15 20:59               ` Phillip Lougher
2022-10-16 12:21                 ` Bagas Sanjaya
2022-10-16 12:24                   ` Bagas Sanjaya
2022-10-16 12:43                     ` Thorsten Leemhuis
2022-11-04 12:06                       ` BISECT result: 6.0.0-RC kernels trigger Firefox snap bug with 6.0.0-rc3 through 6.0.0-rc7 #forregzbot Thorsten Leemhuis
2022-10-17  9:45                   ` BISECT result: 6.0.0-RC kernels trigger Firefox snap bug with 6.0.0-rc3 through 6.0.0-rc7 Bagas Sanjaya
2022-10-17 12:32                     ` Bagas Sanjaya
2022-10-17 17:25                       ` Phillip Lougher
2022-10-18  1:38                         ` Bagas Sanjaya
2022-10-18  8:35                     ` Bagas Sanjaya
2022-10-16 15:55                 ` Mirsad Goran Todorovac
2022-10-16 19:55                   ` Phillip Lougher
2022-10-16 20:19                     ` Phillip Lougher
2022-10-17  2:03                       ` Bagas Sanjaya
2022-10-17  2:41                         ` Mirsad Goran Todorovac
2022-10-17  4:15                           ` Bagas Sanjaya
2022-10-17  8:32                             ` Mirsad Goran Todorovac
2022-10-17 13:22                     ` Mirsad Goran Todorovac
2022-10-17 13:59                       ` Phillip Lougher
2022-10-18  5:49                         ` Mirsad Todorovac
2022-10-18  2:15                 ` Jintao Yin
2022-10-18  6:52                   ` Mirsad Todorovac
2022-10-18  8:24                     ` Hsin-Yi Wang
2022-10-18  9:23                       ` Mirsad Todorovac
2022-10-18 12:59                       ` Bagas Sanjaya
2022-10-18 13:38                         ` Phillip Lougher
2022-10-18 13:36                       ` Phillip Lougher
2022-10-18  7:23                   ` Bagas Sanjaya
2022-10-18  8:33                     ` Bagas Sanjaya
2022-10-18 17:15                   ` Phillip Lougher
2022-10-18 17:41                     ` Mirsad Goran Todorovac
2022-10-18 17:41                     ` Phillip Lougher
     [not found]                       ` <1b41bf99-754e-8b90-cc2c-67f50642e2dc@alu.unizg.hr>
2022-10-18 21:34                         ` Mirsad Goran Todorovac
2022-10-19  5:17                       ` Slade Watkins
2022-10-19 11:07                         ` Mirsad Goran Todorovac
2022-10-19  7:53                       ` Bagas Sanjaya
2022-10-20  6:59                       ` Jintao Yin
2022-10-20  7:43                       ` Jintao Yin
2022-10-20  9:51                         ` Mirsad Goran Todorovac
2022-10-20 13:02                         ` Bagas Sanjaya
2022-10-20 13:55                       ` Jintao Yin
2022-10-20 15:00                         ` Mirsad Todorovac
2022-10-20 15:45                         ` Phillip Lougher
2022-10-20 23:23                           ` Bagas Sanjaya
2022-10-20 23:44                             ` Slade Watkins
2022-10-21  1:48                               ` Phillip Lougher
2022-10-21  7:12                                 ` Mirsad Goran Todorovac
2022-10-21  8:33                                 ` Mirsad Goran Todorovac
2022-10-21  3:09                           ` Jintao Yin
2022-10-20 15:49                         ` Phillip Lougher
2022-10-20 16:00                         ` Mirsad Todorovac
     [not found]         ` <fa6c69ff-a493-a519-3564-1a1ccb932553@alu.unizg.hr>
2022-10-18 10:55           ` Bagas Sanjaya
2022-10-18 11:07             ` Mirsad Todorovac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=951eb72c-09b5-1832-3852-fa25e423b840@alu.unizg.hr \
    --to=mirsad.todorovac@alu.unizg.hr \
    --cc=bagasdotme@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcmiltenberger@gmail.com \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=srw@sladewatkins.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.