Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp258920pxb; Fri, 15 Jan 2021 12:17:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJysVRub6BPQu/D0vVb691B6fSQzOS83jrNaivOD8dNXmnlyg6BdCgw3AO+XsxLiljrd+wkH X-Received: by 2002:a05:6402:8d5:: with SMTP id d21mr11344041edz.57.1610741856857; Fri, 15 Jan 2021 12:17:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610741856; cv=none; d=google.com; s=arc-20160816; b=CIYmmdJb5P7UNBwoDcuFuOffIx9qVkOYcDnSE1ZfqcyFcTjkc0GeHgGynDp7Mn97QN pvm6kc4+499XK0qKBAVpSy76JMTWIR/KU90GPiehCztX11U+rV6uwFOT4TcYycL6Rg3z w8SPw2EHQkZ2Sx/o/Wul+cXbwsk9bTRmmohLRYRk4/csmRLpTNgqX7rib3QZL/HGVvo5 zpMULU+/BYgWYdsDLuRGEMqmwhfazyESUEdj29I660QtbqYKd3bO2mC1P+2stul49hOk imqesCoYjbUOGIMmJi1pMwJXRwSN6n7hcOK9ukN/NcrgKpuzFVAMio6Mh686OKSwVF3u NAug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=mBXeczvmNbWOnHiothAx6TK2fNcMOH0snmzHQ8eDIS4=; b=I10p+sK8A9fBrog1Bsl0jRRR0diZ0mn/JGA4ASlNiWo/TcWjQz5eCi9bLucV5agjXL gcMuQ1GQG98asQuLpiuE6WMSOfiWjzTmEWsxDU5PYd2XypcW2wT76s48BfIakG3hq1sA QT8akMjz/bUXPB/wZId682qBKLU6P9Xe4ItEp/xu4/KLIFaq6Wfvu+GqTeKILlqzNaOc 069/PL9Rgi+n8MNvLHCfvuDjymNM+txoRAGP+QehwiYaNcJGy6wgHoE4Pg4GaKMgu5JG c2Rsia+mtFCZKie35ao16eSZi1zks8g5xWOI5/AWyoVSMOz6uWz/M06ANr/5pBGXPeTl U0Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=HFl6g+88; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si4154340edj.169.2021.01.15.12.17.13; Fri, 15 Jan 2021 12:17:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=HFl6g+88; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387644AbhAOUQ0 (ORCPT + 99 others); Fri, 15 Jan 2021 15:16:26 -0500 Received: from m43-15.mailgun.net ([69.72.43.15]:37698 "EHLO m43-15.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728049AbhAOUQZ (ORCPT ); Fri, 15 Jan 2021 15:16:25 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1610741767; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=mBXeczvmNbWOnHiothAx6TK2fNcMOH0snmzHQ8eDIS4=; b=HFl6g+88iQztgPTSWNt6dfVYif+l6q42E51hZFDjrWVWvi9ZsZuyvOr7H/rq15kxjfFDIDE+ FRuk1UdwmQWAuNja/DhcBjY2hSPVp4ttXgMN7voqz20b+wqGDd9MpkvKFylXJMJfq8yk3YlC puCvNEmqB9e2r7IM1ASLk2PvV1k= X-Mailgun-Sending-Ip: 69.72.43.15 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 6001f7df21210999ed0f3b6b (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 15 Jan 2021 20:15:27 GMT Sender: jjohnson=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 29F1AC43461; Fri, 15 Jan 2021 20:15:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jjohnson) by smtp.codeaurora.org (Postfix) with ESMTPSA id 3950DC433ED; Fri, 15 Jan 2021 20:15:26 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 15 Jan 2021 12:15:26 -0800 From: jjohnson@codeaurora.org To: Masahiro Yamada Cc: Linux Kbuild mailing list , Prasad Sodagudi , eberman@quicinc.com, Nick Desaulniers , Mahesh Kumar Kalikot Veetil , Michal Marek , Linux Kernel Mailing List Subject: Re: [PATCH v2 2/2] kbuild: handle excessively long argument lists In-Reply-To: References: <1610500731-30960-2-git-send-email-jjohnson@codeaurora.org> <1610660990-18812-1-git-send-email-jjohnson@codeaurora.org> Message-ID: <4c02050c4e95e4cb8cc04282695f8404@codeaurora.org> X-Sender: jjohnson@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-01-14 17:12, Masahiro Yamada wrote: > On Fri, Jan 15, 2021 at 6:50 AM Jeff Johnson > wrote: >> >> From: Mahesh Kumar Kalikot Veetil >> >> Modules with a large number of compilation units may be >> exceeding AR and LD command argument list. Handle this gracefully by >> writing the long argument list in a file. The command line options >> read from file are inserted in place of the original @file option. >> >> The usage is well documented at >> https://www.gnu.org/software/make/manual/html_node/File-Function.html >> >> Signed-off-by: Mahesh Kumar Kalikot Veetil >> Signed-off-by: Jeff Johnson >> --- > > > > > First, is this a real problem? > If so, which module is exceeding the command line limit? On 2021-01-14 17:12, Masahiro Yamada wrote: > First, is this a real problem? > If so, which module is exceeding the command line limit? Mahesh & I appreciate all of the feedback. The issue is seen in an Android environment with an out-of-tree driver. The combination of long path names and a large number of source files is leading to the issue. Since Mahesh & I are not Kbuild gurus, is there an alternative solution to this issue? Jeff -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project