[Webkit-unassigned] [Bug 217079] REGRESSION(r259582): Build fails on aarch64 Linux with WebKit 2.30.1 on LLIntOffsetsExtractor.cpp.o
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 30 11:54:03 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=217079
--- Comment #17 from Mark Lam <mark.lam at apple.com> ---
(In reply to Michael Catanzaro from comment #16)
> (In reply to Mark Lam from comment #11)
> > I think the real fix for this should be to ensure that all the support for
> > the ASSEMBLER is not built in if none of the JITs are enabled.
>
> I notice there are only a few ENABLE(JIT) guards under
> Source/JavaScriptCore/assembler:
>
> $ git grep 'ENABLE(JIT)'
> MacroAssemblerCodeRef.h:#if CPU(ARM_THUMB2) && ENABLE(JIT)
> testmasm.cpp:#if ENABLE(JIT)
> testmasm.cpp:#else // not ENABLE(JIT)
> testmasm.cpp:#endif // ENABLE(JIT)
>
> I also notice we have, in PlatformEnable.h:
>
> /* If either the JIT or the RegExp JIT is enabled, then the Assembler must be
> enabled as well: */
> #if ENABLE(JIT) || ENABLE(YARR_JIT) || !ENABLE(C_LOOP)
> #if defined(ENABLE_ASSEMBLER) && !ENABLE_ASSEMBLER
> #error "Cannot enable the JIT or RegExp JIT without enabling the Assembler"
> #else
> #undef ENABLE_ASSEMBLER
> #define ENABLE_ASSEMBLER 1
> #endif
> #endif
>
> So we could just remove || !ENABLE(C_LOOP) from the first line, and remove
> the test from MacroAssemblerCodeRef.h. (testmasm.cpp is built regardless of
> whether JIT is enabled.)
Yes, the assembler should not need to be on if we don't enable any JITs. I think this is an existing bug when building for the asm llint. It's something I'll look into eventually, but I don't think we should need to fix that right now to resolve this bug's build failure. But if you would like to try to fix it, that's fine too.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200930/d9b3f2d5/attachment.htm>
More information about the webkit-unassigned
mailing list