Files
poky/meta/site/common-musl
Khem Raj 9353730a6b bash: build with bash_cv_getcwd_malloc=yes on musl too
This fixes bash using its own broken getcwd() during cross compiling
The configure script assumes that your getcwd() function is broken.
Which then makes bash use it's own getcwd() implementation, which
doesn't work if the path to the current directory
contains bind mounts in its paths. This shows up as:

Fixes errors on musl images like
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor

(From OE-Core rev: 2137f68f6e84b669b5aba8f12237f164f710dba2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:16 +01:00

2.8 KiB

general

ac_cv_func_calloc_0_nonnull=${ac_cv_func_calloc_0_nonnull=yes} ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} ac_cv_func_memcmp_working=${ac_cv_func_memcmp_working=yes} ac_cv_func_getpgrp_void=yes ac_cv_func_setpgrp_void=yes ac_cv_func_setgrent_void=yes ac_cv_func_getgrgid_r=${ac_cv_func_getgrgid_r=yes} ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} 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}

glib

glib_cv_strlcpy=${glib_cv_strlcpy=no} ac_cv_func_printf_unix98=${ac_cv_func_printf_unix98=yes} ac_cv_func_snprintf_c99=${ac_cv_func_snprintf_c99=yes} ac_cv_func_vsnprintf_c99=${ac_cv_func_vsnprintf_c99=yes} glib_cv_compliant_posix_memalign=${glib_cv_compliant_posix_memalign=1} glib_cv_long_long_format=${glib_cv_long_long_format=ll} glib_cv_have_qsort_r=${glib_cv_have_qsort_r=yes}

#dbus-glib ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}

bash

bash_cv_getcwd_malloc=${bash_cv_getcwd_malloc=yes}

coreutils

fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes} gl_cv_func_getcwd_abort_bug=${gl_cv_func_getcwd_abort_bug=no} gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes} gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max='no, but it is partly working'} ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes} gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no} gl_cv_func_nanosleep=${gl_cv_func_nanosleep=yes} gl_cv_func_strtod_works=${gl_cv_func_strtod_works=yes} gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no} gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes} gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} gl_cv_func_working_mktime=${gl_cv_func_working_mktime=yes} gl_cv_func_working_utimes=${gl_cv_func_working_utimes=yes} ac_cv_func_posix_spawn=${ac_cv_func_posix_spawn=yes} ac_cv_func_posix_spawn_works=${ac_cv_func_posix_spawn_works=yes}

va_copy and _va_copy

ac_cv_va_copy=${ac_cv_va_copy=yes} ac_cv___va_copy=${ac_cv___va_copy=yes} ac_cv_func_va_copy=${ac_cv_func_va_copy=yes} ac_cv_func___va_copy=${ac_cv_func___va_copy=yes}

posix_getpwuid_r posix_getgrgid_r posix_getpwnam_r

ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}

Xorg

xorg_cv_malloc0_returns_null=${xorg_cv_malloc0_returns_null=yes}