functional.cafe is one of the many independent Mastodon servers you can use to participate in the fediverse.
functional.cafe is an instance for people interested in functional programming and languages.

Server stats:

217
active users

#tinycc

0 posts0 participants0 posts today
Andrius Štikonas<p><span class="h-card" translate="no"><a href="https://mastodon.social/@ekaitz_zarraga" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ekaitz_zarraga</span></a></span> and I have finally bootstrapped <a href="https://fosstodon.org/tags/TinyCC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TinyCC</span></a> on <a href="https://fosstodon.org/tags/RISCV" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RISCV</span></a> starting from GNU <a href="https://fosstodon.org/tags/Mes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Mes</span></a> and <a href="https://fosstodon.org/tags/MesCC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MesCC</span></a> (and eventually tiny <a href="https://fosstodon.org/tags/hex0" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hex0</span></a> binary if you go further back).</p><p>The binary that we have built is self-hosting and can build itself, though perhaps a few more bugfixes will be needed to reach the newest version of tcc.</p><p><span class="h-card" translate="no"><a href="https://todon.nl/@janneke" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>janneke</span></a></span><br><span class="h-card" translate="no"><a href="https://tooot.im/@efraim" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>efraim</span></a></span> <br><a href="https://fosstodon.org/tags/bootstrappableBuilds" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bootstrappableBuilds</span></a><br><a href="https://fosstodon.org/tags/reproducibleBuilds" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reproducibleBuilds</span></a></p>
Andrius Štikonas<p><span class="h-card" translate="no"><a href="https://todon.nl/@janneke" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>janneke</span></a></span> <span class="h-card" translate="no"><a href="https://functional.cafe/@aziz" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>aziz</span></a></span> <span class="h-card" translate="no"><a href="https://hostux.social/@fsf" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>fsf</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@fsfe" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>fsfe</span></a></span> <span class="h-card" translate="no"><a href="https://fosstodon.org/@reproducible_builds" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>reproducible_builds</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@ekaitz_zarraga" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ekaitz_zarraga</span></a></span> Indeed! Right now we can bootstrap all the way from <a href="https://fosstodon.org/tags/hex0" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hex0</span></a> to <a href="https://fosstodon.org/tags/Mes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Mes</span></a>, then use <a href="https://fosstodon.org/tags/MesCC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MesCC</span></a> to build very first build of <a href="https://fosstodon.org/tags/tinycc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tinycc</span></a> (we can call it mes-tcc). mes-tcc can then build the next build of tinycc (boot0-tcc). Unfortunately, at the moment boot0-tcc segfaults. Today, I fixed one crash which was due to Global Offset Table being all zeros but it turns out we are now hitting another segfault, so more work is needed.</p><p><a href="https://fosstodon.org/tags/bootstrappableBuilds" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bootstrappableBuilds</span></a></p>
Andrius Štikonas<p><span class="h-card"><a href="https://social.unboiled.info/users/monk" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>monk</span></a></span> Why is it from <a href="https://fosstodon.org/tags/TinyCC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TinyCC</span></a>. We have successfully bootstrapped kernel and userspace on x86 from far smaller binaries. E.g. builder-hex0 is about 200 bytes of code.</p>
Andrius Štikonas<p>Spent part of my <a href="https://fosstodon.org/tags/RechageDay" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RechageDay</span></a> at <a href="https://fosstodon.org/tags/AMD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AMD</span></a> looking at bootstrapping <a href="https://fosstodon.org/tags/TinyCC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TinyCC</span></a> 0.9.26 from <a href="https://fosstodon.org/tags/GNUMes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GNUMes</span></a> on <a href="https://fosstodon.org/tags/x86_64" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>x86_64</span></a> architecture. And thanks to <a href="https://fosstodon.org/tags/Mes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Mes</span></a> mantainer <span class="h-card"><a href="https://todon.nl/@janneke" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>janneke</span></a></span> for his help with debugging various issues. We can now build initial <a href="https://fosstodon.org/tags/tcc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tcc</span></a> binary and it can even run some simple commands such as --help or -vv.</p><p>Unfortunately, we still hit some critical bugs when trying to use this tcc binary to rebuild itself but hopefully we are not far now.</p><p><a href="https://fosstodon.org/tags/bootstrappable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bootstrappable</span></a><br><a href="https://fosstodon.org/tags/BootstrappableBuilds" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BootstrappableBuilds</span></a> <br><a href="https://fosstodon.org/tags/ReproducibleBuilds" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReproducibleBuilds</span></a></p>