Created attachment 204299 [details]
I verified that it builds for amd64 architecture.
The latest version of llvm-devel is needed to port emscripten that depends on some of the latest features in llvm.
A commit references this bug:
Date: Mon May 20 21:15:49 UTC 2019
New revision: 502172
Update to a newer snapshot 9.0.d20190510.
I used the submitted patch for inspiration, but regenerated most of it
and added some unrelated cleanups.
Requested by: yuri
Submitted by: yuri