shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

285
active users

#linuxulator

0 posts0 participants0 posts today
Toby Kurien<p>Ok, so check this out. I raved about how magical <a href="https://mastodon.social/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a> <a href="https://mastodon.social/tags/linuxulator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linuxulator</span></a> is, but it gets even better! In my Ubuntu linux jail, I downloaded the source for the <a href="https://mastodon.social/tags/mobian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mobian</span></a> kernel, installed cross-compiling tools, compiled the kernel and modules, copied to an sdcard, and booted up the kernel on my <a href="https://mastodon.social/tags/pinephonepro" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pinephonepro</span></a> 🤯 So, on my amd64 FreeBSD, I used a translation layer to load up Ubuntu Linux, used it to cross-compile a Linux kernel for arm64, and booted that up on a device! How unbelievable is that?!?</p>
Toby Kurien<p>Oh wow, the <a href="https://mastodon.social/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a> <a href="https://mastodon.social/tags/Linuxulator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linuxulator</span></a> is just magic! I setup an Ubuntu <a href="https://mastodon.social/tags/LinuxJail" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LinuxJail</span></a> as described in the linked wiki and was able to compile and flash <a href="https://mastodon.social/tags/Arduino" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Arduino</span></a> code to my Uno using <a href="https://mastodon.social/tags/PlatformIO" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PlatformIO</span></a>, which is absolutely mind blowing because the tools for compiling are not available for "freebsd_amd64", yet in this Linux environment (not emulated, not a VM, just a translation layer), the Linux binaries were able to compile and then flash to the USB device (using the FreeBSD kernel… <a href="https://tobykurien.com/post-1744211915" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">tobykurien.com/post-1744211915</span><span class="invisible"></span></a></p>
Felix Palmen 📯<p><span class="h-card"><a href="https://mastodon.online/@alexr" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>alexr</span></a></span> Sorry, but it really doesn't make sense to me to compare anything just regarding <a href="https://techhub.social/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> vs <a href="https://techhub.social/tags/Linuxulator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linuxulator</span></a>. The kernel(!) as a source of indeterminism is very unlikely, everything else (like <a href="https://techhub.social/tags/glibc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>glibc</span></a> where the allocator is implemented) is the same. I don't see what I would gain from that huge amount of work here.</p>
Felix Palmen 📯<p><span class="h-card"><a href="https://mastodon.online/@alexr" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>alexr</span></a></span> Are you suggesting that the same GCC (native <a href="https://techhub.social/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a>, not cross-target) would produce different code when the Kernel isn't "real" <a href="https://techhub.social/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a>, but <a href="https://techhub.social/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a>'s <a href="https://techhub.social/tags/Linuxulator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linuxulator</span></a>?</p><p>I still see no sane way to check this, maybe short of installing this very same version on a Linux system and comparing assembler output... 🤔 but it doesn't seem like a likely thing to me 🤷‍♂️</p>
Felix Palmen 📯<p>Today's progress on <a href="https://techhub.social/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a> <a href="https://techhub.social/tags/Linuxulator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linuxulator</span></a> "userland from source" project: We have build systems! 🥳 </p><p>Supported now (apart of plain <a href="https://techhub.social/tags/make" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>make</span></a>): GNU <a href="https://techhub.social/tags/autotools" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>autotools</span></a> (including <a href="https://techhub.social/tags/autoreconf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>autoreconf</span></a>), <a href="https://techhub.social/tags/cmake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cmake</span></a>, <a href="https://techhub.social/tags/meson" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>meson</span></a> and <a href="https://techhub.social/tags/ninja" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ninja</span></a>!</p><p>They're all supported with their original <a href="https://techhub.social/tags/ports" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ports</span></a> "USES", by some <a href="https://techhub.social/tags/bmake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bmake</span></a> trickery in my new "USES=linuxsrc", fixing up just the parts that are different when building from/for the Linuxulator (like adjusting dependencies and commands to use the <a href="https://techhub.social/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a>-native versions).</p><p>Ok, no <a href="https://techhub.social/tags/scons" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scons</span></a> yet, didn't need it so far 🙈</p>