Build Firefox on Linux ARM

Hi everybody,

I'm trying to build (not cross-compiling) Firefox on linux-arm (Tegra 
250 armv7) but I got instruction listings related errors.

Here is my mozconfig:
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
ac_add_options --disable-javaxpcom
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --target=arm-linux
ac_add_app_options --enable-official-branding
ac_add_options --with-arm-kuser

I got the following errors:
{standard input}: Assembler messages:
{standard input}:7113: Error: shifts in CMP/MOV instructions are only 
supported in unified syntax -- `mov r1,r3,LSR#20'
{standard input}:7114: Error: unshifted register required -- `bic 
r1,r1,#(1<<11)'
{standard input}:7115: Error: unshifted register required -- `orr 
r3,r3,#(1<<20)'
{standard input}:7117: Error: instruction not supported in Thumb16 mode 
-- `subs r1,r1,#0x300'
{standard input}:7119: Error: instruction not supported in Thumb16 mode 
-- `subs ip,r1,#52'
{standard input}:7121: Error: unshifted register required -- `bic 
r0,ip,#0xff'
{standard input}:7122: Error: unshifted register required -- `orr 
ip,ip,r0,LSR#3'
{standard input}:7123: Error: shifts in CMP/MOV instructions are only 
supported in unified syntax -- `mov r2,r2,LSL ip'
{standard input}:7126: Error: cannot honor width suffix -- `rsb ip,r1,#52'
{standard input}:7127: Error: shifts in CMP/MOV instructions are only 
supported in unified syntax -- `mov r2,r2,LSR ip'
{standard input}:7129: Error: instruction not supported in Thumb16 mode 
-- `subs ip,r1,#31'
{standard input}:7130: Error: shifts in CMP/MOV instructions are only 
supported in unified syntax -- `mov r1,r3,LSL#11'
{standard input}:7132: Error: unshifted register required -- `bic 
r0,ip,#0xff'
{standard input}:7133: Error: unshifted register required -- `orr 
ip,ip,r0,LSR#3'
{standard input}:7134: Error: shifts in CMP/MOV instructions are only 
supported in unified syntax -- `mov r0,r1,LSL ip'
{standard input}:7137: Error: cannot honor width suffix -- `rsb ip,ip,#0'
{standard input}:7138: Error: shifts in CMP/MOV instructions are only 
supported in unified syntax -- `mov r0,r1,LSR ip'
{standard input}:7141: Error: unshifted register required -- `eor 
r2,r2,r3,ASR#31'
{standard input}:7142: Error: unshifted register required -- `add 
r2,r2,r3,LSR#31'
0
Sonny
1/16/2011 5:27:09 PM
mozilla.dev.builds 1700 articles. 0 followers. Post Follow

4 Replies
1860 Views

Similar Articles

[PageSpeed] 10

On 2011-01-16 11:30 AM, "Sonny Piers" <sonny.piers@gmail.com> wrote:
opt
linux
> {standard input}: Assembler messages:
> {standard input}:7113: Error: shifts in CMP/MOV instructions are only
supported in unified syntax -- `mov r1,r3,LSR#20'

What compiler version are you using?

