|
2023-07-12
| ||
| 20:13 | • Closed ticket [c1691dc608]: 32-bit Linux regressions plus 7 other changes artifact: 0dac5e3e95 user: jan.nijtmans | |
| 20:10 | • Ticket [c1691dc608]: 3 changes artifact: a8db6ca578 user: griffin | |
| 19:36 | More fixes related to [c1691dc608]: 32-bit Linux regressions, like ".... undefined reference to `Tcl... check-in: fc17b782b6 user: jan.nijtmans tags: trunk, main | |
| 19:11 | (partial) fix for [c1691dc608]: 32-bit Linux regressions. Eliminate compiler warning check-in: 2ab20ce108 user: jan.nijtmans tags: core-8-branch | |
| 17:47 | • Ticket [c1691dc608] 32-bit Linux regressions status still Open with 3 other ... artifact: e522acb261 user: chrstphrchvz | |
| 17:46 | • Ticket [c1691dc608]: 3 changes artifact: 1833793e0b user: chrstphrchvz | |
| 16:10 | • New ticket [c1691dc608]. artifact: 1a85d4b633 user: griffin | |
32-bit Linux regressions
Closed / Fixedc1691dc608f4d4b816db6d94a3836fea7243dc69Created 3 years agoUpdated 3 years ago
Descriptionplain2023-07-12 16:10:57
I have a validation script I run that iterates through
all the same configurations that run in the github workflow.
With the build configured for 32-bits (CFLAGS=-m32),
the warning, errors, failures shown below occur.
I've looked at the warning, but it was not clear to me how best to fix it.
I think the link error looks like a tcl configuration issue? Maybe?
The "file atime" and "file mtime" failures seem odd to me.
The struct record is 32-bits instead of 64.
IDK if that's a fault in my linux configuration, or what.
None of this has anything to do with work that I've been doing,
so having other eyes on this is needed.
Confirmation that this is not reproducable elsewhere would be good to know.
$ grep -E 'warning:|error:|^---- Starting|Failed|===.*FAILED' ./validate_tcl32.log
---- Starting utf-max-3 config: ''{CFLAGS=-m32 -DTCL_UTF_MAX=3} --disable-64bit''
.../tcl/generic/tclStubInit.c:107:33: warning: initialization of ‘Tcl_UniChar * (*)(Tcl_Obj *, void *)’ {aka ‘short unsigned int * (*)(Tcl_Obj *, void *)’} from incompatible pointer type ‘Tcl_UniChar * (*)(Tcl_Obj *, int *)’ {aka ‘short unsigned int * (*)(Tcl_Obj *, int *)’} [-Wincompatible-pointer-types]
==== cmdAH-24.20.1 Tcl_FileObjCmd: atime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.1 FAILED
==== cmdAH-24.20.2 Tcl_FileObjCmd: mtime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.2 FAILED
all.tcl: Total 56661 Passed 50872 Skipped 5787 Failed 2
---- Starting no-depricated config: ''{CFLAGS=-m32 -DTCL_NO_DEPRECATED=1} --disable-64bit''
/usr/bin/ld: .../tcl_core/tcl/unix/libtcl9.0.so: undefined reference to `TclGetUnicodeFromObj'
/usr/bin/ld: .../tcl_core/tcl/unix/libtcl9.0.so: undefined reference to `TclGetStringFromObj'
/usr/bin/ld: .../tcl_core/tcl/unix/libtcl9.0.so: undefined reference to `TclGetBytesFromObj'
collect2: error: ld returned 1 exit status
/usr/bin/ld: .../tcl_core/tcl/unix/libtcl9.0.so: undefined reference to `TclGetUnicodeFromObj'
/usr/bin/ld: .../tcl_core/tcl/unix/libtcl9.0.so: undefined reference to `TclGetStringFromObj'
/usr/bin/ld: .../tcl_core/tcl/unix/libtcl9.0.so: undefined reference to `TclGetBytesFromObj'
collect2: error: ld returned 1 exit status
/usr/bin/ld: .../tcl_core/tcl/unix/libtcl9.0.so: undefined reference to `TclGetUnicodeFromObj'
/usr/bin/ld: .../tcl_core/tcl/unix/libtcl9.0.so: undefined reference to `TclGetStringFromObj'
/usr/bin/ld: .../tcl_core/tcl/unix/libtcl9.0.so: undefined reference to `TclGetBytesFromObj'
collect2: error: ld returned 1 exit status
---- Starting default config: ''CFLAGS=-m32 --disable-64bit''
==== cmdAH-24.20.1 Tcl_FileObjCmd: atime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.1 FAILED
==== cmdAH-24.20.2 Tcl_FileObjCmd: mtime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.2 FAILED
all.tcl: Total 56661 Passed 50906 Skipped 5753 Failed 2
---- Starting standalone config: ''CFLAGS=-m32 --disable-64bit --disable-shared''
==== cmdAH-24.20.1 Tcl_FileObjCmd: atime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.1 FAILED
==== cmdAH-24.20.2 Tcl_FileObjCmd: mtime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.2 FAILED
all.tcl: Total 56661 Passed 50906 Skipped 5753 Failed 2
---- Starting symbols config: ''CFLAGS=-m32 --disable-64bit --enable-symbols''
==== cmdAH-24.20.1 Tcl_FileObjCmd: atime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.1 FAILED
==== cmdAH-24.20.2 Tcl_FileObjCmd: mtime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.2 FAILED
all.tcl: Total 56661 Passed 50906 Skipped 5753 Failed 2
---- Starting memdebug config: ''CFLAGS=-m32 --disable-64bit --enable-symbols=mem''
==== cmdAH-24.20.1 Tcl_FileObjCmd: atime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.1 FAILED
==== cmdAH-24.20.2 Tcl_FileObjCmd: mtime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.2 FAILED
all.tcl: Total 56661 Passed 51000 Skipped 5659 Failed 2
---- Starting symbols-all config: ''CFLAGS=-m32 --disable-64bit --enable-symbols=all''
==== cmdAH-24.20.1 Tcl_FileObjCmd: atime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.1 FAILED
==== cmdAH-24.20.2 Tcl_FileObjCmd: mtime 64-bit time_t, bug [4718b41c56] FAILED
==== cmdAH-24.20.2 FAILED
all.tcl: Total 56661 Passed 51000 Skipped 5659 Failed 2
Referenced by2
fc17b782b6More fixes related to [c1691dc608]: 32-bit Linux regressions, like ".... undefined reference to `TclGetUnicodeFromObj'" check-in2023-07-12 19:36:002ab20ce108(partial) fix for [c1691dc608]: 32-bit Linux regressions. Eliminate compiler warning check-in2023-07-12 19:11:46
chrstphrchvzplain2023-07-12 17:46:49
The cmdAH-24.20.1 and cmdAH-24.20.2 failures were mentioned on [a1aaca786b] and would be resolved by [d40b9c8503] for recent 32-bit Linux + glibc.
chrstphrchvzwiki2023-07-12 17:47:09
The cmdAH-24.20.1 and cmdAH-24.20.2 failures were mentioned on [a1aaca786b] and would be resolved by [d40b9c8503] for recent 32-bit Linux + glibc.
griffinplain2023-07-12 20:10:32
Ok, so it is a build issue on my end. That was my suspicion. Thanks!
jan.nijtmanswiki2023-07-12 20:13:49
Everything - except the "file atime" and "file mtime" failures - should be corrected now.
Thanks for the report!
I tried [d40b9c8503], but it still fails for me on linux-32. Any hints welcome (but that's - indeed - another [ticket])
Log in (anonymous is fine) to add a comment.