<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>217079</bug_id>
          
          <creation_ts>2020-09-28 23:36:40 -0700</creation_ts>
          <short_desc>REGRESSION(r259582): Build fails on aarch64 Linux with WebKit 2.30.1 on LLIntOffsetsExtractor.cpp.o</short_desc>
          <delta_ts>2020-09-30 17:01:46 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>WebKit Local Build</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>217135</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Guillaume G">guillaume.gardet</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>cdumez</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mgorse</cc>
    
    <cc>msaboff</cc>
    
    <cc>saam</cc>
    
    <cc>tzagallo</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1692841</commentid>
    <comment_count>0</comment_count>
    <who name="Guillaume G">guillaume.gardet</who>
    <bug_when>2020-09-28 23:36:40 -0700</bug_when>
    <thetext>Build failed on aarch64 Linux with WebKit 2.30.1 with GCC 10.2.

[  214s] FAILED: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o 
[  214s] /usr/bin/ccache /var/lib/build/ccache/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBWRAP_EXECUTABLE=\&quot;/usr/bin/bwrap\&quot; -DDBUS_PROXY_EXECUTABLE=\&quot;/usr/bin/xdg-dbus-proxy\&quot; -DGETTEXT_PACKAGE=\&quot;WebKit2GTK-4.0\&quot; -DHAVE_CONFIG_H=1 -DJSC_COMPILATION -DJSC_GLIB_API_ENABLED -DSTATICALLY_LINKED_WITH_WTF -DSVN_REVISION=\&quot;tarball\&quot; -DWEBKITGTK_API_VERSION_STRING=\&quot;4.0\&quot; -IDerivedSources/ForwardingHeaders -I. -I../Source/JavaScriptCore -I../Source/JavaScriptCore/API -I../Source/JavaScriptCore/assembler -I../Source/JavaScriptCore/b3 -I../Source/JavaScriptCore/b3/air -I../Source/JavaScriptCore/bindings -I../Source/JavaScriptCore/builtins -I../Source/JavaScriptCore/bytecode -I../Source/JavaScriptCore/bytecompiler -I../Source/JavaScriptCore/dfg -I../Source/JavaScriptCore/disassembler -I../Source/JavaScriptCore/disassembler/ARM64 -I../Source/JavaScriptCore/disassembler/udis86 -I../Source/JavaScriptCore/domjit -I../Source/JavaScriptCore/ftl -I../Source/JavaScriptCore/heap -I../Source/JavaScriptCore/debugger -I../Source/JavaScriptCore/inspector -I../Source/JavaScriptCore/inspector/agents -I../Source/JavaScriptCore/inspector/augmentable -I../Source/JavaScriptCore/inspector/remote -I../Source/JavaScriptCore/interpreter -I../Source/JavaScriptCore/jit -I../Source/JavaScriptCore/llint -I../Source/JavaScriptCore/parser -I../Source/JavaScriptCore/profiler -I../Source/JavaScriptCore/runtime -I../Source/JavaScriptCore/tools -I../Source/JavaScriptCore/wasm -I../Source/JavaScriptCore/wasm/js -I../Source/JavaScriptCore/yarr -IDerivedSources/JavaScriptCore -IDerivedSources/JavaScriptCore/inspector -IDerivedSources/JavaScriptCore/runtime -IDerivedSources/JavaScriptCore/yarr -IDerivedSources/ForwardingHeaders/JavaScriptCore/glib -IDerivedSources/JavaScriptCore/javascriptcoregtk/jsc -I../Source/JavaScriptCore/API/glib -IDerivedSources/JavaScriptCore/javascriptcoregtk -I../Source/JavaScriptCore/inspector/remote/glib -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g1 -Wl,--no-keep-memory -DNDEBUG -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fPIE -std=c++17 -MD -MT Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o -MF Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o -c ../Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
[  214s] In file included from ../Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:30,
[  214s]                  from ../Source/JavaScriptCore/assembler/MacroAssembler.h:46,
[  214s]                  from ../Source/JavaScriptCore/jit/GPRInfo.h:28,
[  214s]                  from ../Source/JavaScriptCore/bytecode/ArithProfile.h:28,
[  214s]                  from ../Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
[  214s] ../Source/JavaScriptCore/assembler/ARM64Assembler.h: In static member function &apos;static void JSC::ARM64Assembler::replaceWithJump(void*, void*)&apos;:
[  214s] ../Source/JavaScriptCore/assembler/ARM64Assembler.h:2576:51: error: &apos;class JSC::ExecutableAllocator&apos; has no member named &apos;getJumpIslandTo&apos;
[  214s]  2576 |             to = ExecutableAllocator::singleton().getJumpIslandTo(where, to);
[  214s]       |                                                   ^~~~~~~~~~~~~~~
[  214s] ../Source/JavaScriptCore/assembler/ARM64Assembler.h: In static member function &apos;static void* JSC::ARM64Assembler::prepareForAtomicRelinkJumpConcurrently(void*, void*)&apos;:
[  214s] ../Source/JavaScriptCore/assembler/ARM64Assembler.h:2781:49: error: &apos;class JSC::ExecutableAllocator&apos; has no member named &apos;getJumpIslandToConcurrently&apos;
[  214s]  2781 |         return ExecutableAllocator::singleton().getJumpIslandToConcurrently(from, to);
[  214s]       |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[  214s] ../Source/JavaScriptCore/assembler/ARM64Assembler.h: In static member function &apos;static void JSC::ARM64Assembler::linkJumpOrCall(int*, const int*, void*)&apos;:
[  214s] ../Source/JavaScriptCore/assembler/ARM64Assembler.h:3024:51: error: &apos;class JSC::ExecutableAllocator&apos; has no member named &apos;getJumpIslandTo&apos;
[  214s]  3024 |             to = ExecutableAllocator::singleton().getJumpIslandTo(bitwise_cast&lt;void*&gt;(fromInstruction), to);
[  214s]       |                                                   ^~~~~~~~~~~~~~~</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1692877</commentid>
    <comment_count>1</comment_count>
    <who name="Guillaume G">guillaume.gardet</who>
    <bug_when>2020-09-29 04:18:53 -0700</bug_when>
    <thetext>It was also failing with 2.30.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1692917</commentid>
    <comment_count>2</comment_count>
    <who name="Mike Gorse">mgorse</who>
    <bug_when>2020-09-29 08:31:36 -0700</bug_when>
    <thetext>We are currently passing -DENABLE_JIT=OFF on aarch64.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693015</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-29 11:00:12 -0700</bug_when>
    <thetext>Looks like this broke in r259582 &quot;Implement 1GB of executable memory on arm64&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693160</commentid>
    <comment_count>4</comment_count>
    <who name="Mike Gorse">mgorse</who>
    <bug_when>2020-09-29 14:39:22 -0700</bug_when>
    <thetext>I tried patching wtf/Platform.h to only define USE_JUMP_ISLANDS if JIT is enabled, but now I get this failure, related to R262670 I think:
../Source/JavaScriptCore/assembler/LinkBuffer.cpp: In member function &apos;void JSC::LinkBuffer::copyCompactAndLinkCode(JSC::MacroAssembler&amp;, JSC::JITCompilationEffort)&apos;:
../Source/JavaScriptCore/assembler/LinkBuffer.cpp:380:13: error: there are no arguments to &apos;dumpJITMemory&apos; that depend on a template parameter, so a declaration of &apos;dumpJITMemory&apos; must be available [-fpermissive]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693242</commentid>
    <comment_count>5</comment_count>
      <attachid>410073</attachid>
    <who name="Mike Gorse">mgorse</who>
    <bug_when>2020-09-29 17:33:52 -0700</bug_when>
    <thetext>Created attachment 410073
Patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693384</commentid>
    <comment_count>6</comment_count>
      <attachid>410073</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-30 08:06:02 -0700</bug_when>
    <thetext>Comment on attachment 410073
Patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=410073&amp;action=review

&gt; Source/JavaScriptCore/assembler/LinkBuffer.cpp:377
&gt; +    ASSERT(codeOutData == outData);

Careful, the assert is different in the two codepaths!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693396</commentid>
    <comment_count>7</comment_count>
      <attachid>410127</attachid>
    <who name="Mike Gorse">mgorse</who>
    <bug_when>2020-09-30 08:55:06 -0700</bug_when>
    <thetext>Created attachment 410127
Patch.

Good catch. Fixed the asserts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693402</commentid>
    <comment_count>8</comment_count>
      <attachid>410127</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-30 09:17:11 -0700</bug_when>
    <thetext>Comment on attachment 410127
Patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=410127&amp;action=review

&gt; Source/JavaScriptCore/assembler/LinkBuffer.cpp:389
&gt; +    performJITMemcpy(codeOutData, outData, m_size);
&gt; +#endif // ENABLE_JIT

I had to investigate why it&apos;s OK to call performJITMemcpy when JIT is disabled. Turns out it just does a memcpy. OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693422</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2020-09-30 10:07:18 -0700</bug_when>
    <thetext>Committed r267795: &lt;https://trac.webkit.org/changeset/267795&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 410127.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693424</commentid>
    <comment_count>10</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-09-30 10:08:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/69796640&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693433</commentid>
    <comment_count>11</comment_count>
      <attachid>410127</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2020-09-30 10:35:45 -0700</bug_when>
    <thetext>Comment on attachment 410127
Patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=410127&amp;action=review

Please roll out this patch and fix the issues below.

&gt; Source/JavaScriptCore/assembler/LinkBuffer.cpp:377
&gt; +#if ENABLE(JIT)

This change doesn&apos;t make sense.  LinkBuffer::copyCompactAndLinkCode() should only be built in if the assembler is enabled.  Not only that, this change is actually wrong.  If useFastJITPermissions() is true, we should not be doing the performJITMemcpy() here at all.  You&apos;ve actually introduced a bug.  Fortunately, this bug will not manifest if ENABLE(JIT) is true.  It still makes the code lie about what is correct and expected.

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.  For now, can you roll out this patch and move this ENABLE(JIT) this to just around the if statement for the dumpJITMemory?  Also add a FIXME comment here that this is a temporary build fix until we can figure out why all this JIT and ASSEMBLER infrastructure is built in on Linux when JIT is disabled.

You should also check why ENABLE(ASSEMBLER) is enabled for you.  For example, do you have ENABLE(YARR_JIT) set to true, or do you have ENABLE(C_LOOP) set to false for your configuration?  Maybe there&apos;s no bug there, but you should make sure.

&gt; Source/WTF/wtf/PlatformEnable.h:888
&gt; +#if CPU(ARM64) &amp;&amp; CPU(ADDRESS64) &amp;&amp; ENABLE(JIT)

This change also doesn&apos;t make sense.  USE(JUMP_ISLANDS) should at most be dependent on ENABLE(ASSEMBLER), but it is only ever used in assembler code.  Hence, this change should not be necessary at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693436</commentid>
    <comment_count>12</comment_count>
      <attachid>410127</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2020-09-30 10:37:50 -0700</bug_when>
    <thetext>Comment on attachment 410127
Patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=410127&amp;action=review

&gt;&gt; Source/WTF/wtf/PlatformEnable.h:888
&gt;&gt; +#if CPU(ARM64) &amp;&amp; CPU(ADDRESS64) &amp;&amp; ENABLE(JIT)
&gt; 
&gt; This change also doesn&apos;t make sense.  USE(JUMP_ISLANDS) should at most be dependent on ENABLE(ASSEMBLER), but it is only ever used in assembler code.  Hence, this change should not be necessary at all.

