mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
Tweak text concerning 686 optimization in seamonkey and firefox.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14864 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
637f310171
commit
0f1ea400d6
@ -228,16 +228,18 @@ ac_add_options --with-system-zlib
|
||||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>
|
||||
There is a problem in i686 systems, when build with
|
||||
<application>gcc</application> ranging from 4.8 to 4.9.1, and using the
|
||||
switch <quote>--enable-optimize</quote>. You have two alternatives, best
|
||||
one being the upgrade of <application>gcc</application> to version 4.9.2,
|
||||
because that switch implies better perfomance and smaller binaries.
|
||||
However, if you do not wish to upgrade gcc, disable the switch with:
|
||||
<note><para>
|
||||
There is a problem on i686 systems when building
|
||||
<application>Firefox</application> with <application>gcc</application>
|
||||
versions ranging from 4.8 to 4.9.1 and using the switch
|
||||
<quote>--enable-optimize</quote>. There are two alternatives. The best
|
||||
one is to upgrade <application>gcc</application> to version 4.9.2 or later
|
||||
because it will give better perfomance and smaller binaries. However, if
|
||||
you do not wish to upgrade gcc, reduce the level of optimization with:
|
||||
</para>
|
||||
|
||||
<screen><userinput>test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true</userinput></screen>
|
||||
<screen><userinput>test $(uname -m) = "i686" && sed -i 's/enable-optimize/&=-O2/' mozconfig || true</userinput></screen>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
Compile <application>Firefox</application> by issuing the following
|
||||
@ -287,13 +289,6 @@ ln -sfv ../../mozilla/plugins /usr/lib/firefox-&firefox-version;/browser</userin
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<command>test $(uname -m) = "i686" && sed ...</command>:
|
||||
On this version of seamonkey, an old bug has reappeared in 32-bit builds.
|
||||
With optimization, the install fails<!-- with a Python error-->. This
|
||||
command will fix i686 builds and preserve the optimization on x86_64.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>make -f client.mk ...</command>: Mozilla products are packaged to
|
||||
allow the use of a configuration file which can be used to pass the
|
||||
|
@ -241,17 +241,18 @@ ac_add_options --with-system-zlib
|
||||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>
|
||||
<note><para>
|
||||
There is a problem on i686 systems when building
|
||||
<application>SeaMonkey</application> with <application>gcc</application>
|
||||
versions ranging from 4.8 to 4.9.1 and using the switch
|
||||
<quote>--enable-optimize</quote>. There are two alternatives. The best
|
||||
one is to upgrade <application>gcc</application> to version 4.9.2 or later,
|
||||
one is to upgrade <application>gcc</application> to version 4.9.2 or later
|
||||
because it will give better perfomance and smaller binaries. However, if
|
||||
you do not wish to upgrade gcc, reduce the level of optimization with:
|
||||
</para>
|
||||
|
||||
<screen><userinput>test $(uname -m) = "i686" && sed -i 's/enable-optimize/&=-O2/' mozconfig || true</userinput></screen>
|
||||
</note>
|
||||
|
||||
<note><para>
|
||||
If you are compiling <application>SeaMonkey</application> in chroot, make
|
||||
@ -308,13 +309,6 @@ cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</useri
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<command>test $(uname -m) = "i686" && sed ...</command>:
|
||||
On this version of seamonkey, an old bug has reappeared in 32-bit builds.
|
||||
With optimization, the install fails<!-- with a Python error-->. This
|
||||
command will fix i686 builds and preserve the optimization on x86_64.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>mkdir -vp mozilla/moz-build-dir</command>: fixes a build failure
|
||||
of Makefile at the beginning of the build, where a file cannot be found.
|
||||
|
Loading…
Reference in New Issue
Block a user