Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp622065pxx; Mon, 26 Oct 2020 17:11:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+rTlH5lYWbO6Y6lKNCWZGIExexz26Ifmk/lPAsSE3snsYpCuk9rPzaRqUNTDluNt3imeg X-Received: by 2002:a17:906:cc4d:: with SMTP id mm13mr18217787ejb.330.1603757517981; Mon, 26 Oct 2020 17:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603757517; cv=none; d=google.com; s=arc-20160816; b=1H7cT50yiILzuJ79N3rfJTwgO0HQZ17DYrjDS/IgJoVQQhblbnxNqBEgT54vzDMkSD xBFPMzveDL5jVJKW+tyn8ionvBhpbpUW4LhimPBKzAWuDMrvV75dRRyWIzYEyxhHnS2u 8Oo+UfyUw1ICd4b5zSUGiNB9BMmrpDGRJjkBnE02i71JnloX70S8gA9U5I8iZui/Dda3 Ie37HxdEg7Wk5LdMGMwBhSXEaehpMIp7R79EGs/pOmZA77FYGWClRaXNGjqmxxZC3CoT Y08UDQg/3cu3ELxItRKpPmEgYbuuYLz3Ytiygvuvuk133aXnFSBNnfWMgv++ihCEThit uS1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=kUhFWI4WsYDgPcCkl7UnZNZiYWnYQ9Bwztn+54+tYPg=; b=af3PXWU2qtW3xYKeIBsO3UCD6QtHDwwjEAzIUuqxematYLg1yKQ70Ji7/8L+JQsJXN VzMhN3XFkE3mZoVhMpa2rZzf006UPQyVLTAjvfIohymR/EJwpRrGZRER5pN3p5Nrlg7U hFNxi9DJBuX/F//bpiqfhFQgifmlkQUhcD+4iFW9O7rITQA4K9wBiwU51K5bjaWjF54I eGAl2RvXdrNUJl4v2J453Ix7KuygSGRF+HKDnAx1bWG8i0x+ZJw/v/S50z7xC2aiLChk AuOwTxUx9x3OGy2g5aNd4X5agXF415zgl+rBKR2DKif2C/zQWtsxFy+mzqyeRSIwcStG VniA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=mLJcQqGM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u17si7444874edd.286.2020.10.26.17.11.36; Mon, 26 Oct 2020 17:11:57 -0700 (PDT) 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=@nifty.com header.s=dec2015msa header.b=mLJcQqGM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404730AbgJZXXs (ORCPT + 99 others); Mon, 26 Oct 2020 19:23:48 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:28022 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404500AbgJZXXr (ORCPT ); Mon, 26 Oct 2020 19:23:47 -0400 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 09QNNCb1020175; Tue, 27 Oct 2020 08:23:13 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 09QNNCb1020175 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1603754593; bh=kUhFWI4WsYDgPcCkl7UnZNZiYWnYQ9Bwztn+54+tYPg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=mLJcQqGMY3sI5x/0HBbnk3MWxG/rQNjjSbrC0fKsRXZzPOVgDVdX+tjUznP/aCjf7 E+GMyS67jkwRFerMLEBgFnPpHa6FzBuefFBXz8Sw9gautf3UrwcthmXsV5yhODGTMo BscrXdLmiyDJxKkJXtIBdEagJIJLx87RquEXI50QWF9aPIcnb57cJYV0a0huveXn2+ UifxuK3f1RS+gghmF0TEC0f+X7i7JMzT14s0qguB0ZfAMZdlcjqXTKHWdIhRbW/nMB Mij/WLV4gMER9hDTPTXawx6Y3uGuILlj1h80EpsfCTlCNVTE0z3m7nOP9kDVXs+KlI Jp/gW8s9O57QA== X-Nifty-SrcIP: [209.85.210.179] Received: by mail-pf1-f179.google.com with SMTP id a200so7054485pfa.10; Mon, 26 Oct 2020 16:23:13 -0700 (PDT) X-Gm-Message-State: AOAM531zYVsNgmHcFqhLo5qvUwl4SCsu/qX3iA8WQ7bswJ9t8oQ7T6G3 q2UQhWU+Y+lX07BqcaC4h3aONrvII7/vdQadCns= X-Received: by 2002:a62:ac08:0:b029:163:ecb1:ea2b with SMTP id v8-20020a62ac080000b0290163ecb1ea2bmr162391pfe.63.1603754592351; Mon, 26 Oct 2020 16:23:12 -0700 (PDT) MIME-Version: 1.0 References: <20201023181805.GA3852821@ubuntu-m3-large-x86> In-Reply-To: <20201023181805.GA3852821@ubuntu-m3-large-x86> From: Masahiro Yamada Date: Tue, 27 Oct 2020 08:22:35 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild: remove unused OBJSIZE To: Nathan Chancellor Cc: Vasily Gorbik , Nick Desaulniers , Michal Marek , Jonathan Corbet , Linux Kbuild mailing list , clang-built-linux , "open list:DOCUMENTATION" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 24, 2020 at 3:18 AM Nathan Chancellor wrote: > > On Fri, Oct 23, 2020 at 01:57:32PM +0200, Vasily Gorbik wrote: > > The "size" tool has been solely used by s390 to enforce .bss section usage > > restrictions in early startup code. Since commit 980d5f9ab36b ("s390/boot: > > enable .bss section for compressed kernel") and commit 2e83e0eb85ca > > ("s390: clean .bss before running uncompressed kernel") these restrictions > > have been lifted for the decompressor and uncompressed kernel and the > > size tool is now unused. > > > > Signed-off-by: Vasily Gorbik > > Reviewed-by: Nathan Chancellor Applied to linux-kbuild. Thanks. > > Thanks for the patch! > > > --- > > Documentation/kbuild/llvm.rst | 5 ++--- > > Makefile | 4 +--- > > 2 files changed, 3 insertions(+), 6 deletions(-) > > > > diff --git a/Documentation/kbuild/llvm.rst b/Documentation/kbuild/llvm.rst > > index cf3ca236d2cc..21c847890d03 100644 > > --- a/Documentation/kbuild/llvm.rst > > +++ b/Documentation/kbuild/llvm.rst > > @@ -57,9 +57,8 @@ to enable them. :: > > They can be enabled individually. The full list of the parameters: :: > > > > make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \ > > - OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump OBJSIZE=llvm-size \ > > - READELF=llvm-readelf HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar \ > > - HOSTLD=ld.lld > > + OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump READELF=llvm-readelf \ > > + HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar HOSTLD=ld.lld > > > > Currently, the integrated assembler is disabled by default. You can pass > > ``LLVM_IAS=1`` to enable it. > > diff --git a/Makefile b/Makefile > > index d35a59f98e83..d2123c2c829a 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -433,7 +433,6 @@ NM = llvm-nm > > OBJCOPY = llvm-objcopy > > OBJDUMP = llvm-objdump > > READELF = llvm-readelf > > -OBJSIZE = llvm-size > > STRIP = llvm-strip > > else > > CC = $(CROSS_COMPILE)gcc > > @@ -443,7 +442,6 @@ NM = $(CROSS_COMPILE)nm > > OBJCOPY = $(CROSS_COMPILE)objcopy > > OBJDUMP = $(CROSS_COMPILE)objdump > > READELF = $(CROSS_COMPILE)readelf > > -OBJSIZE = $(CROSS_COMPILE)size > > STRIP = $(CROSS_COMPILE)strip > > endif > > PAHOLE = pahole > > @@ -509,7 +507,7 @@ KBUILD_LDFLAGS := > > CLANG_FLAGS := > > > > export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC > > -export CPP AR NM STRIP OBJCOPY OBJDUMP OBJSIZE READELF PAHOLE RESOLVE_BTFIDS LEX YACC AWK INSTALLKERNEL > > +export CPP AR NM STRIP OBJCOPY OBJDUMP READELF PAHOLE RESOLVE_BTFIDS LEX YACC AWK INSTALLKERNEL > > export PERL PYTHON PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX > > export KGZIP KBZIP2 KLZOP LZMA LZ4 XZ ZSTD > > export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE > > -- > > 2.25.4 > > -- > You received this message because you are subscribed to the Google Groups "Clang Built Linux" group. > To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/20201023181805.GA3852821%40ubuntu-m3-large-x86. -- Best Regards Masahiro Yamada