From 06e85a2603724647b090a4198dbee04673d0f622 Mon Sep 17 00:00:00 2001 From: wangbiao Date: Tue, 23 Jul 2024 16:45:52 +0900 Subject: [PATCH] set QEMU_GUEST_BASE env for riscv64 arch Change-Id: I1c962eb987026856d56c5e6f7430fd1e42064995 Signed-off-by: wangbiao --- packaging/baselibs.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf index aa1dee3..9f504a9 100644 --- a/packaging/baselibs.conf +++ b/packaging/baselibs.conf @@ -30,7 +30,7 @@ targettype cross package qemu-linux-user post "# workaround for using ldd on non-pie executable causes segfault" post "# ex) ldd /usr/bin/which" post "# ldd: exited with unknown exit code (139)" - post "%ifarch aarch64" + post "%ifarch aarch64 riscv64" post "echo 'export QEMU_GUEST_BASE=0x5500000000' > /etc/profile.d/qemu_base.sh" post "chmod 755 /etc/profile.d/qemu_base.sh" post "%endif" @@ -58,7 +58,7 @@ targettype x86_64-cross package qemu-linux-user post "# workaround for using ldd on non-pie executable causes segfault" post "# ex) ldd /usr/bin/which" post "# ldd: exited with unknown exit code (139)" - post "%ifarch aarch64" + post "%ifarch aarch64 riscv64" post "echo 'export QEMU_GUEST_BASE=0x5500000000' > /etc/profile.d/qemu_base.sh" post "chmod 755 /etc/profile.d/qemu_base.sh" post "%endif" @@ -86,7 +86,7 @@ targettype x86-cross package qemu-linux-user post "# workaround for using ldd on non-pie executable causes segfault" post "# ex) ldd /usr/bin/which" post "# ldd: exited with unknown exit code (139)" - post "%ifarch aarch64" + post "%ifarch aarch64 riscv64" post "echo 'export QEMU_GUEST_BASE=0x5500000000' > /etc/profile.d/qemu_base.sh" post "chmod 755 /etc/profile.d/qemu_base.sh" post "%endif" -- 2.7.4