From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 21 Jul 2021 15:36:42 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m6COw-0001FD-6h for lore@lore.pengutronix.de; Wed, 21 Jul 2021 15:36:42 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m6COv-0002db-Oj; Wed, 21 Jul 2021 15:36:41 +0200 Received: from mout.kundenserver.de ([212.227.126.133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6COb-0002cZ-Ug for ptxdist@pengutronix.de; Wed, 21 Jul 2021 15:36:22 +0200 Received: from methusalix.internal.home.lespocky.de ([92.117.59.90]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MOiLv-1lk1TX49UN-00QAvw for ; Wed, 21 Jul 2021 15:36:21 +0200 Received: from falbala.internal.home.lespocky.de ([192.168.243.94]) by methusalix.internal.home.lespocky.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m6COS-0006Mk-Jg for ptxdist@pengutronix.de; Wed, 21 Jul 2021 15:36:14 +0200 Date: Wed, 21 Jul 2021 15:36:09 +0200 From: Alexander Dahl To: ptxdist@pengutronix.de Message-ID: <20210721133608.dy2urgqntrxzqseb@falbala.internal.home.lespocky.de> Mail-Followup-To: ptxdist@pengutronix.de References: MIME-Version: 1.0 In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-Scan-Signature: b1198b667d2db641cccf5b3ffa27e5f4 X-Provags-ID: V03:K1:E32T1fmypzGnCBcQbaEfv2QvI2bjDO1YcMFWHQi4Nb/y8ZYZQaC JfU/Xos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T1XCdJsWcrmDNcf9CmUoMsBcEjsMdDcdu8s X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] Why are the __DATE__ and __TIME__ fixed in the OSELAS Toolchain or PTXDist ? X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1630587575==" Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false --===============1630587575== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="espopcvqespqmwcq" Content-Disposition: inline --espopcvqespqmwcq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Mircea, On Wed, Jul 21, 2021 at 03:02:36PM +0200, Mircea Ciocan wrote: > Hello everybody, >=20 > I have a rather strange question: >=20 > In one of my programs, to differentiate during testing in between differe= nt > compilation of the same program, I'm using a poor's man serialization bas= ed > on the __DATE__ and __TIME__ macros (or whatever they are nowadays). I usually use some Git based version information from=20 `git describe --dirty` =E2=80=A6 > Unfortunately I've always get a constant value: "Mar=C2=A0 1 2021-00:00:0= 0" when > I compile it with PTXDist and OSELAS toolchain and I was wondering where = it > comes from (this happens with the last three versions of the OSELAS > toolchain)? This is for aarch64, the same program compiled with Ubuntu > distribution gcc gives expected results. >=20 > Could somebody shad some light why is that and eventually on how to disab= le > this really undesired behavior ? The reason is so called reproducible builds: https://reproducible-builds.org/ You can change behaviour in your BSP through the REPRODUCIBLE_TIMESTAMP_* variables. Access it from the menu through "Project Name & Version" ---> "SOURCE_DATE_EPOCH timestamps source" Greets Alex --=20 /"\ ASCII RIBBON | =C2=BBWith the first link, the chain is forged. The first \ / CAMPAIGN | speech censured, the first thought forbidden, the X AGAINST | first freedom denied, chains us all irrevocably.=C2=AB / \ HTML MAIL | (Jean-Luc Picard, quoting Judge Aaron Satie) --espopcvqespqmwcq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEwo7muQJjlc+Prwj6NK3NAHIhXMYFAmD4IsQACgkQNK3NAHIh XMZdHA/+IIIOIx97JEt6fKTeccuWY6psLird78KL9OSI1fhT/dtIxSSAInnXIAnZ R7WGuw9B8MEF5k1Le2U0nvNBV9OgDYhDjnTRccHbTggjRauIrECPTpEg3UwIv7Sh glsZitPNJZ0LrxVQY474ibn8+jIsn7RilnV9K/2102tj1gyIwN4hRkIpNtDbAIFq aBcrIOKyQoQh0HjbC6JSuQjYpWvLbjHWVcpX1atrrWiKtzTKikJMA6K1t0oF5cNs Mb/xG0VG/7i/RugLC2iI+WAPubnc3RjSz6rln2dJB3bQ/Ku2pBFxJG5ZYeIXlkXR DhTHjEF5UzlNsxUksRX4m8G3LkMEKT16RFUkIhNtCALG/QcmPVIEdZMi+FcqObUg G+KjkdfXCJkhpynx+reDfmLGVyo4PzbzZL5Bl5kz8Xxf1cBcLoEHA0gyo35ZyLKf sewJb4q/aZWrdQnCalPZqrmNb7FKWjtZohIo0h9MxLr1YThdxUMT0cXz4EieTuRD 2dFqUSIb4q2hk9pR+KECRwEJ7zU4QGcd6MpwQf1IvfbVZCaRbjBsixii9sKG1K9a Y2Fi7BS5P3TifpJwzjfnuR1XIJIrU8JiVejs7WHwrALESogmTinR7sXfZ8voIJez GAxvXqsZ7QO6O5phzfzr32RlrUoLfC82JIy8mUFyLlV6F9Ofjd4= =HF4x -----END PGP SIGNATURE----- --espopcvqespqmwcq-- --===============1630587575== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de --===============1630587575==--