Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp570111imm; Fri, 8 Jun 2018 01:24:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL3fx8T2WHtmuTfR+FNuVssMUp0ZUyN5kJpnR348mwOmWXuEWK5w37Is1sDqC+e6S0j2UP8 X-Received: by 2002:a17:902:6847:: with SMTP id f7-v6mr5681629pln.173.1528446278799; Fri, 08 Jun 2018 01:24:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528446278; cv=none; d=google.com; s=arc-20160816; b=mrzt+JIB67c9+734Td7YCxIhkAFah9ZyzfV+IwWgi4+516HuCH8ZnvQhEZsxqqW6pl 4V6Vtkaq0YjqhXajlO/8gLrimoGshNWpngAPGYurslXeemf+vuQuDukOqCo9EldK6D22 jZNtC1gpb7MXtOi2qJ9rXE0uolg2EPh7ZZEGUXRLXreCsVswO91ISkPfrBqNDQ/HOj8f MnYWN3dJqPjeC18YOyuswaCM7wec5rCUWDzryYsnBjIs9z4wQEm5SGrtUUaXrMnViQYc ve3Ep8p385k2G/9P9KfVbUIUsPzCoaEIkGwnIof9fQxO21JbbBV86PbbkljhAspIhK/Y XuLQ== 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 :arc-authentication-results; bh=LUoCfABQXykEbDmg8Afn9uUe1pvrxvO4FI6fSj57kzM=; b=e9mfuU4elsopc6/p8ITX/nyrp6C9U/oIGsf8MMOQzVwCJSXiUA5XdghPJdrHLpsxFP FKsf7tgu1U0fbv+XkYXXoAtPe4Sb3+AEF92ZRAEZesX25rbQT0hUUkVubgjLLJ/RqE+M hh/0V6j8JnWjomx+zeBOLkxZPUgaIlgmFZwwm8yLvi9P+5/6MFgI6D7K4qPVbJnkbVBk MlAq/+HNMIqBmlrhFn7RWP2K2J/NcjR4Xm4YKHdEhqV7YpBTopgV37w3tzgjI/X8Dldy MwYTpQyZQ1JIz/e2353490vy3uQ44qJwzWE/3Wif5Ldg8pwBXsGYW4Rj/MduwwEPbLKi uJ7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=k3tuVFkd; 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 82-v6si28411143pgh.144.2018.06.08.01.24.24; Fri, 08 Jun 2018 01:24:38 -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=fail header.i=@gmail.com header.s=20161025 header.b=k3tuVFkd; 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 S932341AbeFHIX0 (ORCPT + 99 others); Fri, 8 Jun 2018 04:23:26 -0400 Received: from mail-ua0-f196.google.com ([209.85.217.196]:37229 "EHLO mail-ua0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932130AbeFHIWn (ORCPT ); Fri, 8 Jun 2018 04:22:43 -0400 Received: by mail-ua0-f196.google.com with SMTP id i3-v6so8338239uad.4; Fri, 08 Jun 2018 01:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=LUoCfABQXykEbDmg8Afn9uUe1pvrxvO4FI6fSj57kzM=; b=k3tuVFkd7GSD9TZwIbpiqTOfGPf2DjpVKAeYelM8E+dxvoIB1OPr6bPsj8owBj4Brp gv1qW7ACJEj50Xk8lOdvXVgL2HeO2NP8pqTRhM6JPtPORaiilBS3Al/uUt/ZdZ/ux7cZ oh4frNiBJ4cUXQdnWnjdT2fDT2fMa9aizt8fe8heRgSv7uGuKq7o4GzP0fR1Lwq1gWI9 1E++lk+zJEEmhQF2LDpm+90jRoYQuwVJZcF5861QKJlFwLR/E67f2kHbCzJPemudvrf/ JAKwqpfbTiXsMW9kebnzNKFtnJIe+BE4nzOTN86MTn7VybMmNA7nl/voRkcB3e6Khn66 71YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=LUoCfABQXykEbDmg8Afn9uUe1pvrxvO4FI6fSj57kzM=; b=hwNpSdERIbRUKk5Pbqc5/Z94Lm4JWaKupMvGJHpyDsReG080W4n3JqRhJ6eXPkyXoE ct41qAms0yNPcdJGUZ0TQEX4ZsojrIDAJiCuQR6BBPeDj6KJHkXQUS3fS3cypkLD3ai3 q1mH5AM1dT/cpeQFjhNNg+raZgsg8LQkr6Sjg52NWC/ZSAvdcxbEMvI9nTw+nx/CN0Uc /n6FZHLGNmgRFT/OlKArUZPwhQRZrT6vRolfSuOGZpCnC8ekdg9HZejSOP8RdYzEqNBT G6Hx79MhMeK2N6EHa6UkOQdUlR6qa3wqpwxzhTNJghADmZb+oNqDlLdifdKJrZaSwEXG Nm1w== X-Gm-Message-State: APt69E3f05zHDThFhno+yLx+W47ceo3XI73Lg1gG3ADtNNx2FP3PZXsz CuTw7nSlHzzo6ETunRBdOBLJpt8RmEQ3h7yUqqI= X-Received: by 2002:ab0:48e1:: with SMTP id y30-v6mr3524068uac.180.1528446162295; Fri, 08 Jun 2018 01:22:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:8596:0:0:0:0:0 with HTTP; Fri, 8 Jun 2018 01:22:41 -0700 (PDT) In-Reply-To: References: <1527499328-13213-1-git-send-email-yamada.masahiro@socionext.com> <1527499328-13213-22-git-send-email-yamada.masahiro@socionext.com> From: Geert Uytterhoeven Date: Fri, 8 Jun 2018 10:22:41 +0200 X-Google-Sender-Auth: y7szswoaj74IrePhqmJO2ls-dPs Message-ID: Subject: Re: [PATCH v5 21/31] kconfig: show compiler version text in the top comment To: Masahiro Yamada Cc: linux-kbuild , 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 Hi Yamada-san, On Fri, Jun 8, 2018 at 9:04 AM, Masahiro Yamada wrote: > 2018-06-07 17:58 GMT+09:00 Masahiro Yamada : >> 2018-06-07 17:42 GMT+09:00 Geert Uytterhoeven : >>> On Mon, May 28, 2018 at 11:21 AM, Masahiro Yamada >>> wrote: >>>> The kernel configuration phase is now tightly coupled with the compiler >>>> in use. It will be nice to show the compiler information in Kconfig. [...] >>>> Signed-off-by: Masahiro Yamada >>>> Reviewed-by: Kees Cook >>> >>> This is now commit 21c54b774744719c ("kconfig: show compiler version text >>> in the top comment") upstream. >>> >>> This commit broke cross-compilation for me: >>> >>> $ make ARCH=m68k >>> scripts/kconfig/conf --syncconfig Kconfig >>> scripts/kconfig/conf --syncconfig Kconfig >>> scripts/kconfig/conf --syncconfig Kconfig >>> scripts/kconfig/conf --syncconfig Kconfig >>> ... >>> >>> with O=: >>> >>> GEN ./Makefile >>> scripts/kconfig/conf --syncconfig Kconfig >>> GEN ./Makefile >>> scripts/kconfig/conf --syncconfig Kconfig >>> GEN ./Makefile >>> scripts/kconfig/conf --syncconfig Kconfig >>> GEN ./Makefile >>> ... >>> >>> .config gained (both with/without O=): >>> >>> # >>> # Compiler: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 >>> # >>> >>> which is definitely wrong when cross-compiling for m68k. >>> >>> Reverting the commit, and fixing up the conflicts, fixes the issue for me >>> >>> Do you have a clue? >>> Thanks! >> >> >> Agh, I missed the case where CROSS_COMPILE is >> set by arch/$(SRCARCH)/Makefile. >> >> >> I will fix it. Thanks for the report! > > I posted a patch. > https://patchwork.kernel.org/patch/10453685/ > > I hope it will fix your problem. Yes it has. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds