diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-12-14 15:53:21 -0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-12-16 00:31:23 +0100 |
commit | 490006bf7dae0b4df1dfe41e280cb7b40d060db8 (patch) | |
tree | a4dbae6c6205b4d48dece3ffcc8bf84b67cf6063 /src/drivers | |
parent | 07a1b281a864e8c2a17e29767a7abf495587b325 (diff) |
intel/skylake: Work around ROMCC optimization bug
On Skylake systems, the bootblock fails to compile with the following
error message:
bootblock_simple.c:6.1:
0x13930e0 copy Internal compiler error: non dominated rhs use point
0x13a3f70?
Aborted (core dumped)
The option -fno-simplify-phi works around the issue, but will cause the
code to use more registers, hence we also need to enable -mcpu=p4 (see
intel/truxton mainboard for another example of where this has been done
in the past)
Change-Id: Iea1a1ba18d76c7323bb626c5f4b0032e4ee04a86
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/12719
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions