diff options
author | Arvind Sankar <[email protected]> | 2020-06-05 11:06:38 -0400 |
---|---|---|
committer | Ard Biesheuvel <[email protected]> | 2020-06-15 11:41:14 +0200 |
commit | 5435f73d5c4a1b7504356876e69ba52de83f4975 (patch) | |
tree | da0e5d0171d77235b03b3ed6c8287689080a955d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) |
efi/x86: Fix build with gcc 4
Commit
bbf8e8b0fe04 ("efi/libstub: Optimize for size instead of speed")
changed the optimization level for the EFI stub to -Os from -O2.
Andrey Ignatov reports that this breaks the build with gcc 4.8.5.
Testing on godbolt.org, the combination of -Os,
-fno-asynchronous-unwind-tables, and ms_abi functions doesn't work,
failing with the error:
sorry, unimplemented: ms_abi attribute requires
-maccumulate-outgoing-args or subtarget optimization implying it
This does appear to work with gcc 4.9 onwards.
Add -maccumulate-outgoing-args explicitly to unbreak the build with
pre-4.9 versions of gcc.
Reported-by: Andrey Ignatov <[email protected]>
Signed-off-by: Arvind Sankar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions