Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Alpine linux now requires libc++ (and then prints warnings) #9686

Closed
hayd opened this issue Mar 4, 2021 · 2 comments · Fixed by #9760
Closed

Building Alpine linux now requires libc++ (and then prints warnings) #9686

hayd opened this issue Mar 4, 2021 · 2 comments · Fixed by #9760
Labels
bug Something isn't working correctly upstream Changes in upstream are required to solve these issues webgpu WebGPU API

Comments

@hayd
Copy link
Contributor

hayd commented Mar 4, 2021

Running deno executable on alpine (frolvlad/alpine-glibc since glibc is required) fails since 1.8.0:

# running deno
deno: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

if I install libstdc++ via apk add libstdc++ I see (when running deno) a warning repeated 5 times:

deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
Download https://deno.land/std/examples/welcome.ts
Warning Implicitly using latest version (0.89.0) for http://deno.land/std/examples/welcome.ts
Download https://deno.land/std@0.89.0/examples/welcome.ts
Check https://deno.land/std/examples/welcome.ts
Welcome to Deno!

This is a regression since previously libstdc++ was not required to be dynamically linked. As well as the warning being somewhat loud/unnecessary (?).

cc @lucacasonato @caspervonb

https://github.com/hayd/deno-docker/runs/2024710911?check_suite_focus=true

@kitsonk kitsonk added bug Something isn't working correctly webgpu WebGPU API upstream Changes in upstream are required to solve these issues labels Mar 4, 2021
@lucacasonato
Copy link
Member

lucacasonato commented Mar 4, 2021

This is blocked on wgpu 0.8 release. Once that is out we will disable the new cross feature on wgpu. For reference, wgpu 0.8 has no ETA yet. For now just install libc++.

@bnoordhuis
Copy link
Contributor

#9760 will fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly upstream Changes in upstream are required to solve these issues webgpu WebGPU API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants