Fedora – F28 GCC 8 Now OK with Kernel 4.16.7, and fix for Grub-Customizer..
Tried Kernel 4.16.7 on Fedora 28 (GCC 8.0.1), and this now compiles successfully, although still with a lot of ‘warnings’..
I use grub-customizer with each new kernel, and the F28 version of this fails:
# grub-customizer Error creating proxy: The connection is closed (g-io-error-quark, 18) *** initializing (w/o specified bootloader type)… * reading partition info… /usr/include/c++/8/bits/basic_string.h:1048: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]: Assertion '__pos <= size()' failed. Aborted (core dumped)
Workaround, is to install the F27 version:
rpm -Uvh grub-customizer-5.0.6-6.fc27.x86_64.rpm --force
– and this works OK, again..
Robert Gadsdon. May 2, 2018.
Confirm the problem and the solution