Skip to content

Commit 35ab9a6

Browse files
committed
[sysroot] Use a merged /usr layout
In the RISC-V 32-bit sysroot, some quirk seems to cause compiled binaries to fail to locate libc.so.6 if they were linked with -lslirp. Experiments indicate that the loader is for some reason searching for /usr/lib/libc.so.6 rather than /lib/libc.so.6. Fix by using a merged /usr layout so that this distinction goes away. Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
1 parent 3c2be97 commit 35ab9a6

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
BR2_arm=y
22
BR2_ARM_ENABLE_VFP=y
33
BR2_INIT_NONE=y
4+
BR2_ROOTFS_MERGED_USR=y
45
BR2_SYSTEM_BIN_SH_NONE=y
56
# BR2_PACKAGE_BUSYBOX is not set
67
BR2_PACKAGE_SLIRP=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
BR2_aarch64=y
22
BR2_INIT_NONE=y
3+
BR2_ROOTFS_MERGED_USR=y
34
BR2_SYSTEM_BIN_SH_NONE=y
45
# BR2_PACKAGE_BUSYBOX is not set
56
BR2_PACKAGE_SLIRP=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
BR2_loongarch64=y
22
BR2_INIT_NONE=y
3+
BR2_ROOTFS_MERGED_USR=y
34
BR2_SYSTEM_BIN_SH_NONE=y
45
# BR2_PACKAGE_BUSYBOX is not set
56
BR2_PACKAGE_SLIRP=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
BR2_riscv=y
22
BR2_RISCV_32=y
33
BR2_INIT_NONE=y
4+
BR2_ROOTFS_MERGED_USR=y
45
BR2_SYSTEM_BIN_SH_NONE=y
56
# BR2_PACKAGE_BUSYBOX is not set
67
BR2_PACKAGE_SLIRP=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
BR2_riscv=y
22
BR2_INIT_NONE=y
3+
BR2_ROOTFS_MERGED_USR=y
34
BR2_SYSTEM_BIN_SH_NONE=y
45
# BR2_PACKAGE_BUSYBOX is not set
56
BR2_PACKAGE_SLIRP=y

0 commit comments

Comments
 (0)