<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 20, 2019 at 9:20 PM Pierce Ng <<a href="mailto:pierce@samadhiweb.com">pierce@samadhiweb.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
On Sat, Jul 20, 2019 at 02:35:54PM -0300, Mariano Martinez Peck wrote:<br>
> I read you say "I've successfully built the pharo.cog.spur.minheadless<br>
> OpenSmalltalk VM on Alpine Linux."<br>
> Can you elaborate more on that? Where did you put your work? A separate<br>
> branch/fork? Did you change the VM to link against musl?<br>
> Did it compile out of the box?<br>
<br>
It compiled more or less out of the box. The changes I made were mostly<br>
to link with additional libraries for functionality that on Alpine have<br>
been put into those libraries. I made these changes by modifying the<br>
output of cmake, which is the reason for my mail to this list: I want to<br>
to find out which files to modify so that cmake produces the right<br>
output for Alpine. Then I'll create a branch/PR.<br>
<br></blockquote><div><br></div><div>Exactly. That's the changes I were expecting. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> What our happened in our case is that even if `musl` would give us a<br>
> compatible API in the sense the VM would compile, then, on usage we<br>
> detected things that internally had different behaviors (like iconv). Did<br>
> you encounter anything of this?<br>
<br>
That's what I'll find out.  As written in my post said Cog VM<br>
successfully runs a minimal Pharo image doing FFI and Fuel. <br>
<br>
I'll be testing it with the regular image running some kind of webapp.<br>
<br>
I've also put the Docker image on Dockerhub, but I just looked again and<br>
see that it is missing libgit2, libssh2, etc., so probably no good for<br>
running the regular Pharo image for now.<br></blockquote></div><br clear="all"><div><br></div><div>Excellent. Let us know. In our experiments we found out a few places that behaved differently (the one I remember now is iconv()) but I guess it all depends on "how much" your VM uses from gblic, right? So maybe you use safe areas where both behave the same :)</div><div><br></div><div>Anyway, great work and keep pushing. </div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font color="#666666">Mariano Martinez Peck</font></div><div><div dir="ltr"><div dir="ltr"><font color="#666666">Email: <a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a></font></div><div dir="ltr"><font color="#666666">Twitter: @MartinezPeck</font></div><div dir="ltr"><font color="#666666">LinkedIn: <a href="https://www.linkedin.com/in/mariano-mart%C3%ADnez-peck/" target="_blank">www.linkedin.com/in/mariano-martinez-peck</a></font></div><div dir="ltr"><div dir="ltr"><font color="#666666">Blog: <a href="https://marianopeck.wordpress.com/" target="_blank">https://marianopeck.wordpress.com/</a></font></div></div></div></div></div></div></div></div></div></div></div></div>