Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4373947pxu; Wed, 9 Dec 2020 15:48:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+QAXN8tb/4sR+uVKa0+w+D7O9n4/l77wLd6LGSe0ZgX8N6Frdtobib/ueULVCG4qmSmm5 X-Received: by 2002:a17:906:878d:: with SMTP id za13mr4050987ejb.395.1607557736464; Wed, 09 Dec 2020 15:48:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607557736; cv=none; d=google.com; s=arc-20160816; b=m4p0gtknaDOec6OZVe4LX7N/+wYbG2e5VuC62BUifl0ar3o0Mt/ofeLuLzIij5Q0u6 MKpKUpmpYZixayc2kXMTRYyk9KEVowgCY4bLU5Nk04Cns0ND0qWv9RqrjC8TC1JTHxg9 4+IRvtkOC4dI8nWIeX1dXbhefTPwmQA2Cv+fv5OxrcSCpkCvwbc6LNXscwmkO/8rxT3s cE7JMaA5HI7FLMJu8gy+xRKR6s0dFuJ9T88NAVok8aF0BQfIV4RWwsqx9HPF0ojuXwwS Fy5EK2HomRn0QLb+MBHy15x+8SmXQzUxTH6sQXHP5m7MjJ/HECBn+ghnGoHglVj0U0PP IAgw== 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; bh=bqhxnqaEI8XwG+55qMAAy2ow9/7wnmFxj6d59TQ2eh0=; b=IQIHgVV0Sp5iyArv49Qjx8uHLTHQ+krONbM7+RWMGEZlmLZh/PnDItgfL+pg/NZOUc RIoToIkzDJXBRK3kEv6YUAHyEE2Cnij4qj93Emwbd33hGigxgpUYg0WL1vSzaWU/jbVo NNFD+pgJqYIRDBSjnEvOEIs+kJOFy2I4XCipWUiGnZIhzPgGxEUKgiFe2y5pg0FHX8Up guoaepMZq+BUjGjf9sLx2uqCUGsTbUGyxvtoMk1rnfYFu288yK5xZHWruh6DYEXKxQFP knh0y1p3cbMTxNEfvZQ4u18K37pctEX9Ojd00mUJBG7MMLF/yBoGxHcvFMg2iLpcumh9 KaQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VIdtJMVm; 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 u11si1565305ejy.598.2020.12.09.15.48.34; Wed, 09 Dec 2020 15:48:56 -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=@kernel.org header.s=k20201202 header.b=VIdtJMVm; 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 S1730173AbgLITZa (ORCPT + 99 others); Wed, 9 Dec 2020 14:25:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:34436 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729345AbgLITZV (ORCPT ); Wed, 9 Dec 2020 14:25:21 -0500 X-Gm-Message-State: AOAM532l3TbJttgtMFWH/FX67lJ0sF8srCFNHYJ1OCbEfC0IAsx9G5Za vQUdSmwYe/3ytUt5nEORRuc865GWKYZdZBbFY5U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607541880; bh=PZ3OfDYS58ZqvFY9CXvEZH4DVeL16HFv3jTodD2L44Y=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VIdtJMVmToMLsEqoyt3Bw07XE58IWwbXZOF/8vrKCAGHhqAdsjQZPJS4ga0NNbRG8 spLjREDJ4m3bTXixW4JfKn8XswUsOOLs2W9FkMCN+8Z3YFlyRmQSSNmHYmLYsCTxJD zj0j4Ti2xsxMaim+W2o/IpIIHePjqUYsYAQemyp3ETe6u+EgUMbFRqz4LJTWkEkY3N yX4xTcMaC0W5M9lOAIy2/yi5mhsM6Y6nT+IaGhBTpK2YLWIyyqcxfsxQlm4dbfRZ71 W8Vw21ekj4xBV3oG8wCADt5YbBnXr2ko3FbvYFKqtPvGaksKPDHteUs9DBPQtdgtsQ AUPXqcO+wHU5g== X-Received: by 2002:aca:44d:: with SMTP id 74mr2951158oie.4.1607541879572; Wed, 09 Dec 2020 11:24:39 -0800 (PST) MIME-Version: 1.0 References: <20201201213707.541432-1-samitolvanen@google.com> In-Reply-To: From: Arnd Bergmann Date: Wed, 9 Dec 2020 20:24:22 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 00/16] Add support for Clang LTO To: Sami Tolvanen Cc: Masahiro Yamada , Steven Rostedt , Will Deacon , Josh Poimboeuf , Peter Zijlstra , Greg Kroah-Hartman , "Paul E. McKenney" , Kees Cook , Nick Desaulniers , clang-built-linux , Kernel Hardening , linux-arch , Linux ARM , Linux Kbuild mailing list , "linux-kernel@vger.kernel.org" , linux-pci Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 9, 2020 at 5:09 PM 'Sami Tolvanen' via Clang Built Linux wrote: > On Tue, Dec 8, 2020 at 1:02 PM Arnd Bergmann wrote: > > On Tue, Dec 8, 2020 at 9:59 PM Arnd Bergmann wrote: > > > > > > Attaching the config for "ld.lld: error: Never resolved function from > > > blockaddress (Producer: 'LLVM12.0.0' Reader: 'LLVM 12.0.0')" > > > > And here is a new one: "ld.lld: error: assignment to symbol > > init_pg_end does not converge" > > Thanks for these. I can reproduce the "Never resolved function from > blockaddress" issue with full LTO, but I couldn't reproduce this one > with ToT Clang, and the config doesn't have LTO enabled: > > $ grep LTO 0x2824F594_defconfig > CONFIG_ARCH_SUPPORTS_LTO_CLANG_THIN=y > > Is this the correct config file? It is the right file, and so far this is the only defconfig on which I see the "does not converge" error, so I don't have any other one. I suspect this might be an issue in the version of lld that I have here and unrelated to LTO, and I can confirm that I see the error with LTO still disabled. It seems to be completely random. I do see the bug on next-20201203 but not on a later one. I also tried bisecting through linux-next and arrived at "lib: stackdepot: add support to configure STACK_HASH_SIZE", which is almost certainly not related, other than just changing a few symbols around. Arnd