]> code.ossystems Code Review - openembedded-core.git/commit
gcc-runtime: Add missing libc dependency
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Dec 2018 11:52:56 +0000 (11:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Dec 2018 16:19:30 +0000 (16:19 +0000)
commit14c291e1fb6324da46885b69fbd7f01b3c6b053e
tree60a905c0c464525c0febc5e4cea0d1c583304788
parent6e2a488f01e5e8bc6f06b6fac1d336bf5372a82b
gcc-runtime: Add missing libc dependency

For reasons lost in the depths of time, perhaps performane related,
we only have a dependency on libc at packaging time. This is too late,
as demonstrated by a recent build failure on non-IA builds where
the glibc 2.29 upgrade had been removed from the build:

ld: recipe-sysroot/usr/lib/../lib/libstdc++.so: undefined reference to `log@GLIBC_2.29'

libstdc++ should have been rebuilt but had not as the dependency
wasn't present.

Add the missing dependency to avoid this problem (and drop the other
form of dependency which is no longer needed).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-runtime.inc