diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-18 11:52:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-18 16:19:34 +0000 |
commit | 6976c4cc1206e9f6c1b149f2f97e74660b1c69fe (patch) | |
tree | dc4fb330d6709c015b415075688c8316b836b868 /meta | |
parent | 739c420caa13bd87df6fd27bf69fb8be871a9e50 (diff) | |
download | poky-6976c4cc1206e9f6c1b149f2f97e74660b1c69fe.tar.gz |
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).
(From OE-Core rev: 14c291e1fb6324da46885b69fbd7f01b3c6b053e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 9e7e7c5b3d..95153da20c 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
@@ -128,7 +128,7 @@ do_install_append_class-target () { | |||
128 | } | 128 | } |
129 | 129 | ||
130 | INHIBIT_DEFAULT_DEPS = "1" | 130 | INHIBIT_DEFAULT_DEPS = "1" |
131 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ libgcc" | 131 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ libgcc virtual/${MLPREFIX}libc" |
132 | PROVIDES = "virtual/${TARGET_PREFIX}compilerlibs" | 132 | PROVIDES = "virtual/${TARGET_PREFIX}compilerlibs" |
133 | 133 | ||
134 | BBCLASSEXTEND = "nativesdk" | 134 | BBCLASSEXTEND = "nativesdk" |
@@ -288,7 +288,3 @@ FILES_libmpx-dev = "\ | |||
288 | SUMMARY_libmpx-dev = "Intel Memory Protection Extension library - development files" | 288 | SUMMARY_libmpx-dev = "Intel Memory Protection Extension library - development files" |
289 | FILES_libmpx-staticdev = "${libdir}/libmpx.a ${libdir}/libmpxwrappers.a" | 289 | FILES_libmpx-staticdev = "${libdir}/libmpx.a ${libdir}/libmpxwrappers.a" |
290 | SUMMARY_libmpx-staticdev = "Intel Memory Protection Extension library - static development files" | 290 | SUMMARY_libmpx-staticdev = "Intel Memory Protection Extension library - static development files" |
291 | |||
292 | do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata" | ||
293 | do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" | ||
294 | do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata" | ||