lkml.org 
[lkml]   [2023]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] gcc-plugins: drop -std=gnu++11 to fix GCC 13 build
Date
On Wed, 1 Feb 2023 23:00:09 +0000, Sam James wrote:
> The latest GCC 13 snapshot (13.0.1 20230129) gives the following:
> ```
> cc1: error: cannot load plugin ./scripts/gcc-plugins/randomize_layout_plugin.so
> :./scripts/gcc-plugins/randomize_layout_plugin.so: undefined symbol: tree_code_type
> ```
>
> This ends up being because of https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=b0241ce6e37031
> upstream in GCC which changes the visibility of some types used by the kernel's
> plugin infrastructure like tree_code_type.
>
> [...]

Applied to for-next/hardening, thanks!

[1/1] gcc-plugins: drop -std=gnu++11 to fix GCC 13 build
https://git.kernel.org/kees/c/5a6b64adc18d

--
Kees Cook

\
 
 \ /
  Last update: 2023-03-27 00:08    [W:0.046 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site