Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

This screen intentionally left blank.


computers / comp.os.linux.misc / Enable '-Werror' by default for all kernel builds

SubjectAuthor
o Enable '-Werror' by default for all kernel buildsAndrei Z.

1
Enable '-Werror' by default for all kernel builds

<sh6uca$1ff2$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7629&group=comp.os.linux.misc#7629

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!aioe.org!8nyBOrNruJ2z9fsiSFcGvQ.user.46.165.242.75.POSTED!not-for-mail
From: no-email@invalid.invalid (Andrei Z.)
Newsgroups: comp.os.linux.misc
Subject: Enable '-Werror' by default for all kernel builds
Date: Tue, 7 Sep 2021 08:46:50 +0300
Organization: Aioe.org NNTP Server
Message-ID: <sh6uca$1ff2$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="48610"; posting-host="8nyBOrNruJ2z9fsiSFcGvQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
X-Mozilla-News-Host: news://nntp.aioe.org:119
 by: Andrei Z. - Tue, 7 Sep 2021 05:46 UTC

kernel/git/torvalds/linux.git
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3fe617ccafd6f5bb33c2391d6f4eeb41c1fd0151

<quote>

Enable '-Werror' by default for all kernel builds
.... but make it a config option so that broken environments can disable
it when required.

We really should always have a clean build, and will disable specific
over-eager warnings as required, if we can't fix them. But while I
fairly religiously enforce that in my own tree, it doesn't get enforced
by various build robots that don't necessarily report warnings.

So this just makes '-Werror' a default compiler flag, but allows people
to disable it for their configuration if they have some particular issues.

Occasionally, new compiler versions end up enabling new warnings, and it
can take a while before we have them fixed (or the warnings disabled if
that is what it takes), so the config option allows for that situation.

Hopefully this will mean that I get fewer pull requests that have new
warnings that were not noticed by various automation we have in place.

Knock wood.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

<unquote>

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor