<?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>281138</bug_id>
          
          <creation_ts>2024-10-09 07:17:43 -0700</creation_ts>
          <short_desc>webkitgtk-2.46.3 fails to build on riscv64 (JSC, llint)</short_desc>
          <delta_ts>2024-11-14 06:31:38 -0800</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 Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>274826</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Orlitzky">michael</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2066510</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Orlitzky">michael</who>
    <bug_when>2024-10-09 07:17:43 -0700</bug_when>
    <thetext>After applying https://github.com/WebKit/WebKit/pull/34727, I get another FTBFS on riscv64:

/foo/bar/webkitgtk-2.46.1/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:608:78: error: expected &apos;)&apos; before &apos;OFFLINE_ASM_ALIGN_TRAP&apos;
  608 |     OFFLINE_ASM_GLOBAL_LABEL_IMPL(label, OFFLINE_ASM_NO_ALT_ENTRY_DIRECTIVE, OFFLINE_ASM_ALIGN_TRAP(align), HIDE_SYMBOL)
      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~
/foo/bar/webkitgtk-2.46.1/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:571:5: note: in definition of macro &apos;OFFLINE_ASM_GLOBAL_LABEL_IMPL&apos;
  571 |     ALIGNMENT                                   \
      |     ^~~~~~~~~
/foo/bar/webkitgtk-2.46.1_build/JavaScriptCore/DerivedSources/LLIntAssembly.h:107249:19: note: in expansion of macro &apos;OFFLINE_ASM_ALIGNED_GLOBAL_LABEL&apos;
107249 | &quot;.loc 9 210\n&quot;    OFFLINE_ASM_ALIGNED_GLOBAL_LABEL(ipint_unreachable_validate, 256)
       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2071940</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Orlitzky">michael</who>
    <bug_when>2024-10-31 12:37:58 -0700</bug_when>
    <thetext>Same thing in 2.46.3. There are now six public CVEs against the last version that does build:

CVE-2024-40857
  Versions affected: WebKitGTK and WPE WebKit before 2.46.0.
  Credit to Ron Masas.
  Impact: Processing maliciously crafted web content may lead to
  universal cross site scripting. Description: This issue was
  addressed through improved state management.
  WebKit Bugzilla: 268724

CVE-2024-40866
  Versions affected: WebKitGTK and WPE WebKit before 2.46.0.
  Credit to Hafiizh and YoKo Kho (@yokoacc) of HakTrak.
  Impact: Visiting a malicious website may lead to address bar
  spoofing. Description: The issue was addressed with improved UI.
  WebKit Bugzilla: 279451

CVE-2024-44187
  Versions affected: WebKitGTK and WPE WebKit before 2.46.0.
  Credit to Narendra Bhati, Manager of Cyber Security at Suma Soft Pvt. Ltd,
  Pune (India).
  Impact: A malicious website may exfiltrate data cross-origin.
  Description: A cross-origin issue existed with &quot;iframe&quot; elements.
  This was addressed with improved tracking of security origins.
  WebKit Bugzilla: 279452

CVE-2024-44185
  Versions affected: WebKitGTK and WPE WebKit before 2.46.0.
  Credit to Gary Kwong.
  Impact: Processing maliciously crafted web content may lead to an unexpected
  process crash Description: The issue was addressed with improved checks.
  WebKit Bugzilla: 276097

CVE-2024-44244
  Versions affected: WebKitGTK and WPE WebKit before 2.46.3.
  Credit to an anonymous researcher, Q1IQ (@q1iqF) and P1umer (@p1umer).
  Impact: Processing maliciously crafted web content may lead to an unexpected process crash
  Description: A memory corruption issue was addressed with improved input validation.
  WebKit Bugzilla: 279780


CVE-2024-44296
  Versions affected: WebKitGTK and WPE WebKit before 2.46.3.
  Credit to Narendra Bhati, Manager of Cyber Security at Suma Soft Pvt. Ltd, Pune (India).
  Impact: Processing maliciously crafted web content may prevent Content Security Policy from
  being enforced Description: The issue was addressed with improved checks.
  WebKit Bugzilla: 278765</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2075046</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Orlitzky">michael</who>
    <bug_when>2024-11-14 06:31:38 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 274826 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>