On Fri, 2023-01-06 at 16:08 -0800, Khem Raj wrote: > off_t is always 64bit on musl regardless of 32bit or 64bit > architectures. autoconf has AC_SYS_LARGEFILE to detect correct off_t > size but it only work with glibc since it defines feature macros > _FILE_OFFSET_BITS=64 and _LARGEFILE_SOURCE but these macros are > not used on musl headers. > > Signed-off-by: Khem Raj <[email protected]> > Cc: Nicolas Dechesne <[email protected]> > --- > meta/site/common-musl | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/site/common-musl b/meta/site/common-musl > index 86aed4a38c..23e50ef749 100644 > --- a/meta/site/common-musl > +++ b/meta/site/common-musl > @@ -15,6 +15,8 @@ > ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} > ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} > ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} > ac_cv_func_strtod=${ac_cv_func_strtod=yes} > +# off_t is always 64bit on musl systems > +ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64} >
Not sure if this failure might be related to this change: https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/6496/steps/12/logs/stdio Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#175621): https://lists.openembedded.org/g/openembedded-core/message/175621 Mute This Topic: https://lists.openembedded.org/mt/96105410/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
