Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1a85d4b6334b0ff7fc68122c2dad871bc3f6d753f3dd398ce5a3aaed2a0ee0a3
Ticket: c1691dc608f4d4b816db6d94a3836fea7243dc69
32-bit Linux regressions
User & Date: griffin on 2023-07-12 16:10:57
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    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
    
  5. foundin changed to: "main"
  6. is_private changed to: "0"
  7. login: "griffin"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "21780c4e03cc5884af69addd6efc1b71c50d9818"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "griffin"
  14. subsystem changed to: "37. File System"
  15. title changed to: "32-bit Linux regressions"
  16. type changed to: "Bug"