Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1965286rwb; Wed, 26 Jul 2023 23:19:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlE+bd3YurzRsx6XJLEdIw07fES4gtvOldN0py11CPNdEKMS9ePyx8ka1J6oKmceUBIejq/X X-Received: by 2002:a05:6a00:994:b0:64f:7a9c:cb15 with SMTP id u20-20020a056a00099400b0064f7a9ccb15mr4995537pfg.11.1690438782243; Wed, 26 Jul 2023 23:19:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690438782; cv=none; d=google.com; s=arc-20160816; b=KLBRrsZxJoIeUm/RQ31WQANqjZJ+hbvyx8yl6UXdivq7iKyL1W4zUMnIaPqflclVh6 iw3vK70jqRfThuGVje08tm1yznhw/nG8R5kLIEVZL/UCuQCscV2CDIAHtG1fHVGZQHhf cMBOObOti95aofrXNDOggCLccjOBFF/WASyF73vaE5NEZHoCO528mSQaV5rwElopYVjT 1sZU9ZqLSeAybi6Yx+oezQOGIoDZPs6S7k03Qr5bgLoNCnjpeYUatKSJxah6JW3PqYEJ ccNvGyR7sCcc06qM8YiTV9PV5HrnXElub9DbnVpQUEEZGGnoygt3wVpK7717PUBcNPHk JjKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tAcJJL/0x6iDH6k56IBaaZzyu/V8tW3pl6w0uT8MYx8=; fh=9HjLFlOYmh0ey7ZrGyKBGSiQ3071D5euzAbwn2MUqpw=; b=t6XuD3Pumud2on0zR7+rs08ESp//rxNgZtv/od1QKVL/thbESY3uGqnBJWAOhYysJ6 iDeCJUZbxOvptP28+nP8SJJjwmiN1IPh990w1vJXNsmvbDspJH8D4yLVnd/cCZcrN/SL eDdZ+paqXbkwuSTHk83ntf+Ljyw0EjsIdS22HtCaqXTVFXVaQEq1ViR/gwf1G4Y65EA6 gN8JZAd2P3H6G0oU0tYxFKZcy3OqcHDO8h7kEZtFvvnMW7A3Vf/b+ATmPNut5YFhd+SU KPhTRu88v0D8aUt7SynmKAcXO2fRWmb/X+xzypqVHFBNiumWYjGV2CMb50e2L/kZf1jS OkOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=MtW3Ss7Z; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020a056a00084100b00686e19d20d9si872295pfk.373.2023.07.26.23.19.30; Wed, 26 Jul 2023 23:19:42 -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=@gmail.com header.s=20221208 header.b=MtW3Ss7Z; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232770AbjG0F5M (ORCPT + 99 others); Thu, 27 Jul 2023 01:57:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231967AbjG0F4s (ORCPT ); Thu, 27 Jul 2023 01:56:48 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE1CD1BC1; Wed, 26 Jul 2023 22:56:06 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-267fc1d776eso350637a91.2; Wed, 26 Jul 2023 22:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690437357; x=1691042157; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=tAcJJL/0x6iDH6k56IBaaZzyu/V8tW3pl6w0uT8MYx8=; b=MtW3Ss7Zl23nPg1vtBiORDONB220JwyiwWpXCdAFYfoPnyV5x6i4k7uNKDjuN8c0Uw +leKOp+8qe9crKLrIH0KwJS03Mq882zX5RU7jbbgT5VOjnRlDLOAT31ZfV9OeIB4ErY9 lmcEJFW8psJi9CZY6zQMduQEnKD+aBVZX0VaNE6hIuWqoLLPSz6f6EK9ZQ/yS2Pip8fw 6g/Z76uU8Pzx0RPjgSQ7AxNsfGPjvtRQB3hIT6uYnniTxECRg4bxV6jRmMm4udXeqfMN ai+IXSQ81bkB0wd5vqnyLCW6Q2sCfIepdq4K/tPLKP1Y/U2RZ+rMsXbSxKQmmno6ywrq n0Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690437357; x=1691042157; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=tAcJJL/0x6iDH6k56IBaaZzyu/V8tW3pl6w0uT8MYx8=; b=OsdTkVUc3SkDJnnsECfeAKyHFLOUfv2+1N4jaxKGtxZEvBjLKSoIHGU/nR2Ity0JdG D97xid9pYVr7YoeE1j25ok2TBCSTo6u+22X7OwKwU8z1J1v6/4FgHXEVK7w6Xv3gXlN5 Mx26TvuRpFeJcN+hN9ivEwcihiNOVm0OVpaIPX6lTl+y69A0cSBaeN7XS5QFsuvaVc3h pkxSJHIcIPPzR9YjAt5KrtVbjmB1qBu0YhwQGGH7uzVBADmbY5Js18CkTHD9kcLj7gbI 6Fap90xOSNvRmlcCzlMObSDSpZa7uzLhJZZ2Qr0qAYOPxaZDWdIjHxJx8uI9uBM4kXN5 B8zQ== X-Gm-Message-State: ABy/qLYG3fmtaU0qhfy/7zu+S1vPAQNKjbFEtDHC60DqQbmvRwwzj2V6 LKSHsJ8BgLd2D1053tt06pY= X-Received: by 2002:a17:90a:bb8f:b0:267:7021:4e33 with SMTP id v15-20020a17090abb8f00b0026770214e33mr3245920pjr.47.1690437356983; Wed, 26 Jul 2023 22:55:56 -0700 (PDT) Received: from debian.me ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id a15-20020a17090a70cf00b00267fbd521dbsm2082277pjm.5.2023.07.26.22.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 22:55:56 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id 04244819183D; Thu, 27 Jul 2023 12:55:52 +0700 (WIB) Date: Thu, 27 Jul 2023 12:55:52 +0700 From: Bagas Sanjaya To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Kajol Jain , Kan Liang , John Garry , Marcus Seyfarth , Linux Kernel Mailing List , Linux Regressions , Linux Perf , Nick Desaulniers Subject: Re: [perf] Build error when using LTO on 6.4 Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pnnYVvgbwHM4MjFI" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 --pnnYVvgbwHM4MjFI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 26, 2023 at 09:20:33PM -0700, Ian Rogers wrote: > On Wed, Jul 26, 2023 at 8:55=E2=80=AFPM Bagas Sanjaya wrote: > > > > Hi, > > > > I notice a build regression on Bugzilla [1]. Quoting from it: > > > > > Starting with Kernel 6.4, I see a build error when using "-flto" to b= uild perf. This used to work fine with earlier Kernels when using either bf= d or mold as linker when using GCC 13.1.1. >=20 > Hmm.. strange I've never seen this work with GCC. >=20 > > > > > > This is the PKGBUILD I use as my build recipe: https://github.com/ms1= 78/archpkgbuilds/blob/main/packages/bpf/PKGBUILD >=20 > If this binary is for distribution BUILD_BPF_SKEL=3D1 should be set. We > need to make this an opt-out rather than opt-in. The last time we did > this there was some friction: > https://lore.kernel.org/lkml/CAHk-=3DwjY_3cBELRSLMpqCt6Eb71Qei2agfKSNsrr5= KcpdEQCaA@mail.gmail.com/ The reporter runs Arch Linux. PKGBUILD is a build script to create packages, though. See the distro doc [1] for details. [1]: https://wiki.archlinux.org/title/PKGBUILD --=20 An old man doll... just what I always wanted! - Clara --pnnYVvgbwHM4MjFI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZMIG4QAKCRD2uYlJVVFO o+lPAP9UioRI5BBggfSKjgjg93TNq16DLHoJzaMs4darxJ/jsAEAwM3yDTSUuRkf J1OiU/gDqhUYnvSrGVREJFGbwwJqMAY= =MDkJ -----END PGP SIGNATURE----- --pnnYVvgbwHM4MjFI--