Bug 427115 - SIMPLE (w/ patch) MOZ_ARCH should be settable. (i want 32-bit firefox even on 64bit installs)
Summary: SIMPLE (w/ patch) MOZ_ARCH should be settable. (i want 32-bit firefox even o...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 8
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-31 23:05 UTC by Stig Hackvan
Modified: 2008-01-01 03:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-01-01 03:57:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stig Hackvan 2007-12-31 23:05:44 UTC
Description of problem:

some 3rd party plugins for firefox (flash) ship in 32-bit versions.  Ergo, i
want to be able to tell firefox to run in 32bit mode...but the startup script
makes this really tough.  i keep having to hack /usr/bin/firefox.

ideally, the firefox startup script would respect the MOZ_ARCH variable instead
of clobberring it....and ideally 3rd-party plugins (flash) would install export
MOZ_ARCH=i386 into /etc/profile.d and the world would be grand...

please incorporate this patch...


PATCH:

--- firefox~    2007-12-13 08:21:51.000000000 -0800
+++ firefox     2007-12-28 21:47:11.000000000 -0800
@@ -36,7 +36,7 @@
 ##
 ## Variables
 ##
-MOZ_ARCH=$(uname -m)
+[ "$MOZ_ARCH" ] || MOZ_ARCH=$(uname -m)
 case $MOZ_ARCH in
        x86_64 | ia64 | s390 )
                MOZ_LIB_DIR="/usr/lib64"

Comment 1 Christopher Aillon 2008-01-01 03:57:08 UTC
From the shell:

setarch i386

(or whatever you want)

Comment 2 Christopher Aillon 2008-01-01 03:58:28 UTC
But fwiw, flash works for me using the 64bit firefox.  Make sure you have
nspluginwrapper.i386 and nspluginwrapper.x86_64 installed.  Firefox is much
faster in this mode.


Note You need to log in before you can comment on or make changes to this bug.