Closed Bug 913556 Opened 11 years ago Closed 11 years ago

Firefox fails to build on PPC64: build_config.h:117:2: error: #error Please add support for your architecture in build/build_config.h

Categories

(Core :: WebRTC, defect)

PowerPC
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: gustavold, Assigned: stevensn)

Details

Attachments

(1 file)

Firefox build fails on PPC64 with the following error message:

9:41.45 In file included from /home/buildbot/buildbot/slave/runtests/build/ipc/chromium/src/base/port.h:9:0,
 9:41.45                  from /home/buildbot/buildbot/slave/runtests/build/ipc/chromium/src/base/basictypes.h:12,
 9:41.45                  from ../../ipc/ipdl/_ipdlheaders/mozilla/dom/PContent.h:10,
 9:41.45                  from ../../ipc/ipdl/_ipdlheaders/mozilla/dom/PContentChild.h:9,
 9:41.45                  from ../../dist/include/mozilla/dom/ContentChild.h:11,
 9:41.45                  from /home/buildbot/buildbot/slave/runtests/build/dom/media/MediaManager.cpp:18:
 9:41.45 /home/buildbot/buildbot/slave/runtests/build/media/webrtc/trunk/build/build_config.h:117:2: error: #error Please add support for your architecture in build/build_config.h


For the full build log see: http://mozillaproject.osuosl.org:8010/builders/runtests/builds/249/steps/shell/logs/stdio
Builds in ppc32 with this patch

It doesn't look like the ARCH_CPU_XXX_ENDIAN define is even used other places in webrtc WEBRTC_BIG/LITTLE_ENDIAN
Attachment #802238 - Flags: review?(rjesup)
I can confirm that applying the patch from comment #1 Firefox builds fine on PPC64.
Thanks Steve!
Attachment #802238 - Flags: review?(rjesup) → review+
I faced a similar issue on openbsd/ppc, and after discussing it with jesup on irc, took the liberty to add all the missing 'supported' archs from bug #654056.

https://hg.mozilla.org/integration/mozilla-inbound/rev/b0c24be12ddb
https://hg.mozilla.org/mozilla-central/rev/b0c24be12ddb
Assignee: nobody → steve
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: