Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1677187pxb; Fri, 20 Nov 2020 16:17:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxND+xmFGVluyeDslcevpzTvZITRUB9HlJAOrZW3RTQBOvU0VIBp+TqvWPRFgJ4dIWqTk6C X-Received: by 2002:a05:6402:1389:: with SMTP id b9mr28166501edv.178.1605917870812; Fri, 20 Nov 2020 16:17:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605917870; cv=none; d=google.com; s=arc-20160816; b=TbKRw4X40LMRFaaHn093iw2G+imUC+fBJn/It8MIKVTMnys4PhLq9E3VqZmhIdCxk1 iB/wFgEnsf0zlfDrG537QsPRYx1VVcQi7TJYSqqG69g1Pv9TglagFblUCe0NOE9VvWtg dCraXZT77c3nnMHbw4duG3REoqJnDyer/hJ41jZrEJvYJZRgeSwxwuX/F7eblUl8lk3h d+/peCUxCkNBfGTDiMJewdIq3QB0iCyEwz1KBrMkXcjbAuuagOpDVHLfm6XJrsoDFU3d 4Ry8EBwglRK1/gKVj1sIQIaqIokwnkcCgizsnpsbRT2DHx1wDdMk2cpHAWG1btZH/HlS 4rLg== 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:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=U5bxGcfchBQVmEBBbdQ2iExVkYUOiZ88oTXx0NbjtJo=; b=WS0zic7HcahkliQUaMjVOOUrCqkhEwUe8J57irTrJrRZkGlJ0NH2JWtYeMt6OIKbuf GCRfF2WYAawPlmIcaSc3ERYN0FCNPTZj8EYypAiGt5n7IrO0WNDxLZR+mQX/5aFV87u0 bTUvFnNDHEI2lUiddJVfMhxkLSFm4W4+8aDXWdXM4EIajBf1pSDalP9casZOocy7d/zX XQESef+xxwHOlwxM45jfuxMP3siNd6PSGr6cYGDvT04nznMPuan12PCexmPwLBwrPRSq wFJ7b6F+00L5pZcnLBl13lA8UqLNNARDcOxjcj2nUQSm7coQhA/ugZjRH6uDtypsv8zN WEUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=lFf95V8U; 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 i20si2582830eja.694.2020.11.20.16.17.28; Fri, 20 Nov 2020 16:17:50 -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=lFf95V8U; 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 S1728792AbgKUAOL (ORCPT + 99 others); Fri, 20 Nov 2020 19:14:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728766AbgKUAOL (ORCPT ); Fri, 20 Nov 2020 19:14:11 -0500 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 107FEC0613CF for ; Fri, 20 Nov 2020 16:14:11 -0800 (PST) Received: by mail-pf1-x443.google.com with SMTP id t8so9429988pfg.8 for ; Fri, 20 Nov 2020 16:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=U5bxGcfchBQVmEBBbdQ2iExVkYUOiZ88oTXx0NbjtJo=; b=lFf95V8UJCgnIR3tVTNzhQbMvHSGH4PFeD3IW3zbQXYRLFulE0tlnHgaGHzjcWqYCu M8hHkR/53SfKqioD8PcoDSfRujcXhIfaQV/4wscMe5p1veyQgpfnkiGNMlG/iFFlELI2 R+jnrlb1lcIbvdAaHM80Q1jzKSH1tQNe0fSdBqV+D0J2l6PK0FnBuYUGjD0oRfCtkbWb yBRMmO0oU2eAqpZ68t1sLuhcE1Me2ig6IovdpGz7YsZAS6IFKYitGTBaRwTawdo2ydOr 1RqKRPvktkKjlrAcwx+nFGdl7vDUwEmNz5ozQf5b7IvvVimu2MbKVYNGjiltrDPohpN2 XzsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=U5bxGcfchBQVmEBBbdQ2iExVkYUOiZ88oTXx0NbjtJo=; b=IkhJPKdaq8QzBOZyXetzjY5lQxAr8py6hgPMPK0us0OVTyYn11CXpSjFo/zyrj3m9q rnhpOAdSJDFcwLNm05yibGVbPYh82L7eof+4SP62cGi/M3bZg/rTcvhIa22xnZCrBoZu /O1wqewgVbUBQaUMmknnXlDhA2fng0EjLHFMtnJqQ0SqoPJBvSFN3C+kDLnBxNwMlddj QLkIwzkxgfmcDAS/gRKy1Xcy0L6OcKjynwKRmKO81gYmlk50+HwMMHCkTrpGdmkLlr6j F8KncGJifADxiNf47gs5zoOXSQuGrVxcCpXtkHAxd4HBG13TPauBNPMauYxKauijKly2 aatQ== X-Gm-Message-State: AOAM533mg+Bz28PZxhi4/zeyF3mPUxVdIpUxu/wGRfL0R8A5PFDSaT2j CgPt5/rRhCZ+Gbg/WN8ouc1sYw== X-Received: by 2002:a65:684d:: with SMTP id q13mr19480014pgt.372.1605917650458; Fri, 20 Nov 2020 16:14:10 -0800 (PST) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id k8sm5080220pfh.6.2020.11.20.16.14.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 16:14:09 -0800 (PST) Date: Fri, 20 Nov 2020 16:14:09 -0800 (PST) X-Google-Original-Date: Fri, 20 Nov 2020 16:13:38 PST (-0800) Subject: Re: [PATCH] riscv: Explicitly specify the build id style in vDSO Makefile again In-Reply-To: <20201108203737.94270-1-natechancellor@gmail.com> CC: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, natechancellor@gmail.com From: Palmer Dabbelt To: natechancellor@gmail.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 08 Nov 2020 12:37:37 PST (-0800), natechancellor@gmail.com 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 > --- > 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 Sorry about that. This is on fixes.