Hello again,
I dug a little deeper on the topic and it appears that GCC has an internal limit of 253402300799. This magic number corresponds
to "Dec 31 9999 23:59:59 UTC". For more info, take a look at
https://github.com/gcc-mirror/gcc/blob/master/gcc/c-family/c-common.h#L1132
I cannot find any reference to 4294967295, but it looks like a 32bit integer. Are you by any chance using an antique toolchain?
I think most modern toolchains assume that time_t can hold a value greater than 32bit…
For further discussion, I created https://bugs.eclipse.org/bugs/show_bug.cgi?id=579039.
Kind regards,
Torbjörn
From: cdt-dev <cdt-dev-bounces@xxxxxxxxxxx>
On Behalf Of Torbjorn SVENSSON via cdt-dev
Sent: den 1 mars 2022 15:49
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Cc: Torbjorn SVENSSON <torbjorn.svensson@xxxxxx>
Subject: Re: [cdt-dev] About Compile Makefile in CDT
Hello,
Although I’m a bit surprised about the error message, the SOURCE_DATE_EPOCH variable is set to a value in the range [0,
(1 << 64 - 1)].
It was assumed that the value should be a 64 bit unsigned, but maybe that assumption is wrong?
Does anyone have insight on this?
Changing the algorithm would require a rebuild of the windows native parts. Is it too late to do it for 2022-03? My guess
is that it is too late.
The specification for SOURCE_DATE_EPOCH is available here:
https://reproducible-builds.org/specs/source-date-epoch/
Kind regards,
Torbjörn
Hi folks!
I am trying to compile native>native_src>Makefile on Cdt 10.4.0 and I am getting erros like 'Environment variable $SOURCE_DATE_EPOCH: value must be smaller than or equal to 4294967295 but was found to be: 1830181914683634545'.
We tried to analyze it based on the message güven by the error, but still There was no solution. I guess due to this error, it doesn't create spawner.dll under win32.x86_64 folder after clean and all.
My Makefile compilation format is as follows :
mingw32-make.exe Makefile clean
mingw32-make.exe Makefile all
Can anyone with knowledge help me please?