Browse Source

pkg/debian: Disable CONFIG_UBSAN in kernel config

Recent Ubuntu mainline versions have enabled UBSAN. UBSAN has a runtime
cost and should only be enabled for debugging and testing.

Furthermore, UBSAN actively causes problems on the Surface Pro 4 and
Surface Book 1, preventing them from waking from suspend in some
instances. Disabling UBSAN should work around issue #585.
Maximilian Luz 3 năm trước cách đây
mục cha
commit
1f9fdf4427
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      pkg/debian/kernel/ubuntu.config

+ 1 - 0
pkg/debian/kernel/ubuntu.config

@@ -12,6 +12,7 @@
 # CONFIG_STM_DUMMY is not set
 # CONFIG_TEST_BPF is not set
 # CONFIG_DEBUG_MISC is not set
+# CONFIG_UBSAN is not set
 
 ##
 ## Don't build atomisp