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

Dave Plater dplater.list at gmail.com
Tue Jun 19 10:27:13 CEST 2018


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


More information about the Bf-committers mailing list