Tried to build the daily version with 'noopt' but then got blocked by another bug:
/usr/bin/python2.7 /build/firefox/trunk2/firefox-trunk-7.0~a1~hg20110618r71272+nobinonly/build-tree/mozilla/config/pythonpath.py -I../../config /build/firefox/trunk2/firefox-trunk-7.0~a1~hg20110618r71272+nobinonly/build-tree/mozilla/config/expandlibs_exec.py --uselist -- c++ -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -g -fno-strict-aliasing -std=gnu++0x -pthread -mthumb -pipe -DNDEBUG -DTRIMMED -g -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o libxul.so nsStaticXULComponents.o nsUnicharUtils.o nsBidiUtils.o nsRDFResource.o -lpthread -mthumb -Wl,-rpath-link,/build/firefox/trunk2/firefox-trunk-7.0~a1~hg20110618r71272+nobinonly/build-tree/mozilla/obj-arm-linux-gnueabi/dist/bin -Wl,-rpath-link,/usr/lib ../../toolkit/xre/libxulapp_s.a ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a ../../staticlib/components/libstartupcache.a ../../staticlib/components/libpref.a ../../staticlib/components/libhtmlpars.a ../../staticlib/components/libimglib2.a ../../staticlib/components/libgkgfx.a ../../staticlib/components/libgklayout.a ../../staticlib/components/libdocshell.a ../../staticlib/components/libembedcomponents.a ../../staticlib/components/libwebbrwsr.a ../../staticlib/components/libnsappshell.a ../../staticlib/components/libtxmgr.a ../../staticlib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ../../staticlib/components/libappcomps.a ../../staticlib/components/libcomposer.a ../../staticlib/components/libjetpack_s.a ../../staticlib/components/libjsctypes.a ../../staticlib/components/libjsperf.a ../../staticlib/components/libgkplugin.a ../../staticlib/components/libunixproxy.a ../../staticlib/components/libjsd.a ../../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a ../../staticlib/components/libcookie.a ../../staticlib/components/libpermissions.a ../../staticlib/components/libuniversalchardet.a ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libfileview.a ../../staticlib/components/libstoragecomps.a ../../staticlib/components/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib/components/libwidget_gtk2.a ../../staticlib/components/libsystem-pref.a ../../staticlib/components/libimgicon.a ../../staticlib/components/libaccessibility.a ../../staticlib/components/libremoteservice.a ../../staticlib/components/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/components/libservices-crypto.a ../../staticlib/libjsipc_s.a ../../staticlib/libdomipc_s.a ../../staticlib/libdomplugins_s.a ../../staticlib/libmozipc_s.a ../../staticlib/libmozipdlgen_s.a ../../staticlib/libipcshell_s.a ../../staticlib/libgfxipc_s.a ../../staticlib/libipdlunittest_s.a ../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a ../../staticlib/libchromium_s.a ../../staticlib/libmozreg_s.a ../../staticlib/libmorkreader_s.a ../../staticlib/libgtkxtbin.a ../../staticlib/libthebes.a ../../staticlib/libycbcr.a ../../staticlib/libangle.a ../../dist/lib/libmozsqlite3.a -L../../dist/bin -L../../dist/lib ../../jpeg/libmozjpeg.a ../../modules/libimg/png/libmozpng.a ../../gfx/qcms/libmozqcms.a /build/firefox/trunk2/firefox-trunk-7.0~a1~hg20110618r71272+nobinonly/build-tree/mozilla/obj-arm-linux-gnueabi/dist/lib/libjs_static.a -L../../dist/bin -L../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 ../../gfx/cairo/cairo/src/libmozcairo.a ../../gfx/cairo/libpixman/src/libmozlibpixman.a -lXrender -lfreetype -lfontconfig ../../gfx/harfbuzz/src/libmozharfbuzz.a ../../gfx/ots/src/libmozots.a ../../modules/zlib/src/libmozz.a -lasound -lrt -L../../dist/bin -L../../dist/lib -L/build/firefox/trunk2/firefox-trunk-7.0~a1~hg20110618r71272+nobinonly/build-tree/mozilla/obj-arm-linux-gnueabi/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../../dist/lib/libmozalloc.a -L/usr/lib/arm-linux-gnueabi -ldbus-1 -lpthread -lrt -lX11 -lXext -pthread -L/usr/lib/arm-linux-gnueabi -lpangoft2-1.0 -lfreetype -lfontconfig -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -L/usr/lib/arm-linux-gnueabi -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lpango-1.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lXt -lgthread-2.0 -L/usr/lib/arm-linux-gnueabi -lfreetype -lz -lstartup-notification-1 -ldl -lrt /usr/bin/ld.bfd.real: ../../ipc/ipdl/PTestRPCShutdownRaceChild.o(.text+0x2dc): unresolvable R_ARM_THM_CALL relocation against symbol `std::allocator<char>::allocator()@@GLIBCXX_3.4' /usr/bin/ld.bfd.real: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status
Seems 'noopt' is removing more build flags than necessary. Will try to remove the compiler optimizations by hand and see if it works better.
Tried to build the daily version with 'noopt' but then got blocked by another bug:
/usr/bin/python2.7 /build/ firefox/ trunk2/ firefox- trunk-7. 0~a1~hg20110618 r71272+ nobinonly/ build-tree/ mozilla/ config/ pythonpath. py -I../../config /build/ firefox/ trunk2/ firefox- trunk-7. 0~a1~hg20110618 r71272+ nobinonly/ build-tree/ mozilla/ config/ expandlibs_ exec.py --uselist -- c++ -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded- virtual -Wsynth -Wno-ctor- dtor-privacy -Wno-non- virtual- dtor -Wno-invalid- offsetof -Wno-variadic- macros -Werror=return-type -pedantic -Wno-long-long -g -fno-strict- aliasing -std=gnu++0x -pthread -mthumb -pipe -DNDEBUG -DTRIMMED -g -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o libxul.so nsStaticXULComp onents. o nsUnicharUtils.o nsBidiUtils.o nsRDFResource.o -lpthread -mthumb -Wl,-rpath- link,/build/ firefox/ trunk2/ firefox- trunk-7. 0~a1~hg20110618 r71272+ nobinonly/ build-tree/ mozilla/ obj-arm- linux-gnueabi/ dist/bin -Wl,-rpath- link,/usr/ lib ../../toolkit/ xre/libxulapp_ s.a ../../staticlib /components/ libnecko. a ../../staticlib /components/ libuconv. a ../../staticlib /components/ libi18n. a ../../staticlib /components/ libchardet. a ../../staticlib /components/ libjar50. a ../../staticlib /components/ libstartupcache .a ../../staticlib /components/ libpref. a ../../staticlib /components/ libhtmlpars. a ../../staticlib /components/ libimglib2. a ../../staticlib /components/ libgkgfx. a ../../staticlib /components/ libgklayout. a ../../staticlib /components/ libdocshell. a ../../staticlib /components/ libembedcompone nts.a ../../staticlib /components/ libwebbrwsr. a ../../staticlib /components/ libnsappshell. a ../../staticlib /components/ libtxmgr. a ../../staticlib /components/ libcommandlines .a ../../staticlib /components/ libtoolkitcomps .a ../../staticlib /components/ libpipboot. a ../../staticlib /components/ libpipnss. a ../../staticlib /components/ libappcomps. a ../../staticlib /components/ libcomposer. a ../../staticlib /components/ libjetpack_ s.a ../../staticlib /components/ libjsctypes. a ../../staticlib /components/ libjsperf. a ../../staticlib /components/ libgkplugin. a ../../staticlib /components/ libunixproxy. a ../../staticlib /components/ libjsd. a ../../staticlib /components/ libautoconfig. a ../../staticlib /components/ libauth. a ../../staticlib /components/ libcookie. a ../../staticlib /components/ libpermissions. a ../../staticlib /components/ libuniversalcha rdet.a ../../staticlib /components/ librdf. a ../../staticlib /components/ libwindowds. a ../../staticlib /components/ libfileview. a ../../staticlib /components/ libstoragecomps .a ../../staticlib /components/ libplaces. a ../../staticlib /components/ libtkautocomple te.a ../../staticlib /components/ libsatchel. a ../../staticlib /components/ libpippki. a ../../staticlib /components/ libwidget_ gtk2.a ../../staticlib /components/ libsystem- pref.a ../../staticlib /components/ libimgicon. a ../../staticlib /components/ libaccessibilit y.a ../../staticlib /components/ libremoteservic e.a ../../staticlib /components/ libspellchecker .a ../../staticlib /components/ libzipwriter. a ../../staticlib /components/ libservices- crypto. a ../../staticlib /libjsipc_ s.a ../../staticlib /libdomipc_ s.a ../../staticlib /libdomplugins_ s.a ../../staticlib /libmozipc_ s.a ../../staticlib /libmozipdlgen_ s.a ../../staticlib /libipcshell_ s.a ../../staticlib /libgfxipc_ s.a ../../staticlib /libipdlunittes t_s.a ../../staticlib /libxpcom_ core.a ../../staticlib /libucvutil_ s.a ../../staticlib /libchromium_ s.a ../../staticlib /libmozreg_ s.a ../../staticlib /libmorkreader_ s.a ../../staticlib /libgtkxtbin. a ../../staticlib /libthebes. a ../../staticlib /libycbcr. a ../../staticlib /libangle. a ../../dist/ lib/libmozsqlit e3.a -L../../dist/bin -L../../dist/lib ../../jpeg/ libmozjpeg. a ../../modules/ libimg/ png/libmozpng. a ../../gfx/ qcms/libmozqcms .a /build/ firefox/ trunk2/ firefox- trunk-7. 0~a1~hg20110618 r71272+ nobinonly/ build-tree/ mozilla/ obj-arm- linux-gnueabi/ dist/lib/ libjs_static. a -L../../dist/bin -L../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 ../../gfx/ cairo/cairo/ src/libmozcairo .a ../../gfx/ cairo/libpixman /src/libmozlibp ixman.a -lXrender -lfreetype -lfontconfig ../../gfx/ harfbuzz/ src/libmozharfb uzz.a ../../gfx/ ots/src/ libmozots. a ../../modules/ zlib/src/ libmozz. a -lasound -lrt -L../../dist/bin -L../../dist/lib -L/build/ firefox/ trunk2/ firefox- trunk-7. 0~a1~hg20110618 r71272+ nobinonly/ build-tree/ mozilla/ obj-arm- linux-gnueabi/ dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../../dist/ lib/libmozalloc .a -L/usr/ lib/arm- linux-gnueabi -ldbus-1 -lpthread -lrt -lX11 -lXext -pthread -L/usr/ lib/arm- linux-gnueabi -lpangoft2-1.0 -lfreetype -lfontconfig -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -L/usr/ lib/arm- linux-gnueabi -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lpango-1.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lXt -lgthread-2.0 -L/usr/ lib/arm- linux-gnueabi -lfreetype -lz -lstartup- notification- 1 -ldl -lrt ld.bfd. real: ../../ipc/ ipdl/PTestRPCSh utdownRaceChild .o(.text+ 0x2dc): unresolvable R_ARM_THM_CALL relocation against symbol `std::allocator <char>: :allocator( )@@GLIBCXX_ 3.4' ld.bfd. real: final link failed: Nonrepresentable section on output
/usr/bin/
/usr/bin/
collect2: ld returned 1 exit status
Seems 'noopt' is removing more build flags than necessary. Will try to remove the compiler optimizations by hand and see if it works better.