You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gcc-10-plugin-dev package is needed in Debian userspace for enabling GCC_PLUGIN_STACKLEAK config in the kernel. This config is needed in kernel for tools/testing/selftests/LKDTM/STACKLEAK_ERASING.sh test. At this time if we add gcc-10-plugin-dev package to the Bullseye and enable GCC_PLUGIN_STACKLEAK config. Kernel compilation fails:
/usr/lib/gcc/x86_64-linux-gnu/10/plugin/include/config/i386/i386.h:2500:10: fatal error: common/config/i386/i386-cpuinfo.h: No such file or directory
2500 | #include "common/config/i386/i386-cpuinfo.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Looking at this error, I've found out that support for GCC Plugins is broken in Bullseye. There is a bug filed here. The workaround is possible by applying a patch. But I don't think that it is worthwhile. Let's wait for the bug to get fixed in Bullseye or wait for a new stable Debian release with this error fixed and KernelCI starts using that new Debian version. Then gcc-10-plugin-dev package should be added to the build Docker containers of GCC versions like gcc-10_x86 etc.
The text was updated successfully, but these errors were encountered:
gcc-10-plugin-dev
package is needed in Debian userspace for enablingGCC_PLUGIN_STACKLEAK
config in the kernel. This config is needed in kernel fortools/testing/selftests/LKDTM/STACKLEAK_ERASING.sh
test. At this time if we addgcc-10-plugin-dev
package to the Bullseye and enableGCC_PLUGIN_STACKLEAK
config. Kernel compilation fails:Looking at this error, I've found out that support for GCC Plugins is broken in Bullseye. There is a bug filed here. The workaround is possible by applying a patch. But I don't think that it is worthwhile. Let's wait for the bug to get fixed in Bullseye or wait for a new stable Debian release with this error fixed and KernelCI starts using that new Debian version. Then
gcc-10-plugin-dev
package should be added to the build Docker containers of GCC versions like gcc-10_x86 etc.The text was updated successfully, but these errors were encountered: