Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7d414980208ef5745398379d56ca84b27a22064f
Ticket: f51efe99a741c875bc9081c4cd5aa947786f43f7
MinGW build fails on current checkin
User & Date: jan.nijtmans on 2013-10-10 14:14:15
Changes

  1. closedate changed to: "2456576.09323966"
  2. icomment:
    Commit [187f341932] broke this again, but less visible: Itcl compiled OK on MinGW, but tdbcpostgres stil didn't:
    
    $ make
    gcc -DPACKAGE_NAME=\"tdbcpostgres\" -DPACKAGE_TARNAME=\"tdbcpostgres\" -DPACKAGE
    _VERSION=\"1.0.0\" -DPACKAGE_STRING=\"tdbcpostgres\ 1.0.0\" -DPACKAGE_BUGREPORT=
    \"\" -DPACKAGE_URL=\"\" -DBUILD_tdbcpostgres=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_
    TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_
    H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
    DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DSIZEOF_LONG=4 -DDONT_TD_VOID=1 -D_WIN32
    =1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION
    =int -DHAVE_WINNT_IGNORE_VOID=1 -DHAVE_CAST_TO_UNION=1 -DTCL_WIDE_INT_TYPE=long\
     long -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  -I/Localdata/workspac
    e/tclplus/pkgs/tdbc/generic -I"/Localdata/workspace/tclplus/generic"     -pipe -
    O2 -fomit-frame-pointer -DNDEBUG -Wall   -c `echo /Localdata/workspace/tclplus/p
    kgs/tdbcpostgres/generic/tdbcpostgres.c` -o tdbcpostgres.o
    gcc -DPACKAGE_NAME=\"tdbcpostgres\" -DPACKAGE_TARNAME=\"tdbcpostgres\" -DPACKAGE
    _VERSION=\"1.0.0\" -DPACKAGE_STRING=\"tdbcpostgres\ 1.0.0\" -DPACKAGE_BUGREPORT=
    \"\" -DPACKAGE_URL=\"\" -DBUILD_tdbcpostgres=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_
    TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_
    H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
    DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DSIZEOF_LONG=4 -DDONT_TD_VOID=1 -D_WIN32
    =1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION
    =int -DHAVE_WINNT_IGNORE_VOID=1 -DHAVE_CAST_TO_UNION=1 -DTCL_WIDE_INT_TYPE=long\
     long -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  -I/Localdata/workspac
    e/tclplus/pkgs/tdbc/generic -I"/Localdata/workspace/tclplus/generic"     -pipe -
    O2 -fomit-frame-pointer -DNDEBUG -Wall   -c `echo /Localdata/workspace/tclplus/p
    kgs/tdbcpostgres/generic/pqStubInit.c` -o pqStubInit.o
    rm -f tdbcpostgres100.dll
    gcc -shared -o tdbcpostgres100.dll tdbcpostgres.o pqStubInit.o -L/Localdata/work
    space/tclplus/win/pkgs/tdbc -ltdbcstub100 -L/Localdata/workspace/tclplus/win/pkg
    s/tdbc -ltdbcstub100 -lws2_32  "/Localdata/workspace/tclplus/win/libtclstub86.a"
     -static-libgcc
    tdbcpostgres.o:tdbcpostgres.c:(.text+0xa7f): undefined reference to `Tcl_ObjectC
    ontextObject'
    tdbcpostgres.o:tdbcpostgres.c:(.text+0xa8f): undefined reference to `Tcl_ObjectG
    etMetadata'
    tdbcpostgres.o:tdbcpostgres.c:(.text+0xdcc): undefined reference to `Tcl_ObjectC
    ontextObject'
    tdbcpostgres.o:tdbcpostgres.c:(.text+0xddc): undefined reference to `Tcl_ObjectG
    etMetadata'
    .....
    
    I fixed that in [a795ebaacf], but [f5738a4c37] broke it again. Therefore I decided to make a test-case for this problem, which makes it visible on UNIX as well.
    
    Should finally be fixed now in [7abbaed029].
    
  3. login: "jan.nijtmans"
  4. mimetype: "text/x-fossil-wiki"