On Wednesday, January 30, 2019 08:09:11 PM Ken Moffat via blfs-support wrote:
> On Wed, Jan 30, 2019 at 08:27:04PM +0100, Vaclav Masin via blfs-support wrote:
> > Hi,
> > 
> > trying to build the new Firefox on my oldish LFS 7.10 system results in:
> > 
> > 65:27.71 In file included from /sources/firefox-65.0/firefox-build-
dir/gfx/skia/Unified_cpp_gfx_skia16.cpp:2:
> > 65:27.71 In file included from 
/sources/firefox-65.0/gfx/skia/skia/src/gpu/ccpr/GrCCFiller.cpp:8:
> > 65:27.71 In file included from 
/sources/firefox-65.0/gfx/skia/skia/src/gpu/ccpr/GrCCFiller.h:11:
> > 65:27.71 In file included from 
> > /sources/firefox-65.0/gfx/skia/skia/src/gpu/GrMesh.h:11:
> > 65:27.71 In file included from 
> > /sources/firefox-65.0/gfx/skia/skia/src/gpu/GrBuffer.h:11:
> > 65:27.71 In file included from 
/sources/firefox-65.0/gfx/skia/skia/include/gpu/GrGpuResource.h:11:
> > 65:27.71 In file included from 
/sources/firefox-65.0/gfx/skia/skia/include/private/GrTypesPriv.h:14:
> > 65:27.71 In file included from 
/sources/firefox-65.0/gfx/skia/skia/include/core/SkImageInfo.h:21:
> > 65:27.71 In file included from 
/sources/firefox-65.0/gfx/skia/skia/include/core/SkColorSpace.h:13:
> > 65:27.71 In file included from 
/sources/firefox-65.0/gfx/skia/skia/include/core/SkRefCnt.h:16:
> > 65:27.71 In file included from /sources/firefox-65.0/firefox-build-
dir/dist/stl_wrappers/memory:44:
> > 65:27.71 In file included from /sources/firefox-65.0/firefox-build-
dir/dist/system_wrappers/memory:3:
> > 65:27.71 In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-
gnu/6.2.0/../../../../include/c++/6.2.0/memory:81:
> > 65:27.72 /usr/bin/../lib64/gcc/x86_64-pc-linux-
gnu/6.2.0/../../../../include/c++/6.2.0/bits/unique_ptr.h:614:2: error: use of 
undeclared 
identifier 'swap'
> > 65:27.72         swap(std::get<0>(_M_t), __p);
> > 65:27.72         ^
> > 65:27.72 
> > /sources/firefox-65.0/gfx/skia/skia/src/gpu/ccpr/GrCCFiller.cpp:202:22: 
> > note: in 
instantiation of function template specialization 
'std::unique_ptr<GrTessellator::WindingVertex 
const[], std::default_delete<GrTessellator::WindingVertex const[]> 
>::reset<GrTessellator::WindingVertex *, void>' requested here
> > 65:27.72     fFanTessellation.reset(vertices);
> > 65:27.72                      ^
> > 65:27.72 /usr/bin/../lib64/gcc/x86_64-pc-linux-
gnu/6.2.0/../../../../include/c++/6.2.0/bits/unique_ptr.h:626:7: note: must 
qualify identifier to 
find this declaration in dependent base class
> > 65:27.72       swap(unique_ptr& __u) noexcept
> > 65:27.72       ^
> > 65:27.72 /usr/bin/../lib64/gcc/x86_64-pc-linux-
gnu/6.2.0/../../../../include/c++/6.2.0/bits/unique_ptr.h:614:26: error: too 
many arguments to 
function call, expected single argument '__u', have 2 arguments
> > 65:27.72         swap(std::get<0>(_M_t), __p);
> > 65:27.72         ~~~~                    ^~~
> > 65:27.72 /usr/bin/../lib64/gcc/x86_64-pc-linux-
gnu/6.2.0/../../../../include/c++/6.2.0/bits/unique_ptr.h:625:7: note: 'swap' 
declared here
> > 65:27.72       void
> > 65:27.72       ^
> > 65:27.72 /usr/bin/../lib64/gcc/x86_64-pc-linux-
gnu/6.2.0/../../../../include/c++/6.2.0/bits/unique_ptr.h:614:2: error: no 
matching function for 
call to 'swap'
> > 65:27.72         swap(std::get<0>(_M_t), __p);
> > 65:27.72         ^~~~
> 
> > 
> > Am I right guessing that my gcc version is simply too old? Meaning that 
> > building the new 
Firefox is just not doable with it?
> > 
> > Thanks.
> > 
> > Vaclav Masin
> > 
> 
> That is certainly my impression, but I've been wrong before on
> errors that looks similar to that.  At
> https://developer.mozilla.org/en-US/docs/Mozilla/Using_CXX_in_Mozilla_code
> they claim gcc-6.1 is the minimum required - but that page of
> documentation might just be out of date.
> 
> I assume you do not have clang (along with clang++, llvm-ar,
> llvm-nm, llvm-ranlib) available ?  Old versions are probably good
> enough (gentoo specify llvm >= 4.0, but again documentation might be
> out of date).
> 
> Failing that, in the short term I guess that you can probably still
> build 60.5.0esr, albeit that the mozconfig will differ.
> 
> ĸen
> 

I do have all of that clang* and llvm* stuff available, current BLFS version, 
too:

$ clang --version
clang version 7.0.1 (tags/RELEASE_701/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

$ llvm-ar --version
LLVM (http://llvm.org/):
  LLVM version 7.0.1
  Optimized build.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: penryn

I thought the rustc and LLVM packages are necessary to build newer Firefox 
versions so I've 
always tried to keep them current. Could them being available like this help my 
current 
situation somehow?

Thanks.
-- 
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