David Brodie wrote:
On 08/11/14 12:07, Fernando de Oliveira wrote:

Subject is seamonkey, but error is in *firefox-33.0.3*.

Parts of build log attached.

Left configuration and install parts.

Optimization error starts at line 571, key word is "Executing" at the
beginning of line (search ^Executing).

Your (Bruce, who asked, and anybody else, please) help is much
appreciated.

I will start by comparing python versions in the two systems:

LFS7.1 host (SVN-20120311) (error occurs)

LFS7.6 (no error with enable-optimize


The following relates specifically to Firefox 32.0.1 (and Seamonkey
2.29), but may well still apply to 33.0.3.

There is apparently a gcc compiler issue causing the Python script,
'packager.py' to fail while it is precompiling a list of Javascript
scripts, using Mozilla's (internal) js shell, 'xpcshell' - essentially,
it (i.e. xpcshell) falls over about half way through the list, as your
log demonstrates.

Now as I understand it, for gcc 4.9.x, certain 'undefined' behaviour has
been changed, in particular, the handling (signed) integer overflow, so
that any program that was tacitly relying on a certain behaviour will
have problems, which could very well be what is happening here (i.e.
some counter is overflowing).

See: https://bugzilla.mozilla.org/show_bug.cgi?id=1047803 for some
discussion.

(In other words, it is a gcc problem, not a Python problem)

Using ac_add_options --enable-optimize="-O2" (rather than
--disable-optimize), appears to cure the problem for both packages.

That's interesting. On my 686 system I still have gcc-4.7.0. I'll try to build it with the full --enable-optimize and see what happens since the bug report indicates the problem started with gcc-4.8.

If that doesn't work, I'll try  --enable-optimize="-O2"

  -- Bruce


  -- Bruce

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

Reply via email to