Ken Moffat wrote:
I was just getting to the end of updating firefox on my
current/maintained systems, the last of which was an LFS-7.6 system
I'd already built 7.6 on 7.4x1, 7.5x1, 7.6x2, 7.7x4, and svn x1 so I
was not expecting problems [ 7.4 needed a newer version of libpng,
and I updated nss to current ]. But with make -j4 it failed to
compile DecoderTraits.o, with the relevant messages being:
In file included from
/usr/include/c++/4.9.1/bits/stl_algobase.h:67:0,
from /usr/include/c++/4.9.1/algorithm:61,
from ../../dist/system_wrappers/algorithm:3,
from ../../dist/stl_wrappers/algorithm:55,
from
/scratch/working/mozilla-release/dom/media/MediaResource.h:20,
from
/scratch/working/mozilla-release/dom/media/MediaDecoder.h:192,
from
/scratch/working/mozilla-release/dom/media/DecoderTraits.cpp:8:
/usr/include/c++/4.9.1/bits/stl_iterator.h:542:7: error: expected
unqualified-id before '-' token
front_insert_iterator&
^
The only relevant items on google were for people trying to code in
c++. So I gave it another go (with fresh source), this time with
-j5, and it was fine. Weird.
Summary: if firefox-37.0 fails in an odd way, give it a fresh
attempt.
Well we do say in LFS:
"When multiple processors are used in this way, the SBU units in the book will
vary even more than they normally would. In some cases, the make step will
simply fail. Analyzing the output of the build process will also be more
difficult because the lines of different processes will be interleaved. If you
run into a problem with a build step, revert back to a single processor build to
properly analyze the error messages."
That said, I didn't have any problems with
MOZ_MAKE_FLAGS='-j10' make -f client.mk
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page