Compilation fails when Opcode.h tries to include the header file 'Bytecodes.h', but there is no such file See build and configure log: https://gist.github.com/josephgbr/b62ff3b2ba70d1ce523593a2d0335924
Reproduced on GTK port. I think this is CMake build dependency issue. Bytecodes.h generation should be done before building any other cpps out of JSC. Currently, it seems that WebCore binding code build starts before generating Bytecodes.h. I think I saw such a problem in GYP in chromium... Building the object files itself can be done without the shared library (libjavascriptcoregtk.so). Building WebCore and JavaScriptCore in parallel can be done if there are no such generated header dependencies. So I guess that we need to explicitly say that these building depends on the Bytecodes.h header generation.
In https://trac.webkit.org/changeset/204994, I appended Bytecodes.h to JavaScriptCore_HEADERS in CMakeLists.txt. Does this issue still remain?
Hm, the issue still remains.
Same? Bug 161477 – webkit-gtk 2.13.90 fails to build due to missing Bytecodes.h
(In reply to comment #4) > Same? > Bug 161477 – webkit-gtk 2.13.90 fails to build due to missing Bytecodes.h Nice! *** This bug has been marked as a duplicate of bug 157261 ***