Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3296478ybi; Mon, 29 Jul 2019 04:14:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyzJA/DIkGN5r1H7OeTO4+WAF7cw3YGYIbctge/Q55ITl29UjjtCd1QkwRbTAe3ccd0CTkF X-Received: by 2002:a17:902:403:: with SMTP id 3mr107579240ple.66.1564398852816; Mon, 29 Jul 2019 04:14:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564398852; cv=none; d=google.com; s=arc-20160816; b=yrPhRctFugkGs4UK51AERiJpV9mOLAloKM6IZOrJ4KbxdCmWG1/E0jVAB2X4PJwREA IAXtH2MOqNTANXjmj9f9j6B5aUoUyfkqCDHARthjXJPrkXvvoAjTSo4OI+02ezVWvfC/ kqszJtsYFU2hJLHUenXjNAs8/wzCmJFRZOzQNxr6TM6TBsjJJzWa450xRe00ihRI7gBi G4OQDdSEZEwGAFkM5LMRHsksmBPd9Mn7lvio7wCfI5Wb8u2a32R47Ju9+kxBIwLFwmg8 SnlaPMLFM9dymjoQqC0GukzJTWtj1lhuspk2aHexpEOHw9SALnBU5BHZQ3IBKtc/+Xl6 4N/g== 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 :in-reply-to:references:mime-version; bh=tOeU+CYtImamXwnMBo5r6FB06SkfmeDDgtJvh72e5f8=; b=rcUvfTL0j0ti0bhcimlKLdCCYKbqyKZOEaq3972BRiqCcBcHzh9UCQg8zRe6zv8oRG Rn0fB989Fnp0QUNJxuxgzgvJ6I0VAyQVNPNGog7XN7b6keLPbX7CfTRElG5CDD2gW/yA 6VeUoy3mhwhsx5iMM39VRH7Z5Uk7uJ7TjVN+dsa78vMeiQ61GBx/IBwHlHAuVhmznqxX O395mv+9UbXFssfbQBhkLocozgTXALgeESWeME86GIth7sYjsiB3MNeNsUgJWL9whoCi 7SK3tL0oor+XHGtG9GaIeOTv2DUFlDKvEhcfjDzN0Up9BO8F5QAHFM1PE9lB3No4mTiQ vX/Q== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z185si25553749pfz.248.2019.07.29.04.13.55; Mon, 29 Jul 2019 04:14:12 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387566AbfG2LNX (ORCPT + 99 others); Mon, 29 Jul 2019 07:13:23 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:44591 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387450AbfG2LNW (ORCPT ); Mon, 29 Jul 2019 07:13:22 -0400 Received: by mail-lj1-f196.google.com with SMTP id k18so58152561ljc.11 for ; Mon, 29 Jul 2019 04:13:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tOeU+CYtImamXwnMBo5r6FB06SkfmeDDgtJvh72e5f8=; b=DTo+QQMfRiez7Two+o3auKjZNTA0c5AZSuawM5vGgftI6FGOiPVgcpQqnzJC0f4yBD MOjTLleeEU4euMZPawQUyEX5YABdKgnFahVKWCL6K0foqRerR1NKjYa1eLNairT5JFsZ GUxsFxVX6rTmfUpr59XkS9lNaOn7G/lRvlfx3XVCfs545DNudSEue3+6AnUgEUFpBs5g NLtRrc0arywTxhVkWJLyjUi/j/YAEHltfe23oLBdDYv5rcoj/EDMCx7gMyp1ZgxDKHry xRbRgLsArKpmgoAlBIxFMHGep3npWtQcOqrkdgmo4jAG12LD8W/bWiN3ClsFBv24OiRQ RLNg== X-Gm-Message-State: APjAAAU7Ubi4tDbTsIpO3P4mUr1ldRzDsPXSO0zT38Wxr7xWelo0VCX2 4fI2Cab90Sdte65la7k0bUq0syQi8h3j/r6K6IwMtYQ2QKNmug== X-Received: by 2002:a2e:9643:: with SMTP id z3mr58586491ljh.43.1564398800931; Mon, 29 Jul 2019 04:13:20 -0700 (PDT) MIME-Version: 1.0 References: <20190729095047.k45isr7etq3xkyvr@willie-the-truck> <1cfad84e-5a98-99bd-07c2-9db0cf37292b@arm.com> In-Reply-To: From: Matteo Croce Date: Mon, 29 Jul 2019 13:12:45 +0200 Message-ID: Subject: Re: build error To: Vincenzo Frascino Cc: Will Deacon , LKML , Linux ARM 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 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 -- Matteo Croce per aspera ad upstream