Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618372 - 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
Summary: sys-kernel/hardened-sources-4.9.24 make fails: scripts/gcc-plugins/randomize_...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-7
  Show dependency tree
 
Reported: 2017-05-13 15:19 UTC by Alpha Bravo
Modified: 2018-02-23 22:03 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
stderr log (kernelerrlog,3.00 KB, text/plain)
2017-05-13 15:19 UTC, Alpha Bravo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alpha Bravo 2017-05-13 15:19:41 UTC
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;
                     ^
Comment 1 Mathias Krause 2017-06-14 06:24:20 UTC
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
Comment 2 Anthony Basile gentoo-dev 2018-02-23 22:03:27 UTC
sorry guys, but we can't support hardened-sources anymore.