From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2FB28ECAAD6 for ; Fri, 26 Aug 2022 20:59:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 69C3E841F5; Fri, 26 Aug 2022 22:59:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="B/njsubg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 57E7D841F9; Fri, 26 Aug 2022 22:59:07 +0200 (CEST) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8EBE9841CD for ; Fri, 26 Aug 2022 22:59:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x733.google.com with SMTP id f14so2103160qkm.0 for ; Fri, 26 Aug 2022 13:59:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=WW2W+yYnIDk6d6PfmDacBO+5K8JhhYiecoOXZeB51K0=; b=B/njsubgIhaRA04EXL6mO5a6Xxb5RjAWAqj8MIm77w3Q7kIHeqlsM0X9B/Rus8fXGq 0hBMbF5TwuopYXdgV9hsUfycwdpGB24Z4TDaCU6XGc8074HodQu+lbKeYgySEbzlwBJi kPKyWeGcCqrflfxN85PmCKa8aDPG0dkc7pTdc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=WW2W+yYnIDk6d6PfmDacBO+5K8JhhYiecoOXZeB51K0=; b=hSgp2osYhwz500zvz2MKx2UGEUrApUpp1M1N84dKtjOZUJm/6H3u1wcQbFTEHTTle3 zgEuCFzhTNKEcQZDIJvpe5Q4U9878tfkO6M9qRj1zZFZPIXAxu/lvRr04QyGnVGPgnG0 cH9MGqoVjzFRly9G8nTyDLil4E8qxrJNpNixruXiG5B2VB0TW3uJg0TW4ecwV8GMnWTU bKpkft1tLhPQaMcoO6G2ZqboLZLhRYaJSBt2NGjBgA6MNfk2I6hvvo8HQ2BBArwqPgPD nM6TpR/GjpKs4EeI4GAhRyd+II8wet/CGQhKl67IAj2TgFBYhy8FiHvGdnDyuaf3ANi4 MZUw== X-Gm-Message-State: ACgBeo20TU8aLrmkTOUhIfuONm9ei5gizBcF4CNoWL+R4QRNCed4hAY4 1t44mXOBBuiFz6OnkjwNhxpBEw== X-Google-Smtp-Source: AA6agR6De9ER2rwyYTs621uxkB8I2yG/WU8bPYV7ZK9pL4MDC74r21L/AbnMPbUKmGwLhF1lE5j88Q== X-Received: by 2002:a05:620a:385:b0:6bb:5a16:54fc with SMTP id q5-20020a05620a038500b006bb5a1654fcmr1111588qkm.46.1661547543339; Fri, 26 Aug 2022 13:59:03 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id t18-20020ac87392000000b00342f917444csm436309qtp.85.2022.08.26.13.59.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 13:59:02 -0700 (PDT) Date: Fri, 26 Aug 2022 16:59:00 -0400 From: Tom Rini To: Vagrant Cascadian Cc: u-boot@lists.denx.de, Vagrant Cascadian , Heinrich Schuchardt , Simon Glass Subject: Re: [PATCH] Makefile: Use relative paths for debugging symbols. Message-ID: <20220826205900.GA3931749@bill-the-cat> References: <20220818173133.12552-1-vagrant@debian.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: <20220818173133.12552-1-vagrant@debian.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 18, 2022 at 10:31:34AM -0700, Vagrant Cascadian wrote: > From: Vagrant Cascadian >=20 > The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use > -ffile-prefix-map and --debug-prefix-map, respectively, to use > relative paths for occurrences of __FILE__ and debug paths. >=20 > This enables reproducible builds regardless of the absolute path to > the build directory: >=20 > https://reproducible-builds.org/docs/build-path/ >=20 > Signed-off-by: Vagrant Cascadian > Acked-by: Rasmus Villemoes This needs some sort of clang check and then perhaps different flag used? How does the linux kernel handle this? See: https://source.denx.de/u-boot/u-boot/-/jobs/487013#L48 --=20 Tom --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmMJNA4ACgkQFHw5/5Y0 tyzbnwwArZ8NdkXnD7deafJaVydweEP+xqI9RLBPyDU22W4O+rKo6IFPaqRhp3To y+ONmQBGWFpbUTG0Ge1Wzxkm+jbGdapD3SsF/bvWkb0zpwCHgj3tKCeFKRZUIJ7S t9uBCbz+IpRnXigw6OakB9zHTPHvymU+v9EfMxHJGTQ9q5ijKBCg70LAOVvp5+0M jpRptsxwkGAfSnkWyTqwjke3yjQFETEB1ILGSvf+7nykc71yA7XkFbEyD+oKLAuD 2Dy1Rw3eOl7VWvjpTrNBk0Q9R77HiqZT/EVdImnfZcS1UjocJe+Nh6uV/KmsRJ3C qRSHfS4Uwl1yrQEnS56OcI+Kf1S7gA4aWgSBI6/pa9oDYiIZCMcWRmeLUBKqT1yr ues/czJ89bcT4yLJb+tZimCpLlRzM4BWkYu8i0YzeX/ZMVBDsPDzSPtmkiT7c6s3 fFDDYbv2fvtGxgtEQtR9HomyS+YRMIYyY9cOXqqGAq8sVNpi1E3KWis2PcBVl6zg FgYw/QRN =ezBK -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--