All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-filesystems][PATCH 1/2] xfsdump: Add -D_LARGEFILE64_SOURCE on musl
@ 2022-12-23 18:09 Khem Raj
  2022-12-23 18:09 ` [meta-filesystems][PATCH 2/2] xfstests: " Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2022-12-23 18:09 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj

it used lfs64 funcitons which are under _LARGEFILE64_SOURCE and musl
does not define it indirectly undet _GNU_SOURCE like glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb
index 659d604a66..9e595b9521 100644
--- a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb
+++ b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb
@@ -23,6 +23,7 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext"
 
 CFLAGS += "-D_FILE_OFFSET_BITS=64"
+TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE"
 
 do_configure () {
     export DEBUG="-DNDEBUG"
-- 
2.39.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [meta-filesystems][PATCH 2/2] xfstests: Add -D_LARGEFILE64_SOURCE on musl
  2022-12-23 18:09 [meta-filesystems][PATCH 1/2] xfsdump: Add -D_LARGEFILE64_SOURCE on musl Khem Raj
@ 2022-12-23 18:09 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2022-12-23 18:09 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj

it used lfs64 funcitons which are under _LARGEFILE64_SOURCE and musl
does not define it indirectly undet _GNU_SOURCE like glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-filesystems/recipes-utils/xfstests/xfstests_2022.12.11.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2022.12.11.bb b/meta-filesystems/recipes-utils/xfstests/xfstests_2022.12.11.bb
index 136fea8adc..b7cbd3a6d5 100644
--- a/meta-filesystems/recipes-utils/xfstests/xfstests_2022.12.11.bb
+++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2022.12.11.bb
@@ -41,6 +41,7 @@ USERADD_PARAM:${PN} = "-U -m fsgqa; -N 123456-fsgqa; -N fsgqa2"
 
 EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root"
 
+TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE"
 # install-sh script in the project is outdated
 # we use the one from the latest libtool to solve installation issues
 # It looks like the upstream is not interested in having it fixed :(
-- 
2.39.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-23 18:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23 18:09 [meta-filesystems][PATCH 1/2] xfsdump: Add -D_LARGEFILE64_SOURCE on musl Khem Raj
2022-12-23 18:09 ` [meta-filesystems][PATCH 2/2] xfstests: " Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.