Bug 204333
Summary: | arch/x86/boot/compressed/kaslr_64.c embeds build paths in kernel binary | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Ross Burton (ross.burton) |
Component: | x86-64 | Assignee: | platform_x86_64 (platform_x86_64) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | bp |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.0.19 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Ross Burton
2019-07-26 18:04:12 UTC
Both arch/x86/boot/compressed/Makefile and arch/x86/boot/Makefile start from clean KBUILD_CFLAGS so I think you should simply add the -fmacro-prefix-map line to both of them. Care to send a fix? Thx. Patch posted. Upstream commit: 9e2276fa6eb3 ("arch/x86/boot: Use prefix map to avoid embedded paths") Closing. |