On 8/16/19 9:55 PM, Ken Moffat via blfs-book wrote:
On Fri, Aug 16, 2019 at 03:46:27PM -0000, renodr--- via blfs-book wrote:
Author: renodr
Date: Fri Aug 16 08:46:27 2019
New Revision: 21978

Log:
Fix compilation of Firefox on i686

Hi, I've just got to this.

# Disabling debug symbols makes the build much smaller and a little
-# faster. Comment this if you need to run a debugger.
+# faster. Comment this if you need to run a debugger. Note: This is
+# required for compilation on i686.
  ac_add_options --disable-debug-symbols
By default, the build now works for i686 but is _much_ larger on
x86_64.  Having lost interest in i686 ages ago, I find the extra
space used in x86_64 (and potentially more pressure on memory when
using a machine with many cores but not much RAM) disturbing.

But I don't see how we can suit both, unless we restore the comment,
but then add a conditional block later (for i686) with

     echo "ac_add_options --disable-debug-symbols" >>mozconfig

In my own builds I often use a mozconfig simiar to the book, but
then selectively add lines like that to alter the config.

We could do that, but isn't our default configuration to have debug symbols disabled? I can reword that comment if it'll help. I meant to state that disabling debug symbols was required for compilation on i686 systems.

I personally have debug symbols enabled on 64-bit builds, but that's a deviation from the book. :-)

--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to