make tools/elfutils/compile V=s make[2]: Entering directory '/Volumes/wrt3200/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/Volumes/wrt3200/openwrt/scripts/config' make[1]: Entering directory '/Volumes/wrt3200/openwrt' + mkdir -p /Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi + cd /Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi + mkdir -p bin lib stamp usr/include usr/lib mkdir -p /Volumes/wrt3200/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/stamp touch /Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/.prepared + mkdir -p /Volumes/wrt3200/openwrt/staging_dir/host + cd /Volumes/wrt3200/openwrt/staging_dir/host + mkdir -p bin lib stamp usr/include usr/lib mkdir -p /Volumes/wrt3200/openwrt/build_dir/host/stamp /Volumes/wrt3200/openwrt/staging_dir/host/include/sys install -m0644 /Volumes/wrt3200/openwrt/tools/include/*.h /Volumes/wrt3200/openwrt/staging_dir/host/include/ install -m0644 /Volumes/wrt3200/openwrt/tools/include/sys/*.h /Volumes/wrt3200/openwrt/staging_dir/host/include/sys/ mkdir -p /Volumes/wrt3200/openwrt/staging_dir/host/include/asm install -m0644 /Volumes/wrt3200/openwrt/tools/include/asm/*.h /Volumes/wrt3200/openwrt/staging_dir/host/include/asm/ ln -snf lib /Volumes/wrt3200/openwrt/staging_dir/host/lib64 touch /Volumes/wrt3200/openwrt/staging_dir/host/.prepared make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/libdeflate' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/libdeflate' time: tools/libdeflate/compile#0.20#0.17#0.39 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/zstd' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/zstd' time: tools/zstd/compile#0.18#0.15#0.35 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/flock' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/flock' time: tools/flock/compile#0.17#0.13#0.30 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/sed' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/sed' time: tools/sed/compile#0.19#0.17#0.37 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/patch' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/patch' time: tools/patch/compile#0.20#0.17#0.39 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/tar' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/tar' time: tools/tar/compile#0.19#0.16#0.38 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/m4' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/m4' time: tools/m4/compile#0.19#0.16#0.41 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/autoconf' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/autoconf' time: tools/autoconf/compile#0.19#0.15#0.36 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/ninja' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/ninja' time: tools/ninja/compile#0.19#0.16#0.39 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/meson' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/meson' time: tools/meson/compile#0.17#0.13#0.30 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/pkgconf' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/pkgconf' time: tools/pkgconf/compile#0.19#0.14#0.35 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/xz' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/xz' time: tools/xz/compile#0.19#0.17#0.39 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/automake' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/automake' time: tools/automake/compile#0.19#0.17#0.43 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/gnulib' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/gnulib' time: tools/gnulib/compile#0.23#0.30#0.68 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/missing-macros' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/missing-macros' time: tools/missing-macros/compile#0.16#0.12#0.27 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/libtool' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/libtool' time: tools/libtool/compile#0.19#0.15#0.39 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/flex' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/flex' time: tools/flex/compile#0.20#0.17#0.40 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/bison' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/bison' time: tools/bison/compile#0.20#0.18#0.41 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/zlib' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/zlib' time: tools/zlib/compile#0.19#0.16#0.36 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/coreutils' make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/coreutils' time: tools/coreutils/compile#0.21#0.22#0.50 make[2]: Entering directory '/Volumes/wrt3200/openwrt/tools/elfutils' CFLAGS="-O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/opt/homebrew/include -Wno-error -fPIC" CPPFLAGS="-I/Volumes/wrt3200/openwrt/staging_dir/host/include "'-I$(top_srcdir)/lib'"" CXXFLAGS="-O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include " LDFLAGS="-L/Volumes/wrt3200/openwrt/staging_dir/host/lib " make -C /Volumes/wrt3200/openwrt/build_dir/host/elfutils-0.192/. am__CONFIG_DISTCLEAN_FILES= DEFAULT_INCLUDES='-iquote . -I$(top_builddir) -I$(top_srcdir)/libgnu' AM_LDFLAGS='$(STACK_USAGE_NO_ERROR)' LIBS+='$(if $(findstring src,$(subdir)), $(libgnu))' LIBS+='$(wildcard $(libgnu_exitfail))' LIBS+='$(wildcard $(libgnu_fallocate-posix))' LIBS+='$(wildcard $(libgnu_obstack))' LIBS+='$(wildcard $(libgnu_obstack-printf))' LIBS+='$(wildcard $(libgnu_printf-args))' LIBS+='$(wildcard $(libgnu_printf-frexp))' LIBS+='$(wildcard $(libgnu_printf-frexpl))' LIBS+='$(wildcard $(libgnu_printf-parse))' LIBS+='$(wildcard $(libgnu_tsearch))' LIBS+='$(wildcard $(libgnu_vasnprintf))' REPLACE_FCNTL=0 REPLACE_FREE=0 REPLACE_FSTAT=0 REPLACE_OBSTACK=0 REPLACE_OBSTACK_PRINTF=0 REPLACE_OPEN=0 bin_PROGRAMS='elflint findtextrel elfcmp unstrip stack elfcompress elfclassify srcfiles' EXEEXT= SUBDIRS='$(wildcard libgnu)' make[3]: Entering directory '/Volumes/wrt3200/openwrt/build_dir/host/elfutils-0.192' make --no-print-directory all-recursive Making all in libgnu make all-recursive make[7]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/Volumes/wrt3200/openwrt/build_dir/host/elfutils-0.192' CFLAGS="-O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/opt/homebrew/include -Wno-error -fPIC" CPPFLAGS="-I/Volumes/wrt3200/openwrt/staging_dir/host/include "'-I$(top_srcdir)/lib'"" CXXFLAGS="-O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include " LDFLAGS="-L/Volumes/wrt3200/openwrt/staging_dir/host/lib " make -C /Volumes/wrt3200/openwrt/build_dir/host/elfutils-0.192/. am__CONFIG_DISTCLEAN_FILES= DEFAULT_INCLUDES='-iquote . -I$(top_builddir) -I$(top_srcdir)/libgnu' AM_LDFLAGS='$(STACK_USAGE_NO_ERROR)' LIBS+='$(if $(findstring src,$(subdir)), $(libgnu))' LIBS+='$(wildcard $(libgnu_exitfail))' LIBS+='$(wildcard $(libgnu_fallocate-posix))' LIBS+='$(wildcard $(libgnu_obstack))' LIBS+='$(wildcard $(libgnu_obstack-printf))' LIBS+='$(wildcard $(libgnu_printf-args))' LIBS+='$(wildcard $(libgnu_printf-frexp))' LIBS+='$(wildcard $(libgnu_printf-frexpl))' LIBS+='$(wildcard $(libgnu_printf-parse))' LIBS+='$(wildcard $(libgnu_tsearch))' LIBS+='$(wildcard $(libgnu_vasnprintf))' REPLACE_FCNTL=0 REPLACE_FREE=0 REPLACE_FSTAT=0 REPLACE_OBSTACK=0 REPLACE_OBSTACK_PRINTF=0 REPLACE_OPEN=0 bin_PROGRAMS='elflint findtextrel elfcmp unstrip stack elfcompress elfclassify srcfiles' EXEEXT= SUBDIRS='$(wildcard config lib libelf libcpu backends libebl libdwelf libdwfl libdw src)' make[3]: Entering directory '/Volumes/wrt3200/openwrt/build_dir/host/elfutils-0.192' make --no-print-directory all-recursive Making all in config make[5]: Nothing to be done for 'all'. Making all in lib make[5]: Nothing to be done for 'all'. Making all in libelf make[5]: Nothing to be done for 'all'. Making all in libcpu make[5]: Nothing to be done for 'all'. Making all in backends make[5]: Nothing to be done for 'all'. Making all in libebl make[5]: Nothing to be done for 'all'. Making all in libdwelf make[5]: Nothing to be done for 'all'. Making all in libdwfl make[5]: Nothing to be done for 'all'. Making all in libdw make all-am make[6]: Nothing to be done for 'all-am'. Making all in src /Volumes/wrt3200/openwrt/staging_dir/host/bin/g++ -std=c++11 -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/Volumes/wrt3200/openwrt/staging_dir/host/share/locale"' -DDEBUGPRED=0 -DSRCDIR=\"/Volumes/wrt3200/openwrt/build_dir/host/elfutils-0.192/src\" -DOBJDIR=\"/Volumes/wrt3200/openwrt/build_dir/host/elfutils-0.192/src\" -iquote . -I.. -I../libgnu -iquote . -I. -I../lib -I.. -I./../libelf -I./../libebl -I./../libdw -I./../libdwelf -I./../libdwfl -I./../libasm -I../debuginfod -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I../lib -std=c++11 -Wall -Wshadow -Wnull-dereference -Wimplicit-fallthrough -Werror -Wunused -Wextra -D_FORTIFY_SOURCE=3 -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -c -o srcfiles.o srcfiles.cxx In file included from srcfiles.cxx:50: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iostream:44: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/istream:170: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ostream:189: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/format:195: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/container_adaptor.h:25: ./stack:1:1: error: source file is not valid UTF-8 1 | <85>H__PAGEZERO__TEXT __text__TEXTp | ^ ./stack:1:2: error: source file is not valid UTF-8 1 | <85>H__PAGEZERO__TEXT __text__TEXTp | ^ ./stack:1:3: error: source file is not valid UTF-8 1 | <85>H__PAGEZERO__TEXT __text__TEXTp | ^ ./stack:1:4: error: source file is not valid UTF-8 1 | <85>H__PAGEZERO__TEXT __text__TEXTp | ^ ./stack:1:5: error: expected unqualified-id 1 | <85>H__PAGEZERO__TEXT __text__TEXTp | ^ ./stack:1:25: error: source file is not valid UTF-8 1 | <85>H__PAGEZERO__TEXT __text__TEXTp | ^ ./stack:1:27: error: source file is not valid UTF-8 1 | <85>H__PAGEZERO__TEXT __text__TEXTp | ^ ./stack:1:109: error: source file is not valid UTF-8 1 | <85>H__PAGEZERO__TEXT __text__TEXTp | ^ ./stack:3:18: error: source file is not valid UTF-8 3 | <80>__stubs__TEXTp<80>__const__TEXT@"q@"__cstring__TEXT<93>b<93>__unwind_info__TEXT | ^ ./stack:3:63: error: source file is not valid UTF-8 3 | <80>__stubs__TEXTp<80>__const__TEXT@"q@"__cstring__TEXT<93>b<93>__unwind_info__TEXT | ^ ./stack:3:79: error: source file is not valid UTF-8 3 | <80>__stubs__TEXTp<80>__const__TEXT@"q@"__cstring__TEXT<93>b<93>__unwind_info__TEXT | ^ ./stack:3:98: error: source file is not valid UTF-8 3 | <80>__stubs__TEXTp<80>__const__TEXT@"q@"__cstring__TEXT<93>b<93>__unwind_info__TEXT | ^ ./stack:3:223: error: source file is not valid UTF-8 3 | <80>__stubs__TEXTp<80>__const__TEXT@"q@"__cstring__TEXT<93>b<93>__unwind_info__TEXT | ^ ./stack:3:224: error: source file is not valid UTF-8 3 | <80>__stubs__TEXTp<80>__const__TEXT@"q@"__cstring__TEXT<93>b<93>__unwind_info__TEXT | ^ ./stack:3:239: error: source file is not valid UTF-8 3 | <80>__stubs__TEXTp<80>__const__TEXT@"q@"__cstring__TEXT<93>b<93>__unwind_info__TEXT | ^ ./stack:3:240: error: source file is not valid UTF-8 3 | <80>__stubs__TEXTp<80>__const__TEXT@"q@"__cstring__TEXT<93>b<93>__unwind_info__TEXT | ^ ./stack:3:303: error: source file is not valid UTF-8 3 | <80>__stubs__TEXTp<80>__const__TEXT@"q@"__cstring__TEXT<93>b<93>__unwind_info__TEXT | ^ ./stack:3:304: error: source file is not valid UTF-8 3 | <80>__stubs__TEXTp<80>__const__TEXT@"q@"__cstring__TEXT<93>b<93>__unwind_info__TEXT | ^ ./stack:4:7: error: source file is not valid UTF-8 4 | __DATA_CONST <90> <90>__got__DATA_CONST x h__const__DATA_CONST<80> <83><80> (__DATA<90> <90> __data__DATA<90> `<90> __thread_vars__DATA`<90> x`<90> __thread_data__DATA<90> <90> __thread_bss__DATA<90> __bss__DATA<91> __common__DATA<95> @H__LINKEDIT ` S4<80> 3<80> ? ih | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [Makefile:2425: srcfiles.o] Error 1 make[4]: *** [Makefile:2067: all-recursive] Error 1 make[3]: *** [Makefile:1974: all] Error 2 make[3]: Leaving directory '/Volumes/wrt3200/openwrt/build_dir/host/elfutils-0.192' make[2]: *** [Makefile:131: /Volumes/wrt3200/openwrt/build_dir/host/elfutils-0.192/.built] Error 2 make[2]: Leaving directory '/Volumes/wrt3200/openwrt/tools/elfutils' time: tools/elfutils/compile#1.06#0.51#1.84 ERROR: tools/elfutils failed to build. make[1]: *** [tools/Makefile:239: tools/elfutils/compile] Error 1 make[1]: Leaving directory '/Volumes/wrt3200/openwrt' make: *** [/Volumes/wrt3200/openwrt/include/toplevel.mk:248: tools/elfutils/compile] Error 2