Emscripten does not support WebAssembly

Bug #1700022 reported by Viktor Engelmann
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
emscripten (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The emscripten package delivers emscripten version 1.22.1 from 2014, which did not have support for WebAssembly.

Compiling a newer version manually isn't that hard (see https://askubuntu.com/questions/891630/how-to-install-the-latest-emscripten-on-ubuntu-using-command-line ), but since WebAssembly has been agreed upon by all major browser manufacturers and seems to be the upcoming web-technology, ubuntu should definitely offer support for developers.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in emscripten (Ubuntu):
status: New → Confirmed
Revision history for this message
C.W.Holeman II (cwhii) wrote :

Why would emcc from the current version of emscripten, 1.22.1-1build1, installed from the ubuntu synaptic package manager expect LLVM to be at 3.4 when the LLVM versions listed in synaptic are 3.7, 3.8, 3.9 & 4.0? I would presume that emcc would not give an error if I did things correctly. What is not right?

$ emcc -v
emcc (Emscripten GCC-like replacement + linker emulating GNU ld ) 1.22.1
clang version 4.0.0-1ubuntu1 (tags/RELEASE_400/rc1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/7
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/7.0.1
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.0.1
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/7.0.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.3.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.0.1
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.0.1
Candidate multilib: .;@m64
Selected multilib: .;@m64
WARNING root: LLVM version appears incorrect (seeing "(tags/RELEASE_400/rc1)", expected "3.4")
INFO root: (Emscripten: Running sanity checks)

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.