diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-15 12:01:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-15 12:23:56 +0100 |
commit | 00d373f01ad1f3ef7469b6088849fc21dc0796fb (patch) | |
tree | 68897a57b00f208fdae7b5ebdea0c611f8751700 /meta/recipes-devtools/gcc | |
parent | b051ca1289d6d1f0ea91886656ceb1832d380d08 (diff) | |
download | poky-00d373f01ad1f3ef7469b6088849fc21dc0796fb.tar.gz |
gcc-runtime: Fix missing MLPREFIX in debug mappings
This fixes reproducibility issues with multilibs were a different recipe
specific sysroot is used which was leaking into debug symbols in libraries.
(From OE-Core rev: f442edf51e256bd315bd8e4ac4d9fa12b8e9e092)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 7e920df2d3..5d74e4494d 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
@@ -53,7 +53,7 @@ RUNTIMETARGET:libc-newlib = "libstdc++-v3" | |||
53 | REL_S = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" | 53 | REL_S = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" |
54 | 54 | ||
55 | DEBUG_PREFIX_MAP:class-target = " \ | 55 | DEBUG_PREFIX_MAP:class-target = " \ |
56 | -fdebug-prefix-map=${WORKDIR}/recipe-sysroot= \ | 56 | -fdebug-prefix-map=${WORKDIR}/${MLPREFIX}recipe-sysroot= \ |
57 | -fdebug-prefix-map=${WORKDIR}/recipe-sysroot-native= \ | 57 | -fdebug-prefix-map=${WORKDIR}/recipe-sysroot-native= \ |
58 | -fdebug-prefix-map=${S}=${REL_S} \ | 58 | -fdebug-prefix-map=${S}=${REL_S} \ |
59 | -fdebug-prefix-map=${S}/include=${REL_S}/libstdc++-v3/../include \ | 59 | -fdebug-prefix-map=${S}/include=${REL_S}/libstdc++-v3/../include \ |