Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9725178rwd; Wed, 21 Jun 2023 10:59:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7AXjr0ijSZyliHQkN1NXyLAyf5bAn2ZP4IjmvXkTPZx/u35pua+UuUC0pXKq+2bU9aOx6M X-Received: by 2002:a05:6a20:1044:b0:123:7989:ba4b with SMTP id gt4-20020a056a20104400b001237989ba4bmr1303908pzc.41.1687370381909; Wed, 21 Jun 2023 10:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687370381; cv=none; d=google.com; s=arc-20160816; b=gYUVYhHI0CVc4/SKCgcnlfoGxI8e1ajvMDp+WYpwEhJS/zgjC+E84sJVLbiMIzOrU5 ZLp1egvAj33OkMJAwBGFKnDAjd/L8DdOY3pj+OWNzaXrvuqfpApg6zlUOwAR5KwKuoRq KdnpnbVucoECPZWKjJ7I8+OEIlOZ0/6hZ5QITON033MXo1ZSC703Rs/Zli/VKbbKznfx Duwua5hbV7GbFs4Arg80hhXKogDwB5lae3Kd8yJS1CRhGNLeDzgSUF18TNAT9No7zgiU CPO9YO+s97igHdPqHkK3aBoZ01ZfgkPOsgm93m/sLTuATSZxmmfWqdSDwevxxQpub+UK 8r2Q== 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 :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=ARtxE8eWss62TDd2UsqwbYXFbrbVf6uL6Rm4MLhMwks=; b=v4USuRbCceHdswWCoA5riNdPwKdozL5Zc2nDGcBfuBebS96fDsHka8PvvIVQacrbu8 s+150Hk30aCjxhChRCN+cWE1FgKXAKQNRHOWsfJEf7hrlOV8AY/EkwmGEBvszUsoB1Ee U+FMR9yatOg4nmS7bCQ99tvB/gndMyIBuXozYRGSnGIF7dVyR6Qo+LQZd4bs1AOVImVI zkO8gWM7ibbX38xiIif965r1sZq3kcRB2a6zA6WCVXLrXDF5JB+qBFpwkBGEjJErbgWS tDqhbEwjCLf5vVBzB1KAJgi0/EGxiNvxdhH+UyAWFLJFQVVo0Albo+8oOoVq0Et9AzI2 tsxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cludjbY8; 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 20-20020a631854000000b00524ecf898a2si4359373pgy.359.2023.06.21.10.59.28; Wed, 21 Jun 2023 10:59:41 -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=cludjbY8; 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 S229692AbjFURw6 (ORCPT + 99 others); Wed, 21 Jun 2023 13:52:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231480AbjFURwd (ORCPT ); Wed, 21 Jun 2023 13:52:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 625D02D42; Wed, 21 Jun 2023 10:51:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7579061652; Wed, 21 Jun 2023 17:51:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93172C433C8; Wed, 21 Jun 2023 17:51:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687369877; bh=47uIKnKw2ZmtP3m7XAXg6y/7ErK+KJP6FPCWISl4Zpw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=cludjbY8A0OmOUSGdXGXEAtWaET058YOwRyqV9eSI3tF7/aL4HlSEBp+3S+QFoEkJ xUpbFf+BSS2vOu0dnhAPs6zrMl+WBk9RkpKsgs7Wh0hJd1OOFL/OxAYHrMaW79jiUg IufRKhp/PY3TAnGBqwlDOVKnaKqhByaoVZ5IWRXXD9tT4lQ2J8IdUm5ywK6A1gqHKr ZSa/vVG4Cqt25jZgHruRoyoJ0U5cw+zeATnvPDSlHi+IhFH/ME/F6rMbk2pJmCnNc8 kqWTJ9HDaLsjiOHcBPygAdyYFEAU+kqdQjJfbvhrZbHNV6hyyYWeK8uIr0Ip1jaP8D iIFxgfteGJUcg== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Conor Dooley , Palmer Dabbelt Cc: ndesaulniers@google.com, jszhang@kernel.org, llvm@lists.linux.dev, Paul Walmsley , aou@eecs.berkeley.edu, Arnd Bergmann , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH v2 0/4] riscv: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION In-Reply-To: <20230621-hungrily-pancake-9e1ff5b0b02a@spud> References: <20230621-hungrily-pancake-9e1ff5b0b02a@spud> Date: Wed, 21 Jun 2023 19:51:15 +0200 Message-ID: <87wmzwn1po.fsf@all.your.base.are.belong.to.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Conor Dooley writes: [...] >> So I'm no longer actually sure there's a hang, just something slow.=20=20 >> That's even more of a grey area, but I think it's sane to call a 1-hour= =20 >> link time a regression -- unless it's expected that this is just very=20 >> slow to link? > > I dunno, if it was only a thing for allyesconfig, then whatever - but > it's gonna significantly increase build times for any large kernels if LLD > is this much slower than LD. Regression in my book. > > I'm gonna go and experiment with mixed toolchain builds, I'll report > back.. I took palmer/for-next (1bd2963b2175 ("Merge patch series "riscv: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION"")) for a tuxmake build with llvm-16: | ~/src/tuxmake/run -v --wrapper ccache --target-arch riscv \ | --toolchain=3Dllvm-16 --runtime docker --directory . -k \ | allyesconfig Took forever, but passed after 2.5h. CONFIG_CC_VERSION_TEXT=3D"Debian clang version 16.0.6 (++20230610113307+7cb= f1a259152-1~exp1~20230610233402.106)" Bj=C3=B6rn