[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a3Qm_5bWEeLA+NZR4yU051J_vDbHgNziAGF5X2sGK1v2A@mail.gmail.com>
Date: Mon, 22 May 2017 16:19:28 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Helge Deller <deller@....de>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Parisc List <linux-parisc@...r.kernel.org>
Subject: Re: Build regressions/improvements in v4.12-rc2
On Mon, May 22, 2017 at 11:49 AM, Geert Uytterhoeven
<geert@...ux-m68k.org> wrote:
> Hi Arnd, Helge,
>
> On Mon, May 22, 2017 at 11:35 AM, Geert Uytterhoeven
> <geert@...ux-m68k.org> wrote:
>> Below is the list of build error/warning regressions/improvements in
>> v4.12-rc2[1] compared to v4.11[2].
>>
>> Summarized:
>> - build errors: +2/-3
>> - build warnings: +27717/-896
>
>> [1] http://kisskb.ellerman.id.au/kisskb/head/08332893e37af6ae779367e78e444f8f9571511d/ (267 out of 270 configs)
>
>> 27717 warning regressions:
>>
>> [Deleted 26393 lines about "warning: ... [-Wpointer-sign]" on parisc-allmodconfig]
>
> Do you know where these are coming from? They appeared in v4.12-rc1.
> The toolchain on kisskb hasn't changed (still gcc-4.6.3-nolibc).
>
>> [Deleted 1166 lines about "warning: -ffunction-sections disabled; it makes profiling impossible [enabled by default]" on parisc-allmodconfig]
>
> This has been introduced a while ago. Would be good to get it fixed, too.
> I guess the "cflags-y += -ffunction-sections" still needs some CONFIG check,
> despite commit 366dd4ea9d5f0eb7 ("parisc: Fix ftrace function tracer")?
I found this mailing list discussion:
https://gcc.gnu.org/ml/gcc-help/2008-11/msg00141.html
https://gcc.gnu.org/ml/gcc-help/2008-11/msg00139.html
This patch was merged into gcc-4.8:
https://patchwork.ozlabs.org/patch/197134/
As the -ffunction-sections is a workaround for another problem, we could
use make it conditional on having a more recent compiler here.
Arnd
Powered by blists - more mailing lists