2013/11/8 Jon <[email protected]>: > the link to the tcltk buildlet > > https://github.com/jonforums/buildlets/blob/master/build_tcltk.ps1#L79-L80 > > > > On Thu, Nov 7, 2013 at 10:41 PM, Jon <[email protected]> wrote: >> >> While updating my powershell-based build recipes ("buildlets") for 64-bit >> and other things, I get the following build errors on Win8.1 64bit using >> `x64-msys2-20131022.tar.xz` and the mingw32-make reloaded version of >> `x86_64-4.8.2-release-win32-seh-rt_v3-rev0.7z`. >> >> No errors when using mingw.org msys and the older mingwbuilds >> `x32-4.7.3-release-win32-sjlj-rev1.7z` toolchain. >> >> The only mildly interesting part of the buildlet is addressing the >> `config.guess` problem of not being able to guess the `x86_64-w64-mingw32` >> system type. But it appears irrelevant to what looks to be a mingw-w64 >> header issue. >> >> mingw-w64 header issue, or tcl/tk issue, or something I've messed up in >> the config? >> >> >> >> PS buildlets-git> .\build_tcltk.ps1 8.6.1 -x64 >> ---> validating tcl8.6.1-src.tar.gz >> ---> validating tk8.6.1-src.tar.gz >> ---> extracting tcl8.6.1-src.tar.gz >> ---> extracting tk8.6.1-src.tar.gz >> ---> activating toolchain [64-bit] >> ---> configuring tcl8.6.1 [64-bit] >> ---> building tcl8.6.1 [64-bit] >> C:\Users\Jon\Documents\CDev\buildlets-git\tcl8.6.1\win\tclWin32Dll.c:42:3: >> error: conflicting >> types for 'EXCEPTION_REGISTRATION' >> } EXCEPTION_REGISTRATION; >> ^ >> In file included from >> c:\apps\devtools\mingw\x86_64-w64-mingw32\include\minwindef.h:146:0, >> from >> c:\apps\devtools\mingw\x86_64-w64-mingw32\include\windef.h:8, >> from >> c:\apps\devtools\mingw\x86_64-w64-mingw32\include\windows.h:69, >> from >> C:/Users/Jon/Documents/CDev/buildlets-git/tcl8.6.1/win/tclWinPort.h:36, >> from >> C:/Users/Jon/Documents/CDev/buildlets-git/tcl8.6.1/generic/tclPort.h:21, >> from >> C:/Users/Jon/Documents/CDev/buildlets-git/tcl8.6.1/generic/tclInt.h:36, >> from >> C:\Users\Jon\Documents\CDev\buildlets-git\tcl8.6.1\win\tclWinInt.h:15, >> from >> C:\Users\Jon\Documents\CDev\buildlets-git\tcl8.6.1\win\tclWin32Dll.c:14: >> c:\apps\devtools\mingw\x86_64-w64-mingw32\include\winnt.h:3554:43: note: >> previous declaration >> of 'EXCEPTION_REGISTRATION' was here >> typedef EXCEPTION_REGISTRATION_RECORD EXCEPTION_REGISTRATION; >> ^ >> make: *** [tclWin32Dll.o] Error 1 >> >> ...[SNIP]... >> >> ---> activating toolchain [64-bit] >> ---> configuring tk8.6.1 [64-bit] >> ---> building tk8.6.1 [64-bit] >> C:\Users\Jon\Documents\CDev\buildlets-git\tk8.6.1\win\tkWin32Dll.c:30:3: >> error: conflicting types for 'EXCEPTION_REGISTRATION' >> } EXCEPTION_REGISTRATION; >> ^ >> In file included from >> c:\apps\devtools\mingw\x86_64-w64-mingw32\include\minwindef.h:146:0, >> from >> c:\apps\devtools\mingw\x86_64-w64-mingw32\include\windef.h:8, >> from >> c:\apps\devtools\mingw\x86_64-w64-mingw32\include\windows.h:69, >> from >> C:\Users\Jon\Documents\CDev\buildlets-git\tk8.6.1\win\tkWin.h:36, >> from >> C:\Users\Jon\Documents\CDev\buildlets-git\tk8.6.1\win\tkWinInt.h:26, >> from >> C:\Users\Jon\Documents\CDev\buildlets-git\tk8.6.1\win\tkWin32Dll.c:12: >> c:\apps\devtools\mingw\x86_64-w64-mingw32\include\winnt.h:3554:43: note: >> previous declaration >> of 'EXCEPTION_REGISTRATION' was here >> typedef EXCEPTION_REGISTRATION_RECORD EXCEPTION_REGISTRATION; >> ^ >> make: *** [tkWin32Dll.o] Error 1 >> >>
This is known issue. You can grab my patch from here: https://github.com/Alexpux/mingw-builds/blob/master/patches/tcl/tcl-8.6.1-mingwexcept.patch Regards, Alexey. > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
