]> sourceware.org Git - systemtap.git/commitdiff
PR10280 :: revert prior fix as it does not work for all kernel configs
authorSerhei Makarov <smakarov@redhat.com>
Fri, 21 Jun 2019 22:02:32 +0000 (18:02 -0400)
committerSerhei Makarov <smakarov@redhat.com>
Fri, 21 Jun 2019 22:02:40 +0000 (18:02 -0400)
Will replace with a better fix only if I find a better solution.

buildrun.cxx

index ff880773fe76aadaa6d32f60d4c130121d0d2947..9f66037779f4fde6ba6d270be57881e319c78b66 100644 (file)
@@ -121,8 +121,11 @@ make_any_make_cmd(systemtap_session& s, const string& dir, const string& target)
     };
 
   // relevant to PR10280: suppress symbol versioning to restrict to exact kernel version
-  if (s.guru_mode)
-    make_cmd.push_back("CONFIG_MODVERSIONS=");
+  // 'Fix' disabled since it can break guru-mode depending on kernel config
+  // and this is a more obnoxious behaviour than breakage when a compiled
+  // guru_mode module is run on a different kernel.
+  //if (s.guru_mode)
+  //  make_cmd.push_back("CONFIG_MODVERSIONS=");
   // XXX: Consider adding an explicit option to control this behaviour?
 
   // Add architecture, except for old powerpc (RHBZ669082)
This page took 0.031123 seconds and 5 git commands to generate.