pseudo: Fix to work with glibc 2.34 systems
PATCH 1/1 pseudo: Fix to work with glibc 2.34 systems
The merge of libdl into libc in glibc 2.34 causes problems for pseudo. Add a fix that works around this issue.
Signed-off-by Richard Purdie <[email protected]>
--- .../pseudo/files/build-oldlibc | 20 ++++++++ .../pseudo/files/older-glibc-symbols.patch | 49 +++++++++++++++++++ meta/recipes-devtools/pseudo/pseudo_git.bb | 4 ++ 3 files changed, 73 insertions(+) create mode 100755 meta/recipes-devtools/pseudo/files/build-oldlibc create mode 100644 meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
meta/recipes-devtools/pseudo/files/build-oldlibc new file +20 -0
@@ -0,0 +1,20 @@ +#!/bin/sh +# +# Script to re-generate pseudo-prebuilt-2.33.tar.xz +# +# Copyright (C) 2021 Richard Purdie +# +# SPDX-License-Identifier: GPL-2.0-only +# + +for i in x86_64 aarch64 i686; do + if [ ! -e $i-nativesdk-libc.tar.xz ]; then + wget http://downloads.yoctoproject.org/releases/uninative/3.2/$i-nativesdk-libc.tar.xz + fi + tar -xf $i-nativesdk-libc.tar.xz --wildcards \*/lib/libpthread\* \*/lib/libdl\* + cd $i-linux/lib + ln -s libdl.so.2 libdl.so + ln -s libpthread.so.0 libpthread.so + cd ../.. +done +tar -cJf pseudo-prebuilt-2.33.tar.xz *-linux
meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch new file +49 -0
49 lines not on this page · raw message
meta/recipes-devtools/pseudo/pseudo_git.bb +4 -0
@@ -5,6 +5,10 @@ SRC_URI = "git://git.yoctoproject.org/pseudo;branch=oe-core \ file://fallback-passwd \ file://fallback-group \ " +SRC_URI:append:class-native = " \ + http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt \ + file://older-glibc-symbols.patch" +SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" SRCREV = "b988b0a6b8afd8d459bc9a2528e834f63a3d59b2" S = "${WORKDIR}/git"
Signature · 1 line
2.32.0