Closed Bug 804032 Opened 12 years ago Closed 12 years ago

compile error on ppc in webrtc

Categories

(Core :: WebRTC, defect)

17 Branch
Other
Linux
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 814693

People

(Reporter: stevensn, Unassigned)

Details

(Whiteboard: [WebRTC], [blocking-webrtc-])

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux ppc; rv:9.0.1) Gecko/20120123 Firefox/9.0.1 Build ID: 20120123201830 Steps to reproduce: I tried to compile firefox-17.0b2.source.tar.bz2 on a Linux(debian) 32 bit ppc system. Actual results: I got the following compilation error. gcc -o audio_coding/codecs/iSAC/fix/source/arith_routines.o -c -fvisibility=hidden -DMOZ_GLUE_IN_PROGRAM -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DUSE_NSS=1 -DTOOLKIT_USES_GTK=1 -DGTK_DISABLE_SINGLE_INCLUDES=1 -D_ISOC99_SOURCE=1 -DENABLE_REMOTING=1 -DENABLE_P2P_APIS=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_REGISTER_PROTOCOL_HANDLER=1 -DENABLE_WEB_INTENTS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DWEBRTC_LINUX -DWEBRTC_THREAD_RR -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I. -I/media/nfs/usb_drive_src/firefox/mozilla-beta/media/webrtc/trunk/src/modules/.. -I/media/nfs/usb_drive_src/firefox/mozilla-beta/media/webrtc/trunk/src/modules/../.. -I/media/nfs/usb_drive_src/firefox/mozilla-beta/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/interface -I/media/nfs/usb_drive_src/firefox/mozilla-beta/media/webrtc/trunk/src/modules/../common_audio/signal_processing/include -fPIC -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wno-unused -Wno-overlength-strings -Wcast-align -Wno-long-long -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer -include ../../../../../../mozilla-config.h -DMOZILLA_CLIENT -MD -MF .deps/arith_routines.o.pp /media/nfs/usb_drive_src/firefox/mozilla-beta/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/source/arith_routines.c In file included from /media/nfs/usb_drive_src/firefox/mozilla-beta/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/source/structs.h:22, from /media/nfs/usb_drive_src/firefox/mozilla-beta/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/source/arith_routins.h:21, from /media/nfs/usb_drive_src/firefox/mozilla-beta/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/source/arith_routines.c:19: /media/nfs/usb_drive_src/firefox/mozilla-beta/media/webrtc/trunk/src/modules/../typedefs.h:52:2: error: #error Please add support for your architecture in typedefs.h make[7]: *** [audio_coding/codecs/iSAC/fix/source/arith_routines.o] Error 1 make[7]: Leaving directory `/media/nfs/usb_drive_src/firefox/mozilla-release/build-dir/media/webrtc/trunk/src/modules/modules_iSACFix' make[6]: *** [src/modules/modules_iSACFix_libs] Error 2 Expected results: It should have compiled. Firefox 16 compile fine on this machine. I would expect 17 to work as well. I don't think FF16 tried building webrtc, FF17 shouldn't either if webrtc won't build on this platform.
Hi - I need the results of objdir/mozilla-config.h and the configure output after touch configure.in. I'm not surprised as we only have OS-based lockouts for the default enable-webrtc, and linux it assumes is supported. And probably only a few items aren't supported, with ISAC_FIXED being one of them. *If* isac_fixed is the only problem (and it may well not be) then FF 18 should work better for you, as we disabled ISAC entirely. You could also disable ISAC in the .gyp files (or by passing in a value for it from configure.in) and see if you get much further. I'll fix it if I get a chance, but to be honest I'm not sure what processors are supported in FF18+, since we only enable G.711 and Opus in FF18+, and neither of them should have a problem, and I think libyuv defaults down to pure C functions. You can avoid this with --disable-webrtc
Severity: normal → minor
Status: UNCONFIRMED → NEW
Component: Untriaged → WebRTC
Ever confirmed: true
Product: Firefox → Core
QA Contact: jsmith
Attached file mozilla-config.h (deleted) —
Attached is the mozilla-config.h as requested
Attached file attached is the configure log output (deleted) —
Whiteboard: [WebRTC], [blocking-webrtc-]
I think this bug has been fixed by mike in bug #814693
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: