<div dir="ltr">Hi Tim,<div><br></div><div>    how about adding that advice to build.linux32x86/HowToBuild?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 11, 2015 at 6:35 AM, gettimothy <span dir="ltr">&lt;<a href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><u></u><div><div style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif"><div>Hi Tobias</div><div><br></div><div>The Cog/build.linux32x86/[lang].[vm].[memory manager]/build[.*]/mvm file is a good starting point.<br></div><div><br></div><div><br></div><div>If you get the time, and after you get a &#39;build&#39; build done, could you please attempt a build.assert build? </div><div>There is (probably) a bug with GCC &gt; 3.xyz where the function attribute __attribute__((regparm(n))) is not implemented.</div><div><br></div><div>I am running GCC 4.8.2 and if you get the same problem, then it is good news.</div><div><br></div><div>thx</div><div><br></div><div>tty.</div><div><br></div><div><div><br></div><div>btw, on 64 bit slackware, my base mvm file looks like this:</div><div><br></div><div><br><blockquote style="border-top-color:rgb(204,204,204);border-left-color:rgb(204,204,204);border-right-color:rgb(204,204,204);border-bottom-color:rgb(204,204,204);border-top-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-width:1px;border-top-style:solid;border-left-style:solid;border-right-style:solid;border-bottom-style:solid;padding-top:7px;padding-right:7px;padding-bottom:7px;padding-left:7px;background-color:rgb(245,245,245)"><div> bash-4.2$ cat usr/src/smalltalk/mvm<br>#!/bin/bash<br># VM with VM profiler and threaded heartbeat<br>INSTALLDIR=coglinuxht<br># Some gcc versions create a broken VM using -O2<br>case `gcc -v 2&gt;&amp;1 | grep version | sed &#39;s/gcc version *//&#39;` in<br>3.4.*)  OPT=&quot;-g -O1 -DNDEBUG -DDEBUGVM=0&quot;;;<br>*)              OPT=&quot;-g -O2 -DNDEBUG -DDEBUGVM=0&quot;;;<br>esac<br><br>if [ $# -ge 1 ]; then<br>        INSTALLDIR=&quot;$1&quot;; shift<br>fi<br><br>echo -n &quot;clean? &quot;<br>read a<br>case $a in<br>n|no|N|NO)      echo &quot;ok but this isn&#39;t safe!!&quot;;;<br>*)                      test -f Makefile &amp;&amp; make reallyclean<br>esac<br>test -f config.h || ../../../platforms/unix/config/configure  --without-npsqueak <strong>--without-vm-display-fbdev --without-gl --x-libraries=/usr/lib \</strong><br>        CC=&quot;gcc -m32&quot; \<br>        CXX=&quot;g++ -m32&quot; \<br>        CFLAGS=&quot;$OPT -no-integrated-cpp -Wundef -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 &quot; \<br>        LIBS=&quot;-lpthread -luuid&quot; \<br>        LDFLAGS=-Wl,-z,now<br>rm -f vm/sqUnixMain.o # nuke version info<br>rm -rf ../../../products/$INSTALLDIR<br># prefer make install prefix=`readlink -f \`pwd\`/../../../products/$INSTALLDIR`<br># but older linux readlinks lack the -f flag<br>make install prefix=`(cd ../../../;pwd)`/products/$INSTALLDIR 2&gt;&amp;1 | tee LOG<br></div></blockquote><br></div></div></div></div><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">best,<div>Eliot</div></div>
</div>