Hi All, I'm one of the developer of Code::Blocks. I have been working on porting Code::Blocks to Windows 64 bit.
So far I have been able to compile (with some patches) and run native 64 bit builds, but only with WPG-System64 compiler (http://www.horizonchess.com/wpg64/index.php?page=index). Currently Code::Blocks compiled with WPG-System64 compiler runs fine; but crashes while closing. However WPG-System64 development seems to have stopped. I would like to move to MinGW-w64 built compilers. I have tried several SeZero builds including 03/Oct/2010 one. I can compile trunk with some patches. But resulting binary crashes at start-up. I have faced same problem with all SeZero builds I have tried. I ran it under gdb. But couldn't managed to get any meaningful output. I'm posting output for better understanding. F:\DevTools\codeblocks\src\devel>gcc -v Using built-in specs. Target: x86_64-w64-mingw32 Configured with: ../gcc44-svn/configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --disable-multilib --enable-checking=release --prefix=/mingw64 --with-sysroot=/mingw64 --enable-languages=c,c++,fortran,objc,obj-c++ --enable-libgomp --with-gmp=/mingw64 --with-mpfr=/mingw64 --disable-nls --disable-win32-regis try Thread model: win32 gcc version 4.4.5 20101001 (release) [svn/rev.164871 - mingw-w64/oz] (GCC) F:\DevTools\codeblocks\src\devel>gdb codeblocks.exe GNU gdb (GDB) 7.2.50.20101003-cvs Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-w64-mingw32". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from F:\DevTools\codeblocks\src\devel/codeblocks.exe...done. (gdb) r Starting program: F:\DevTools\codeblocks\src\devel/codeblocks.exe [New Thread 5008.0x7c] warning: Critical error detected c0000374 Program received signal SIGTRAP, Trace/breakpoint trap. 0x00000000771e6dc0 in ntdll!RtlUnicodeToCustomCPN () from C:\Windows\system32\ntdll.dll (gdb) bt #0 0x00000000771e6dc0 in ntdll!RtlUnicodeToCustomCPN () from C:\Windows\system32\ntdll.dll #1 0x000000000022ea40 in ?? () warning: (Internal error: pc 0x9 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x9 in read in psymtab, but not in symtab.) #2 0x000000000000000a in ?? () at c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.4.5/../../../../include/c+ +/4.4.5/ext/new_allocator.h:73 warning: (Internal error: pc 0x9 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.) Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) Only meaningful info I can get is "warning: Critical error detected c0000374". Google search shows it to be a "Heap corruption error". Beyond that I have no clue. Any pointer in this regard will be Highly Appreciated. If you need compiled binary / patch used please let me know. Thanks in advance, Biplab ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
