Bug 1662559

Summary: Please include WebAssembly target/backend in llvm build
Product: [Fedora] Fedora Reporter: Sean Young <sean>
Component: llvmAssignee: Tom Stellard <tstellar>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: daniel, davejohansen, dmalcolm, jakub, jistone, robinlee.sysu, scottt.tw, siddharth.kde, tstellar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: llvm-8.0.0-0.5.rc3.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-29 06:15:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sean Young 2018-12-29 22:55:03 UTC
Description of problem:

It would be helpful if the Fedora build of llvm would include the WebAssembly backend. On Fedora, you have to do your own build of llvm if you want to
build this project:

https://github.com/seanyoung/solang/
or:
https://medium.com/@jayphelps/using-llvm-from-rust-to-generate-webassembly-93e8c193fdb4

Since these projects use the WebAssembly backend of llvm.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Install llvm
2. run llc --version
3. Under targets, does the output include:
    wasm32 - WebAssembly 32-bit
    wasm64 - WebAssembly 64-bit

Actual results:
wasm32/wasm64 not present

Expected results:
wasm32/wasm64 present

Additional info:
Note that Ubuntu 18.10 already includes this in their llvm build.

Comment 1 Daniel Black 2019-03-18 21:53:39 UTC
Fixed in llvm-8.0.0-0.5.rc3.fc30 and llvm-8.0.0-0.6.rc4.fc31 per https://src.fedoraproject.org/rpms/llvm/c/20ccf609101ed12cd2e884b44cb423af015afc0c?branch=f30 (bug 1689031)