__TIMESTAMP__ CPP macro not honoring SOURCE_EPOCH_DATE

  • Open
  • quality assurance status badge
Details
One participant
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Maxim Cournoyer
Severity
normal
M
M
Maxim Cournoyer wrote on 31 Jan 2022 06:22
(name . bug-guix)(address . bug-guix@gnu.org)
877dago4xg.fsf_-_@gmail.com
Hello,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

Toggle quote (2 lines)
> * gnu/packages/electronics.scm (openboardview): New variable.

I've found a source of nondeterminism in the build of openboardview: the
use of the CPP __TIMESTAMP__ macro (info '(cpp) Common Predefined
Macros'). It seems that GCC 10.3.0 still doesn't doesn't honor
SOURCE_EPOCH_DATE for that macro. A patch was made to correct this, but
it seems it was never applied [0]. I've ping'd in the #gcc channel to
verify.

I haven't seen the patch carried by Debian for their GCC package.

Thanks,

Maxim

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 53647@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 53647
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch