<div dir="ltr"><div><div><div><div>So with the help of Ben and Tobias, I can build linux32x86 pharo.sista.spur on travis now<br></div><div>The right incantation is in .travis.yml thru compiler:clang directive, because it later export CC=clang in root build shell.<br><br></div><div>Failing to do so exports a CC=gcc default, so overriding via configure command args is not enough, it must be repeated for make and everywhere I did not look yet ;)<br></div><div>It's better to follow the "standard" way.<br></div><div><br></div>I'm still waiting the rest of the build to finish, then I will emit a PR.<br></div>There is an alternative of using another version of gcc by Tobias which seems to work also.<br><br></div>Anyway, all i did was a quick hack.<br>Because the mvm is duplicated in other directories (assert and debug version...), there will be more trouble if we not fix it everywhere.<br></div><div>Or maybe the configure CC=clang argument is not required?<br><br></div><br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-02 19:38 GMT+02:00 Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Tobias,<br></div>Ah, that's enlightning !<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-04-02 19:12 GMT+02:00 Tobias Pape <span dir="ltr"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
<br>
> On 02.04.2018, at 15:51, Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmai<wbr>l.com</a>> wrote:<br>
><br>
> Gah!<br>
><br>
> despite my stuttutututter command:<br>
>     CC=clang ./configure CC=clang<br>
> the travis build is completely ignoring the directives and keep using gcc<br>
><br>
> See:<br>
> <a href="https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/jobs/361174043" rel="noreferrer" target="_blank">https://travis-ci.org/OpenSmal<wbr>ltalk/opensmalltalk-vm/jobs/<wbr>361174043</a><br>
><br>
<br>
</span>Have you seen this?<br>
        <a href="https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/jobs/361174043#L448" rel="noreferrer" target="_blank">https://travis-ci.org/OpenSmal<wbr>ltalk/opensmalltalk-vm/jobs/<wbr>361174043#L448</a><br>
<br>
OTOH, I did it that way:<br>
        <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/krono/upgrade-gcc#diff-f36a4fd868404ca84d806453aabb6f3bR65" rel="noreferrer" target="_blank">https://github.com/OpenSmallta<wbr>lk/opensmalltalk-vm/compare/<wbr>krono/upgrade-gcc#diff-f36a4fd<wbr>868404ca84d806453aabb6f3bR65</a><br>
<div class="m_8562667085822557845HOEnZb"><div class="m_8562667085822557845h5"><br>
<br>
<br>
> I suspect that it's lack of clean build, but not sure...<br>
><br>
> Building OpenSmalltalk VM in /home/travis/build/OpenSmallta<wbr>lk/opensmalltalk-vm/build.<wbr>linux32x86/pharo.sista.spur/<wbr>build.itimerheartbeat...<br>
> Re-exec as x86<br>
> clean? ok but this isn't safe!!<br>
> Or would the clang compiler be absent?<br>
> Or what?<br>
><br>
> It ain't fun...<br>
><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>