Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752762AbdLCV5e (ORCPT ); Sun, 3 Dec 2017 16:57:34 -0500 Received: from mout.web.de ([212.227.17.11]:57676 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751781AbdLCV5c (ORCPT ); Sun, 3 Dec 2017 16:57:32 -0500 Subject: Re: Difficulties for compilation without extra optimisation To: Steven Rostedt , kernel-janitors@vger.kernel.org Cc: linux-kselftest@vger.kernel.org, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Trond Myklebust References: <7f072f78-eef4-6d87-d233-cee71dac5a32@users.sourceforge.net> <1512314250.3673.6.camel@primarydata.com> <20171203162256.4ea0750d@vmware.local.home> From: SF Markus Elfring Message-ID: Date: Sun, 3 Dec 2017 22:56:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171203162256.4ea0750d@vmware.local.home> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:RWEpGBH3X/C7jlBdMOx5cAWVnMNn4MnEPapGiFiUwgs/xG1KFIV 0TJpjttSQpJ3S7SHsSchmfd4n3lrxKQkXFd1htcBbLW9vX6bcktrSfNO5+sA6yKvt9J2UQY G7dS0ka0OQF1jCDFJ7e1CS7n0ol/HwrszKaQIMvdyLTRPbBwd5amrPbvzhv6bXIPYowIrb6 Se4q/efMwm/5fRyWz2vTg== X-UI-Out-Filterresults: notjunk:1;V01:K0:x63JXLxXIUk=:AzokOrltfUjqV4bT3eojTq 5TIMUGhje4gRffb43btRayOVn6Lx6bOWbtGRSNlkwWsEekKUwEFriRkPrNkkNkhnbfhr4/WDR LmRxNbeSD3j1a9JP0Qd9d9xR5nwjXbUgPmTPjDuTZwVfX3dTrSjqe18F+E1UXLGMM2pmywxY2 yHsdv9lw/xDv6JJHxDjgXAT2wsobeFfFZchUyUFxjjE7s70poqr5blAEcVu+026YIxHYIA3RJ 8oe78omcBtYwKv1+y228BLSOCdQStccQCIwA2f4fj01SfawxfAWEoyHmfcBbDPplTpA55YFvD TI3s2FbduSXEQYbDf/c/3MAGOUuUMg2uj09kihFTFVQE0+PqztTj9/sTbUz9j/AJQVVdk7mBU PuU26DX4eg/2cxgonIIc6TsUUcn/E3xeCQ58VOZpLONzNqOVXqdUqo694ZeCeMIi5J7yS0UKf qwCviwr1sOIaxXV3IN/WW28P3cLlvn7Zdyzc2Q1QfV+nx10Hr+xBlzHVOQz0kKCRmGEhEQtbY NBiA11MWrJr8/esKPVQnuGbNTFFw1PRJDYpQDodz8PD2b243Hwzu5vnOJwLyybOOk0Qme3JVw uArH7tuO3K/F8Ldbhnw+b6EJxXKpEA6qcpVbmd/oCVQBZMRmWf8MTpsAHSWhtVnQWUiJzQVPQ FTkbLk2c6K5VaKVSW20kbNVUzKOZYikazYlyJ+ftbacAMh0LK/3fg6HA4sVhd3LPddo//NjXJ h6wS9zFr/82MJG9e2RfCg/yGzJL+9ie0bNQDjUn2jTWKFrppCC8965oPoYW1L0MPGxiSRaNZi lADfk+wxYKgjkNcx5iMxcPqTZOiYQ4nyeNggcw3gQxyCV4RACs= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 752 Lines: 24 > Why would you compile the kernel without optimization? I would like to see how big an effect finally is in such a build configuration after specific source code adjustments. > There's many places in the kernel that WILL NOT BUILD without optimization. I did not really know this detail so far. I noticed that the optimised build variants worked during my test comparisons. > 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. Thanks for your information. Can the software areas distinguished where such special handling matters? Regards, Markus