Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp425802imm; Fri, 1 Jun 2018 03:31:17 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLcIWyBx5cWqfQaiS0mELu5qAVnF2whs5iUxWzmoj3ywMcA+kuFQVFxj6XKbzfwKMDS3+Cr X-Received: by 2002:aa7:810f:: with SMTP id b15-v6mr10195351pfi.79.1527849076969; Fri, 01 Jun 2018 03:31:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527849076; cv=none; d=google.com; s=arc-20160816; b=ZhkoRrZRTSsvkrG7/dY/Gk3FDGZaYBkcU7yvR73gIX35bAsnQXON2pJFe48huMUyOH 9lJy5kKaf/206X+vYcBmFBsTGsWD3enp9tQ8Up1+CGXx0B5ESQ1YFD2NQGXSgiWmAGT0 vG0SwTc7as5KhDVQL3zupJ1C8FqlKu3B4QoiG+DamS8ggwxTuSWHAHFbqqAb07KasAVz g4bNq2RTWUT5UzopUckH0B/9Ld8nG1fbyNz+KuM7TIlhRHzb3JLadPZUsiULPM4r6+dK SY4uhCYsFykCOtoX25GiCRmoHw1ZJ0Aq3/q5vNV+3f2zm3hHTh2eEHCFfopjKgRPc3Tg j+HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=+qvOBColEyGJCLuYVFu3HuRDEPehVJlRxzN2482jXFE=; b=akUgi0ge+6frk/85y2pbu/MQ6bj+A3NDnbFM7/nzLks2dr/LUGcwM9/0yley4XRapG XXKA/8+eemr6HUfWwrglztAzkR/3YuHl2nBcgg4jWIVrH/ijPVu2O8/sFxzsdHU+Lien skPt1/bp87z2Zx7pg0BtZRix34V6N2HzTl8eMlbzMQG9GC+4swAfmOjfqe1Tqe+2ZAML qz5IXSEiXfKGccTx25/TcPOCj/7wQiZSMqEGEzeZ25EtlcKOVgt518P7BFzJ4uJ+61US WDTcg4RkoPPynzBiW1z6hWdgRCKiOMUQqnKhKuZ02oNBwA8YMkSZZnmi+yYidTBXKEXz PjoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Bi9p+NWg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z13-v6si3203748pfm.330.2018.06.01.03.31.02; Fri, 01 Jun 2018 03:31:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Bi9p+NWg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751512AbeFAKag (ORCPT + 99 others); Fri, 1 Jun 2018 06:30:36 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:31426 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293AbeFAKae (ORCPT ); Fri, 1 Jun 2018 06:30:34 -0400 Received: from mail-vk0-f45.google.com (mail-vk0-f45.google.com [209.85.213.45]) (authenticated) by conssluserg-04.nifty.com with ESMTP id w51AUQo6010553; Fri, 1 Jun 2018 19:30:26 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com w51AUQo6010553 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1527849027; bh=+qvOBColEyGJCLuYVFu3HuRDEPehVJlRxzN2482jXFE=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=Bi9p+NWgn1x41TydImTwLzryLMxJAnVOIq7Dvh789V3k6KhD63EUDudfk9teOOIWa 9t2+tNWdIVCBJqqOPAC39LlaU3xk9BasVbb+psyBJTr9uS1nY84AyZh4Pz7sVIGRHB JkgBQf02BEBXiDJcjm6/lCFcrWtMNWGJvy01IelxO3m5ygWBFEOBE5MjfDzpLNwlG3 DyO1FxcCqE3Dfxa5My/GqcxGdBuwVafr5H3GuL5n4mEfXjUJCjSXfEgqiBEOmrCIKW D1VfWdVmZ+KdC7fJLCLBPGmn8ugjtvsyM3sL7rfgzjXJIzDyueBSoG+kgjEojH5SjH fqz2pbVPIVADg== X-Nifty-SrcIP: [209.85.213.45] Received: by mail-vk0-f45.google.com with SMTP id o138-v6so5093267vkd.3; Fri, 01 Jun 2018 03:30:26 -0700 (PDT) X-Gm-Message-State: ALKqPwcYqZdKX1I4y8JiJXQBWWTCIMEm7+zTMkWznPxih6lmZmZXY2wj 107C8Xa4JO/8nFmNktKJMfgDCIkeyBVR6GhpIA4= X-Received: by 2002:a1f:9615:: with SMTP id y21-v6mr6316713vkd.154.1527849025309; Fri, 01 Jun 2018 03:30:25 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:20ab:0:0:0:0:0 with HTTP; Fri, 1 Jun 2018 03:29:44 -0700 (PDT) In-Reply-To: References: <1527499328-13213-1-git-send-email-yamada.masahiro@socionext.com> From: Masahiro Yamada Date: Fri, 1 Jun 2018 19:29:44 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 00/31] kconfig: move compiler capability tests to Kconfig To: Arnd Bergmann Cc: Linux Kbuild mailing list , Linux Kernel Mailing List , Kees Cook , Nicholas Piggin , "Luis R . Rodriguez" , Randy Dunlap , Ulf Magnusson , Sam Ravnborg , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-06-01 17:31 GMT+09:00 Arnd Bergmann : > On Wed, May 30, 2018 at 2:38 AM, Masahiro Yamada > wrote: >> 2018-05-28 21:23 GMT+09:00 Masahiro Yamada : >>> 2018-05-28 18:21 GMT+09:00 Masahiro Yamada : > >> >> I pushed this series to the for-next branch. >> Unless a significant problem is reported, >> I'd like to merge this series in the upcoming MW. >> At least, I need to keep it in linux-next for a while. >> >> Your comments and tags are still appreciated. >> I will add tags (or replace patches if necessary) later, >> but I want this series tested in linux-next >> to expose to more developers' eyes. >> >> It passed my local test. O-day bot did not report anything so far. > > I found a problem when using ccache, resulting in this output while building > scripts/kconfig: > > $ make V=1 O=obj-tmp/ CC="ccache gcc" defconfig > make[1]: Entering directory '/git/arm-soc' > make -C /home/arnd/arm-soc/obj-tmp KBUILD_SRC=/git/arm-soc \ > -f /git/arm-soc/Makefile defconfig > make[2]: Entering directory '/git/arm-soc/obj-tmp' > make -f ../scripts/Makefile.build obj=scripts/basic > gcc -Wp,-MD,scripts/basic/.fixdep.d -Iscripts/basic -Wall > -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer > -std=gnu89 -o scripts/basic/fixdep ../scripts/basic/fixdep.c > rm -f .tmp_quiet_recordmcount > ln -fsn .. source > /bin/bash ../scripts/mkmakefile \ > .. . 4 17 > make -f ../scripts/Makefile.build obj=scripts/kconfig defconfig > gcc -Wp,-MD,scripts/kconfig/.conf.o.d -Iscripts/kconfig -Wall > -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer > -std=gnu89 -c -o scripts/kconfig/conf.o ../scripts/kconfig/conf.c > bison -oscripts/kconfig/zconf.tab.c -t -l ../scripts/kconfig/zconf.y > flex -oscripts/kconfig/zconf.lex.c -L ../scripts/kconfig/zconf.l > gcc -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -Iscripts/kconfig -Wall > -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer > -std=gnu89 -I../scripts/kconfig -c -o scripts/kconfig/zconf.tab.o > scripts/kconfig/zconf.tab.c > gcc -o scripts/kconfig/conf scripts/kconfig/conf.o > scripts/kconfig/zconf.tab.o > scripts/kconfig/conf --defconfig=arch/arm/configs/multi_v7_defconfig Kconfig > ccache: invalid option -- 'r' > Usage: > ccache [options] > ccache compiler [compiler options] > compiler [compiler options] (via symbolic link) > > Options: > -c, --cleanup delete old files and recalculate size counters > (normally not needed as this is done automatically) > -C, --clear clear the cache completely (except configuration) > -F, --max-files=N set maximum number of files in cache to N (use 0 for > no limit) > -M, --max-size=SIZE set maximum size of cache to SIZE (use 0 for no > limit); available suffixes: k, M, G, T (decimal) and > Ki, Mi, Gi, Ti (binary); default suffix: G > -o, --set-config=K=V set configuration key K to value V > -p, --print-config print current configuration options > -s, --show-stats show statistics summary > -z, --zero-stats zero statistics counters > > -h, --help print this help text > -V, --version print version and copyright information > > See also . > # > # configuration written to .config > # > make[2]: Leaving directory '/git/arm-soc/obj-tmp' > make[1]: Leaving directory '/git/arm-soc' > > It appears to just keep going after this output, but clearly something is wrong. > I bisected it to bde197706614 ("gcc-plugins: test plugin support in Kconfig > and clean up Makefile"). Thanks for the report! In the original scripts/Makefile.gcc-plugins, the parameters to scripts/gcc-plugin.sh were quoted by "..." I need to keep quoting. https://patchwork.kernel.org/patch/10442941/ Hmm, too much quoting is messy. It works though... -- Best Regards Masahiro Yamada