Bug 229647 - "Unknown architecture" attempting to build on 32-bit PowerPC
Summary: "Unknown architecture" attempting to build on 32-bit PowerPC
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Other Other
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-28 09:09 PDT by Evan Miller
Modified: 2021-09-04 09:10 PDT (History)
1 user (show)

See Also:


Attachments
Proposed fix (392 bytes, patch)
2021-08-28 09:09 PDT, Evan Miller
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Miller 2021-08-28 09:09:29 PDT
Created attachment 436716 [details]
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.
Comment 1 Radar WebKit Bug Importer 2021-09-04 09:10:31 PDT
<rdar://problem/82758931>