From patchwork Tue Feb 21 20:56:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Landley X-Patchwork-Id: 60240 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp217309wrd; Tue, 21 Feb 2023 12:54:50 -0800 (PST) X-Google-Smtp-Source: AK7set/FRTopI+firXwVlpihwg3TbIAP6VyIv0R7BfdlRmxN89obVnVEA0LlQBTEOTV0UR6s9cUm X-Received: by 2002:a17:906:ce47:b0:878:6b39:6d2a with SMTP id se7-20020a170906ce4700b008786b396d2amr16768061ejb.46.1677012889891; Tue, 21 Feb 2023 12:54:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677012889; cv=none; d=google.com; s=arc-20160816; b=kfMlZffTLePl7wE7KzTlInDTtackJcif0SnG+6tV425b9tbdJhCDkZTBpHC457VCTp 6Tv0zZS11LUCLDOACO9eSueA2t/NjC/qE5nrO1E3AbDR9YFpkcOgYKIzBn1CnJyIDgck A2y5ooIr2bVYER+QtK/S8+IUzqnHHxw+ExYxBhhL7ICrHLNweffa/VwHBGrtXBT+WzYq lOHa+jLvwJem6vscNlXULV6BMKCS7q+ZhbB7Clt/Ml1rZRs4D8XSIQypPLs3X9Fvx3c1 gRPHZmsZ1SjRMoOOb9PIv+Xrzcj/YIY7dsoc3jwPdB9yoDGBB2pf1/m8hDrpMJyebU3e SPkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:cc :references:to:from:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=vm75klYCEzEbHDHndrCCa53U4DXnX5iMoTt+cEU3S0k=; b=T+smm+941KmFH2o0eGZxHkCnRlh2nX/J3Bi8SJXHrHRNElL5uzRCoHAoJpwz9pJV5O rDyea6hSyIiPRtHJuqlw3kCvVOJuNtStqp+Pqign7NdDstdY5Bmyzhx51nBZntIeWpLb i89AlFtYpiaOULWsaKJ7ARRt7pW6VvHqTDGpgr+qcZu4voRm/sc+NnSaToSNZ2o6lPsI xHTqU8uLTeyTSf2Bu6qP92SRveuN1CUgLc0Rgrt90ivOWh9NUn5aZkath+XD1EswzTEb G2Ao2LSgIzTMNxVrJqYefJqA91ljUjMy9lxko3pKy9goepMSgZgT5BGMbJIpcEZwf6RH KNXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20210112.gappssmtp.com header.s=20210112 header.b=2NS3OR2p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fm19-20020a1709072ad300b008de4a641fe9si3579123ejc.659.2023.02.21.12.54.26; Tue, 21 Feb 2023 12:54:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@landley-net.20210112.gappssmtp.com header.s=20210112 header.b=2NS3OR2p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229552AbjBUUnF (ORCPT + 99 others); Tue, 21 Feb 2023 15:43:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjBUUnE (ORCPT ); Tue, 21 Feb 2023 15:43:04 -0500 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34982902C for ; Tue, 21 Feb 2023 12:43:01 -0800 (PST) Received: by mail-il1-x12e.google.com with SMTP id e9so2442922ile.8 for ; Tue, 21 Feb 2023 12:43:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:cc:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vm75klYCEzEbHDHndrCCa53U4DXnX5iMoTt+cEU3S0k=; b=2NS3OR2pHewL7snzecmtNkKql2ldQjPzSlRQ492qlYpP3HVihZQxhtknTitHhGpSPp Vg52n9qaS1s1VyIPF0N2gMGATTKkUf23t6apX4QaDB+hHfuu2dEomMXJ9mNJaOEc/lFD f6JAunLj3KSPRrUt9bzYImyTqJjpRfuZtGWQasHgrTRYamZukniq7Klfm0PpgdBt9r3M vI2usPLjKsuGahkHtKG0aRwx26YHOfQ3j3reWufaWNN2MGRJVbgOlcZjt9CCRsEeFEsv 53B6Pw/hW53Gk/SQegxqTDYON/vjCatV7lIlWDkRYWqCc6dvtTWtcWLA70hQBEMDzr5k TiiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:cc:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vm75klYCEzEbHDHndrCCa53U4DXnX5iMoTt+cEU3S0k=; b=jCDHuxLU/srplZeL0Bd1uVKE1IHJgi4SorSnlFBTSlCjrRugp4Mu4AdsXntobOHvNT 7Knd1mRkICKSjSvGz7QmjDSqxV9IWiB1ws/hvc4qQDkFaqyS/jbkuCqvN8Krh1KZELJ3 PDeva0ABalhPFQ8ZxJPXhQHfkB4Vnbmb3ZXuk9mkE6lAxGUqb8xd9Oil7LW0nVlodJly MDxlq4OmXka+rT1AQJwkHSQoFQ0Xhh4VnUXtmz8L7CoQB9BNsTq55uDqDNWZInsjb2DD 8JV2o4L26FozVE4rTB4k/Loz4hztXf1gojK73j2o5OgmB8RVrlMmvpb8cKRjijULSo+w WqVQ== X-Gm-Message-State: AO0yUKXv1cB3PhcIn5s5Po9ckz/pSINI8xvFT8C/UEaMlYt0w++yfM7t Pt+j3sxMcw1HstCCoXpTcfZ2Dy7WeGlnULBQTv0= X-Received: by 2002:a05:6e02:8aa:b0:315:9a7e:fb03 with SMTP id a10-20020a056e0208aa00b003159a7efb03mr3718684ilt.29.1677012180442; Tue, 21 Feb 2023 12:43:00 -0800 (PST) Received: from [172.16.32.78] ([198.232.126.202]) by smtp.gmail.com with ESMTPSA id s11-20020a02ad0b000000b003c5144d10b1sm35125jan.83.2023.02.21.12.42.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Feb 2023 12:43:00 -0800 (PST) Message-ID: Date: Tue, 21 Feb 2023 14:56:22 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: [PATCH 2/5] X86-64 should not uniquely require a third ELF package to build. Content-Language: en-US From: Rob Landley To: "linux-kernel@vger.kernel.org" References: Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" In-Reply-To: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,URI_DOTEDU autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758475467752598540?= X-GMAIL-MSGID: =?utf-8?q?1758475467752598540?= x86-64 is the only architecture that can't compile without an extra ELF library installed on the host. (The kernel already has multiple ELF parse implementations built-in, so requiring another one is questionable at best.) You can switch it back on in menuconfig if you want to, this just stops it being mandatory. See https://lkml.iu.edu/hypermail/linux/kernel/2110.3/00402.html and https://lkml.iu.edu/hypermail/linux/kernel/2110.3/00278.html Signed-off-by: Rob Landley --- arch/x86/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 3604074a878b..b63510d79baf 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -243,7 +243,6 @@ config X86 select HAVE_NOINSTR_HACK if HAVE_OBJTOOL select HAVE_NMI select HAVE_NOINSTR_VALIDATION if HAVE_OBJTOOL - select HAVE_OBJTOOL if X86_64 select HAVE_OPTPROBES select HAVE_PCSPKR_PLATFORM select HAVE_PERF_EVENTS