Whole-known-network
<p><span class="h-card" translate="no"><a href="https://hachyderm.io/@unlambda" class="u-url mention">@<span>unlambda</span></a></span> there's no emcc there, but it's easy to repro, see <a href="https://github.com/emscripten-core/emscripten/issues/24653" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/emscripten-core/ems</span><span class="invisible">cripten/issues/24653</span></a></p>
<p>here you go: <a href="https://github.com/emscripten-core/emscripten/issues/24653" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/emscripten-core/ems</span><span class="invisible">cripten/issues/24653</span></a></p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>whitequark</span></a></span> Back in the 00s having to make something work on MacOS (10.2), Linux, and IRIX made me kinda appreciate autotools.</p>
<p>i have a minimal repro!</p>
<p>it looks like the compiler thinks that the start address of every string literal is off by exactly 112 bytes from where it should be</p><p>why the fuck is it 112 bytes. of course i would get a cursed compiler bug the moment i try to do something completely unrelated. of _course_ i would</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> When it rains, it pours.</p>
<p>i also found a codegen bug in clang</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> libtool is absolutely the worst. It takes a sometimes-complex problem and makes it always complex, making even the simple cases much harder to work with.</p>
<p>six hours into a project i discover that a core part of emscripten's functionality works different depending on whether you put your code into a main executable or a shared library and it's documented nowhere</p>