Skip to content
Tcl Source Code History Of Ticket c1691dc608f4d4b8
Login

History Of Ticket c1691dc608f4d4b8

Artifacts Associated With Ticket c1691dc608f4d4b8

  1. Ticket change [1a85d4b633] (rid 216439) by griffin on 2023-07-12 16:10:57:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized 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 initialized to: "main"
    6. is_private initialized to: "0"
    7. login: "griffin"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "21780c4e03cc5884af69addd6efc1b71c50d9818"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "griffin"
    14. subsystem initialized to: "37. File System"
    15. title initialized to: "32-bit Linux regressions"
    16. type initialized to: "Bug"
  2. Ticket change [1833793e0b] (rid 216440) by chrstphrchvz on 2023-07-12 17:46:49:

    1. icomment:
      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.
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/plain"
  3. Ticket change [e522acb261] (rid 216441) by chrstphrchvz on 2023-07-12 17:47:09:

    1. icomment:
      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.
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [a8db6ca578] (rid 216451) by griffin on 2023-07-12 20:10:32:

    1. icomment:
      Ok, so it is a build issue on my end. That was my suspicion.
      Thanks!
      
    2. login: "griffin"
    3. mimetype: "text/plain"
  5. Ticket change [0dac5e3e95] (rid 216452) by jan.nijtmans on 2023-07-12 20:13:49:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2460138.34293291"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      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 [a1aaca786b|ticket])
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"