Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4954251pxb; Wed, 20 Apr 2022 13:57:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9lbGGLDxdlF/6RIjsp7MQT1FrgyGA8bN0FsOpcSPpaIff7DCBCkMrOZqKiCvTicX92HDC X-Received: by 2002:a17:90a:ce8d:b0:1d5:1294:67eb with SMTP id g13-20020a17090ace8d00b001d5129467ebmr3025270pju.142.1650488229977; Wed, 20 Apr 2022 13:57:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650488229; cv=none; d=google.com; s=arc-20160816; b=VVcgBCLbQdA/tQkdbzgQrOBxSBWfarviPgj4mOvw4bQqev9Yy1S8KbVGW4orzJAy3j /+isg5zCqD23e97mvcAHT2b8ECy4cMkiZsqBIzF1LL+SeVcNnZJ/4cxQu3qjn4bnEJvo 6g3HjnHrnTp9fZsWIlKNU4Ocxl+djkw+6/iy2f3sYjfXVb+qi/CCGvluEjUZlPgs7UY5 H/2kfinte9gRSB7ZhJ7fINExT9+kva7fQEmgROw+tAKSJVDjrV6N55OYlvZqrcCpO0GW x4B11wTMfvBLC8BOog/1udjnFONwvoIVCST/yVaCuVj2bLcRcT3HfOr8n6ldM5+mJbgq DGHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:user-agent:message-id :dkim-signature; bh=ROhogLVDJv2twC0NObQKkeLJe873ECih460hy+INEQs=; b=01XudJ0oKobnkaU023SueufLtuM0f0ZBBmITAPbI7576SVHVClv2tgTXpND8OIJItx w0CvnoCx//mi1Xnq7OX7+/+3ppgn+SQiwZV67Pz9vbPrs9iznVIdHl6tVLbduGP6Tijb P4hgOLvAXEXAlb/sr03843Je0+/ugYhct2lHxHf1rcGauplRSHq0ww3dMURwBI7HlM2l 2P8axAXZb8mnfmYg3b0zS2H2aXi2dMm+722QC7FR5eepuHCp382WNCyNCTBdt1BLdVUH 1/ZqkF7bd0u+YF6bXUCbZdaC7ZDRP51euO6FptfkA3Op0MI9jXx9/w9cszigfS0bUDY3 dcFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=DhU6f5mk; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020a170902d51200b00153b2d16647si3696876plg.591.2022.04.20.13.56.42; Wed, 20 Apr 2022 13:57:09 -0700 (PDT) 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=@infradead.org header.s=desiato.20200630 header.b=DhU6f5mk; 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 S1346611AbiDSUo0 (ORCPT + 99 others); Tue, 19 Apr 2022 16:44:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357711AbiDSUmc (ORCPT ); Tue, 19 Apr 2022 16:42:32 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30D40BEE for ; Tue, 19 Apr 2022 13:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Subject:Cc:To:From:Date:Message-ID: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=ROhogLVDJv2twC0NObQKkeLJe873ECih460hy+INEQs=; b=DhU6f5mkIBFearZIkpsWWbPWEe kZ+OHuF03zpFG1xL5YE0QradHDc7cxDHC39wLVJ8iSJC1zLLM0Mwr3tfR4EpnU84MuZMgUZ8CkiuI PSjY0OcAMajtmvfyPE6GaHefDFZPN+UOFZNa/sXpP87+tz40Zz2FiTFF4NEMhXwcdShW+U5AVAmSq Kpla1oyGeoIP1MjlXQagHiADsfTjjNBvaube733wNq5YIzVtuw/5x3ZYz6z0c5C3LSHLvQqYcoWY5 puGVeDJF0EHKvtNxV0e1+unPgbN17Wn3mxC4fB7+wVRuJc2HUjwkEtqk73Z6i0clxYzJ6zTUXJU/R 61AwQMCw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngudM-006uqz-Cs; Tue, 19 Apr 2022 20:39:37 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id AB23B3003AA; Tue, 19 Apr 2022 22:39:34 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 0) id 719F1212B0C79; Tue, 19 Apr 2022 22:39:34 +0200 (CEST) Message-ID: <20220419203254.034493341@infradead.org> User-Agent: quilt/0.66 Date: Tue, 19 Apr 2022 22:32:54 +0200 From: Peter Zijlstra To: x86@kernel.org, jpoimboe@redhat.com Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, mbenes@suse.cz Subject: [PATCH 0/2] objtool: Fix code reloc vs weak symbols X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Two fun bugs that make can cause other fun fail if you have a fresh enough toolchain that strips unused section symbols. The symptoms can vary between a faulty unwind to a kernel splat for trying to patch the wrong text. I found it while playing with text patching and Josh confirmed it very much affects ORC data too.