On Fri, Apr 28, 2023 at 4:18 AM Martin Jansa <[email protected]> wrote: > > Do you already have a follow-up change for meta-clang which seems to be > broken by this change? > > clang-16: error: unknown argument: '-fcanon-prefix-map' > yes https://github.com/kraj/meta-clang/pull/782
> On Fri, Apr 28, 2023 at 5:20 AM Khem Raj <[email protected]> wrote: >> >> This should help canonicalize the relative paths and symlinks >> during cross compile, -fcanon-prefix-map is newly added in gcc-13+ [1] >> >> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108464#c8 >> Signed-off-by: Khem Raj <[email protected]> >> --- >> meta/conf/bitbake.conf | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf >> index d94ffe1df9..453bef37a9 100644 >> --- a/meta/conf/bitbake.conf >> +++ b/meta/conf/bitbake.conf >> @@ -644,7 +644,8 @@ EXTRA_OEMAKE:prepend:task-install = >> "${PARALLEL_MAKEINST} " >> # Optimization flags. >> ################################################################## >> # Beware: applied last to first >> -DEBUG_PREFIX_MAP ?= >> "-fmacro-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ >> +DEBUG_PREFIX_MAP ?= "-fcanon-prefix-map \ >> + -fmacro-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ >> -fdebug-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ >> -fmacro-prefix-map=${B}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ >> -fdebug-prefix-map=${B}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ >> -- >> 2.40.1 >> >> >> >> > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#180528): https://lists.openembedded.org/g/openembedded-core/message/180528 Mute This Topic: https://lists.openembedded.org/mt/98551742/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