Mike
0
Mike
1/16/2011 5:58:44 PM
On 01/16/2011 06:58 PM, Mike Shaver wrote:
> On 2011-01-16 11:30 AM, "Sonny Piers"<sonny.piers@gmail.com>  wrote:
> opt
> linux
>> {standard input}: Assembler messages:
>> {standard input}:7113: Error: shifts in CMP/MOV instructions are only
> supported in unified syntax -- `mov r1,r3,LSR#20'
>
> What compiler version are you using?
>
> Mike

% gcc -v
Using built-in specs.
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.4 --enable-shared --enable-multiarch 
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib 
--enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-objc-gc --disable-sjlj-exceptions 
--with-arch=armv7-a --with-float=softfp --with-fpu=vfpv3-d16 
--with-mode=thumb --disable-werror --enable-checking=release 
--build=arm-linux-gnueabi --host=arm-linux-gnueabi 
--target=arm-linux-gnueabi
Thread model: posix
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
0
Sonny
1/17/2011 12:10:57 AM
On Sun, Jan 16, 2011 at 12:27 PM, Sonny Piers <sonny.piers@gmail.com> wrote:
> I got the following errors:
> {standard input}: Assembler messages:

It would be useful to see a little bit more of the log preceding this
to see where in the build you're hitting these errors.

-Ted
0
Ted
1/18/2011 1:20:32 PM
On 01/18/2011 02:20 PM, Ted Mielczarek wrote:
> On Sun, Jan 16, 2011 at 12:27 PM, Sonny Piers<sonny.piers@gmail.com>  wrote:
>> I got the following errors:
>> {standard input}: Assembler messages:
>
> It would be useful to see a little bit more of the log preceding this
> to see where in the build you're hitting these errors.
>
> -Ted

Hi, thanks for your interest.

c++ -o jsnativestack.o -c  -fvisibility=hidden -DOSTYPE=\"Linux\" 
-DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES 
-DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -Ictypes/libffi/include -I. 
-I/home/sonny/Downloads/mozilla-central/js/src -I. 
-I./../../dist/include -I./../../dist/include/nsprpub 
-I/home/sonny/Downloads/mozilla-central/ff-opt/dist/include/nspr 
-I/home/sonny/Downloads/mozilla-central/js/src 
-I/home/sonny/Downloads/mozilla-central/js/src/assembler 
-I/home/sonny/Downloads/mozilla-central/js/src/yarr  -fPIC  -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 
-fno-strict-aliasing -pthread -march=armv5te -mthumb-interwork -Wa, 
-march=armv5te -Wa, -mthumb-interwork -pipe  -DNDEBUG -DTRIMMED -O3 
-fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 
-DENABLE_ASSEMBLER=1 -DENABLE_JIT=1   -DMOZILLA_CLIENT -include 
../js-confdefs.h -MD -MF .deps/jsnativestack.pp 
/home/sonny/Downloads/mozilla-central/js/src/jsnativestack.cpp
jsnum.cpp
c++ -o jsnum.o -c  -fvisibility=hidden -DOSTYPE=\"Linux\" -DOSARCH=Linux 
-DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES 
-DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -Ictypes/libffi/include -I. 
-I/home/sonny/Downloads/mozilla-central/js/src -I. 
-I./../../dist/include -I./../../dist/include/nsprpub 
-I/home/sonny/Downloads/mozilla-central/ff-opt/dist/include/nspr 
-I/home/sonny/Downloads/mozilla-central/js/src 
-I/home/sonny/Downloads/mozilla-central/js/src/assembler 
-I/home/sonny/Downloads/mozilla-central/js/src/yarr  -fPIC  -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 
-fno-strict-aliasing -pthread -march=armv5te -mthumb-interwork -Wa, 
-march=armv5te -Wa, -mthumb-interwork -pipe  -DNDEBUG -DTRIMMED -O3 
-fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 
-DENABLE_ASSEMBLER=1 -DENABLE_JIT=1   -DMOZILLA_CLIENT -include 
../js-confdefs.h -MD -MF .deps/jsnum.pp 
/home/sonny/Downloads/mozilla-central/js/src/jsnum.cpp
{standard input}: Assembler messages
0
Sonny
1/18/2011 1:48:36 PM
Reply:

Similar Artilces:

VS Builds, and Builds, and Builds
Hello, Has anyone else had this problem?  After a while of developing, and I go to compile, VS takes forever to build and I have to end-task it.  It's definitely after I've been working for a while, then it finally has "had it" and just takes forever to build.  It's annoying as I know its not the machine (2.8 GHZ processor and 1GB RAM).  Has anyone else experienced this problem?  By the way, I do have SP1 installed. Also, after minimizing and switching around screens, when it does this, the building icon in the status bar doesn't show.  And, for more informati...

Dev Builds of Java SE 7 Plug-ins Not Working In Firefox 3.6a1pre builds
Dev Builds of Java SE 7 Plug-ins have not been working for over a couple of weeks now. I'm using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090630 Minefield/3.6a1pre on Windows XP SP3. I'm not sure if I should file a bug with Mozilla or Sun. I know that Mozilla has been making changes under the hood with regards to how Firefox deal with java plug-ins and what not. The plug-in's list in the add-on's window suggests that it is working fine, but when I try to play java games that use the plug-in, it doesn't recognize that I have java ...

have problem build firefox-5.0-r2 on arm platform under gentoo linux
Hi ALL: I have problem build firefox-5.0-r2 on Gentoo linux for TI pandaboard, error as follow, I could fix it manually, but more error occurs.you can see [1] for detail information. the expect result of "init *" should be 4 (not 0) checking for conic... checking for valid optimization flags... yes checking size of int *... 0 configure: error: Unexpected pointer size *** Fix above errors and then restart with "make -f client.mk buil d" make[2]: *** [configure] Error 1 make[2]: Leaving directory `/var/tmp/portage/www-client/firefox-5.0-r2/ w...

