From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8B5BC7618B for ; Mon, 29 Jul 2019 11:18:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8B0F920C01 for ; Mon, 29 Jul 2019 11:18:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387649AbfG2LSc (ORCPT ); Mon, 29 Jul 2019 07:18:32 -0400 Received: from foss.arm.com ([217.140.110.172]:42192 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387450AbfG2LSb (ORCPT ); Mon, 29 Jul 2019 07:18:31 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D0B2F28; Mon, 29 Jul 2019 04:18:30 -0700 (PDT) Received: from [10.1.196.72] (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3916F3F694; Mon, 29 Jul 2019 04:18:30 -0700 (PDT) Subject: Re: build error To: Matteo Croce Cc: Will Deacon , LKML , Linux ARM References: <20190729095047.k45isr7etq3xkyvr@willie-the-truck> <1cfad84e-5a98-99bd-07c2-9db0cf37292b@arm.com> From: Vincenzo Frascino Message-ID: Date: Mon, 29 Jul 2019 12:18:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/07/2019 12:12, Matteo Croce wrote: > On Mon, Jul 29, 2019 at 1:08 PM Vincenzo Frascino > wrote: >> >> Hi Matteo, >> >> On 29/07/2019 11:25, Matteo Croce wrote: >>> On Mon, Jul 29, 2019 at 12:16 PM Vincenzo Frascino >>> wrote: >>>> >>>> Hi Matteo and Will, >>>> >>>> >>>> If I try to build a fresh kernel on my machine with the standard "make mrproper >>>> && make defconfig && make" I do not see the reported issue (Please see below >>>> scissors). >>>> >>>> At this point would be interesting to know more about how Matteo is building the >>>> kernel, and try to reproduce the issue here. >>>> >>>> @Matteo, could you please provide the full .config and the steps you used to >>>> generate it? Is it an 'oldconfig'? >>>> >>> >>> Hi, >>> >>> yes, this is an oldconfig from a vanilla 5.2, I attach it >>> (the non gzipped config was dropped by the ML filter) >>> >>> >> >> I tried your config file and seems working correctly: >> >> # cp ~/config ../linux-out/.config >> # make oldconfig >> # make >> >> arch/arm64/Makefile:56: CROSS_COMPILE_COMPAT not defined or empty, the compat >> vDSO will not be built >> >> --- >> >> Could you please send to me the config file that does not contain: >> CONFIG_CROSS_COMPILE_COMPAT_VDSO="" >> >> The original one I mean, on which you did not run make oldconfig. >> My suspect at this point is that the string passed to >> CONFIG_CROSS_COMPILE_COMPAT_VDSO is not completely empty. >> >> In fact if I do CONFIG_CROSS_COMPILE_COMPAT_VDSO=" " (single space), >> I do have a failure similar to the one you reported. >> > > That's what I initially thought, but the string is effectively empty: > > # make > arch/arm64/Makefile:58: *** gcc not found, check CROSS_COMPILE_COMPAT. Stop. > # grep CROSS_COMPILE_COMPAT_VDSO .config |hexdump -C > 00000000 43 4f 4e 46 49 47 5f 43 52 4f 53 53 5f 43 4f 4d |CONFIG_CROSS_COM| > 00000010 50 49 4c 45 5f 43 4f 4d 50 41 54 5f 56 44 53 4f |PILE_COMPAT_VDSO| > 00000020 3d 22 22 0a |="".| > 00000024 > > Ok, it is strange though that your config file works in my environment. Could you please provide to me the starting .config file? Could you please confirm as well that "make mrproper && make defconfig && make" builds correctly for you? Last but not least, are you on any irc channel? Might help speeding up the debugging if we talk there. -- Regards, Vincenzo