Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] About Compile Makefile in CDT
  • From: Torbjorn SVENSSON <torbjorn.svensson@xxxxxx>
  • Date: Tue, 1 Mar 2022 15:45:38 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=st.com; dmarc=pass action=none header.from=st.com; dkim=pass header.d=st.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jG1IN9NQbkwoitIlM9mu9NAEPt69FnHJamj9cE76Iw0=; b=P3XU06oXZZMkG61/+nCwL52r//M1OBGRFiFy7J1n+7mPNIe6mUZHxnqUlhZum+CrOC3iY9yQSo0CgoL0axNPD5H2GTtnpS4nLKgfN8Ivu/rpKhGRddlpqX2NM8Fu8vaTEyEDrTZSqPh40uezLPXX2LiYDKkmlK5D7ofGp2A3yGBcgC2Rka4m8a1GCp5UGf9mMQwUHArj11/QMVIKKtDlKf6+SNWisjouVDUuV+Fw68dB/ukSk6+voBuq9qRtkvg62VfWrbvC2D1CPivAdPTFFoKgvgimppnU3llYQdfgawBpNj6YSMac4Wm49n5E2RcdMltLtBDeASEb62ApxsPsWg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HkaRYoJNFkPoqAIfSudKKB+vp6lRD5ndrazyB3Xhg+mXnsNwutPJjJnox3zcmH3dPpfCpw3jKteaNvOBOAPMmn/ilDGRFmt0MlUCvXyMOLw2yy56mOskTUVX0Bm86RSJrUTVxNrM1TTBcXiLaNxclG8F8VIpEYQj5hPg4lyO4XrwIjWQ1T+m8s2B4NNdkwnNuNKIJBIvOUwiekaB47plDBePSGwHCtzuegJrmS8SuFcamN+GbMKBeORzMkGt1YY1QT12DAXZfClCWcLpOzZJ/A0YLxdpCuaeNT79LZWIoZxNzcxC+0KyZQwN1kC9eqvAmUaZy7JVb29vPWne7OPJEg==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev/>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHYLTJFeyjazJbJBEWpLwTjKVjlB6yqmoGQgAAOLoA=
  • Thread-topic: [cdt-dev] About Compile Makefile in CDT

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

 

From: cdt-dev <cdt-dev-bounces@xxxxxxxxxxx> On Behalf Of Hava Cenk
Sent: den 1 mars 2022 07:04
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: [cdt-dev] About Compile Makefile in CDT

 

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?

 

Thanks! 


Back to the top