How can I build a static build for firefox 3
Hi, I am trying to build a static build for firefox 3 on ubuntu. I was able to build firefox 3 non-static build okay. But as I enable these options in my .mozconfig, ac_add_options --enable-static ac_add_options --disable-shared I get these errors: c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith - Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual- dtor -Wcast-align -Wno-long-long -pedantic -fno-strict-aliasing - fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_scheung - DTRACING -g -fno-inline -Os -freorder-blocks -fno-reorder-functi...

superreview requested: [Bug 299404] Can't build dmg of Firefox debug build on Mac : [Attachment 187976] Put DeerPark debug builds in DeerParkDebug.app
Mark Mentovai <mark@moxienet.com> has asked Simon Fraser <sfraser_bugs@smfr.org> for superreview: Bug 299404: Can't build dmg of Firefox debug build on Mac https://bugzilla.mozilla.org/show_bug.cgi?id=299404 Attachment 187976: Put DeerPark debug builds in DeerParkDebug.app https://bugzilla.mozilla.org/attachment.cgi?id=187976&action=edit ...

superreview cancelled: [Bug 299404] Can't build dmg of Firefox debug build on Mac : [Attachment 187976] Put DeerPark debug builds in DeerParkDebug.app
Mark Mentovai <mark@moxienet.com> has cancelled Mark Mentovai <mark@moxienet.com>'s request for superreview: Bug 299404: Can't build dmg of Firefox debug build on Mac https://bugzilla.mozilla.org/show_bug.cgi?id=299404 Attachment 187976: Put DeerPark debug builds in DeerParkDebug.app https://bugzilla.mozilla.org/attachment.cgi?id=187976&action=edit ...

To build or not to build, that is the question
Hello, ever since I found out that VS.NET could upload all of your pages for you, I have used that method for uploading. However when using the Copy Project option, it seems to restart the aspnet service and the sessions clear. What I'm asking is when is it OK just to manually copy/paste some pages into the website directory w/out actually re-building the site? Right now, I have to wait until there are no users logged into my site to do updates, which are very minor, but include code-behind changes. Can I just upload the updated pages w/out building?In this world there are 10 types of pe...

Linux builds now default to building with Gtk+3
Hi, If you've followed the recent discussion in the "GTK3 linux builds" thread, this will come with no surprise, but if not: - Next Linux nightly will have switched to Gtk+3. - As of now on mozilla-inbound, and later on other branches, local Linux (and other non-OSX unices) builds default to Gtk+3. - You will need to install Gtk+3 development files to do those local builds. `mach bootstrap` should be able to do this for you. - You can still do Gtk+2 builds by adding the following to your mozconfig: ac_add_options --enable-default-toolkit=cairo-gtk2 ...

Getting build failure for B2G ARM emulator build
Hi, I am trying to build b2g emulator for ARM. Followed guide in below link: https://developer.mozilla.org/en-US/docs/Mozilla/Boot_to_Gecko/Preparing_for_your_first_B2G_build#Configuring_to_build_an_emulator when i do build ./build.sh -j1, build is failing with below error /bin/bash: ./xulrunner-sdk/bin/run-mozilla.sh: No such file or directory make[1]: *** [applications-data] Error 127 make[1]: Leaving directory `/u/prakot/emulator/B2G/gaia' make: *** [gaia/profile.tar.gz] Error 2 real 11m57.776s user 8m43.420s sys 1m25.890s > Build failed! < can i get s...

