Return-Path: Received: from mail-oi0-f46.google.com ([209.85.218.46]:41793 "EHLO mail-oi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752060AbeENUv4 (ORCPT ); Mon, 14 May 2018 16:51:56 -0400 Received: by mail-oi0-f46.google.com with SMTP id 11-v6so11969208ois.8 for ; Mon, 14 May 2018 13:51:56 -0700 (PDT) Subject: Re: [RFCv2 PATCH 0/3] Salted build ids via linker sections References: <20180329180112.11055-1-labbott@redhat.com> <1522413619.15770.88.camel@fedoraproject.org> From: Laura Abbott Message-ID: <42e86b87-b09e-c3e9-8328-7fa418efb627@redhat.com> Date: Mon, 14 May 2018 13:51:52 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Andy Lutomirski , Masahiro Yamada Cc: Mark Wielaard , "H. J. Lu" , Linus Torvalds , X86 ML , LKML , Nick Clifton , Cary Coutant , linux-kbuild@vger.kernel.org On 05/07/2018 07:49 PM, Andy Lutomirski wrote: > On Sun, May 6, 2018 at 11:59 PM Masahiro Yamada < > yamada.masahiro@socionext.com> wrote: > >> 2018-03-30 21:40 GMT+09:00 Mark Wielaard : >>> On Thu, 2018-03-29 at 11:01 -0700, Laura Abbott wrote: >>>> I'm still mostly looking for feedback whether >>>> this would be acceptable for merging or if we should just persue a >>>> --build-id-salt in binutils. >>> >>> Personally I would go with this approach. It seems simple and it might >>> take years before a new linker option is available everywhere. > > >> Indeed. This series is easier than --build-id-salt. > >> If you do not see any better solution, I can accept this. > > >> BTW, when I read >> https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo >> I thought "we could reverse the symlink direction from debug file to >> build-id file)" >> sensible (but I understand it is not easy to change this way). > > >> If two packages share an identical image, >> one package can borrow the image from the other, >> then the storage space will be saved. > >> So, having identical ID should be advantage, >> but we actually see only disadvantage... > > > > >>> To simplify things I think you could just always add the extra vdso >>> .comment initialized to something like KERNELRELEASE. Which distros >>> seem to update anyway to include their build number, so they wouldn't >>> need to do anything special to "update the build salt". >>> > > That's what I was thinking, too. Would that solve Fedora's problem? > Yes, that seems reasonable.