<?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>229647</bug_id>
          
          <creation_ts>2021-08-28 09:09:29 -0700</creation_ts>
          <short_desc>&quot;Unknown architecture&quot; attempting to build on 32-bit PowerPC</short_desc>
          <delta_ts>2021-09-04 09:10:31 -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>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>NEW</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evan Miller">emmiller</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1788308</commentid>
    <comment_count>0</comment_count>
      <attachid>436716</attachid>
    <who name="Evan Miller">emmiller</who>
    <bug_when>2021-08-28 09:09:29 -0700</bug_when>
    <thetext>Created attachment 436716
Proposed fix

I am sure there are plenty of other build issues on this platform, but most immediately a logic error exists on line 87 of WTF/wtf/PlatformCPU.h. It checks CPU(BIG_ENDIAN) but WTF_CPU_BIG_ENDIAN is not defined until later in the file.

Proposed fix (following the PPC64 example) is attached.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790501</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-04 09:10:31 -0700</bug_when>
    <thetext>&lt;rdar://problem/82758931&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>436716</attachid>
            <date>2021-08-28 09:09:29 -0700</date>
            <delta_ts>2021-08-28 09:09:29 -0700</delta_ts>
            <desc>Proposed fix</desc>
            <filename>ppc-32bit.diff</filename>
            <type>text/plain</type>
            <size>392</size>
            <attacher name="Evan Miller">emmiller</attacher>
            
              <data encoding="base64">LS0tIFNvdXJjZS9XVEYvd3RmL1BsYXRmb3JtQ1BVLmgub3JpZwkyMDIxLTA4LTI4IDEyOjA0OjAz
LjAwMDAwMDAwMCAtMDQwMAorKysgU291cmNlL1dURi93dGYvUGxhdGZvcm1DUFUuaAkyMDIxLTA4
LTI4IDEyOjA0OjE3LjAwMDAwMDAwMCAtMDQwMApAQCAtODQsNyArODQsNyBAQAogICAgIHx8IGRl
ZmluZWQoX01fUFBDKSAgICAgICAgIFwKICAgICB8fCBkZWZpbmVkKF9fUFBDKSkgICAgICAgICBc
CiAgICAgJiYgIUNQVShQUEM2NCkgICAgICAgICAgICAgXAotICAgICYmIENQVShCSUdfRU5ESUFO
KQorICAgICYmIChfX0JZVEVfT1JERVJfXyA9PSBfX09SREVSX0JJR19FTkRJQU5fXykKICNkZWZp
bmUgV1RGX0NQVV9QUEMgMQogI2RlZmluZSBXVEZfQ1BVX0tOT1dOIDEKICNlbmRpZgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>