Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp783230pxb; Thu, 12 Nov 2020 16:55:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHigtIMKdbUSGEPtIPX12ALJJgy4bbpOp9fwi+NuxQZ1KgapzUln4AwySYn1hFVdenoUfP X-Received: by 2002:a17:906:3644:: with SMTP id r4mr1914607ejb.517.1605228908738; Thu, 12 Nov 2020 16:55:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605228908; cv=none; d=google.com; s=arc-20160816; b=VUrYPGbpV17P7Bt23WdUfNBCQgpfeFqPvgOpDuJ8wHB+FhMnXFde3JfSdNnDHnDjTz En/PU8YoxvX0O4vxaqzLZI+yMQjIsPsDfwM2e1F7647ABrWU/I0ZUrZ+gIXjlRgh3IZI T5J+7LHPowWWubO1y0SH+pHbUbHMRqcj6ieYxtXsje5lVQDY81wFLUUN3L3Ls1fxX+Cd mPdctiwTOGQR0d08pcFhTnoJhd9jWNsRI052H7QFlaVOOwJvHJO6gt8NOJTko+E4CM8n 1xnpAo1ZfhIJ0x8zkwvSX07bWAY8wbX6QYf2IBVEaVLXmkz5WUKmnc7r1U8olNxaHGvJ V6sA== 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=kpvnKSrVoabXQhGOD0rhoXlbZEbSnpbz56+dy5+JM3c=; b=AupYN15E2qchU+kGDYsMVYwmBE4KCVFyLrwRqZvY2+Ul1/e8ljr7dlKIz65a0wZJir mAun1T32DcgqbJcTH6pvspok/i/+rODA/3zN/avwdcDcTbGktcjoNhWNDyhL2hQfqxXq dNYXJa7Lvi+pxco2w4jLg0GFwVw4bwJ9cT8v8cH5LXtwnwy9vh/NS1DutOQ4jy6g9vVu 1gY7FSIf6QHGm1viYI5B55wMw3oyHOeD7jYtQFspJpxLs80H0bjUCWsm+VDepmYmEwBF 1/kp0BgzD3wT6v5emUEJZFs5csdvmdwnEdKcF2piyPrGWJRciI067X6Gc3ijnubx4Z8/ B2Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=CCoUOKAE; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u19si4872757ejx.98.2020.11.12.16.54.46; Thu, 12 Nov 2020 16:55:08 -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=@google.com header.s=20161025 header.b=CCoUOKAE; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726011AbgKMAx0 (ORCPT + 99 others); Thu, 12 Nov 2020 19:53:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725929AbgKMAx0 (ORCPT ); Thu, 12 Nov 2020 19:53:26 -0500 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B77EC0613D1 for ; Thu, 12 Nov 2020 16:53:26 -0800 (PST) Received: by mail-pf1-x442.google.com with SMTP id 10so6158181pfp.5 for ; Thu, 12 Nov 2020 16:53:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kpvnKSrVoabXQhGOD0rhoXlbZEbSnpbz56+dy5+JM3c=; b=CCoUOKAEuP3dgQeDYy5FUfj2zEbtK8AtB9vlZlMHZ3QyqTAvhQOLQ6DTjHAbwciNKm b8KAhm0DIozDlTZ1ph4G9pklcyTMZOIDQBlz+cUogtjeetIlz5UoNRJiTEHqrmS+uDVh Cv5PjEmZmR4PjA/vyFg4r2zYvt9lJqDBD2GhuunxqgIGS/ZyzQkEYlZUZAZ6ihH2zVS8 1BBn0/VKet6kSgLWrPYwfaRTa1hlr5LsDiI5es005tOYGmPE7jrBhrY4Ge5R/5FFzV8F 4SNy6Xlv7Qdhg6qtQCDvdR7zhcSe12BiW4X+7sPYF/LqEem4bCoEROdRYJyP5Y1BAHc7 tRHQ== 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=kpvnKSrVoabXQhGOD0rhoXlbZEbSnpbz56+dy5+JM3c=; b=pC/PPBe+lkljSsA2bOZmsR5ory/HrYPLM6B/iVNtYGQCujdhC/G79Qtdr9QEGWEsZT Dcdz0GyLNZdnnflYxm/kLkw/1t7zS0QMPYunuLMPTEU8kuCbdLTFRVumysvgfQVodyBV IleoceqUpGlWPVNuyTfPN00BKEdUehq+jxtoU9Qbop58bhfmU/Tok9JcsJTu36hGG07L Ijy/KmGbA451yYnEs30x0Rsy50kDmN2vgX8Y8vWOmHnHiUwSRrOUIlxHDNxpuDylvpOp +PAUZ/8VmGxRt/hSXEsKfembGLtT7V5JuuOwi1YOaT8cE1m96Egazl1L9XvzA4T+f7V2 LstA== X-Gm-Message-State: AOAM532DitQwULr0Pt5EX5rf9Nd7sTcmE1aQoFpoM9f+g3n6G0TqP7TS 88HdIxhtp04R2Zox3suVa24UgN7JR0tvuvs9PukI/Q== X-Received: by 2002:a17:90b:110b:: with SMTP id gi11mr491437pjb.25.1605228805456; Thu, 12 Nov 2020 16:53:25 -0800 (PST) MIME-Version: 1.0 References: <20201108203737.94270-1-natechancellor@gmail.com> In-Reply-To: <20201108203737.94270-1-natechancellor@gmail.com> From: Nick Desaulniers Date: Thu, 12 Nov 2020 16:53:14 -0800 Message-ID: Subject: Re: [PATCH] riscv: Explicitly specify the build id style in vDSO Makefile again To: Nathan Chancellor Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, LKML , clang-built-linux , Bill Wendling , Masahiro Yamada Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 8, 2020 at 12:37 PM Nathan Chancellor wrote: > > Commit a96843372331 ("kbuild: explicitly specify the build id style") > explicitly set the build ID style to SHA1. Commit c2c81bb2f691 ("RISC-V: > Fix the VDSO symbol generaton for binutils-2.35+") undid this change, > likely unintentionally. > > Restore it so that the build ID style stays consistent across the tree > regardless of linker. > > Fixes: c2c81bb2f691 ("RISC-V: Fix the VDSO symbol generaton for binutils-2.35+") > Signed-off-by: Nathan Chancellor Thanks for the fixup! Reviewed-by: Nick Desaulniers (I'm curious what --build-id linker flag does, and what kind of spooky bugs that led to a96843372331?) > --- > arch/riscv/kernel/vdso/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/riscv/kernel/vdso/Makefile b/arch/riscv/kernel/vdso/Makefile > index cb8f9e4cfcbf..0cfd6da784f8 100644 > --- a/arch/riscv/kernel/vdso/Makefile > +++ b/arch/riscv/kernel/vdso/Makefile > @@ -44,7 +44,7 @@ SYSCFLAGS_vdso.so.dbg = $(c_flags) > $(obj)/vdso.so.dbg: $(src)/vdso.lds $(obj-vdso) FORCE > $(call if_changed,vdsold) > SYSCFLAGS_vdso.so.dbg = -shared -s -Wl,-soname=linux-vdso.so.1 \ > - -Wl,--build-id -Wl,--hash-style=both > + -Wl,--build-id=sha1 -Wl,--hash-style=both > > # We also create a special relocatable object that should mirror the symbol > # table and layout of the linked DSO. With ld --just-symbols we can then > > base-commit: c2c81bb2f69138f902e1a58d3bef6ad97fb8a92c > -- > 2.29.2 > > -- > You received this message because you are subscribed to the Google Groups "Clang Built Linux" group. > To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/20201108203737.94270-1-natechancellor%40gmail.com. -- Thanks, ~Nick Desaulniers