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

From: Kees Cook
Date: Thu Jan 12 2017 - 18:27:47 EST


On Thu, Jan 12, 2017 at 1:41 PM, Emese Revfy <re.emese@xxxxxxxxx> wrote:
> On Tue, 10 Jan 2017 17:09:31 -0800
> Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
>> WARNING: vmlinux.o(.text+0x1087e7): Section mismatch in reference from
>> the function rebind_subsystems() to the variable
>> .init.rodata.str:__func__.4400
>> The function rebind_subsystems() references
>> the variable __initconst __func__.4400.
>> This is often because rebind_subsystems lacks a __initconst
>> annotation or the annotation of __func__.4400 is wrong.
>
> Thanks for the report, you can find the fix here:
> https://github.com/ephox-gcc-plugins/initify/commit/25f34834e3373e067133bc5d39d42c50a3592d56

Awesome! I can confirm, it builds without warnings now. Thanks!

-Kees

--
Kees Cook
Nexus Security