mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
aufs-util: Fix build with large file support enabled systems
Fixes
| /mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/aufs-util/4.9+gitAUTOINC+8f35db59ef-r0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-ld: rdu64.o: in function `readdir64':
| <unknown>:122: multiple definition of `readdir64'; rdu.o:<unknown>:122: first defined here
| /mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/aufs-util/4.9+gitAUTOINC+8f35db59ef-r0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-ld: rdu64.o: in function `readdir64_r':
| <unknown>:139: multiple definition of `readdir64_r'; rdu.o:<unknown>:139: first defined here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c8e7f93867)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
232db53707
commit
dfab7834b6
|
|
@ -0,0 +1,32 @@
|
||||||
|
From 12ba95281d0bbea3576350d635b4dee0f953b94a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Tue, 29 Nov 2022 18:38:07 -0800
|
||||||
|
Subject: [PATCH] libau: Do not build LFS version of readdir
|
||||||
|
|
||||||
|
rdu64 is providing largefile supported version of readdir and readdir_r
|
||||||
|
however, we enable largefile support unconditionally in OE therefore its
|
||||||
|
not needed since readdir() and readdir_r() are already LFS capable
|
||||||
|
|
||||||
|
Upstream-Status: Inappropriate [OE-Specific]
|
||||||
|
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
libau/Makefile | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/libau/Makefile b/libau/Makefile
|
||||||
|
index 9ada831..1fd1ccc 100644
|
||||||
|
--- a/libau/Makefile
|
||||||
|
+++ b/libau/Makefile
|
||||||
|
@@ -30,7 +30,7 @@ STRIP ?= strip
|
||||||
|
all: ${LibSo}
|
||||||
|
|
||||||
|
ifeq (${Glibc},yes)
|
||||||
|
-LibSoObj += rdu64.o
|
||||||
|
+#LibSoObj += rdu64.o
|
||||||
|
|
||||||
|
# this is unnecessary on 64bit system?
|
||||||
|
rdu64.c: rdu.c
|
||||||
|
--
|
||||||
|
2.38.1
|
||||||
|
|
||||||
|
|
@ -12,6 +12,7 @@ SRC_URI = "git://git.code.sf.net/p/aufs/aufs-util;protocol=git;branch=aufs4.9 \
|
||||||
https://raw.githubusercontent.com/sfjro/aufs4-linux/aufs4.9/include/uapi/linux/aufs_type.h;name=aufs_type \
|
https://raw.githubusercontent.com/sfjro/aufs4-linux/aufs4.9/include/uapi/linux/aufs_type.h;name=aufs_type \
|
||||||
file://aufs-util-don-t-strip-executables.patch \
|
file://aufs-util-don-t-strip-executables.patch \
|
||||||
file://aufs-util-add-tool-concept-to-Makefile-for-cross-com.patch \
|
file://aufs-util-add-tool-concept-to-Makefile-for-cross-com.patch \
|
||||||
|
file://0001-libau-Do-not-build-LFS-version-of-readdir.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[aufs_type.md5sum] = "b37129ef0703de72a852db7e48bdedc6"
|
SRC_URI[aufs_type.md5sum] = "b37129ef0703de72a852db7e48bdedc6"
|
||||||
SRC_URI[aufs_type.sha256sum] = "7ff6566adb9c7a3b6862cdc85a690ab546f1d0bc81ddd595fd663c0a69031683"
|
SRC_URI[aufs_type.sha256sum] = "7ff6566adb9c7a3b6862cdc85a690ab546f1d0bc81ddd595fd663c0a69031683"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user