Error when compiling blender 2.79b-realese

I am getting an error when I try to compile blender 2.79b-realese.
Any ideas or help is appreciated.

gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)

In file included from /home/mariusz/Pulpit/WH/blender-git/blender/intern/cycles/device/…/util/util_simd.h:502,
from /home/mariusz/Pulpit/WH/blender-git/blender/intern/cycles/device/…/util/util_half.h:24,
from /home/mariusz/Pulpit/WH/blender-git/blender/intern/cycles/device/…/device/device_memory.h:32,
from /home/mariusz/Pulpit/WH/blender-git/blender/intern/cycles/device/…/device/device.h:22,
from /home/mariusz/Pulpit/WH/blender-git/blender/intern/cycles/device/device.cpp:20:
/home/mariusz/Pulpit/WH/blender-git/blender/intern/cycles/device/…/util/util_sseb.h: In function ‘const ccl::sseb ccl::shuffle(const ccl::sseb&)’:
/home/mariusz/Pulpit/WH/blender-git/blender/intern/cycles/device/…/util/util_sseb.h:119:26: error: could not convert ‘_mm_shuffle_epi32(a, ((((i3 << 6) | (i2 << 4)) | (i1 << 2)) | i0))’ from ‘__m128i’ {aka ‘__vector(2) long long int’} to ‘const ccl::sseb’
return _mm_shuffle_epi32(a, _MM_SHUFFLE(i3, i2, i1, i0));
~^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/map:61,
from /home/mariusz/Pulpit/WH/blender-git/blender/intern/itasc/kdl/tree.hpp:29,
from /home/mariusz/Pulpit/WH/blender-git/blender/intern/itasc/eigen_types.hpp:13,
from /home/mariusz/Pulpit/WH/blender-git/blender/intern/itasc/ControlledObject.hpp:12,
from /home/mariusz/Pulpit/WH/blender-git/blender/intern/itasc/Armature.hpp:11,
from /home/mariusz/Pulpit/WH/blender-git/blender/intern/itasc/Armature.cpp:11:
/usr/include/c++/8/bits/stl_map.h: In instantiation of ‘class std::map<std::__cxx11::basic_string, KDL::TreeElement, std::less<std::__cxx11::basic_string >, Eigen::aligned_allocator<std::pair<std::__cxx11::basic_string, KDL::TreeElement> > >’:
/home/mariusz/Pulpit/WH/blender-git/blender/intern/itasc/kdl/tree.hpp:47:19: required from here
/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
static_assert(is_same<typename _Alloc::value_type, value_type>::value,

Have a look at this thread https://lists.blender.org/pipermail/bf-committers/2018-March/049239.html and my and Sergey’s answers.
TLDR: GCC 8 has stricter rules than GCC 7.
The issue has been fixed after the release of 2.79b I think.

Thank you, the problem is solved.