From: SF Markus Elfring Date: Mon, 04 Dec 2017 09:00:54 +0000 Subject: Re: Difficulties for compilation without extra optimisation Message-Id: List-Id: References: <7f072f78-eef4-6d87-d233-cee71dac5a32@users.sourceforge.net> <1512314250.3673.6.camel@primarydata.com> <20171203162256.4ea0750d@vmware.local.home> In-Reply-To: <20171203162256.4ea0750d@vmware.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: kernel-janitors@vger.kernel.org > Why would you compile the kernel without optimization? Can another reason be occasionally still relevant? Will the compilation be a bit quicker when extra data processing could be omitted? > There's many places in the kernel that WILL NOT BUILD without optimization. Would you like to keep the software situation in this way? > In fact, we do a lot of tricks to make sure that things work the way > we expect it to, because we add broken code that only gets compiled out > when gcc optimizes the code the way we expect it to be, > and the kernel build will break otherwise. * Can this goal be also achieved without the addition of “broken code”? * How do you think about to improve the error handling there? Regards, Markus