Closed Bug 683879 Opened 13 years ago Closed 12 years ago

xpcom: no support for FreeBSD ia64 ipc/chromium/src/build/build_config.h

Categories

(Core :: IPC, defect)

6 Branch
Other
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: mexas, Assigned: jbeich)

References

Details

User Agent: Mozilla/5.0 (X11; U; FreeBSD ia64; en-US; rv:1.9.2.20) Gecko/20110830 Firefox/3.6.20 Build ID: 20110830184625 Steps to reproduce: I'm on ia64 FreeBSD 9.0-current. The latest working firefox version is 3.6.21. Since then I can't build it. It seems there's no longer xpcom support for ia64 FreeBSD. Actual results: gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/xpcom/string' gmake[4]: Entering directory `/usr/ports/www/firefox/work/mozilla-release/xpcom/glue' /usr/ports/www/firefox/work/mozilla-release/config/nsinstall -R -m 644 libxpcomglue_s.a libxpcomg lue_s.a.desc ../../dist/lib /usr/ports/www/firefox/work/mozilla-release/config/nsinstall -D ../../dist/sdk/lib gmake[5]: Entering directory `/usr/ports/www/firefox/work/mozilla-release/xpcom/glue/standalone' /usr/ports/www/firefox/work/mozilla-release/config/nsinstall -R -m 644 libxpcomglue.a libxpcomglu e.a.desc ../../../dist/lib /usr/ports/www/firefox/work/mozilla-release/config/nsinstall -D ../../../dist/sdk/lib /usr/ports/www/firefox/work/mozilla-release/config/nsinstall -R -m 755 libxpcomglue.a ../../../di st/sdk/lib gmake[5]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/xpcom/glue/standalone' gmake[5]: Entering directory `/usr/ports/www/firefox/work/mozilla-release/xpcom/glue/nomozalloc' /usr/ports/www/firefox/work/mozilla-release/config/nsinstall -R -m 644 libxpcomglue_s_nomozalloc. a libxpcomglue_s_nomozalloc.a.desc ../../../dist/lib /usr/ports/www/firefox/work/mozilla-release/config/nsinstall -D ../../../dist/sdk/lib /usr/ports/www/firefox/work/mozilla-release/config/nsinstall -R -m 755 libxpcomglue_s_nomozalloc. a ../../../dist/sdk/lib gmake[5]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/xpcom/glue/nomozalloc' /usr/ports/www/firefox/work/mozilla-release/config/nsinstall -R -m 755 libxpcomglue_s.a ../../dis t/sdk/lib gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/xpcom/glue' gmake[4]: Entering directory `/usr/ports/www/firefox/work/mozilla-release/xpcom/base' nsCycleCollector.cpp c++ -o nsCycleCollector.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_ XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THE BES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"FreeBSD9\" -DOSARCH=FreeBSD -DEXCLUDE_SKIA_DEPENDENCIE S -DCHROMIUM_MOZILLA_BUILD -DOS_LINUX=1 -DOS_POSIX=1 -D_IMPL_NS_COM -I../../ipc/chromium/src -I ../../ipc/glue -I../../ipc/ipdl/_ipdlheaders -I./../build -I. -I. -I../../dist/include -I../../d ist/include/nsprpub -I/usr/local/include/nspr -I/usr/ports/www/firefox/work/mozilla-release/dist /include/nss -fPIC -I/usr/local/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Wo verloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno -variadic-macros -Werror=return-type -pipe -g -fno-strict-aliasing -fshort-wchar -pipe -DDEBUG -D _DEBUG -DTRACING -g -O -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/ gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/loTelemetry.cpp cal/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local /include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/include/pi xman-1 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/inc lude -DMOZILLA_CLIENT -include ../../mozilla-config.h /usr/ports/www/firefox/work/mozilla-release /xpcom/base/nsCycleCollector.cpp c++ -o Telemetry.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -D STATIC_EXPORTABLE_JS_API -DOSTYPE=\"FreeBSD9\" -DOSARCH=FreeBSD -DEXCLUDE_SKIA_DEPENDENCIES -DCHR OMIUM_MOZILLA_BUILD -DOS_LINUX=1 -DOS_POSIX=1 -D_IMPL_NS_COM -I../../ipc/chromium/src -I../../i pc/glue -I../../ipc/ipdl/_ipdlheaders -I./../build -I. -I. -I../../dist/include -I../../dist/inc lude/nsprpub -I/usr/local/include/nspr -I/usr/ports/www/firefox/work/mozilla-release/dist/includ e/nss -fPIC -I/usr/local/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverload ed-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variad ic-macros -Werror=return-type -pipe -g -fno-strict-aliasing -fshort-wchar -pipe -DDEBUG -D_DEBUG -DTRACING -g -O -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0 /include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf- 2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr /local/include/glib-2.0 -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local /include/gtk-unix-print-2.0 -I/usr/local/include -DMOZILLA_CLIENT -include ../../mozilla-confi g.h /usr/ports/www/firefox/work/mozilla-release/xpcom/base/Telemetry.cpp In file included from ../../ipc/chromium/src/base/port.h:9, from ../../ipc/chromium/src/base/basictypes.h:50, from /usr/ports/www/firefox/work/mozilla-release/xpcom/base/nsCycleCollector.cpp :128: ../../ipc/chromium/src/build/build_config.h:64:2: error: #error Please add support for your archi tecture in build/build_config.h In file included from ../../ipc/chromium/src/base/port.h:9, from ../../ipc/chromium/src/base/basictypes.h:50, from ../../ipc/chromium/src/base/time.h:27, from ../../ipc/chromium/src/base/histogram.h:54, from /usr/ports/www/firefox/work/mozilla-release/xpcom/base/Telemetry.cpp:40: ../../ipc/chromium/src/build/build_config.h:64:2: error: #error Please add support for your archi tecture in build/build_config.h gmake[4]: *** [Telemetry.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... gmake[4]: *** [nsCycleCollector.o] Error 1 gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/xpcom/base' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/xpcom' gmake[2]: *** [libs_tier_platform] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release' gmake[1]: *** [tier_platform] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release' gmake: *** [default] Error 2 *** Error code 1 Stop in /usr/ports/www/firefox. *** Error code 1
Hmm. I wonder why this doesn't break in other cases not supported by the Google ipc code... People are certainly building on other architectures that the ipc code doesn't support! Did you configure with --disable-ipc?
No, just "make configure". Here is the config.log: http://seis.bris.ac.uk/~mexas/config.log and config.status (not sure if you need it, but ipc is mentioned there): http://seis.bris.ac.uk/~mexas/config.status
Do things work if you do use --disable-ipc?
I thought we removed that option. I think somebody just needs to add the correct check in this code.
Status: UNCONFIRMED → NEW
Component: XPCOM → IPC
Ever confirmed: true
QA Contact: xpcom → ipc
Same problem building trunk under FreeBSD 9.0 Release x86 gmake[6]: Entering directory `/root/sm-night/mozilla-central/obj-i386-unknown-freebsd9.0/xpcom/base' nsCycleCollector.cpp c++ -o nsCycleCollector.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /root/sm-night/mozilla-central/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"FreeBSD9\" -DOSARCH=FreeBSD -DEXCLUDE_SKIA_DEPENDENCIES -DOS_LINUX=1 -DOS_POSIX=1 -D_IMPL_NS_COM -I/root/sm-night/mozilla-central/ipc/chromium/src -I/root/sm-night/mozilla-central/ipc/glue -I../../ipc/ipdl/_ipdlheaders -I/root/sm-night/mozilla-central/xpcom/base/../build -I/root/sm-night/mozilla-central/xpcom/ds -I/root/sm-night/mozilla-central/xpcom/base -I. -I../../dist/include -I../../dist/include/nsprpub -I/root/sm-night/mozilla-central/obj-i386-unknown-freebsd9.0/dist/include/nspr -I/root/sm-night/mozilla-central/obj-i386-unknown-freebsd9.0/dist/include/nss -fPIC -I/usr/X11R6/include -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long -fno-exceptions -fno-strict-aliasing -fshort-wchar -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -g -O -fomit-frame-pointer -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng -I/usr/local/include/drm -I/usr/local/include/gtk-unix-print-2.0 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/nsCycleCollector.pp /root/sm-night/mozilla-central/xpcom/base/nsCycleCollector.cpp In file included from /root/sm-night/mozilla-central/ipc/chromium/src/base/port.h:9, from /root/sm-night/mozilla-central/ipc/chromium/src/base/basictypes.h:46, from /root/sm-night/mozilla-central/ipc/chromium/src/base/process_util.h:11, from /root/sm-night/mozilla-central/xpcom/base/nsCycleCollector.cpp:128: /root/sm-night/mozilla-central/ipc/chromium/src/build/build_config.h:27:2: error: #error Please add support for your platform in build/build_config.h gmake[6]: *** [nsCycleCollector.o] Error 1 gmake[6]: Leaving directory `/root/sm-night/mozilla-central/obj-i386-unknown-freebsd9.0/xpcom/base' gmake[5]: *** [libs] Error 2 gmake[5]: Leaving directory `/root/sm-night/mozilla-central/obj-i386-unknown-freebsd9.0/xpcom' gmake[4]: *** [libs_tier_platform] Error 2 gmake[4]: Leaving directory `/root/sm-night/mozilla-central/obj-i386-unknown-freebsd9.0' gmake[3]: *** [tier_platform] Error 2 gmake[3]: Leaving directory `/root/sm-night/mozilla-central/obj-i386-unknown-freebsd9.0' gmake[2]: *** [default] Error 2 gmake[2]: Leaving directory `/root/sm-night/mozilla-central/obj-i386-unknown-freebsd9.0' gmake[1]: *** [realbuild] Error 2 gmake[1]: Leaving directory `/root/sm-night/mozilla-central' gmake: *** [build] Error 2
should no longer be an issue in mozilla-central
Assignee: nobody → jbeich
Status: NEW → RESOLVED
Closed: 12 years ago
Depends on: 654056, bsdipc
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.