If there&apos;s no configuration issue on your part, adding this ENABLE(JIT) as a workaround is executable for now.  Please add a FIXME to say that this is a temporary workaround (just like in my previous comment).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693455</commentid>
    <comment_count>13</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-09-30 11:19:09 -0700</bug_when>
    <thetext>Re-opened since this is blocked by bug 217135</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693460</commentid>
    <comment_count>14</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-30 11:34:26 -0700</bug_when>
    <thetext>Mike, I&apos;ve been talking with Mark about this. This build failure only occurs when cloop and JIT are both enabled. This is not a configuration that we *intentionally* use on Linux (although Apple uses it). Problem is I changed WebKitFeatures.cmake a while back to do the right thing on all architectures, so we no longer have to pass -DENABLE_JIT=OFF -DUSE_SYSTEM_MALLOC=ON. Except it really only does the right thing on all architectures *except* aarch64, where it&apos;s impossible to make the right choice without knowing system page size (which could be different on the builder than on the target system). So enterprise distros that support 64k pages still need to set these flags manually, but only for aarch64. Now here is my mistake: I used to have WebKitFeatures.cmake set up such that -DENABLE_JIT=OFF would set -DENABLE_C_LOOP=ON. And I assumed that was still the case, but it no longer is, because that code was no longer needed anymore now that it does the right thing for &quot;all&quot; architectures (oops). So you&apos;re ending up with cloop disabled by mistake, and that is why LinkBuffer.cpp is being compiled. I have the identical mistake in RHEL&apos;s build system too.

So there are two problems: (a) you should build with -DENABLE_C_LOOP=ON. (b) this  bug really should be fixed as Mark suggests, but it should only affect Apple ports because only Apple ports should be building this file with JIT disabled.

P.S. There is no amazing reason to always enable cloop when JIT is disabled. Upstream WebKit has three options: cloop, asm llint, and JIT. We just simplify it down to two for Linux so there is one fewer case to think about. Hence, it&apos;s not wrong or horrible to ship with both cloop and JIT disabled, just not what I had intended.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693461</commentid>
    <comment_count>15</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-30 11:35:20 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #14)
&gt; Mike, I&apos;ve been talking with Mark about this. This build failure only occurs
&gt; when cloop and JIT are both enabled.

I meant: both disabled</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693466</commentid>
    <comment_count>16</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-30 11:50:09 -0700</bug_when>
    <thetext>(In reply to Mark Lam from comment #11) 
&gt; I think the real fix for this should be to ensure that all the support for
&gt; 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 &apos;ENABLE(JIT)&apos;
MacroAssemblerCodeRef.h:#if CPU(ARM_THUMB2) &amp;&amp; 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) &amp;&amp; !ENABLE_ASSEMBLER
#error &quot;Cannot enable the JIT or RegExp JIT without enabling the Assembler&quot;
#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.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693471</commentid>
    <comment_count>17</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2020-09-30 11:54:03 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #16)
&gt; (In reply to Mark Lam from comment #11) 
&gt; &gt; I think the real fix for this should be to ensure that all the support for
&gt; &gt; the ASSEMBLER is not built in if none of the JITs are enabled.
&gt; 
&gt; I notice there are only a few ENABLE(JIT) guards under
&gt; Source/JavaScriptCore/assembler:
&gt; 
&gt; $ git grep &apos;ENABLE(JIT)&apos;
&gt; MacroAssemblerCodeRef.h:#if CPU(ARM_THUMB2) &amp;&amp; ENABLE(JIT)
&gt; testmasm.cpp:#if ENABLE(JIT)
&gt; testmasm.cpp:#else // not ENABLE(JIT)
&gt; testmasm.cpp:#endif // ENABLE(JIT)
&gt; 
&gt; I also notice we have, in PlatformEnable.h:
&gt; 
&gt; /* If either the JIT or the RegExp JIT is enabled, then the Assembler must be
&gt;    enabled as well: */
&gt; #if ENABLE(JIT) || ENABLE(YARR_JIT) || !ENABLE(C_LOOP)
&gt; #if defined(ENABLE_ASSEMBLER) &amp;&amp; !ENABLE_ASSEMBLER
&gt; #error &quot;Cannot enable the JIT or RegExp JIT without enabling the Assembler&quot;
&gt; #else
&gt; #undef ENABLE_ASSEMBLER
&gt; #define ENABLE_ASSEMBLER 1
&gt; #endif
&gt; #endif
&gt; 
&gt; So we could just remove || !ENABLE(C_LOOP) from the first line, and remove
&gt; the test from MacroAssemblerCodeRef.h. (testmasm.cpp is built regardless of
&gt; whether JIT is enabled.)

Yes, the assembler should not need to be on if we don&apos;t enable any JITs.  I think this is an existing bug when building for the asm llint.  It&apos;s something I&apos;ll look into eventually, but I don&apos;t think we should need to fix that right now to resolve this bug&apos;s build failure.  But if you would like to try to fix it, that&apos;s fine too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693475</commentid>
    <comment_count>18</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-30 12:00:57 -0700</bug_when>
    <thetext>Ah, actually there is a flaw in my plan. If we have ENABLE_JIT=ON but ENABLE_YARR_JIT=OFF, then we need ENABLE_ASSEMBLER=ON. I don&apos;t know why that should be supported -- it smells like too many build configurations -- but it does mean that ENABLE_ASSEMBLER=ON cannot currently assume ENABLE_JIT=ON (unless we change that).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693476</commentid>
    <comment_count>19</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-30 12:01:38 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #18)
&gt; If we have ENABLE_JIT=ON but
&gt; ENABLE_YARR_JIT=OFF, then we need ENABLE_ASSEMBLER=ON.

I guess I&apos;m really backwards today. I meant: &quot;if we have ENABLE_JIT=OFF but ENABLE_YARR_JIT=ON, then we need ENABLE_ASSEMBLER=ON&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693570</commentid>
    <comment_count>20</comment_count>
    <who name="Mike Gorse">mgorse</who>
    <bug_when>2020-09-30 16:18:27 -0700</bug_when>
    <thetext>Thanks. If I pass -DENABLE_C_LOOP=ON to cmake, then I get a successful build (I also needed to pass -DENABLE_SAMPLING_PROFILER=OFF).
I&apos;ll make that change to openSUSE / SLE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693583</commentid>
    <comment_count>21</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-30 17:01:46 -0700</bug_when>
    <thetext>(In reply to Mike Gorse from comment #20)
&gt; Thanks. If I pass -DENABLE_C_LOOP=ON to cmake, then I get a successful build
&gt; (I also needed to pass -DENABLE_SAMPLING_PROFILER=OFF).
&gt; I&apos;ll make that change to openSUSE / SLE.

And I&apos;ll make that change in RHEL.

We really need to come up with something better for aarch64. :/</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>410073</attachid>
            <date>2020-09-29 17:33:52 -0700</date>
            <delta_ts>2020-09-30 08:55:06 -0700</delta_ts>
            <desc>Patch.</desc>
            <filename>build.patch</filename>
            <type>text/plain</type>
            <size>2749</size>
            <attacher name="Mike Gorse">mgorse</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cgYi9Tb3VyY2UvSmF2
YVNjcmlwdENvcmUvQ2hhbmdlTG9nCmluZGV4IDk2ZTVlYTI3YzhiYS4uNWE1ZDM2ZjI0YmY1IDEw
MDY0NAotLS0gYS9Tb3VyY2UvSmF2YVNjcmlwdENvcmUvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9K
YXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNCBA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FQkdQVSkiCiAj
ZW5kaWYKIAotI2lmIENQVShBUk02NCkgJiYgQ1BVKEFERFJFU1M2NCkKKyNpZiBDUFUoQVJNNjQp
ICYmIENQVShBRERSRVNTNjQpICYmIEVOQUJMRShKSVQpCiAjZGVmaW5lIFVTRV9KVU1QX0lTTEFO
RFMgMQogI2VuZGlmCg==
</data>
<flag name="commit-queue"
          id="425918"
          type_id="3"
          status="-"
          setter="mcatanzaro"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>410127</attachid>
            <date>2020-09-30 08:55:06 -0700</date>
            <delta_ts>2020-09-30 10:35:45 -0700</delta_ts>
            <desc>Patch.</desc>
            <filename>build.patch</filename>
            <type>text/plain</type>
            <size>2781</size>
            <attacher name="Mike Gorse">mgorse</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cgYi9Tb3VyY2UvSmF2
YVNjcmlwdENvcmUvQ2hhbmdlTG9nCmluZGV4IDk2ZTVlYTI3YzhiYS4uNWE1ZDM2ZjI0YmY1IDEw
MDY0NAotLS0gYS9Tb3VyY2UvSmF2YVNjcmlwdENvcmUvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9K
YXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNCBAQAorMjAyMC0wOS0zMCAgTWlr
ZSBHb3JzZSAgPG1nb3JzZUBzdXNlLmNvbT4KKworICAgICAgICBSRUdSRVNTSU9OKHIyNTk1ODIp
OiBCdWlsZCBmYWlscyBvbiBhYXJjaDY0IExpbnV4IHdpdGggV2ViS2l0IDIuMzAuMSBvbiBMTElu
dE9mZnNldHNFeHRyYWN0b3IuY3BwLm8KKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcv
c2hvd19idWcuY2dpP2lkPTIxNzA3OQorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9E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tpdC5vcmcvc2hvd19idWcuY2dpP2lkPTIxNzA3OQorCisgICAgICAgIFJldmlld2VkIGJ5
IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogd3RmL1BsYXRmb3JtRW5hYmxlLmg6IE9ubHkg
ZGVmaW5lIFVTRV9KVU1QX0lTTEFORFMgaWYgSklUIGlzIGVuYWJsZWQuCisKIDIwMjAtMDktMjkg
IEFsZXggQ2hyaXN0ZW5zZW4gIDxhY2hyaXN0ZW5zZW5Ad2Via2l0Lm9yZz4KIAogICAgICAgICBS
ZW1vdmUgcGxpc3QtYmFzZWQgUmVzb3VyY2VMb2FkU3RhdGlzdGljcyBzdG9yYWdlLCB3aGljaCBo
YXMgYmVlbiByZXBsYWNlZCBieSBkYXRhYmFzZS1iYXNlZCBzdG9yYWdlCmRpZmYgLS1naXQgYS9T
b3VyY2UvV1RGL3d0Zi9QbGF0Zm9ybUVuYWJsZS5oIGIvU291cmNlL1dURi93dGYvUGxhdGZvcm1F
bmFibGUuaAppbmRleCA5MTY2Y2ZkZDk1NTQuLjM2MTE3ZDg4MjA4NSAxMDA2NDQKLS0tIGEvU291
cmNlL1dURi93dGYvUGxhdGZvcm1FbmFibGUuaAorKysgYi9Tb3VyY2UvV1RGL3d0Zi9QbGF0Zm9y
bUVuYWJsZS5oCkBAIC04ODUsNiArODg1LDYgQEAKICNlcnJvciAiRU5BQkxFKFdITFNMX0NPTVBJ
TEVSKSByZXF1aXJlcyBFTkFCTEUoV0VCR1BVKSIKICNlbmRpZgogCi0jaWYgQ1BVKEFSTTY0KSAm
JiBDUFUoQUREUkVTUzY0KQorI2lmIENQVShBUk02NCkgJiYgQ1BVKEFERFJFU1M2NCkgJiYgRU5B
QkxFKEpJVCkKICNkZWZpbmUgVVNFX0pVTVBfSVNMQU5EUyAxCiAjZW5kaWYK
</data>
<flag name="review"
          id="425990"
          type_id="1"
          status="-"
          setter="mark.lam"
    />
          </attachment>
      

    </bug>

</bugzilla>