Artifacts Associated With Ticket f51efe99a741c875
Ticket change [6742396e6a] (rid 134388) by tombert on 2013-09-29 17:55:02:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Win7, MinGW, gcc 4.7.2 thx! gcc -c -O2 -fomit-frame-pointer -DUNICODE -D_UNICODE -Wall -Wdeclaration-after-s tatement -I"/d/CM.git/tcltk86/rcompile/tcl/compat/zlib" -I"/d/CM.git/tcltk86/rc ompile/tcl/generic" -DTCL_TOMMATH -DMP_PREC=4 -I"/d/CM.git/tcltk86/rcompile/tcl/ libtommath" -I"/d/CM.git/tcltk86/rcompile/tcl/win" -pipe -DTCL_BROKEN_MAINARGS - DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRIN G=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DUSE_THREAD_AL LOC=1 -DTCL_CFGVAL_ENCODING=\"cp1252\" -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 -DMODULE_SCOPE=extern -DHAVE_NO _SEH=1 -DEXCEPTION_DISPOSITION=int -DHAVE_WINNT_IGNORE_VOID=1 -DHAVE_CAST_TO_UNI ON=1 -DHAVE_ZLIB=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DNDEBUG=1 -DTCL_CFG_OPT IMIZED=1 -DBUILD_tcl "tclWinTime.c" -o tclWinTime.o windres -o tcl.res.o --include "/d/CM.git/tcltk86/rcompile/tcl/generic" --incl ude "/d/CM.git/tcltk86/rcompile/tcl/win" "tcl.rc" gcc -shared -O2 -fomit-frame-pointer -DUNICODE -D_UNICODE -o tcl86.dll -pipe -s tatic-libgcc -Wl,--out-implib,libtcl86.a regcomp.o regexec.o regfree.o re gerror.o tclAlloc.o tclAssembly.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o tclCompCmdsGR.o tclCo mpCmdsSZ.o tclCompExpr.o tclCompile.o tclConfig.o tclDate.o tclDictObj.o tclEnco ding.o tclEnsemble.o tclEnv.o tclEvent.o tclExecute.o tclFCmd.o tclFileName.o tc lGet.o tclHash.o tclHistory.o tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o tclIO GT.o tclIORChan.o tclIORTrans.o tclIOSock.o tclIOUtil.o tclLink.o tclLiteral.o t clListObj.o tclLoad.o tclMain.o tclMain2.o tclNamesp.o tclNotify.o tclOO.o tclOO Basic.o tclOOCall.o tclOODefineCmds.o tclOOInfo.o tclOOMethod.o tclOOStubInit.o tclObj.o tclOptimize.o tclPanic.o tclParse.o tclPathObj.o tclPipe.o tclPkg.o tcl PkgConfig.o tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o tclResolve.o tclRe sult.o tclScan.o tclStringObj.o tclStrToD.o tclStubInit.o tclThread.o tclThreadA lloc.o tclThreadJoin.o tclThreadStorage.o tclTimer.o tclTomMathInterface.o tclTr ace.o tclUtf.o tclUtil.o tclVar.o tclZlib.o bncore.o bn_reverse.o bn_fast_s_mp_m ul_digs.o bn_fast_s_mp_sqr.o bn_mp_add.o bn_mp_add_d.o bn_mp_and.o bn_mp_clamp.o bn_mp_clear.o bn_mp_clear_multi.o bn_mp_cmp.o bn_mp_cmp_d.o bn_mp_cmp_mag.o bn_ mp_cnt_lsb.o bn_mp_copy.o bn_mp_count_bits.o bn_mp_div.o bn_mp_div_d.o bn_mp_div _2.o bn_mp_div_2d.o bn_mp_div_3.o bn_mp_exch.o bn_mp_expt_d.o bn_mp_grow.o bn_mp _init.o bn_mp_init_copy.o bn_mp_init_multi.o bn_mp_init_set.o bn_mp_init_set_int .o bn_mp_init_size.o bn_mp_karatsuba_mul.o bn_mp_karatsuba_sqr.o bn_mp_lshd.o bn _mp_mod.o bn_mp_mod_2d.o bn_mp_mul.o bn_mp_mul_2.o bn_mp_mul_2d.o bn_mp_mul_d.o bn_mp_neg.o bn_mp_or.o bn_mp_radix_size.o bn_mp_radix_smap.o bn_mp_read_radix.o bn_mp_rshd.o bn_mp_set.o bn_mp_set_int.o bn_mp_shrink.o bn_mp_sqr.o bn_mp_sqrt.o bn_mp_sub.o bn_mp_sub_d.o bn_mp_to_unsigned_bin.o bn_mp_to_unsigned_bin_n.o bn_ mp_toom_mul.o bn_mp_toom_sqr.o bn_mp_toradix_n.o bn_mp_unsigned_bin_size.o bn_mp _xor.o bn_mp_zero.o bn_s_mp_add.o bn_s_mp_mul_digs.o bn_s_mp_sqr.o bn_s_mp_sub.o tclWin32Dll.o tclWinChan.o tclWinConsole.o tclWinSerial.o tclWinError.o tclWinF Cmd.o tclWinFile.o tclWinInit.o tclWinLoad.o tclWinNotify.o tclWinPipe.o tclWinS ock.o tclWinThrd.o tclWinTime.o tcl.res.o -lnetapi32 -lkernel32 -luser32 -ladva pi32 -lws2_32 /d/CM.git/tcltk86/rcompile/tcl/compat/zlib/win32/zdll.lib tclExecute.o:tclExecute.c:(.text+0x3f9d): undefined reference to `_imp__Tcl_GetO bjectFromObj' tclExecute.o:tclExecute.c:(.text+0x3fda): undefined reference to `_imp__Tcl_GetO bjectFromObj' tclExecute.o:tclExecute.c:(.text+0x4044): undefined reference to `_imp__Tcl_GetO bjectFromObj' d:/programs/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: t clExecute.o: bad reloc address 0x3f4 in section `.rdata' collect2.exe: error: ld returned 1 exit status make: *** [tcl86.dll] Error 1 bash-3.1$
- foundin initialized to: "8.6.0"
- is_private initialized to: "0"
- login: "tombert"
- priority initialized to: "5 Medium"
- private_contact initialized to: "55805032f00760ddf84eb3f8acb077da7bef1411"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "tombert"
- subsystem initialized to: "69. Other"
- title initialized to: "MinGW build fails on current checkin"
- type initialized to: "Bug"
Ticket change [12cd2e64f9] (rid 134400) by jan.nijtmans on 2013-09-30 09:12:44:
- assignee changed to: "dkf"
- icomment:
My MinGW compile gives a lot of warnings like: C:/Localdata/workspace/tcl8.6/generic/tclOO.c:2927:1: warning: 'Tcl_GetObjectCom mand' redeclared without dllimport attribute: previous dllimport ignored [-Wattr ibutes] Tcl_GetObjectCommand( ^ C:/Localdata/workspace/tcl8.6/generic/tclOO.c:2934:1: warning: 'Tcl_GetObjectAsC lass' redeclared without dllimport attribute: previous dllimport ignored [-Wattr ibutes] And then the same error. Reverted [371bcd0714], assigned to dkf.
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Pending"
Ticket change [7a12558eb1] (rid 134439) by jan.nijtmans on 2013-10-01 08:02:55:
- closedate changed to: "2456566.83536912"
- closer changed to: "jan.nijtmans"
- login: "jan.nijtmans"
- mimetype: "text/plain"
- status changed to: "Closed"
Ticket change [7d41498020] (rid 134650) by jan.nijtmans on 2013-10-10 14:14:15:
- closedate changed to: "2456576.09323966"
- 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].
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"