mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de, Mircea Ciocan <m.ciocan@ppc-ag.de>
Subject: Re: [ptxdist] Why are the __DATE__ and __TIME__ fixed in the OSELAS Toolchain or PTXDist ?
Date: Wed, 21 Jul 2021 17:35:41 +0200	[thread overview]
Message-ID: <9afc6135-dd78-0e93-1b7c-2821214157ff@t2data.com> (raw)
In-Reply-To: <ba835866-64fa-6deb-a4fd-4156a667fbc0@ppc-ag.de>

On 7/21/21 3:02 PM, Mircea Ciocan wrote:
> Hello everybody,
> 
> I have a rather strange question:
> 
> In one of my programs, to differentiate during testing in between 
> different compilation of the same program, I'm using a poor's man 
> serialization based on the __DATE__ and __TIME__ macros (or whatever 
> they are nowadays).
> 

Which program?

> Unfortunately I've always get a constant value: "Mar  1 2021-00:00:00" 
> 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.
> 

I have the same issue with U-boot 2021.07 atleast, but I find it hard to
believe that ptxdist is behind all this.
Usually it involves some complex timestamp generation depending on a
bucketload of things in some makefile.
Maybe look there?

Could be that ptxdist is missing some environment variable or something?

> Could somebody shad some light why is that and eventually on how to 
> disable this really undesired behavior ?
> 
> Thanks and best regards,
> 
> Mircea
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

      parent reply	other threads:[~2021-07-21 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21 13:02 Mircea Ciocan
2021-07-21 13:36 ` Alexander Dahl
2021-07-21 14:08   ` Mircea Ciocan
2021-07-21 17:35     ` Alexander Dahl
2021-07-21 15:35 ` Christian Melki [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9afc6135-dd78-0e93-1b7c-2821214157ff@t2data.com \
    --to=christian.melki@t2data.com \
    --cc=m.ciocan@ppc-ag.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox