Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3145642pxb; Sat, 6 Feb 2021 22:42:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRsrW1a04Zz+nZW2X10Bp/8iDyePwDax6vOB/H/qIOzTiOrKQl5iHOeMBq2GElOB52xE1x X-Received: by 2002:a17:906:ad98:: with SMTP id la24mr11614891ejb.315.1612680166613; Sat, 06 Feb 2021 22:42:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612680166; cv=none; d=google.com; s=arc-20160816; b=RCA51qjp87XAwrsDCwEmNJEpS144008UiiiOqrYfTTnqouF3lOJqX7gSG86iUpt0ST pVXmdv84FxArJtqaIQzJ5PEjllFCq1lK9D/h96YdWNTLkPoncJ1YdWrCd4CV0F3oRjUj QsZ6RqT0CwKuBii840Dtb16E268aTohwrsoUJoqsdkUIA9K9cS43/qoMmroET5kYu4tu uoibAmGLhJg6vjXI2nmYRw/moZ8Ggc989/Opxl+TVnkYtcPnrw3pNy3FUpRxD6QxcgS6 XE8f+i6/heOAfXPEfjwlrbuBb7szTEYYG6YRUQjCygmprqvbIG7lMnnTFttP/kJNCxeG jzaA== 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=GlJNn2KKdJS8oq027oLGrRLJouoIItrT/vD2YNkGOHw=; b=rXOqzdMdhPwIi3E/k2dXsal4omze8Yl1Nn7tj1foA2YCoawLU3mTrmWZlZipCwzrwa QQI6lqI3jkkcc+vewEm3lpvT2yqy2p7nhD3GhesW8G5iWez94ZX0NSQ3K8oHOWKf1KwS Mf0s3p6fe2JJWaNMlPJqrBqtRGgb4Xxl3BbXmyvkJRxyuO4BpMoAvxq6lRFZFnl3Dx18 IQz1+0QendBg2vG+jtTq0hoavw3plro49d01TPNppAtEcegkfscGdqdsTskZZoM3GV7C yBCc5lQBDYW4+tEkEcSCS9SSS9prNpoKRgqm+LbGJHsEiV3zuUHozlnaP2UKFxI9EmE6 +M8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mSHENQCg; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i12si6785162edr.176.2021.02.06.22.42.23; Sat, 06 Feb 2021 22:42:46 -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=@gmail.com header.s=20161025 header.b=mSHENQCg; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229601AbhBGGlx (ORCPT + 99 others); Sun, 7 Feb 2021 01:41:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbhBGGlv (ORCPT ); Sun, 7 Feb 2021 01:41:51 -0500 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0254C06174A; Sat, 6 Feb 2021 22:41:11 -0800 (PST) Received: by mail-yb1-xb2d.google.com with SMTP id w204so11346818ybg.2; Sat, 06 Feb 2021 22:41:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GlJNn2KKdJS8oq027oLGrRLJouoIItrT/vD2YNkGOHw=; b=mSHENQCgb41UykAZGTFrantO8YmWyku/0TFcPP5cqKruuq3ySSaw1VxSlo1HhKZs5N RIQwk13LT4y1g/LfcJW4Zz3o9nfYjq3YYuCWvCTeq/+hVVWxY3QutHvv0LEOVWKbT+Zj 0kOr93qwW73DRx8wW6wKqfIZN03omJEYjOacbQdcpXQYkRu8KP3g7fzQTTdHILYZ8MlY Vx6StR0ksf1WiDm9T9Ht5w/wEwZMsX6c9wWqtjVK+G5HsdwDRoXcBFIL72pQv+YR1v+o rXbdTedtb8/ahxs13xAbuAAJ3PXqR3bFqoP68ljwQcClE6RFIUg0cY0f8/zBVAxS9izM S0kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GlJNn2KKdJS8oq027oLGrRLJouoIItrT/vD2YNkGOHw=; b=fx5fAQ88swo4myNvEPChENdxn45S5XcCV9z7eXS9U4k9K8GQTc7sVbijvfsuwCFcQ5 Sbxh9O6PSZplt+ltqD6wXiryDx/KNGBUztF4JcKuYIrvDMQbhFaFmo2dfBx8bBdwq44c LT2iFFMKjjDEoMSGi8VtnX6ywqzsHP8aCgvLYZpt1NyWEHjrR6SmsGmBzd4W99hCCesH 1amjBRmIDkYyj2vTs2dtTOnHk2oL0bGb0CoH5DHmBJUDXB0MBg43zKgQNSA1FiSx4mPL 9XkKtR84o4maJnAlCqpBc+HkL4yHJ68NQoEwnT8r86ssa8NYpzyEr5pdmw9j+7x+cqIx exBQ== X-Gm-Message-State: AOAM530ynwDoZHJza2ORY7aKIErLy28B4IPB8sUyHbZw5iq8abIBJPuh mEkph2iUzHcdY9XNPG+z50MBkNzsVoGYlR/Nono= X-Received: by 2002:a5b:3c4:: with SMTP id t4mr15921211ybp.510.1612680070753; Sat, 06 Feb 2021 22:41:10 -0800 (PST) MIME-Version: 1.0 References: <20210204220741.GA920417@kernel.org> <20210205162523.GF920417@kernel.org> <20210205235537.GE106434@kernel.org> In-Reply-To: <20210205235537.GE106434@kernel.org> From: Andrii Nakryiko Date: Sat, 6 Feb 2021 22:40:59 -0800 Message-ID: Subject: Re: ANNOUNCE: pahole v1.20 (gcc11 DWARF5's default, lots of ELF sections, BTF) To: Arnaldo Carvalho de Melo Cc: dwarves@vger.kernel.org, Linux Kernel Mailing List , bpf , Jiri Olsa , Jan Engelhardt , Domenico Andreoli , Matthias Schwarzott , Andrii Nakryiko , Yonghong Song , Mark Wieelard , Paul Moore , Ondrej Mosnacek , =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , Sedat Dilek , Tom Stellard Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 5, 2021 at 3:55 PM Arnaldo Carvalho de Melo wrote: > > Em Fri, Feb 05, 2021 at 02:11:44PM -0800, Andrii Nakryiko escreveu: > > On Fri, Feb 5, 2021 at 8:25 AM Arnaldo Carvalho de Melo > > wrote: > > > > > > Em Fri, Feb 05, 2021 at 06:33:43AM -0300, Arnaldo Carvalho de Melo escreveu: > > > > On February 5, 2021 4:39:47 AM GMT-03:00, Andrii Nakryiko wrote: > > > > >On Thu, Feb 4, 2021 at 8:34 PM Arnaldo Carvalho de Melo > wrote: > > > > >> On February 4, 2021 9:01:51 PM GMT-03:00, Andrii Nakryiko > > > > > wrote: > > > > >> >On Thu, Feb 4, 2021 at 2:09 PM Arnaldo Carvalho de > > > > >Melo> wrote: > > > > >> >> The v1.20 release of pahole and its friends is out, mostly > > > > >> >> addressing problems related to gcc 11 defaulting to DWARF5 for -g, > > > > >> >> available at the usual places: > > > > > > > >> >Great, thanks, Arnaldo! Do you plan to build RPMs soon as well? > > > > > > > >> It's in rawhide already, I'll do it for f33, f32 later, > > > > > > > >Do you have a link? I tried to find it, but only see 1.19 so far. > > > > > > > https://koji.fedoraproject.org/koji/buildinfo?buildID=1703678 > > > > > > And now for Fedora 33, waiting for karma bumps at: > > > > > > https://bodhi.fedoraproject.org/updates/FEDORA-2021-804e7a572c > > > > > > fedpkg buidling for f32 now. > > > Ok, imported dwarves-1.20. Had to fix two dates in changelog (in > > spec), day of week didn't match the date, tooling complained about > > that. Also had to undo cmake_build and cmake_install fanciness, > > because apparently we don't have them or the support for it is not > > great. But otherwise everything else looks to be ok. > > Send patch please, I wasn't expecting this, if you could do some more > and send me tooling bits to help me in the release process, if that is > possible, I'd love to get it, otherwise I'll write it, don't want to go > thru this one more time, sigh :-( > I just "reverted" some bits of spec file to what it used to be pre-1.19, I think. There is also a work-around for lack of ldconfig_scriptlets support in our platform, so I have to work around that. Here's full diff: diff -u sources/git/rpm/SPECS/dwarves.spec specfiles/dwarves.spec --- sources/git/rpm/SPECS/dwarves.spec 2021-02-05 11:19:54.364938716 -0800 +++ specfiles/dwarves.spec 2021-02-05 13:26:52.502859609 -0800 @@ -3,12 +3,14 @@ Name: dwarves Version: 1.20 -Release: 1%{?dist} +Release: 1fb1%{?dist} License: GPLv2 Summary: Debugging Information Manipulation Tools (pahole & friends) URL: http://acmel.wordpress.com Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.xz Requires: %{libname}%{libver} = %{version}-%{release} +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig BuildRequires: gcc BuildRequires: cmake >= 2.8.12 BuildRequires: zlib-devel @@ -68,13 +70,14 @@ %build %cmake -DCMAKE_BUILD_TYPE=Release . -%cmake_build +make VERBOSE=1 %{?_smp_mflags} %install rm -Rf %{buildroot} -%cmake_install +make install DESTDIR=%{buildroot} -%ldconfig_scriptlets -n %{libname}%{libver} +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %files %doc README.ctracer @@ -295,7 +298,7 @@ * Sat Nov 20 2010 Arnaldo Carvalho de Melo - 1.9-1 - New release -* Tue Feb 08 2010 Fedora Release Engineering - 1.8-2 +* Mon Feb 08 2010 Fedora Release Engineering - 1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 4 2009 Arnaldo Carvalho de Melo - 1.8-1 @@ -446,7 +449,7 @@ - Fix emission of arrays of structs, unions, etc - use sysconf for the default cacheline size -* Wed Jan 18 2007 Arnaldo Carvalho de Melo +* Thu Jan 18 2007 Arnaldo Carvalho de Melo - fab0db03ea9046893ca110bb2b7d71b764f61033 - pdwtags added > > - Arnaldo