Disassembler build was enabled by http://trac.webkit.org/changeset/132606, but udis86_itab.c is always regenerated. The root of the problem is that the generator script - disassembler/udis86/itab.py doesn't accept output directory as parameter and always generates udis86_itab.c and .h into the actual directory, which is WebKitBuild/Release/Source/JavaScriptCore. But all other generated sources are generated into WebKitBuild/Release/Source/JavaScriptCore/generated. The problem is that Tools/qmake/mkspecs/features/default_post.prf automatically adds "generated/" prefix to all generated sources, except we use output_function of the generator. Patch is coming soon.
Created attachment 171441 [details] Patch
Comment on attachment 171441 [details] Patch I have to take closer look at the generator-qmake-logic, but shouldnt we be able to add generated/ for a regular output? In any case, do we still need output and outut_function?
(In reply to comment #2) > (From update of attachment 171441 [details]) > I have to take closer look at the generator-qmake-logic, but shouldnt we be able to add generated/ for a regular output? In any case, do we still need output and outut_function? 1.) Of course we can also add a new command line parameter to the 3rdparty disassembler/udis86/itab.py ... Let me try it. 2.) I tried to remove the disassembler.output, but TARGET still depends on the non-existing udis86_itab.c target for some reason and it causes fail. (the name of the target is the full path in this case)
Created attachment 171639 [details] Patch
(In reply to comment #4) > Created an attachment (id=171639) [details] > Patch Waht do you think about this one? It is bigger, but general fix.
Attachment 171639 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/disassembler/udis86/itab.py:199: whitespace after '(' [pep8/E201] [5] Source/JavaScriptCore/disassembler/udis86/itab.py:295: whitespace after '(' [pep8/E201] [5] Source/JavaScriptCore/disassembler/udis86/itab.py:334: whitespace after '(' [pep8/E201] [5] Source/JavaScriptCore/disassembler/udis86/itab.py:355: whitespace after '(' [pep8/E201] [5] Total errors found: 4 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 171639 [details] Patch Clearing flags on attachment: 171639 Committed r133415: <http://trac.webkit.org/changeset/133415>
All reviewed patches have been landed. Closing bug.