diff options
| author | Ricardo Salveti <ricardo.salveti@oss.qualcomm.com> | 2026-01-29 19:40:41 -0300 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-09 03:34:12 +0000 |
| commit | 4ed680e32e3670a4e50038387572ee7a35374c0e (patch) | |
| tree | 12a2961cb14fb831bfd1ee18b257dbf7ea527094 /classes | |
| parent | bb7e321ff59a9ffdb53b33929826b4fb0e8616ec (diff) | |
| download | meta-virtualization-4ed680e32e3670a4e50038387572ee7a35374c0e.tar.gz | |
lxc: restore DEBUG_PREFIX_MAP in TARGET_LDFLAGS for LTO reproducibility
oe-core [1] removed DEBUG_PREFIX_MAP from TARGET_LDFLAGS to avoid passing
prefix-map options via the linker flags. This is fine for most projects
since DEBUG_PREFIX_MAP is also provided via CFLAGS at configure time.
However, lxc enables LTO by default, which causes link-time code generation
to (re)emit debug information during the link step. Without DEBUG_PREFIX_MAP
on the link command line, TMPDIR/WORKDIR paths can leak into DWARF,
triggering the buildpaths QA check and breaking reproducibility.
Append DEBUG_PREFIX_MAP back to TARGET_LDFLAGS for lxc to ensure prefix-map
options are visible during LTO link-time compilation.
[1]
https://git.openembedded.org/openembedded-core/commit/?id=1797741aad02b8bf429fac4b81e30cdda64b5448
Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'classes')
0 files changed, 0 insertions, 0 deletions
