Index: /trunk/Config.kmk
===================================================================
--- /trunk/Config.kmk	(revision 55068)
+++ /trunk/Config.kmk	(revision 55069)
@@ -3328,4 +3328,7 @@
 	$(VBOX_GCC32_LIBGCC) # instricts
   endif
+  if1of ($(KBUILD_TARGET),linux)
+   TEMPLATE_VBoxRc_POST_CMDS         = $(if $(eq $(tool_do),LINK_SYSMOD),if readelf -S $(out)|grep -q "[cd]tors"; then echo "Found ctors/dtors in $(out)!"; exit 1; fi)
+  endif
  endif
 
@@ -3474,4 +3477,7 @@
  TEMPLATE_VBoxR0_LIBS               = \
 	$(VBOX_GCC_LIBGCC) # instricts
+endif
+if1of ($(KBUILD_TARGET),linux)
+ TEMPLATE_VBoxR0_POST_CMDS          =  $(if $(eq $(tool_do),LINK_SYSMOD),if readelf -S $(out)|grep -q "[cd]tors"; then echo "Found ctors/dtors in $(out)!"; exit 1; fi)
 endif
 endif
