Hi, I want to land https://bugzilla.mozilla.org/show_bug.cgi?id=910517, which is just a clean-up of memory reporters (and is blocking a bunch of follow-up work.) But I'm blocked by some baffling time-outs occurring only on 32-bit opt Linux builds. (32-bit debug Linux builds are fine.)
About 90% of mochitest-1 runs hit this time-out. The problem is that in a few tests this error from TestRunner.js is hit: Error: Unable to restore focus, expect failures and timeouts. and then the test times out. This happens reliably; it's shown up once on inbound (the patch was backed out) and twice on try, all on different revisions. Does anyone know what this error means, and how I might fix it? I have no idea how my patch could be having this effect. The code I've changed shouldn't even be running in mochitest-1. ---- In order to try to debug it, I've been attempting to do 32-bit Linux builds. I have an Ubuntu 13.04 machine and I'm following the "Instructions for Ubuntu" at https://developer.mozilla.org/en/docs/Compiling_32-bit_Firefox_on_a_Linux_64-bit_OS. The build gets quite a long way, but linking of libnptest.so (whatever that is) fails due lots of errors like this one: 0:19.91 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so while searching for gtk-x11-2.0 0:19.91 /usr/bin/ld.gold.real: error: cannot find -lgtk-x11-2.0 (The full list is below.) I apparently have a copy of a 32-bit libgtk-x11-2.0.so: [bayou:~] locate libgtk-x11 /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.17 /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.a /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.17 but I guess it's not being found. Has anyone had success with 32-bit builds on Ubuntu 13.04? I've included the mozconfig I used below, in case it's useful. Thanks. Nick export CROSS_COMPILE=1 ac_add_options --enable-optimize='-O' ac_add_options --enable-tests mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/o32 #mk_add_options MOZ_MAKE_FLAGS="-j8 --quiet --no-print-directory" mk_add_options MOZ_MAKE_FLAGS="-j8" export CC="clang -m32" export CXX="clang++ -m32" AR=ar ac_add_options --x-libraries=/usr/lib32 ac_add_options --target=i686-pc-linux ac_add_options --disable-crashreporter # no 32-bit curl-dev lib ac_add_options --disable-libnotify # no 32-bit libinotify-dev ac_add_options --disable-crashreporter # no 32-bit libgnomevfs-dev ac_add_options --disable-gstreamer # no 32-bit libgstreamer, etc 0:19.91 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so while searching for gtk-x11-2.0 0:19.91 /usr/bin/ld.gold.real: error: cannot find -lgtk-x11-2.0 0:19.91 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libatk-1.0.so while searching for atk-1.0 0:19.91 /usr/bin/ld.gold.real: error: cannot find -latk-1.0 0:19.91 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libgio-2.0.so while searching for gio-2.0 0:19.91 /usr/bin/ld.gold.real: error: cannot find -lgio-2.0 0:19.91 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so while searching for pangoft2-1.0 0:19.91 /usr/bin/ld.gold.real: error: cannot find -lpangoft2-1.0 0:19.91 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libfreetype.so while searching for freetype 0:19.91 /usr/bin/ld.gold.real: error: cannot find -lfreetype 0:19.92 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libfontconfig.so while searching for fontconfig 0:19.92 /usr/bin/ld.gold.real: error: cannot find -lfontconfig 0:19.92 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so while searching for gdk-x11-2.0 0:19.92 /usr/bin/ld.gold.real: error: cannot find -lgdk-x11-2.0 0:19.92 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so while searching for pangocairo-1.0 0:19.92 /usr/bin/ld.gold.real: error: cannot find -lpangocairo-1.0 0:19.92 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so while searching for gdk_pixbuf-2.0 0:19.92 /usr/bin/ld.gold.real: error: cannot find -lgdk_pixbuf-2.0 0:19.92 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libpango-1.0.so while searching for pango-1.0 0:19.92 /usr/bin/ld.gold.real: error: cannot find -lpango-1.0 0:19.92 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libcairo.so while searching for cairo 0:19.92 /usr/bin/ld.gold.real: error: cannot find -lcairo 0:19.92 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libgobject-2.0.so while searching for gobject-2.0 0:19.92 /usr/bin/ld.gold.real: error: cannot find -lgobject-2.0 0:19.92 /usr/bin/ld.gold.real: warning: skipping incompatible //usr/lib/x86_64-linux-gnu/libglib-2.0.so while searching for glib-2.0 0:19.92 /usr/bin/ld.gold.real: error: cannot find -lglib-2.0 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform