<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="localhost:~# uname -a
Linux localhost 5.4.51-0-lts #1-Alpine SMP Fri, 10 Jul 2020 10:54:20 UTC x86_64 Linux
localhost:~# wget https://github.com/denoland/deno/releases/download/v1.2.0/deno-x86_64-unknown-linux-gnu.zip
localhost:~# unzip deno-x86_64-unknown-linux-gnu.zip
Archive:  deno-x86_64-unknown-linux-gnu.zip
  inflating: deno
localhost:~# ldd deno
        /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
        libdl.so.2 =&gt; /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
        librt.so.1 =&gt; /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
        libpthread.so.0 =&gt; /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
        libgcc_s.so.1 =&gt; /usr/lib/libgcc_s.so.1 (0x7fdb1a2d2000)
        libc.so.6 =&gt; /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by deno)
        libm.so.6 =&gt; /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
Error relocating deno: __res_init: symbol not found
Error relocating deno: strtoull_l: symbol not found
Error relocating deno: __memcpy_chk: symbol not found
Error relocating deno: __isnan: symbol not found
Error relocating deno: __vfprintf_chk: symbol not found
Error relocating deno: strtoll_l: symbol not found
Error relocating deno: backtrace: symbol not found
Error relocating deno: __vsnprintf_chk: symbol not found
Error relocating deno: __isnanf: symbol not found
Error relocating deno: __isinf: symbol not found
Error relocating deno: backtrace_symbols: symbol not found
Error relocating deno: __register_atfork: symbol not found"><pre class="notranslate"><code class="notranslate">localhost:~# uname -a
Linux localhost 5.4.51-0-lts #1-Alpine SMP Fri, 10 Jul 2020 10:54:20 UTC x86_64 Linux
localhost:~# wget https://github.com/denoland/deno/releases/download/v1.2.0/deno-x86_64-unknown-linux-gnu.zip
localhost:~# unzip deno-x86_64-unknown-linux-gnu.zip
Archive:  deno-x86_64-unknown-linux-gnu.zip
  inflating: deno
localhost:~# ldd deno
        /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
        libdl.so.2 =&gt; /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
        librt.so.1 =&gt; /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
        libpthread.so.0 =&gt; /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
        libgcc_s.so.1 =&gt; /usr/lib/libgcc_s.so.1 (0x7fdb1a2d2000)
        libc.so.6 =&gt; /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by deno)
        libm.so.6 =&gt; /lib64/ld-linux-x86-64.so.2 (0x7fdb1cc33000)
Error relocating deno: __res_init: symbol not found
Error relocating deno: strtoull_l: symbol not found
Error relocating deno: __memcpy_chk: symbol not found
Error relocating deno: __isnan: symbol not found
Error relocating deno: __vfprintf_chk: symbol not found
Error relocating deno: strtoll_l: symbol not found
Error relocating deno: backtrace: symbol not found
Error relocating deno: __vsnprintf_chk: symbol not found
Error relocating deno: __isnanf: symbol not found
Error relocating deno: __isinf: symbol not found
Error relocating deno: backtrace_symbols: symbol not found
Error relocating deno: __register_atfork: symbol not found
</code></pre></div>
<p dir="auto">Previously I was able to use <code class="notranslate">--target x86_64-unknown-linux-musl</code> on rusty_v8 and deno (excluding the plugin). <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="534497075" data-permission-text="Title is private" data-url="https://github.com/denoland/rusty_v8/issues/49" data-hovercard-type="issue" data-hovercard-url="/denoland/rusty_v8/issues/49/hovercard" href="https://github.com/denoland/rusty_v8/issues/49">denoland/rusty_v8#49</a></p>
<blockquote>
<p dir="auto">It's unclear to me if it's best to <em>only</em> target x86_64-unknown-linux-musl or to additionally support it. e.g. sccache seems to <a href="https://github.com/mozilla/sccache/releases/tag/0.2.12"><em>only</em> provide binaries for that target</a>.</p>
</blockquote>
<p dir="auto">The one concern is that glibc is required for plugins (but I don't know if that means glibc cannot be used on a binary created with musl <g-emoji class="g-emoji" alias="man_shrugging" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f937-2642.png">🤷‍♂</g-emoji> ).</p>
<p dir="auto">This is useful for platforms without glibc, examples alpine linux and amazon linux (which is occasionally a pain building, so would be helpful if a compatible binaries was in deno's CI).</p>
<p dir="auto">xlink: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="514915123" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/3243" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/3243/hovercard" href="https://github.com/denoland/deno/issues/3243">#3243</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="405973482" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/1658" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/1658/hovercard" href="https://github.com/denoland/deno/issues/1658">#1658</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="397656973" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/1495" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/1495/hovercard" href="https://github.com/denoland/deno/issues/1495">#1495</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="523818128" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/3356" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/3356/hovercard" href="https://github.com/denoland/deno/issues/3356">#3356</a></p>