Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1333172
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] branch tracer: fix freak link error |
| Date | 2016-02-12 23:20 +0100 |
| Message-ID | <r1ued-4Bn-3@gated-at.bofh.it> (permalink) |
| References | <r1trQ-408-3@gated-at.bofh.it> <r1tUS-4d1-7@gated-at.bofh.it> <r1ued-4Bn-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Friday 12 February 2016 17:12:37 Steven Rostedt wrote: > On Fri, 12 Feb 2016 22:52:10 +0100 > Arnd Bergmann <arnd@arndb.de> wrote: > > > On Friday 12 February 2016 22:49:07 Arnd Bergmann wrote: > > > Now I have to check if it does anything to the spurious "maybe-uninitialized" > > > warnings that I saw creeping in with PROFILE_ALL_BRANCHES. My guess is > > > that it doesn't fix them (I submitted a patch to turn off those > > > warnings today when PROFILE_ALL_BRANCHES is set), but I'll try anyway. > > > > Ok, that was easy: they are all still there, so we still need to > > pass -Wno-maybe-uninitialized when using PROFILE_ALL_BRANCHES to > > avoid flooding the log with useless warnings. > > Yeah, those warnings were the reason I turned PROFILE_ALL_BRANCHES into > a tristate and not a boolean, otherwise a make allmodconfig or > allyesconfig would enable it and spam the compile with those warnings. > > I simply ignore them, so adding a way to turn them off when that is > enabled is probably a good idea. Ok. The series I sent today was titled "[PATCH 0/5] gcov fixes and maybe-uninitialized warnings", and I disable the warnings for both GCOV_PROFILE_ALL and PROFILE_ALL_BRANCHES there, along with CC_OPTIMIZE_FOR_SIZE and UBSAN_SANITIZE_ALL that already do that today. The patch series also makes sure that all four options are disabled in allmodconfig (today they are disabled because of CC_OPTIMIZE_FOR_SIZE) and the remaining warnings I get in both allmodconfig and randconfig are finally useful. Arnd
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] branch tracer: fix freak link error Arnd Bergmann <arnd@arndb.de> - 2016-02-12 22:30 +0100
Re: [PATCH] branch tracer: fix freak link error Arnd Bergmann <arnd@arndb.de> - 2016-02-12 22:50 +0100
Re: [PATCH] branch tracer: fix freak link error Arnd Bergmann <arnd@arndb.de> - 2016-02-12 23:00 +0100
Re: [PATCH] branch tracer: fix freak link error Arnd Bergmann <arnd@arndb.de> - 2016-02-12 23:20 +0100
Re: [PATCH] branch tracer: fix freak link error Steven Rostedt <rostedt@goodmis.org> - 2016-02-12 23:20 +0100
Re: [PATCH] branch tracer: fix freak link error Nicolas Pitre <nicolas.pitre@linaro.org> - 2016-02-12 22:50 +0100
Re: [PATCH] branch tracer: fix freak link error Steven Rostedt <rostedt@goodmis.org> - 2016-02-15 18:50 +0100
Re: [PATCH] branch tracer: fix freak link error Arnd Bergmann <arnd@arndb.de> - 2016-02-15 21:20 +0100
Re: [PATCH] branch tracer: fix freak link error Steven Rostedt <rostedt@goodmis.org> - 2016-02-15 21:30 +0100
Re: [PATCH] branch tracer: fix freak link error Arnd Bergmann <arnd@arndb.de> - 2016-02-16 10:30 +0100
csiph-web