Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580961 > unrolled thread

Re: [PATCH v4 0/4] Introduce the initify gcc plugin

Started byEmese Revfy <re.emese@gmail.com>
First post2017-02-15 01:30 +0100
Last post2017-02-20 22:50 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v4 0/4] Introduce the initify gcc plugin Emese Revfy <re.emese@gmail.com> - 2017-02-15 01:30 +0100
    Re: [PATCH v4 0/4] Introduce the initify gcc plugin Kees Cook <keescook@chromium.org> - 2017-02-15 20:30 +0100
      Re: [PATCH v4 0/4] Introduce the initify gcc plugin Emese Revfy <re.emese@gmail.com> - 2017-02-20 22:50 +0100

#1580961 — Re: [PATCH v4 0/4] Introduce the initify gcc plugin

FromEmese Revfy <re.emese@gmail.com>
Date2017-02-15 01:30 +0100
SubjectRe: [PATCH v4 0/4] Introduce the initify gcc plugin
Message-ID<taVDP-tw-13@gated-at.bofh.it>
On Thu, 12 Jan 2017 15:40:41 -0800
Kees Cook <keescook@chromium.org> wrote:

> WARNING: drivers/clk/bcm/built-in.o(.text+0xec2): Section mismatch in
> reference from the function clk_gate() to the variable
> .init.rodata.str:__func__.29708
> The function clk_gate() references
> the variable __initconst __func__.29708.
> This is often because clk_gate lacks a __initconst
> annotation or the annotation of __func__.29708 is wrong.

Thanks for the report, it will be fixed in the next grsec patch.

-- 
Emese

[toc] | [next] | [standalone]


#1581593

FromKees Cook <keescook@chromium.org>
Date2017-02-15 20:30 +0100
Message-ID<tbdr3-42K-5@gated-at.bofh.it>
In reply to#1580961
On Tue, Feb 14, 2017 at 4:23 PM, Emese Revfy <re.emese@gmail.com> wrote:
> On Thu, 12 Jan 2017 15:40:41 -0800
> Kees Cook <keescook@chromium.org> wrote:
>
>> WARNING: drivers/clk/bcm/built-in.o(.text+0xec2): Section mismatch in
>> reference from the function clk_gate() to the variable
>> .init.rodata.str:__func__.29708
>> The function clk_gate() references
>> the variable __initconst __func__.29708.
>> This is often because clk_gate lacks a __initconst
>> annotation or the annotation of __func__.29708 is wrong.
>
> Thanks for the report, it will be fixed in the next grsec patch.

Very cool, thanks! What did the problem turn out to be?

-Kees

-- 
Kees Cook
Pixel Security

[toc] | [prev] | [next] | [standalone]


#1584924

FromEmese Revfy <re.emese@gmail.com>
Date2017-02-20 22:50 +0100
Message-ID<td40i-1CZ-21@gated-at.bofh.it>
In reply to#1581593
On Wed, 15 Feb 2017 11:27:06 -0800
Kees Cook <keescook@chromium.org> wrote:

> On Tue, Feb 14, 2017 at 4:23 PM, Emese Revfy <re.emese@gmail.com> wrote:
> > On Thu, 12 Jan 2017 15:40:41 -0800
> > Kees Cook <keescook@chromium.org> wrote:
> >
> >> WARNING: drivers/clk/bcm/built-in.o(.text+0xec2): Section mismatch in
> >> reference from the function clk_gate() to the variable
> >> .init.rodata.str:__func__.29708
> >> The function clk_gate() references
> >> the variable __initconst __func__.29708.
> >> This is often because clk_gate lacks a __initconst
> >> annotation or the annotation of __func__.29708 is wrong.
> >
> > Thanks for the report, it will be fixed in the next grsec patch.
> 
> Very cool, thanks! What did the problem turn out to be?

You can find it here:
https://github.com/ephox-gcc-plugins/initify/commit/73e857aa47bde7cc78ed865a008d1519893c0f54

-- 
Emese

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web