Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp859763pxb; Fri, 15 Apr 2022 13:29:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5CQ+a2WBcju8wuOcyTReL49xXgVPIbTcM7apw8CxPHGypXU/fHVfG2j26o5krEMrt4O7Q X-Received: by 2002:a17:902:6acb:b0:158:8923:86df with SMTP id i11-20020a1709026acb00b00158892386dfmr775103plt.144.1650054565899; Fri, 15 Apr 2022 13:29:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650054565; cv=none; d=google.com; s=arc-20160816; b=K0o8TlxxcHc3OSWur07s96/tYyR3Xofye3+6A2uX5p0tpCxptOuJXImnApTmqcStl6 5uu944a/mgqVFwEAg2QQJLFWbfYcEaQn5IOW3FeGvtBFG5/6crbMx0IvmbujSOB/5agz FuFP/L7RCADpDgvkMcRYoOp1u9KxsI3Jt5gZd1NhQFybdVc3kF1n6cPoajbU+pOdGojK z5peUUY1YbSrqSpN3INldU3qwFT8sB0cW9aNrnvk4yooUmGpnyorKrRIsX7NExE++goX OCjpqpXCX2gCfcBNyfx0iHvnsdWTltHBNXNSayw+HKEeNe+mqwz0Y9OD/I9U4SDKYDTy j2dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qJcL0WoEFp9NEWYdLe3UtGCok4QLHb3/EkvSVPZ0Ze0=; b=L2a7gEjtB7IO6kuDxSXZhC1XymFR6jEG0/fZSWjFMq5yq0VAHHkQyRDQEDQom77oNF V9pNF1tXH/1NAE9uNBplcguwu5zKP09h0XxNSBOF1je4PCNNUZLekN8g9Ge5PxKEGrqP blkYAeYxad9+c0GvnJvgbM12Vt1ADAv73oQ04gvgmS+Cgl5E20+5lFiqgiSHj8oTA6ka gM1VqH5Jp0sM3EH2t9Le9+H+VherV+ZVM3dIelF8bRZ14HmxkOWLuRXCraF+xqRcLLUg ts31DUpZmUQ0iX9CZeOLJLOVdGWHE7KlfwN0b2+IOdhywSRzHivZikk2NU08nXyHlQFI pZ9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wpx5v7kl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 22-20020a630316000000b003816043eef7si2275795pgd.236.2022.04.15.13.29.09; Fri, 15 Apr 2022 13:29:25 -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=@kernel.org header.s=k20201202 header.b=Wpx5v7kl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232432AbiDNKdd (ORCPT + 99 others); Thu, 14 Apr 2022 06:33:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231349AbiDNKd1 (ORCPT ); Thu, 14 Apr 2022 06:33:27 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E232354186 for ; Thu, 14 Apr 2022 03:31:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 722AAB82893 for ; Thu, 14 Apr 2022 10:31:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06CD5C385A9; Thu, 14 Apr 2022 10:30:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649932261; bh=anlZExuz/RXUpLpMBn9p6PwQT+FCiIUgNRUHvHy6288=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wpx5v7klIT/k74ydnZ5+cTvjax9JDVP1wgsofhEur3Hi0gHlxURy5AS37Pr0lO7HV aXAM/0qVQRakT9t6m4mKV+61iangNeqtTGPT3v1mfc6JKmoSnanBbLAeCk33TzLsvC K8Me60uQnCKb63y9wKIMAP2IGoloakUdVuN4iwN28SLCEDWmQ79JwWynb5ro/bPiSL 1XKWKziRmbhuWmgc7L7jLnE0TjWmG/Vav5RgPwhGUEro5NvdMCS3dlxs4tR5I/+08+ +pJwW+E/aVt/xRtA9eaN7ayBdgJq5ku+XW18+54BXEdMVSzftQQz8ZfbNqM776y3K3 QSs1PT9HVd9aQ== From: Will Deacon To: Nathan Chancellor , Catalin Marinas Cc: kernel-team@android.com, Will Deacon , Nick Desaulniers , llvm@lists.linux.dev, Tom Rix , linux-kernel@vger.kernel.org, Anders Roxell , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: Improve HAVE_DYNAMIC_FTRACE_WITH_REGS selection for clang Date: Thu, 14 Apr 2022 11:30:52 +0100 Message-Id: <164992995404.58572.4358662722112998061.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220413181420.3522187-1-nathan@kernel.org> References: <20220413181420.3522187-1-nathan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 On Wed, 13 Apr 2022 11:14:21 -0700, Nathan Chancellor wrote: > Will and Anders reported that using just 'CC=clang' with CONFIG_FTRACE=y > and CONFIG_STACK_TRACER=y would result in an error while linking: > > aarch64-linux-gnu-ld: .init.data has both ordered [`__patchable_function_entries' in init/main.o] and unordered [`.meminit.data' in mm/sparse.o] sections > aarch64-linux-gnu-ld: final link failed: bad value > > This error was exposed by commit f12b034afeb3 ("scripts/Makefile.clang: > default to LLVM_IAS=1") in combination with binutils older than 2.36. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: Improve HAVE_DYNAMIC_FTRACE_WITH_REGS selection for clang https://git.kernel.org/arm64/c/45bd8951806e Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev