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         ^~~~
65:27.72 
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.2.0/../../../../include/c++/6.2.0/bits/move.h:179:5:
 note: candidate template ignored: deduced conflicting types for parameter 
'_Tp' ('const GrTessellator::WindingVertex *' vs. 'GrTessellator::WindingVertex 
*')
65:27.73     swap(_Tp& __a, _Tp& __b)
65:27.73     ^
65:27.73 
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.2.0/../../../../include/c++/6.2.0/bits/move.h:202:5:
 note: candidate template ignored: could not match '_Tp [_Nm]' against 
'__tuple_element_t<0UL, tuple<const GrTessellator::WindingVertex *, 
std::default_delete<GrTessellator::WindingVertex const[]> > >' (aka 'const 
GrTessellator::WindingVertex *')
65:27.73     swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm])
65:27.73     ^
65:27.73 
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.2.0/../../../../include/c++/6.2.0/bits/stl_pair.h:403:5:
 note: candidate template ignored: could not match 'pair<type-parameter-0-0, 
type-parameter-0-1>' against 'const GrTessellator::WindingVertex *'
65:27.73     swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y)
65:27.73     ^
65:27.73 
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.2.0/../../../../include/c++/6.2.0/bits/basic_string.h:5287:5:
 note: candidate template ignored: could not match 
'basic_string<type-parameter-0-0, type-parameter-0-1, type-parameter-0-2>' 
against 'const GrTessellator::WindingVertex *'
65:27.73     swap(basic_string<_CharT, _Traits, _Alloc>& __lhs,
65:27.73     ^
65:27.73 
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.2.0/../../../../include/c++/6.2.0/array:275:5:
 note: candidate template ignored: could not match 'array<type-parameter-0-0, 
_Nm>' against 'const GrTessellator::WindingVertex *'
65:27.73     swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two)
65:27.73     ^
65:27.73 
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.2.0/../../../../include/c++/6.2.0/tuple:1546:5:
 note: candidate template ignored: could not match 
'tuple<type-parameter-0-0...>' against 'const GrTessellator::WindingVertex *'
65:27.73     swap(tuple<_Elements...>& __x, tuple<_Elements...>& __y)
65:27.73     ^
65:27.74 
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.2.0/../../../../include/c++/6.2.0/functional:2238:5:
 note: candidate template ignored: could not match 'function<type-parameter-0-0 
(type-parameter-0-1...)>' against 'const GrTessellator::WindingVertex *'
65:27.74     swap(function<_Res(_Args...)>& __x, function<_Res(_Args...)>& __y)
65:27.74     ^
65:28.02 3 errors generated.
65:28.04 make[4]: *** [/sources/firefox-65.0/config/rules.mk:1133: 
Unified_cpp_gfx_skia16.o] Error 1
65:28.04 make[4]: *** Waiting for unfinished jobs....
65:28.23 image/decoders/icon/gtk
65:31.08 image/decoders/icon
65:33.56 make[3]: *** [/sources/firefox-65.0/config/recurse.mk:74: 
gfx/skia/target] Error 2
65:33.56 make[3]: *** Waiting for unfinished jobs....
65:34.57 make[2]: *** [/sources/firefox-65.0/config/recurse.mk:34: compile] 
Error 2
65:34.57 make[1]: *** [/sources/firefox-65.0/config/rules.mk:431: default] 
Error 2
65:34.57 make: *** [client.mk:125: build] Error 2

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

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