diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-17 15:21:26 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-25 21:53:34 +0100 |
| commit | 4cc61c81f7558f5fdbc8cc83a5c2be85545a8181 (patch) | |
| tree | f104f53010367826e78a3388c93fbdaf903bb92e /meta/recipes-devtools/pseudo/files/build-oldlibc | |
| parent | c3e72164e7a0c51de04a9295e5f50c2e233965f7 (diff) | |
| download | poky-4cc61c81f7558f5fdbc8cc83a5c2be85545a8181.tar.gz | |
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.
(From OE-Core rev: dd3e46a043c81cd4d81731a0f691868d3c059742)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pseudo/files/build-oldlibc')
| -rwxr-xr-x | meta/recipes-devtools/pseudo/files/build-oldlibc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/files/build-oldlibc b/meta/recipes-devtools/pseudo/files/build-oldlibc new file mode 100755 index 0000000000..85c438de4e --- /dev/null +++ b/meta/recipes-devtools/pseudo/files/build-oldlibc | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | # | ||
| 3 | # Script to re-generate pseudo-prebuilt-2.33.tar.xz | ||
| 4 | # | ||
| 5 | # Copyright (C) 2021 Richard Purdie | ||
| 6 | # | ||
| 7 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 8 | # | ||
| 9 | |||
| 10 | for i in x86_64 aarch64 i686; do | ||
| 11 | if [ ! -e $i-nativesdk-libc.tar.xz ]; then | ||
| 12 | wget http://downloads.yoctoproject.org/releases/uninative/3.2/$i-nativesdk-libc.tar.xz | ||
| 13 | fi | ||
| 14 | tar -xf $i-nativesdk-libc.tar.xz --wildcards \*/lib/libpthread\* \*/lib/libdl\* | ||
| 15 | cd $i-linux/lib | ||
| 16 | ln -s libdl.so.2 libdl.so | ||
| 17 | ln -s libpthread.so.0 libpthread.so | ||
| 18 | cd ../.. | ||
| 19 | done | ||
| 20 | tar -cJf pseudo-prebuilt-2.33.tar.xz *-linux \ No newline at end of file | ||
