]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
sanity: Add sanity test for 'bad' gcc installs on ubuntu 24.04
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Jul 2025 21:34:02 +0000 (22:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Jul 2025 07:47:59 +0000 (08:47 +0100)
commit087b2730bb2446ad5ea98c233e349d2787c17ff1
tree0939ef969f7ab3a5107ed5149a82a9dc10c6a789
parent48277f45cfd497ebceeb1bfffdefce094fac13c2
sanity: Add sanity test for 'bad' gcc installs on ubuntu 24.04

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/sanity.bbclass