Installing emacs on Ubuntu 24.04 pulls in emacs-gtk which leads to libgcc-14-dev
despite gcc being 13. This breaks libcxx-native and compiler-rt-native builds.
We've tried various ways of addressing this buit they don't work. Instead, detect
this situation and tell the user to either install or remove a package.
(From OE-Core rev: 087b2730bb2446ad5ea98c233e349d2787c17ff1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>