On 23/01/15 03:20, alex lupu wrote:
Hello,

Reference:  BLFS Book, v2015-01-22

In the Firefox source,

'./configure --help' reads

  "--enable-optimize=[OPT]  Specify compiler optimization flags [OPT=-O]"

  which, the way I interpret it, implies the build uses O as the default.

In Note (... gcc versions ranging from 4.8 to 4.9.1 ...), the command

  test $(uname -m) = "i686" && sed -i 's/enable-optimize/&=-O2/' mozconfig \
   || true

seem to force optimization to O2 (again, if I interpret it correctly).

O2 is to optimize even more (i.e., higher level) than O (= O1)
which appears to contradict the statement:

"... [please] reduce the level of optimization with:
  [the above command]".

Am I wrong (again)?

It's been discussed a couple of time on the lists, but the default (which was causing problems) was -O3, and the fix was to reduce it to -O2

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

Reply via email to