{"id":2290,"date":"2018-05-02T23:18:24","date_gmt":"2018-05-03T06:18:24","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2290"},"modified":"2018-05-02T23:18:24","modified_gmt":"2018-05-03T06:18:24","slug":"fedora-f28-gcc-8-now-ok-with-kernel-4-16-7-and-fix-for-grub-customizer","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2290","title":{"rendered":"Fedora &#8211; F28 GCC 8 Now OK with Kernel 4.16.7, and fix for Grub-Customizer.."},"content":{"rendered":"<p>Tried Kernel <strong>4.16.7<\/strong> on Fedora 28 (<strong>GCC 8.0.1<\/strong>), and this now compiles successfully, although still with a lot of &#8216;warnings&#8217;..<\/p>\n<p>I use <strong>grub-customizer<\/strong> with each new kernel, and the F28 version of this fails:<\/p>\n<pre><span style=\"font-family: courier\\ new, courier;\"><strong># grub-customizer<\/strong><\/span>\r\n<span style=\"font-family: courier\\ new, courier;\"><strong>Error creating proxy: The connection is closed (g-io-error-quark, 18)<\/strong><\/span>\r\n<span style=\"font-family: courier\\ new, courier;\"><strong> *** initializing (w\/o specified bootloader type)\u2026<\/strong><\/span>\r\n<span style=\"font-family: courier\\ new, courier;\"><strong> * reading partition info\u2026<\/strong><\/span>\r\n<span style=\"font-family: courier\\ new, courier;\"><strong>\/usr\/include\/c++\/8\/bits\/basic_string.h:1048: std::__cxx11::basic_string&lt;_CharT, _Traits, _Alloc&gt;::reference std::__cxx11::basic_string&lt;_CharT, _Traits, _Alloc&gt;::operator[](std::__cxx11::basic_string&lt;_CharT, _Traits, _Alloc&gt;::size_type) [with _CharT = char; _Traits = std::char_traits&lt;char&gt;; _Alloc = std::allocator&lt;char&gt;; std::__cxx11::basic_string&lt;_CharT, _Traits, _Alloc&gt;::reference = char&amp;; std::__cxx11::basic_string&lt;_CharT, _Traits, _Alloc&gt;::size_type = long unsigned int]: Assertion '__pos &lt;= size()' failed.<\/strong><\/span>\r\n<span style=\"font-family: courier\\ new, courier;\"><strong>Aborted (core dumped)<\/strong><\/span><\/pre>\n<p>Workaround, is to install the F27 version:<\/p>\n<p><code><strong><span style=\"font-family: courier\\ new, courier;\">rpm -Uvh grub-customizer-5.0.6-6.fc27.x86_64.rpm --force<\/span><\/strong><\/code><\/p>\n<p>&#8211; and this works OK, again..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 May 2, 2018.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tried Kernel 4.16.7 on Fedora 28 (GCC 8.0.1), and this now compiles successfully, although still with a lot of &#8216;warnings&#8217;.. 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)\u2026 * reading partition info\u2026 \/usr\/include\/c++\/8\/bits\/basic_string.h:1048: std::__cxx11::basic_string&lt;_CharT, <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2290\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1280,5,10,1238,1617,14,15],"tags":[1841,161,1871,1877,1876],"class_list":["post-2290","post","type-post","status-publish","format-standard","hentry","category-boot","category-compilation","category-fedora","category-fix","category-gcc","category-kernel","category-linux-2","tag-fedora-28","tag-fix","tag-gcc-8","tag-grub-customizer-abort","tag-ok-with-kernel-4-16-7"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2290"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2290\/revisions"}],"predecessor-version":[{"id":2291,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2290\/revisions\/2291"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}