Firefox nspr build experiment with the Meson build system
--001a11c32db2d2f1020504c595c3 Content-Type: text/plain; charset=UTF-8 Hello all I'm working on creating a new build system called Meson ( https://jpakkane.github.io/meson/). To make sure it can handle the requirements of real projects I take random open source projects (usually large and complex) and rewrite their build systems in Meson. For Firefox I tried to see how much effort it would take to configure and build nspr including unit tests. After a few hours work I got it working on 64bit Linux. It took about 1000 lines of code (~750 of which go to defining unit tests). ...

What a pity that there is no linux 64bit build of firefox
Name: Nikolay Email: firefoxatniksitedotru Product: Firefox Summary: What a pity that there is no linux 64bit build of firefox Comments: What a pity that there is no linux 64bit build of firefox, without this, firefox looks very ugly and so much error line it has generated about wrong ELFCLASS64. Browser Details: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the...

Building Firefox on Linux with JSSh extension
Hi, I was trying to build Firefox on Linux along with JSSh extension so that I can create a custom XPI. I somehow got it build with no errors but when I tried to use the XPI I got the following error while starting Firefox after installing the extension. ../run-mozilla.sh: line 451: 1912 Segmentation fault "$prog" ${1+"$@"} Following are the errors that I encountered and somehow got passed them don't know if that was the correct way to resolve them or not. My .mozconfig file looks like this: (in mozilla directory) mk_add_options MOZ_OBJDIR=@TOPSRC...

Enabling Java in Linux build of Firefox?
Since I was fed up with how far behind Debian's Iceweasel version of Firefox always is and with the fact that some of my favourite extensions wouldn't always work entirely correctly with Iceweasel, I finally downloaded the Firefox 3.6.12 source and built it. Now, all of my extensions are working as they should and all is right with the world... ....except for one thing: my build of Firefox 3.6.12 isn't recognising the Java plugin. I DO have the latest version of Java for Linux and DO have the symbolic link in my Firefox "plugins" directory and HAVE ma...

Problem building firefox-2.0b1 on Linux
I'm Trying to build Firefox 2.0 beta1 and I get the following error. .../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text+0x8a5): In function `nsCanvasRenderingContext2D::Destroy()': nsCanvasRenderingContext2D.cpp: undefined reference to `XFreePixmap' .../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text+0x1317): In function `nsCanvasRenderingContext2D::SetDimensions(int, int)': nsCanvasRenderingContext2D.cpp: undefined reference to `XRenderFindStandardFormat' .../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text+0x133a):...

Web resources about - Build Firefox on Linux ARM - mozilla.dev.builds

Firefox - Wikipedia, the free encyclopedia
This article is about the web browser. For the operating system, see Firefox OS . For other uses, see Firefox (disambiguation) . web browser ...

Mozilla Firefox Web Browser — Free Download — mozilla.org
Mozilla Different by Design Proudly non-profit Innovating for you Fast, flexible, secure Download Firefox — English (US) Windows Linux Mac OS ...

Firefox Facts - best guide to add-ons, themes and tips for Firefox
Firefox Facts is the best independently run Firefox blog out there today. Learn more about how to us Firefox, add-ons, themes and news on the ...

Firefox Affiliates
Firefox Affiliate buttons are a bit of html code that you put on your website or blog to encourage visitors to your site to download Firefox. ...

Firefox OS
The latest news about Firefox OS

Firefox 13.0.1 Download - Get Mozilla Firefox
Download the new Firefox Browser for a faster, safer and better web experience - Get Firefox for your iPhone and Android - make the switch today ...

Techarger Firefox
Il est maintenant possible de supprimer des vidos sans passer par itunes. Par ben, mardi janvier le retrait de vlc de l app store videolan 5 ...

Firefox Flicks : Winners
Firefox Flicks — A video contest to tell the story of your favorite browser. Submit your entry by May 1, 2012 and win prizes.

Facebook To Mozilla: Add WebP Support To Firefox
... with the use of Google ’s WebP image format due to its smaller file sizes for photos , and now the social network is trying to get Firefox parent ...

Under the hood: Facebook Messenger for Firefox - Facebook
Facebook Engineering hat eine Notiz mit dem Titel Under the hood: Facebook Messenger for Firefox geschrieben. Du kannst den vollständigen Text ...

Resources last updated: 1/22/2016 1:08:12 PM