Bug 1662559 - Please include WebAssembly target/backend in llvm build
Summary: Please include WebAssembly target/backend in llvm build
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: rawhide
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tom Stellard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-29 22:55 UTC by Sean Young
Modified: 2019-05-29 06:15 UTC (History)
9 users (show)

Fixed In Version: llvm-8.0.0-0.5.rc3.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-29 06:15:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.