[Bf-committers] need help with a gcc 8 build failure

Dave Plater dplater.list at gmail.com
Mon Jun 25 14:10:51 CEST 2018


Thanks, a fellow maintainer found a couple of patches and 2.79b is 
building again.
Dave

On 25/06/18 10:10, Brecht Van Lommel wrote:
> Hi,
> 
> Sorry for the late reply. This is fixed in master, but not in 2.79b, maybe
> you could apply a patch:
> https://developer.blender.org/rBee30a43
> 
> Regards,
> Brecht.
> 
> 
> On Tue, Jun 19, 2018 at 10:27 AM Dave Plater <dplater.list at gmail.com> wrote:
> 
>> Hi, openSUSE now has gcc 8 resulting in a build failure:
>>
>> usr/bin/c++  -DNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
>> -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2__ -D__SSE__
>> -isystem /home/abuild/rpmbuild/BUILD/blender-2.79b/extern/Eigen3  -Wall
>> -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self
>> -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits
>> -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith
>> -Wformat-signedness -Wuninitialized   -Wimplicit-fallthrough=5
>> -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2
>> -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
>> -fstack-clash-protection -g -fPIC -msse -msse2 -fuse-ld=gold -fopenmp
>> -std=c++11   -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing
>> -msse2  -Wno-deprecated-declarations -Wno-unused-parameter
>> -Wno-implicit-fallthrough -Wno-error=unused-but-set-variable -O2
>> -DNDEBUG   -o CMakeFiles/bf_intern_itasc.dir/Armature.cpp.o -c
>> /home/abuild/rpmbuild/BUILD/blender-2.79b/intern/itasc/Armature.cpp
>> [  681s] In file included from /usr/include/c++/8/map:61,
>> [  681s]                  from
>> /home/abuild/rpmbuild/BUILD/blender-2.79b/intern/itasc/kdl/tree.hpp:29,
>> [  681s]                  from
>> /home/abuild/rpmbuild/BUILD/blender-2.79b/intern/itasc/eigen_types.hpp:13,
>> [  681s]                  from
>>
>> /home/abuild/rpmbuild/BUILD/blender-2.79b/intern/itasc/ControlledObject.hpp:12,
>> [  681s]                  from
>> /home/abuild/rpmbuild/BUILD/blender-2.79b/intern/itasc/Armature.hpp:11,
>> [  681s]                  from
>> /home/abuild/rpmbuild/BUILD/blender-2.79b/intern/itasc/Armature.cpp:11:
>> [  681s] /usr/include/c++/8/bits/stl_map.h: In instantiation of 'class
>> std::map<std::__cxx11::basic_string<char>, KDL::TreeElement,
>> std::less<std::__cxx11::basic_string<char> >,
>> Eigen::aligned_allocator<std::pair<std::__cxx11::basic_string<char>,
>> KDL::TreeElement> > >':
>> [  681s]
>> /home/abuild/rpmbuild/BUILD/blender-2.79b/intern/itasc/kdl/tree.hpp:47:19:
>>     required from here
>> [  681s] /usr/include/c++/8/bits/stl_map.h:122:21: error: static
>> assertion failed: std::map must have the same value_type as its allocator
>> [  681s]        static_assert(is_same<typename _Alloc::value_type,
>> value_type>::value,
>> [  681s]
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> For the full log see:
>>
>> https://build.opensuse.org/build/graphics/openSUSE_Tumbleweed/x86_64/blender/_log
>> Thanks
>> Dave Plater
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> https://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
> 


More information about the Bf-committers mailing list