<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-07-28 1:38 GMT+02:00 Ben Coman <span dir="ltr">&lt;<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On Thu, Jul 28, 2016 at 1:36 AM, Nicolas Cellier<br>
&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2016-07-27 5:22 GMT+02:00 Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt; I merged the changes from Tobias too fast...<br>
&gt;&gt; Despite the efforts, the win32 VM produced from HEAD are currently not usable when compiled thru cygwin/mingw<br>
&gt;&gt; I don&#39;t get a better health thru MSVC<br>
&gt;&gt;<br>
&gt;&gt; The last functional VM I get (both win32 squeak.cog.spur and win64 squeak.stack.spur) are from<br>
&gt;&gt; <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/43dca8fe50b7cc70901f4138d3fed60a6734a66f" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/43dca8fe50b7cc70901f4138d3fed60a6734a66f</a><br>
&gt;&gt;<br>
&gt;&gt; This prevents me to focus on the VMaker LLP64 changes.<br>
&gt;&gt; Maybe we&#39;ll have to revert... Thoughts?<br>
&gt;&gt;<br>
&gt;&gt; Nicolas<br>
&gt;<br>
&gt;<br>
&gt; follow up: more than 20 commits after the merge, we did not yet recover win32 health.<br>
&gt; win32 squeak.stack.spur segfaults with no usefull clue<br>
&gt;<br>
&gt; -------------------------------------------------------------------------------------<br>
&gt; $ builddbg/vm/Squeak ../../image/trunk50.image<br>
&gt; Segmentation fault<br>
&gt;<br>
&gt; $ gdb builddbg/vm/Squeak<br>
&gt; GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1<br>
&gt; Copyright (C) 2015 Free Software Foundation, Inc.<br>
&gt; License GPLv3+: GNU GPL version 3 or later &lt;<a href="http://gnu.org/licenses/gpl.html" rel="noreferrer" target="_blank">http://gnu.org/licenses/gpl.html</a>&gt;<br>
&gt; This is free software: you are free to change and redistribute it.<br>
&gt; There is NO WARRANTY, to the extent permitted by law.  Type &quot;show copying&quot;<br>
&gt; and &quot;show warranty&quot; for details.<br>
&gt; This GDB was configured as &quot;x86_64-pc-cygwin&quot;.<br>
&gt; Type &quot;show configuration&quot; for configuration details.<br>
&gt; For bug reporting instructions, please see:<br>
&gt; &lt;<a href="http://www.gnu.org/software/gdb/bugs/" rel="noreferrer" target="_blank">http://www.gnu.org/software/gdb/bugs/</a>&gt;.<br>
&gt; Find the GDB manual and other documentation resources online at:<br>
&gt; &lt;<a href="http://www.gnu.org/software/gdb/documentation/" rel="noreferrer" target="_blank">http://www.gnu.org/software/gdb/documentation/</a>&gt;.<br>
&gt; For help, type &quot;help&quot;.<br>
&gt; Type &quot;apropos word&quot; to search for commands related to &quot;word&quot;...<br>
&gt; Reading symbols from builddbg/vm/Squeak...done.<br>
&gt; (gdb) run ../../image/trunk50.image<br>
&gt; Starting program: /cygdrive/C/Users/cellier/Documents/Smalltalk/OpenSmalltalk/opensmalltalk-vm/build.win32x86/squeak.stack.spur/builddbg/vm/Squeak ../../image/trunk50.image<br>
&gt; [New Thread 33724.0xf038]<br>
&gt; warning: `/cygdrive/c/windows/SYSTEM32/ntdll.dll&#39;: Shared library architecture i386:x86-64 is not compatible with target architecture i386.<br>
<br>
</div></div>Probably incidental to the problem, but it seems its best to use 32bit<br>
gdb on 32bit programs.  Maybe good to minimize interference.<br>
<a href="http://virtuallyfun.superglobalmegacorp.com/2015/10/04/32bit-64bit-gdb-collision/" rel="noreferrer" target="_blank">http://virtuallyfun.superglobalmegacorp.com/2015/10/04/32bit-64bit-gdb-collision/</a><br>
<a href="http://stackoverflow.com/questions/12205256/gdb-failing-in-eclipse" rel="noreferrer" target="_blank">http://stackoverflow.com/questions/12205256/gdb-failing-in-eclipse</a><br>
<br>
cheers -ben<br></blockquote><div><br></div><div>yes of course you&#39;re right, the gdb does not even reach a breakpoint in main (WinMain, sqMain, whatever).<br></div><div>I&#39;ll see if there&#39;s an instance of i686-w64-mingw32-gdb. <br></div></div><br></div></div>