>>> shadow 4.14.5 Extracting xzcat /home/buildroot/instance-0/dl/shadow/shadow-4.14.5.tar.xz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/shadow-4.14.5 -xf - >>> shadow 4.14.5 Patching >>> shadow 4.14.5 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/instance-0/output-1/build/shadow-4.14.5 -name $file); do cp support/gnuconfig/$file $i; done; done >>> shadow 4.14.5 Patching libtool patching file /home/buildroot/instance-0/output-1/build/shadow-4.14.5/ltmain.sh Hunk #1 succeeded at 2939 (offset 252 lines). Hunk #2 succeeded at 4532 (offset 255 lines). Hunk #3 succeeded at 6828 (offset 274 lines). Hunk #4 succeeded at 6838 (offset 274 lines). Hunk #5 succeeded at 7138 (offset 281 lines). Hunk #6 succeeded at 7442 (offset 293 lines). Hunk #7 succeeded at 8423 (offset 311 lines). Hunk #8 succeeded at 11058 (offset 348 lines). >>> shadow 4.14.5 Configuring (cd /home/buildroot/instance-0/output-1/build/shadow-4.14.5/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/arm-linux-as" LD="/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld" NM="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/arm-linux-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/arm-linux-g++" FC="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/arm-linux-readelf" STRIP="/home/buildroot/instance-0/output-1/host/bin/arm-linux-strip" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/arm-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no LIBS= CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-uclibcgnueabi --host=arm-buildroot-linux-uclibcgnueabi --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-man --without-btrfs --without-nscd --without-skey --without-sssd --without-su --without-tcb --disable-shadowgrp --disable-account-tools-setuid --enable-subordinate-ids --without-acl --without-attr --without-audit --with-libcrack --without-selinux --without-libpam --with-sha-crypt --without-bcrypt --without-yescrypt --without-libbsd ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-buildroot-linux-uclibcgnueabi-strip... /home/buildroot/instance-0/output-1/host/bin/arm-linux-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for arm-buildroot-linux-uclibcgnueabi-gcc... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc accepts -g... yes checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc option to enable C11 features... none needed checking whether /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc understands -c and -o together... yes checking dependency style of /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for utime.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether to enable maintainer-specific portions of Makefiles... no checking for arm-buildroot-linux-uclibcgnueabi-gcc... (cached) /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc checking whether the compiler supports GNU C... (cached) yes checking whether /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc accepts -g... (cached) yes checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc option to enable C11 features... (cached) none needed checking whether /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc understands -c and -o together... (cached) yes checking dependency style of /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc... (cached) none checking whether ln -s works... yes checking for bison... bison -y checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-linux-uclibcgnueabi checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc... /home/buildroot/instance-0/output-1/host/bin/arm-linux-ld checking if the linker (/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm checking the name lister (/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arm-buildroot-linux-uclibcgnueabi format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-ld option to reload object files... -r checking for arm-buildroot-linux-uclibcgnueabi-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for arm-buildroot-linux-uclibcgnueabi-objdump... /home/buildroot/instance-0/output-1/host/bin/arm-linux-objdump checking how to recognize dependent libraries... pass_all checking for arm-buildroot-linux-uclibcgnueabi-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-buildroot-linux-uclibcgnueabi-ar... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-uclibcgnueabi-strip... (cached) /home/buildroot/instance-0/output-1/host/bin/arm-linux-strip checking for arm-buildroot-linux-uclibcgnueabi-ranlib... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-ranlib checking command to parse /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm output from /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arm-buildroot-linux-uclibcgnueabi-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc static flag -static works... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc supports -c -o file.o... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc linker (/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc options needed to detect all undeclared functions... none needed checking for library containing dlopen... none required checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for crypt.h... yes checking for utmp.h... yes checking for termio.h... yes checking for sgtty.h... yes checking for sys/ioctl.h... yes checking for paths.h... yes checking for sys/capability.h... yes checking for sys/random.h... yes checking for gshadow.h... no checking for lastlog.h... yes checking for rpc/key_prot.h... no checking for acl/libacl.h... no checking for attr/libattr.h... no checking for attr/error_context.h... no checking for shadow.h... yes checking for arc4random_buf... no checking for futimes... no checking for getentropy... no checking for getrandom... yes checking for getspnam... yes checking for getusershell... yes checking for initgroups... yes checking for lckpwdf... yes checking for lutimes... yes checking for mempcpy... yes checking for setgroups... yes checking for updwtmp... yes checking for updwtmpx... yes checking for innetgr... no checking for getspnam_r... yes checking for rpmatch... yes checking for memset_explicit... no checking for explicit_bzero... no checking for stpecpy... no checking for stpeprintf... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for struct utmp.ut_type... yes checking for struct utmp.ut_id... yes checking for struct utmp.ut_name... yes checking for struct utmp.ut_user... yes checking for struct utmp.ut_host... yes checking for struct utmp.ut_syslen... no checking for struct utmp.ut_addr... yes checking for struct utmp.ut_addr_v6... yes checking for struct utmp.ut_time... yes checking for struct utmp.ut_xtime... yes checking for struct utmp.ut_tv... yes checking how to run the C preprocessor... /home/buildroot/instance-0/output-1/host/bin/arm-linux-cpp checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking whether utime accepts a null argument... guessing yes checking for putgrent... yes checking for putpwent... yes checking for putspent... yes checking for sgetgrent... no checking for sgetpwent... no checking for sgetspent... yes checking for setpgrp... yes checking for secure_getenv... yes checking for working shadow group support... no checking location of shared mail directory... /var/mail checking location of user mail file... none checking location of utmp... /var/run checking location of faillog/lastlog/wtmp... /var/log checking location of the passwd program... /usr/bin checking for library containing gethostbyname... none required checking for econf_readDirs in -leconf... no checking size of uid_t... 4 checking size of gid_t... 4 checking for sd_session_get_remote_host in -lsystemd... no checking for crypt in -lcrypt... yes checking for crypt in -lcrypt... (cached) yes checking for strlcpy... yes checking cracklib flavour, don't be surprised by the results checking for FascistCheck in -lcrack... yes checking for FascistHistory in -lcrack... no checking for FascistHistoryPw in -lcrack... no checking use login and su access checking if PAM not used... yes checking for fgetpwent_r... yes checking whether NLS is requested... no checking for msgfmt... /home/buildroot/instance-0/output-1/host/bin/msgfmt checking for gmsgfmt... /home/buildroot/instance-0/output-1/host/bin/msgfmt checking for xgettext... /home/buildroot/instance-0/output-1/host/bin/xgettext checking for msgmerge... /home/buildroot/instance-0/output-1/host/bin/msgmerge checking for ld used by /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc... /home/buildroot/instance-0/output-1/host/bin/arm-linux-ld checking if the linker (/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether to use NLS... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating man/Makefile config.status: creating man/config.xml config.status: creating man/po/Makefile config.status: creating man/cs/Makefile config.status: creating man/da/Makefile config.status: creating man/de/Makefile config.status: creating man/es/Makefile config.status: creating man/fi/Makefile config.status: creating man/fr/Makefile config.status: creating man/hu/Makefile config.status: creating man/id/Makefile config.status: creating man/it/Makefile config.status: creating man/ja/Makefile config.status: creating man/ko/Makefile config.status: creating man/pl/Makefile config.status: creating man/pt_BR/Makefile config.status: creating man/ru/Makefile config.status: creating man/sv/Makefile config.status: creating man/tr/Makefile config.status: creating man/uk/Makefile config.status: creating man/zh_CN/Makefile config.status: creating man/zh_TW/Makefile config.status: creating lib/Makefile config.status: creating libsubid/Makefile config.status: creating libsubid/subid.h config.status: creating src/Makefile config.status: creating contrib/Makefile config.status: creating etc/Makefile config.status: creating etc/pam.d/Makefile config.status: creating etc/shadow-maint/Makefile config.status: creating shadow.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6 shadow will be compiled with the following features: auditing support: no CrackLib support: yes PAM support: no SELinux support: no BtrFS support: no ACL support: no Extended Attributes support: no tcb support (incomplete): no shadow group support: no S/Key support: no SHA passwords encryption: yes bcrypt passwords encryption: no yescrypt passwords encryption: no nscd support: no sssd support: no subordinate IDs support: yes enable lastlog: no enable logind: no use file caps: no install su: no enabled vendor dir: >>> shadow 4.14.5 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/shadow-4.14.5/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/shadow-4.14.5' /usr/bin/make all-recursive make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/shadow-4.14.5' Making all in lib make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/shadow-4.14.5/lib' CC libshadow_la-addgrps.lo CC libshadow_la-age.lo CC libshadow_la-agetpass.lo CC libshadow_la-alloc.lo CC libshadow_la-audit_help.lo CC libshadow_la-basename.lo CC libshadow_la-bit.lo CC libshadow_la-chkname.lo CC libshadow_la-chowndir.lo CC libshadow_la-chowntty.lo CC libshadow_la-cleanup.lo CC libshadow_la-cleanup_group.lo CC libshadow_la-cleanup_user.lo CC libshadow_la-commonio.lo CC libshadow_la-console.lo CC libshadow_la-copydir.lo CC libshadow_la-csrand.lo CC libshadow_la-date_to_str.lo CC libshadow_la-encrypt.lo In file included from alloc.c:24: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from agetpass.c:18: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from commonio.c:25: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from addgrps.c:21: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ addgrps.c: In function 'add_groups': alloc.h:41:2: warning: implicit declaration of function 'static_assert' [-Wimplicit-function-declaration] 41 | static_assert(__builtin_types_compatible_p(typeof(p_), type *), ""); \ | ^~~~~~~~~~~~~ addgrps.c:93:15: note: in expansion of macro 'REALLOCF' 93 | grouplist = REALLOCF(grouplist, (size_t) ngroups + 1, GETGROUPS_T); | ^~~~~~~~ In file included from copydir.c:21: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ commonio.c: In function 'commonio_open': alloc.h:32:2: warning: implicit declaration of function 'static_assert' [-Wimplicit-function-declaration] 32 | static_assert(__builtin_types_compatible_p(typeof(p_), type *), ""); \ | ^~~~~~~~~~~~~ commonio.c:654:9: note: in expansion of macro 'REALLOC' 654 | cp = REALLOC(buf, buflen, char); | ^~~~~~~ CC libshadow_la-entry.lo CC libshadow_la-env.lo CC libshadow_la-failure.lo CC libshadow_la-fields.lo CC libshadow_la-find_new_gid.lo CC libshadow_la-find_new_uid.lo CC libshadow_la-find_new_sub_gids.lo CC libshadow_la-find_new_sub_uids.lo CC libshadow_la-fputsx.lo CC libshadow_la-get_gid.lo CC libshadow_la-get_pid.lo CC libshadow_la-get_uid.lo CC libshadow_la-getdate.lo CC libshadow_la-getdef.lo In file included from env.c:19: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from find_new_gid.c:15: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from entry.c:17: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-getlong.lo env.c: In function 'addenv': alloc.h:32:2: warning: implicit declaration of function 'static_assert' [-Wimplicit-function-declaration] 32 | static_assert(__builtin_types_compatible_p(typeof(p_), type *), ""); \ | ^~~~~~~~~~~~~ env.c:140:15: note: in expansion of macro 'REALLOC' 140 | __newenvp = REALLOC(newenvp, newenvc + NEWENVP_STEP, char *); | ^~~~~~~ In file included from find_new_uid.c:15: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-getgr_nam_gid.lo CC libshadow_la-getrange.lo CC libshadow_la-gettime.lo CC libshadow_la-getulong.lo CC libshadow_la-groupio.lo CC libshadow_la-groupmem.lo CC libshadow_la-gshadow.lo CC libshadow_la-hushed.lo CC libshadow_la-idmapping.lo CC libshadow_la-isexpired.lo CC libshadow_la-limits.lo CC libshadow_la-list.lo CC libshadow_la-lockpw.lo In file included from getdef.c:25: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from groupio.c:18: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-loginprompt.lo In file included from idmapping.c:15: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-mail.lo CC libshadow_la-mempcpy.lo CC libshadow_la-motd.lo CC libshadow_la-myname.lo In file included from groupmem.c:15: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-nss.lo CC libshadow_la-nscd.lo CC libshadow_la-obscure.lo CC libshadow_la-pam_pass.lo CC libshadow_la-pam_pass_non_interactive.lo CC libshadow_la-port.lo In file included from list.c:15: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-prefix_flag.lo In file included from loginprompt.c:18: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-pwauth.lo CC libshadow_la-pwio.lo CC libshadow_la-pwd_init.lo In file included from motd.c:16: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-pwd2spwd.lo CC libshadow_la-pwdcheck.lo In file included from nss.c:10: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from obscure.c:23: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-pwmem.lo In file included from mail.c:18: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ obscure.c: In function 'password_check': obscure.c:133:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | dictpath = getdef_str ("CRACKLIB_DICTPATH"); | ^ CC libshadow_la-remove_tree.lo CC libshadow_la-rlogin.lo CC libshadow_la-root_flag.lo CC libshadow_la-run_part.lo CC libshadow_la-salt.lo CC libshadow_la-selinux.lo In file included from prefix_flag.c:16: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-semanage.lo CC libshadow_la-setugid.lo In file included from pwmem.c:17: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-setupenv.lo CC libshadow_la-sgetgrent.lo CC libshadow_la-sgetpwent.lo CC libshadow_la-sgetspent.lo CC libshadow_la-sgroupio.lo CC libshadow_la-shadow.lo CC libshadow_la-shadowio.lo In file included from run_part.c:12: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-shadowlog.lo CC libshadow_la-shadowmem.lo CC libshadow_la-shell.lo CC libshadow_la-spawn.lo CC libshadow_la-sssd.lo CC libshadow_la-stpecpy.lo CC libshadow_la-stpeprintf.lo CC libshadow_la-strtoday.lo CC libshadow_la-sub.lo CC libshadow_la-subordinateio.lo In file included from sgetgrent.c:18: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-sulog.lo In file included from setupenv.c:24: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ sgetgrent.c: In function 'list': alloc.h:41:2: warning: implicit declaration of function 'static_assert' [-Wimplicit-function-declaration] 41 | static_assert(__builtin_types_compatible_p(typeof(p_), type *), ""); \ | ^~~~~~~~~~~~~ sgetgrent.c:49:14: note: in expansion of macro 'REALLOCF' 49 | members = REALLOCF(members, size, char *); | ^~~~~~~~ CC libshadow_la-ttytype.lo CC libshadow_la-tz.lo CC libshadow_la-ulimit.lo CC libshadow_la-user_busy.lo CC libshadow_la-valid.lo CC libshadow_la-write_full.lo In file included from shadowmem.c:20: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-xgetpwnam.lo CC libshadow_la-xprefix_getpwnam.lo CC libshadow_la-xgetpwuid.lo CC libshadow_la-xgetgrnam.lo CC libshadow_la-xgetgrgid.lo In file included from subordinateio.c:20: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC libshadow_la-xgetspnam.lo subordinateio.c: In function 'append_range': alloc.h:32:2: warning: implicit declaration of function 'static_assert' [-Wimplicit-function-declaration] 32 | static_assert(__builtin_types_compatible_p(typeof(p_), type *), ""); \ | ^~~~~~~~~~~~~ subordinateio.c:320:7: note: in expansion of macro 'REALLOC' 320 | sr = REALLOC(*ranges, n + 1, struct subid_range); | ^~~~~~~ CC libshadow_la-yesno.lo CC libshadow_la-utmp.lo CC libshadow_la-freezero.lo CC libshadow_la-readpassphrase.lo In file included from xgetXXbyYY.c:34, from xgetpwnam.c:40: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ xgetXXbyYY.c: In function 'xgetpwnam': alloc.h:50:2: warning: implicit declaration of function 'static_assert' [-Wimplicit-function-declaration] 50 | static_assert(__builtin_types_compatible_p(typeof(p_), type *), ""); \ | ^~~~~~~~~~~~~ xgetXXbyYY.c:63:12: note: in expansion of macro 'XREALLOC' 63 | buffer = XREALLOC(buffer, length, char); | ^~~~~~~~ In file included from xgetXXbyYY.c:34, from xgetpwuid.c:40: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from xgetXXbyYY.c:34, from xprefix_getpwnam.c:40: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from xgetXXbyYY.c:34, from xgetgrnam.c:40: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ freezero.c: In function 'freezero': freezero.c:28:2: warning: implicit declaration of function 'explicit_bzero' [-Wimplicit-function-declaration] 28 | explicit_bzero(ptr, sz); | ^~~~~~~~~~~~~~ xgetXXbyYY.c: In function 'xgetpwuid': alloc.h:50:2: warning: implicit declaration of function 'static_assert' [-Wimplicit-function-declaration] 50 | static_assert(__builtin_types_compatible_p(typeof(p_), type *), ""); \ | ^~~~~~~~~~~~~ xgetXXbyYY.c:63:12: note: in expansion of macro 'XREALLOC' 63 | buffer = XREALLOC(buffer, length, char); | ^~~~~~~~ xgetXXbyYY.c: In function 'xprefix_getpwnam': alloc.h:50:2: warning: implicit declaration of function 'static_assert' [-Wimplicit-function-declaration] 50 | static_assert(__builtin_types_compatible_p(typeof(p_), type *), ""); \ | ^~~~~~~~~~~~~ xgetXXbyYY.c:63:12: note: in expansion of macro 'XREALLOC' 63 | buffer = XREALLOC(buffer, length, char); | ^~~~~~~~ xgetXXbyYY.c: In function 'xgetgrnam': alloc.h:50:2: warning: implicit declaration of function 'static_assert' [-Wimplicit-function-declaration] 50 | static_assert(__builtin_types_compatible_p(typeof(p_), type *), ""); \ | ^~~~~~~~~~~~~ xgetXXbyYY.c:63:12: note: in expansion of macro 'XREALLOC' 63 | buffer = XREALLOC(buffer, length, char); | ^~~~~~~~ In file included from xgetXXbyYY.c:34, from xgetspnam.c:40: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from xgetXXbyYY.c:34, from xgetgrgid.c:40: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ xgetXXbyYY.c: In function 'xgetspnam': alloc.h:50:2: warning: implicit declaration of function 'static_assert' [-Wimplicit-function-declaration] 50 | static_assert(__builtin_types_compatible_p(typeof(p_), type *), ""); \ | ^~~~~~~~~~~~~ xgetXXbyYY.c:63:12: note: in expansion of macro 'XREALLOC' 63 | buffer = XREALLOC(buffer, length, char); | ^~~~~~~~ xgetXXbyYY.c: In function 'xgetgrgid': alloc.h:50:2: warning: implicit declaration of function 'static_assert' [-Wimplicit-function-declaration] 50 | static_assert(__builtin_types_compatible_p(typeof(p_), type *), ""); \ | ^~~~~~~~~~~~~ xgetXXbyYY.c:63:12: note: in expansion of macro 'XREALLOC' 63 | buffer = XREALLOC(buffer, length, char); | ^~~~~~~~ In file included from utmp.c:25: alloc.h: In function 'mallocarray': alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.h: In function 'reallocarrayf': alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CCLD libshadow.la make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/shadow-4.14.5/lib' Making all in libsubid make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/shadow-4.14.5/libsubid' CC api.lo CCLD libsubid.la make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/shadow-4.14.5/libsubid' Making all in src make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/shadow-4.14.5/src' CC groups.o CC login.o CC login_nopam.o CC getsubids-getsubids.o CC id.o CC sulogin.o CC get_subid_owners-get_subid_owners.o CC new_subid_range-new_subid_range.o CC free_subid_range-free_subid_range.o CC check_subid_range-check_subid_range.o CC nologin.o CC faillog.o CC chage.o CC chfn.o CC chsh.o CC expiry.o CC gpasswd.o In file included from groups.c:18: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC newgrp.o In file included from login.c:28: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from chsh.c:20: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from chfn.c:21: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chage.c:29: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ login_nopam.c: In function 'resolve_hostname': login_nopam.c:284:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 284 | addr_str = string; | ^ In file included from id.c:27: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC passwd.o CC newgidmap.o CC newuidmap.o CC chgpasswd.o In file included from newgrp.c:20: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from gpasswd.c:23: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC chpasswd.o CC groupadd.o CC groupdel.o CC groupmems.o CC groupmod.o In file included from passwd.c:23: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC grpck.o CC grpconv.o CC grpunconv.o In file included from groupmems.c:22: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC logoutd.o CC newusers.o In file included from groupmod.c:28: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CC pwck.o CC pwconv.o CC pwunconv.o CC useradd.o CC userdel.o CC usermod.o CC vipw.o In file included from newusers.c:33: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CCLD groups CCLD getsubids CCLD id In file included from useradd.c:39: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ CCLD sulogin CCLD get_subid_owners In file included from userdel.c:23: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ useradd.c: In function 'get_defaults': useradd.c:502:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 502 | cp = def_log_init; /* XXX warning: const */ | ^ In file included from usermod.c:34: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ In file included from vipw.c:30: ../lib/alloc.h: In function 'mallocarray': ../lib/alloc.h:90:9: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~ | xreallocarray ../lib/alloc.h:90:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 90 | return reallocarray(NULL, nmemb, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/alloc.h: In function 'reallocarrayf': ../lib/alloc.h:99:4: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 99 | q = reallocarray(p, nmemb, size); | ^ usermod.c: In function 'process_flags': usermod.c:1085:14: warning: passing argument 1 of 'gr_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1085 | gr_free (grp); | ^~~ In file included from usermod.c:42: ../lib/prototypes.h:194:56: note: expected 'struct group *' but argument is of type 'const struct group *' 194 | extern void gr_free (/*@out@*/ /*@only@*/struct group *grent); | ~~~~~~~~~~~~~~^~~~~ CCLD new_subid_range CCLD free_subid_range CCLD check_subid_range CCLD nologin CCLD faillog CCLD chage /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: groups.o: in function `main': groups.c:(.text.startup+0x30): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-alloc.o): in function `mallocarray': alloc.c:(.text+0xc): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-alloc.o): in function `reallocarrayf': alloc.c:(.text+0x20): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-alloc.o): in function `xreallocarray': alloc.c:(.text+0xc0): undefined reference to `reallocarray' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1069: groups] Error 1 make[3]: *** Waiting for unfinished jobs.... /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so: undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so: undefined reference to `explicit_bzero' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so: undefined reference to `reallocarray' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1045: getsubids] Error 1 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: id.o: in function `main': id.c:(.text.startup+0x3c): undefined reference to `reallocarray' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1085: id] Error 1 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-agetpass.o): in function `agetpass': agetpass.c:(.text+0x14): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-env.o): in function `addenv': env.c:(.text+0x178): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: env.c:(.text+0x190): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-freezero.o): in function `freezero': freezero.c:(.text+0xc): undefined reference to `explicit_bzero' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-alloc.o): in function `mallocarray': alloc.c:(.text+0xc): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-alloc.o): in function `reallocarrayf': alloc.c:(.text+0x20): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-alloc.o): in function `xreallocarray': alloc.c:(.text+0xc0): undefined reference to `reallocarray' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1145: sulogin] Error 1 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-subordinateio.o): in function `subordinate_dup': subordinateio.c:(.text+0x68): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-subordinateio.o): in function `list_owner_ranges': subordinateio.c:(.text+0xce4): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: subordinateio.c:(.text+0xcf8): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: subordinateio.c:(.text+0xd60): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: subordinateio.c:(.text+0xd74): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-subordinateio.o): in function `find_subid_owners': subordinateio.c:(.text+0xfa0): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: subordinateio.c:(.text+0xfb4): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-commonio.o): in function `commonio_lock_nowait': commonio.c:(.text+0x778): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: commonio.c:(.text+0x794): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-commonio.o): in function `commonio_open': commonio.c:(.text+0xef8): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: commonio.c:(.text+0xf54): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: commonio.c:(.text+0xf64): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: commonio.c:(.text+0x1008): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-commonio.o): in function `commonio_sort': commonio.c:(.text+0x11d4): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-commonio.o): in function `commonio_update': commonio.c:(.text+0x1558): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-commonio.o): in function `commonio_append': commonio.c:(.text+0x16a8): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-nss.o):nss.c:(.text+0x208): more undefined references to `reallocarray' follow collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1009: check_subid_range] Error 1 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so: undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so: undefined reference to `explicit_bzero' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so: undefined reference to `reallocarray' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1101: new_subid_range] Error 1 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so: undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so: undefined reference to `explicit_bzero' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so: undefined reference to `reallocarray' collect2: error: ld returned 1 exit status /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so: undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so: undefined reference to `explicit_bzero' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsubid/.libs/libsubid.so:make[3]: *** [Makefile:1041: get_subid_owners] Error 1 undefined reference to `reallocarray' collect2: error: ld returned 1 exit status /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-alloc.o): in function `mallocarray': alloc.c:(.text+0xc): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-alloc.o): in function `reallocarrayf': alloc.c:(.text+0x20): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-alloc.o): in function `xreallocarray': alloc.c:(.text+0xc0): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-env.o): in function `addenv': env.c:(.text+0x178): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: env.c:(.text+0x190): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-subordinateio.o): in function `subordinate_dup': subordinateio.c:(.text+0x68): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-subordinateio.o): in function `list_owner_ranges': subordinateio.c:(.text+0xce4): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: subordinateio.c:(.text+0xcf8): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: subordinateio.c:(.text+0xd60): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: subordinateio.c:(.text+0xd74): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-subordinateio.o): in function `find_subid_owners': subordinateio.c:(.text+0xfa0): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: subordinateio.c:(.text+0xfb4): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-commonio.o): in function `commonio_lock_nowait': commonio.c:(.text+0x778): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: commonio.c:(.text+make[3]: *** [Makefile:1037: free_subid_range] Error 1 0x794): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-commonio.o): in function `commonio_open': commonio.c:(.text+0xef8): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: commonio.c:(.text+0xf54): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: commonio.c:(.text+0xf64): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: commonio.c:(.text+0x1008): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-commonio.o): in function `commonio_sort': commonio.c:(.text+0x11d4): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-commonio.o): in function `commonio_update': commonio.c:(.text+0x1558): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-commonio.o): in function `commonio_append': commonio.c:(.text+0x16a8): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-groupio.o):groupio.c:(.text+0x1d0): more undefined references to `reallocarray' follow /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-sgetgrent.o): in function `sgetgrent': sgetgrent.c:(.text+0x198): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: sgetgrent.c:(.text+0x1ac): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-xgetgrnam.o): in function `xgetgrnam': xgetgrnam.c:(.text+0x18): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: xgetgrnam.c:(.text+0x48): undefined reference to `static_assert' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-xgetgrgid.o): in function `xgetgrgid': xgetgrgid.c:(.text+0x18): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: xgetgrgid.c:(.text+0x48): undefined reference to `static_assert' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1005: chage] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/shadow-4.14.5/src' make[2]: *** [Makefile:468: all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/shadow-4.14.5' make[1]: *** [Makefile:396: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/shadow-4.14.5' make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/shadow-4.14.5/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'