Summary: | sys-kernel/hardened-sources-4.9.24 make fails: scripts/gcc-plugins/randomize_layout_plugin.c:528:21: error: lvalue required as left operand of assignment DECL_ALIGN(decl) = 0; compiled with sys-devel/gcc-7.1.0-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alpha Bravo <aos> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | anton.kochkov, hardened, jstein, kernel, mike, minipli, quentin, tsmksubc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 617524 | ||
Attachments: | stderr log |
The patch from [1] fixes this as has been confirmed by zeepob in [2] -- which was how I got the bug report in the first place. [1] https://github.com/minipli/linux-unofficial_grsec/commit/c497a768008b727e36a8ed63cc252cf8891f1cc3 [2] https://github.com/minipli/linux-unofficial_grsec/issues/4 sorry guys, but we can't support hardened-sources anymore. |
Created attachment 472506 [details] stderr log sys-kernel/hardened-sources-4.9.24 make fails with sys-devel/gcc-7.1.0-r1: $ make -j1 scripts/gcc-plugins/randomize_layout_plugin.c: In function 'void randomize_layout_finish_decl(void*, void*)': scripts/gcc-plugins/randomize_layout_plugin.c:528:21: error: lvalue required as left operand of assignment DECL_ALIGN(decl) = 0; ^