|
2007-01-02
| ||
| 09:41 | • Ticket [1624805fff] clock format fails with strange integer error status sti... artifact: e6b7083a22 user: kennykb | |
| 09:40 | • Closed ticket [1624805fff]. artifact: 93df88b61d user: coldstore | |
| 09:12 | • Ticket [1624805fff]: 4 changes artifact: 81b497ef09 user: coldstore | |
| 09:03 | • Ticket [1624805fff]: 4 changes artifact: 7acdcd6a0f user: kennykb | |
|
2006-12-30
| ||
| 10:39 | • New ticket [1624805fff]. artifact: 74235d4e55 user: coldstore | |
clock format fails with strange integer error
Closed / Works For Me1624805fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-12-30 10:39:40
% puts $tcl_patchLevel 8.5a6 % clock format [clock seconds] -gmt 1 integer value too large to represent % clock format 0 integer value too large to represent whereas: % puts $tcl_patchLevel 8.5a4 % clock format 0 Thu Jan 01 10:00:00 +1000 1970 Clearly, there's a problem with 8.5a6's [clock format] Colin.
kennykbplain2007-01-02 09:03:21
Logged In: YES user_id=99768 Originator: NO So it would appear. Could you give platform details (what sort of machine, what compiler you used to build Tcl, any special options to 'configure'), and the stack trace of the error? I ask because the HEAD Works For Me, even when I have the timezone set to :Australia/Sydney (I *did* think of that possibility...)
coldstoreplain2007-01-02 09:12:53
Logged In: YES user_id=19214 Originator: YES $ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) $ uname -a Linux kneebone 2.6.18-3-686 #1 SMP Sun Dec 10 19:37:06 UTC 2006 i686 GNU/Linux
coldstoreplain2007-01-02 09:40:42
Logged In: YES user_id=19214 Originator: YES Problem was due to my foolishly using ./configure flag --enable-64bit on a 32 bit platform. Confirmed that removing this fixed the problem. Closing.
kennykbplain2007-01-02 09:41:13
Logged In: YES user_id=99768 Originator: NO Original submitter reports that the problem was a misconfiguration (64-bit code on a 32-bit machine, or some such).
Log in (anonymous is fine) to add a comment.