Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752488AbdLCOPx (ORCPT ); Sun, 3 Dec 2017 09:15:53 -0500 Received: from mout.web.de ([212.227.17.11]:57374 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752362AbdLCOPs (ORCPT ); Sun, 3 Dec 2017 09:15:48 -0500 Subject: Difficulties for compilation without extra optimisation From: SF Markus Elfring To: kernel-janitors@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nfs@vger.kernel.org Cc: LKML References: <7f072f78-eef4-6d87-d233-cee71dac5a32@users.sourceforge.net> Message-ID: Date: Sun, 3 Dec 2017 15:15:37 +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: <7f072f78-eef4-6d87-d233-cee71dac5a32@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:nyYfciHjXS3t7ecMia97eoA1cbN1G6V7VokPus8AiQPzQzCxLL4 NNkLBJKMM+9fSwh+ofztwJSko2WS0qDgOGsgG83afN3WEgy/HxT1DJq9yeJdBLmiaH0zdSy +17NCzSu2gf6Wwbp+R0a8df+amsSed1zZIYoMo9y6OTCOj5s6ZvP9jtwUL2owePid4QJ/xq 4Wzctzaqjr0Tq2nvjQw2g== X-UI-Out-Filterresults: notjunk:1;V01:K0:W8AIm9xWbng=:QVCAUOEpPb/dx2InHaQOtW 6Aga2gTpvtzAQ0DHuyqwkXXblmTRxXKM/rHXQtVJGkdKB0gQemNmX98Q+Adh4QD4vpAOLg2Rm lnukqeYddelLeynp++R1HsIv+UvDboOmns8xV2sAFmue5EqqsHiwfMVe3fOaAG2COxRbzXVrr pUOl747q2rOaPS46ZPD4ZAuw9YTF/CuXD5omsEJWsZf75tNfCM1qOrDqs3NRnCmu9idhe8JPp noPJ2Pjwrd6av876l7ZP/nXO4JcotFIsWIf0/oSsrjMAj2vh/J+UblGxqHzizNzC66wqY+Sc8 J8z1S78pbCed1lDPDqVN4/y6uGr29T7GzDHfTBA7Ut+KdoWW33/GV5iW1K0adkAu0EvZ/gJhA qLs+Y6sKCHUUliZjW+VXhl4MvhWPZ2n0jmxDgSDLOyroeYoS8Dcw7Z6G71rwaPC2IUKS2rprL 5U26T3U94aPXt2/av/scJkDq5zJ4gJ6DT2p8s9d0VssaxzouDhZIfeX41K7q4aTarn85fqdEK I7oetFgEG+Lb73mVEYx+bJQzyEPo/pXz0gTQO0ylAF+1kq69RmrbH9/X6IF0ALvKXrKAoisTB l+Q9YPEtZ4nN+utnFX7NiHyvhe+uHl6yogbY3zw086IhWU1SwxHQQWnJE4QBLuIOGLywd7wGz cmHizGzDqv76K3ata1o2nACRyfAO3K/NnmM1EHUppxwqubWhmsjcYh5LhwhdgAOwZ65sal77h Mse/THR/iyPJn+GUMBH5stpu/cl0qRDxOFjvqHYAbYp8qNFAd+33jzls93KiXQiYHCsmMVHio faq5/G28DXBpqfLqWbKN97gax4vdUZoWi9xB7WiFOpz8cBTOAE= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1400 Lines: 34 Hello, I came along some software modules where I suggested source code adjustments. Example: nfs/write: Use common error handling code in nfs_lock_and_join_requests() https://lkml.org/lkml/2017/11/7/599 https://patchwork.kernel.org/patch/10047013/ https://lkml.kernel.org/r/<7f072f78-eef4-6d87-d233-cee71dac5a32@users.sourceforge.net> I would like to check corresponding build results then without extra optimisation applied by the compiler. But I got surprised by error messages for a command like the following. elfring@Sonne:~/Projekte/Linux/next-patched> my_cc=/usr/bin/gcc-7 && LANG=C make -j4 CC="${my_cc}" HOSTCC="${my_cc}" EXTRA_CFLAGS='-O0' allmodconfig fs/nfs/write.o … In file included from ./include/linux/compiler.h:58:0, from ./include/uapi/linux/stddef.h:1, from ./include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from ./include/uapi/linux/types.h:13, from ./include/linux/types.h:5, from fs/nfs/write.c:9: ./arch/x86/include/asm/jump_label.h: In function ‘trace_nfs_writeback_page_enter’: ./include/linux/compiler-gcc.h:275:38: warning: asm operand 0 probably doesn’t match constraints #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) … How do you think about to improve this software situation anyhow? Regards, Markus