The Objtools maintainer told me to ignore the warnings unless live patching it's used. This probably it means "Won't Fix" status to this bug report, however if some kernel hacker will want to fix it I would be so glad to see those warnings go away.
-------- Messaggio Inoltrato -------- Oggetto: Re: Compiling Linux with "bdver2" gcc optimization option Data: Thu, 8 Oct 2020 11:24:01 -0500 Mittente: Josh Poimboeuf <jpoim...@redhat.com> A: Franco Martelli <martelli...@gmail.com> CC: pet...@infradead.org On Thu, Oct 08, 2020 at 06:00:41PM +0200, Franco Martelli wrote: > Hello dear Objtools Maintainers, > > I got your email address by running the command: > > ~/linux-source-5.8$ perl scripts/get_maintainer.pl -f > tools/objtool/objtool.c > > from long time I optimize Linux kernel builds using the "bdver2" GCC > optimization option but sadly it doesn't work anymore. I don't know from > which Linux kernel version up to now the bug appeared. > I submitted this bug report [1] to the Debian BTS. I would ask if you > could pay yours attention and fix it. > Should I submit the bug report also to https://bugzilla.kernel.org ? > > Thank you very much for yours patience, best regards. > > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935536 Hi Franco, It will be difficult for objtool to support all the tuning options, especially since they're so rarely used. If you don't use live patching, it's probably safe to ignore the warnings. -- Josh