xulrunner-1.9 build problem on armel

Alexander Sack asac at ubuntu.com
Fri Mar 13 16:56:08 GMT 2009

On Wed, Mar 11, 2009 at 06:25:43PM -0000, Dave P. Martin wrote:
> Hi,
> I'm trying to investigate the performance benefits of enabling the use of
> hardware floating point in Firefox (especially xulrunner) on armel
> platforms.
> firefox-3.0 (3.0.7+nobinonly-0ubuntu1) builds fine with a modified
> --enable-optimize= option to add the extra CFLAGS.  However, I run into a
> problem when trying to build xulrunner-1.9 (,
> complaining that XPTcall is not implemented for the platform.
> I'm building natively on a Freescale i.MX51 based board (Babbage) - it's a
> Cortex-A8 based plafrorm.
> Seek to the end of the attached log for details of the failure.
> I notice that the Makefile for the affected code chooses an implementation
> based on some variables, including OS_TEST, which is expected to contain
> something like "arm" or "sa110", but is in fact being set to the empty
> string.  OS_TEST is derived by some route from the gnu-style platform
> string, which configure is detecting as armv5l-unknown-linux-gnueabi for the
> firefox-3.0 build, but when xulrunner-1.9 is configured, confiure prints out

Please try to build the daily packages for xulrunner-1.9.2 [1] for now
and update config.sub/config.guess to latest. in moz tree they are in
mozilla/build/autoconf/ ... diffing .guess manually with
/usr/share/automake/config.* showed me:

+			eval $set_cc_for_build
+			if echo __ARM_EABI__ | $CC_FOR_BUILD -E -
2>/dev/null \
+	        | grep -q __ARM_EABI__
+		then
+		    echo ${UNAME_MACHINE}-unknown-linux-gnu
+		    else
+		        echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+			fi
+			exit ;;
+    avr32*:Linux:*:*)
     echo ${UNAME_MACHINE}-unknown-linux-gnu

which looks promissing to get over the configure stage at least.

> "checking host system type... Invalid configuration `c-disable-updater':
> machine `c-disable' not recognized".
> Any idea what is happening here?  It looks like it may be related to the
> --disable-updater configure command line option specified in

probably unrelated and a follow up for now.

 [1] - https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa

 - Alexander

More information about the Ubuntu-mozillateam mailing list