The failure is caused by this change: https://reviews.llvm.org/rL229094 The fix should be simple. There are two files broken, src/scripting/abc.cpp and src/scripting/abc_codesynt.cpp.
At first I thought https://github.com/lightspark/lightspark/commit/c2662bd0cef2944c7dcbb31010d064b9d54ae7e1 contains the fix for the first file but I don't understand why it has the LegacyPassManager.h include under "#ifndef LLVM_36" and not outside it. The namespace changes in the same commit look OK. Note that the upstream has some newer commits changing the same includes. For abc_codesynt.cpp the upstream used a different approach in https://github.com/lightspark/lightspark/commit/1376bd6f95bffad4597db25cc3308df0d7a448fc There may be other build failures apart from this one, I hope they are all fixed upstream too. -- WBR, wRAR