<div dir="ltr"><div dir="ltr">The commit message doesn’t match what you’re actually doing. &quot;Specifying -fdebug-prefix-map is equivalent to specifying all the individual -f*-prefix-map options which means including -fmacro-prefix-map and -fdebug-prefix-map currently” I assume you mean &quot;Specifying -ffile-prefix-map” there.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 17, 2019 at 12:13 AM &lt;<a href="mailto:kai.kang@windriver.com">kai.kang@windriver.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">From: Kai Kang &lt;<a href="mailto:kai.kang@windriver.com" target="_blank">kai.kang@windriver.com</a>&gt;<br>
<br>
Reset default value of DEBUG_PREFIX_MAP with &#39;-fdebug-prefix-map&#39;.<br>
Specifying -fdebug-prefix-map is equivalent to specifying all the<br>
individual -f*-prefix-map options which means including<br>
-fmacro-prefix-map and -fdebug-prefix-map currently. Option<br>
-fmacro-prefix-map helps to avoid buildpaths qa warnings which caused<br>
by __FILE__ macro expansion for packages such as llvm and librepo.<br>
<br>
Signed-off-by: Kai Kang &lt;<a href="mailto:kai.kang@windriver.com" target="_blank">kai.kang@windriver.com</a>&gt;<br>
---<br>
 meta/conf/bitbake.conf | 6 +++---<br>
 1 file changed, 3 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf<br>
index 0bdcd04d74..d20460e845 100644<br>
--- a/meta/conf/bitbake.conf<br>
+++ b/meta/conf/bitbake.conf<br>
@@ -599,9 +599,9 @@ EXTRA_OEMAKE_prepend_task-install = &quot;${PARALLEL_MAKEINST} &quot;<br>
 # Optimization flags.<br>
 ##################################################################<br>
 # Beware: applied last to first<br>
-DEBUG_PREFIX_MAP ?= &quot;-fdebug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \<br>
-                     -fdebug-prefix-map=${STAGING_DIR_HOST}= \<br>
-                     -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \<br>
+DEBUG_PREFIX_MAP ?= &quot;-ffile-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \<br>
+                     -ffile-prefix-map=${STAGING_DIR_HOST}= \<br>
+                     -ffile-prefix-map=${STAGING_DIR_NATIVE}= \<br>
 &quot;<br>
 DEBUG_FLAGS ?= &quot;-g -feliminate-unused-debug-types ${DEBUG_PREFIX_MAP}&quot;<br>
<br>
-- <br>
2.20.0<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Senior Software Engineer, Mentor Graphics</div></div></div></div>