buildkernel failed - if_iwn.c: iwn_read_firmware (INVARIANTS again?)

Sepherosa Ziehau sepherosa at gmail.com
Fri Nov 8 07:49:53 PST 2013


May be that one could be removed?  We may just put ASSERT_SERIALIZED or
ASSERT_NOT_SERIALIZED there, since we have setup the serializer properly
for wlan in the last release cycle.

Best Regards,
sephe



On Fri, Nov 8, 2013 at 8:55 PM, Sascha Wildner <saw at online.de> wrote:

> On Fri, 08 Nov 2013 13:26:45 +0100, Andrey Oktyabrskiy <ano at bestmx.net>
> wrote:
>
>  $ make buildkernel KERNCONF=ANO
>> ...
>> /usr/src/sys/dev/netif/iwn/if_iwn.c: In function 'iwn_read_firmware':
>> /usr/src/sys/dev/netif/iwn/if_iwn.c:5676:2: error: implicit declaration
>> of function 'IS_SERIALIZED' [-Werror=implicit-function-declaration]
>> /usr/src/sys/dev/netif/iwn/if_iwn.c:5676:2: error: nested extern
>> declaration of 'IS_SERIALIZED' [-Werror=nested-externs]
>> cc1: all warnings being treated as errors
>> *** Error code 1
>>
>
> Yeah, it's a known issue and comes from compiling without INVARIANTS. IIRC
> I looked at it once and it didn't look so easy. It is also mentioned in
> http://bugs.dragonflybsd.org/issues/2449 (unfortunately closed
> prematurely).
>
> CC'ing Matt since he both added the iwn code in question (
> b8b498ed88a72ccd6a0b0fd0d10a2061576f3a47) and added iwn to the default
> configs too (ae80e77cae0ebec810b46ecf9bf92428e28b8f7c). :)
>
> We could #define INVARIANTS for the iwn driver only, but it would be kind
> of a hack. Any better ideas?
>
> Sascha
>



-- 
Tomorrow Will Never Die
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20131108/ae7349f5/attachment-0003.htm>


More information about the Kernel mailing list