{"id":2834,"date":"2020-09-20T22:29:41","date_gmt":"2020-09-21T05:29:41","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2834"},"modified":"2020-09-20T22:29:41","modified_gmt":"2020-09-21T05:29:41","slug":"kernel-5-9-rc6-rare-compile-fail","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2834","title":{"rendered":"Kernel &#8211; 5.9-rc6 &#8211; Rare Compile Fail!"},"content":{"rendered":"<p>Kernel <strong>5.9-rc6<\/strong> has been released, and brief details are here:\u00a0 <a href=\"http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2009.2\/05870.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2009.2\/05870.html<\/a><\/p>\n<p>In a very rare occurrence, the kernel compile actually fails:<\/p>\n<p><code><span style=\"font-family: Courier New, Courier, monospace;\"><strong>...................................<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>CALL scripts\/checksyscalls.sh<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>CALL scripts\/atomic\/check-atomics.sh<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>DESCEND objtool<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>CHK include\/generated\/compile.h<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>CC drivers\/dax\/super.o<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>drivers\/dax\/super.c:325:6: error: redefinition of \u2018dax_supported\u2019<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>325 | bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev,<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>| ^~~~~~~~~~~~~<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>In file included from drivers\/dax\/super.c:16:<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>.\/include\/linux\/dax.h:162:20: note: previous definition of \u2018dax_supported\u2019 was here<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>162 | static inline bool dax_supported(struct dax_device *dax_dev,<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>| ^~~~~~~~~~~~~<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[2]: *** [scripts\/Makefile.build:283: drivers\/dax\/super.o] Error 1<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[1]: *** [scripts\/Makefile.build:500: drivers\/dax] Error 2<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make: *** [Makefile:1784: drivers] Error 2<\/strong><\/span><\/code><\/p>\n<p>The workaround is to <em>revert<\/em> the offending patch, from here:\u00a0 <a href=\"https:\/\/lore.kernel.org\/r\/160061715195.13131.5503173247632041975.stgit@dwillia2-desk3.amr.corp.intel.com\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/lore.kernel.org\/r\/160061715195.13131.5503173247632041975.stgit@dwillia2-desk3.amr.corp.intel.com<\/a>\u00a0 but, of course, this will re-introduce the dax issue that the patch was originally supposed to fix!<\/p>\n<p>Patched VMware 16.0.0 compiles and loads\/runs OK, but NVIDIA (450.66 and 455.23.04 ) still hits the &#8216;inherited taint&#8217; issue with <strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-uvm<\/span><\/strong>..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 September 20th 2020.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 5.9-rc6 has been released, and brief details are here:\u00a0 http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2009.2\/05870.html In a very rare occurrence, the kernel compile actually fails: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. CALL scripts\/checksyscalls.sh CALL scripts\/atomic\/check-atomics.sh DESCEND objtool CHK include\/generated\/compile.h CC drivers\/dax\/super.o drivers\/dax\/super.c:325:6: error: redefinition of \u2018dax_supported\u2019 325 | bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev, | ^~~~~~~~~~~~~ In file included from drivers\/dax\/super.c:16: .\/include\/linux\/dax.h:162:20: note: previous definition <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2834\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,11,14,15,18,19,25],"tags":[2326,2321,2325,2327,297,2322,2323,2324,418],"class_list":["post-2834","post","type-post","status-publish","format-standard","hentry","category-compilation","category-hacks","category-kernel","category-linux-2","category-nvidia","category-opinion","category-vmware","tag-inherited-taint","tag-kernel-5-9-rc6","tag-nvidia-450-66-455-23-04","tag-nvidia-uvm","tag-patched","tag-rare-compile-fail","tag-revert-dax-patch","tag-vmware-16-ok","tag-workaround"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2834","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2834"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2834\/revisions"}],"predecessor-version":[{"id":2836,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2834\/revisions\/2836"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}