Applying ./patches/001-sysmalloc.patch using plaintext: 
patching file config_f.h

Applying ./patches/010-wint.patch using plaintext: 
patching file ed.inputl.c
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-mips_24kc_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-mips_24kc_musl/usr/share/aclocal -I m4 -I . --force 
configure.ac:20: warning: macro 'AM_ICONV' not found in library
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-mips_24kc_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-mips_24kc_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force
configure.ac:337: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:337: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:337: the top level
configure.ac:20: error: possibly undefined macro: AM_ICONV
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: error: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf failed with exit status: 1
configure: WARNING: unrecognized options: --disable-dependency-tracking
configure: loading site script /builder/shared-workdir/build/sdk/include/site/mips
checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c
checking build system type... x86_64-pc-linux-gnu
checking host system type... mips-openwrt-linux-gnu
./configure: line 3091: AM_ICONV: command not found
checking cached host tuple... ok
Tcsh will use configuration file `linux'.
checking for mips-openwrt-linux-gcc... mips-openwrt-linux-musl-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 mips-openwrt-linux-musl-gcc accepts -g... yes
checking for mips-openwrt-linux-musl-gcc option to enable C11 features... none needed
checking how to run the C preprocessor... mips-openwrt-linux-musl-gcc -E
checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep
checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E
checking whether mips-openwrt-linux-musl-gcc needs -traditional... no
checking for gencat... /usr/bin/gencat
checking for library containing crypt... none required
checking for library containing getspnam... none required
checking for library containing tgetent... -lncurses
checking for library containing gethostbyname... none required
checking for library containing connect... none required
checking for library containing catgets... none required
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 auth.h... no
checking for crypt.h... yes
checking for features.h... yes
checking for inttypes.h... (cached) yes
checking for paths.h... yes
checking for shadow.h... yes
checking for stdint.h... (cached) yes
checking for utmp.h... yes
checking for utmpx.h... yes
checking for wchar.h... yes
checking size of wchar_t... 4
checking for wctype.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking for egrep... (cached) /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E
checking for long long... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for mode_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... (cached) yes
checking for uint32_t... yes
checking for ssize_t... yes
checking for socklen_t... yes
checking for struct dirent.d_ino... yes
checking for struct utmp.ut_host... yes
checking for struct utmp.ut_user... yes
checking for struct utmp.ut_tv... yes
checking for struct utmp.ut_xtime... no
checking for struct utmpx.ut_host... yes
checking for struct utmpx.ut_user... yes
checking for struct utmpx.ut_tv... yes
checking for struct utmpx.ut_xtime... no
checking for struct sockaddr_storage.ss_family... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for mips-openwrt-linux-musl-gcc options needed to detect all undeclared functions... none needed
checking whether crypt is declared... yes
checking whether environ is declared... yes
checking whether gethostname is declared... yes
checking whether getpgrp is declared... yes
checking for setlocale... (cached) yes
checking for catgets... yes
checking for dup2... yes
checking for getauthid... no
checking for getcwd... (cached) yes
checking for gethostname... yes
checking for getpwent... yes
checking for getutent... yes
checking for getutxent... yes
checking for mallinfo... no
checking for mblen... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for nice... yes
checking for nl_langinfo... yes
checking for sbrk... yes
checking for setpgid... yes
checking for setpriority... yes
checking for strerror... (cached) yes
checking for strstr... yes
checking for sysconf... yes
checking for wcwidth... yes
checking whether getpgrp requires zero arguments... (cached) yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for working strcoll... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nls/Makefile
config.status: creating config.h
config.status: executing ./atconfig commands
configure: WARNING: unrecognized options: --disable-dependency-tracking
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04'
grep 'ERR_' ./sh.err.c | grep '^#define' >> sh.err.h.tmp
sh.err.h recreated.
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04'
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04'
mips-openwrt-linux-musl-gcc -E -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     -D_h_tc_const\
    ./tc.const.c | \
    sed -n -e 's/^\(Char STR[a-zA-Z0-9_]*\) *\[ *\].*/extern \1[];/p' | \
    LC_COLLATE=C sort >> tc.const.h.tmp
tc.const.h recreated.
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04'
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04'
touch gethost
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04'
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04'
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.c
sh.c: In function 'main':
sh.c:889:19: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  889 |         xprintf("%S\n", varval(STRversion));
      |                  ~^
      |                   |
      |                   int *
      |                  %hn
sh.c:893:19: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  893 |         xprintf("%S\n\n", varval(STRversion));
      |                  ~^
      |                   |
      |                   int *
      |                  %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.dir.c
sh.dir.c: In function 'printdirs':
sh.dir.c:286:24: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  286 |             xprintf("~%S", user);
      |                       ~^   ~~~~
      |                        |   |
      |                        |   Char * {aka short int *}
      |                        int *
      |                       %hn
sh.dir.c:287:20: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  287 |         xprintf("%-S%c", s, (dflag & DIR_VERT) ? '\n' : ' ');
      |                  ~~^     ~
      |                    |     |
      |                    int * Char * {aka short int *}
      |                  %-hn
sh.dir.c: In function 'dtildepr':
sh.dir.c:298:21: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  298 |         xprintf("~%-S%S", user, dir);
      |                   ~~^     ~~~~
      |                     |     |
      |                     int * Char * {aka short int *}
      |                   %-hn
sh.dir.c:298:23: warning: format '%S' expects argument of type 'wchar_t *', but argument 3 has type 'Char *' {aka 'short int *'} [-Wformat=]
  298 |         xprintf("~%-S%S", user, dir);
      |                      ~^         ~~~
      |                       |         |
      |                       int *     Char * {aka short int *}
      |                      %hn
sh.dir.c:300:19: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  300 |         xprintf("%S", dir);
      |                  ~^   ~~~
      |                   |   |
      |                   |   Char * {aka short int *}
      |                   int *
      |                  %hn
sh.dir.c: In function 'recdirs':
sh.dir.c:1408:26: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'const Char *' {aka 'const short int *'} [-Wformat=]
 1408 |             xprintf("cd %S\n", quote_meta(&qname, dp->di_name));
      |                         ~^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          |     |
      |                          int * const Char * {aka const short int *}
      |                         %hn
sh.dir.c:1411:29: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'const Char *' {aka 'const short int *'} [-Wformat=]
 1411 |             xprintf("pushd %S\n", quote_meta(&qname, dp->di_name));
      |                            ~^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                             |     |
      |                             int * const Char * {aka const short int *}
      |                            %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.dol.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.err.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.exec.c
In file included from sh.exec.c:32:
sh.exec.c: In function 'tellmewhat':
sh.exec.c:975:38: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  975 |                 xprintf(CGETS(13, 5, "%S: shell built-in command.\n"),
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
sh.exec.c:975:40: note: format string is defined here
  975 |                 xprintf(CGETS(13, 5, "%S: shell built-in command.\n"),
      |                                       ~^
      |                                        |
      |                                        int *
      |                                       %hn
sh.exec.c:1045:34: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1045 |             xprintf(CGETS(13, 6, "%S: Command not found.\n"), sp->word);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
sh.exec.c:1045:36: note: format string is defined here
 1045 |             xprintf(CGETS(13, 6, "%S: Command not found.\n"), sp->word);
      |                                   ~^
      |                                    |
      |                                    int *
      |                                   %hn
sh.exec.c: In function 'find_cmd':
sh.exec.c:1098:34: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1098 |             xprintf(CGETS(13, 8, "%S is aliased to "), cmd);
      |                                  ^~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
sh.exec.c:1098:36: note: format string is defined here
 1098 |             xprintf(CGETS(13, 8, "%S is aliased to "), cmd);
      |                                   ~^
      |                                    |
      |                                    int *
      |                                   %hn
sh.exec.c:1112:38: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1112 |                 xprintf(CGETS(13, 9, "%S is a shell built-in\n"), cmd);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
sh.exec.c:1112:40: note: format string is defined here
 1112 |                 xprintf(CGETS(13, 9, "%S is a shell built-in\n"), cmd);
      |                                       ~^
      |                                        |
      |                                        int *
      |                                       %hn
sh.exec.c:1162:27: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1162 |                 xprintf("%S/", *pv);
      |                          ~^    ~~~
      |                           |    |
      |                           |    Char * {aka short int *}
      |                           int *
      |                          %hn
sh.exec.c:1163:27: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1163 |                 xprintf("%S\n", cmd);
      |                          ~^     ~~~
      |                           |     |
      |                           int * Char * {aka short int *}
      |                          %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.char.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.exp.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.file.c
sh.file.c: In function 'print_by_column':
sh.file.c:330:27: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  330 |                 xprintf("%S", items[i]);
      |                          ~^   ~~~~~~~~
      |                           |        |
      |                           int *    Char * {aka short int *}
      |                          %hn
sh.file.c: In function 'print_recognized_stuff':
sh.file.c:444:19: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'const Char *' {aka 'const short int *'} [-Wformat=]
  444 |         xprintf("%S", recognized_part);
      |                  ~^   ~~~~~~~~~~~~~~~
      |                   |   |
      |                   |   const Char * {aka const short int *}
      |                   int *
      |                  %hn
sh.file.c:450:19: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'const Char *' {aka 'const short int *'} [-Wformat=]
  450 |         xprintf("%S", recognized_part);
      |                  ~^   ~~~~~~~~~~~~~~~
      |                   |   |
      |                   |   const Char * {aka const short int *}
      |                   int *
      |                  %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.func.c
sh.func.c: In function 'dofiletest':
sh.func.c:232:19: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  232 |         xprintf("%S", res);
      |                  ~^   ~~~
      |                   |   |
      |                   |   Char * {aka short int *}
      |                   int *
      |                  %hn
sh.func.c: In function 'doprintenv':
sh.func.c:1359:23: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1359 |             xprintf("%S\n", *ep);
      |                      ~^     ~~~
      |                       |     |
      |                       int * Char * {aka short int *}
      |                      %hn
sh.func.c:1369:19: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1369 |         xprintf("%S\n", e);
      |                  ~^     ~
      |                   |     |
      |                   int * Char * {aka short int *}
      |                  %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.glob.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.hist.c
sh.hist.c: In function 'phist':
sh.hist.c:1075:23: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1075 |             xprintf("%S\n", hp->histline);
      |                      ~^     ~~~~~~~~~~~~
      |                       |       |
      |                       int *   Char * {aka short int *}
      |                      %hn
sh.hist.c: In function 'fmthist':
sh.hist.c:1199:32: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1199 |             return xasprintf("%S", hp->histline);
      |                               ~^   ~~~~~~~~~~~~
      |                                |     |
      |                                int * Char * {aka short int *}
      |                               %hn
sh.hist.c: In function 'rechist':
sh.hist.c:1317:37: warning: format '%S' expects argument of type 'wchar_t *', but argument 4 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1317 |     xsnprintf(path, sizeof(path), "%S.%S", fname, rs);
      |                                    ~^      ~~~~~
      |                                     |      |
      |                                     int *  Char * {aka short int *}
      |                                    %hn
sh.hist.c:1317:40: warning: format '%S' expects argument of type 'wchar_t *', but argument 5 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1317 |     xsnprintf(path, sizeof(path), "%S.%S", fname, rs);
      |                                       ~^          ~~
      |                                        |          |
      |                                        int *      Char * {aka short int *}
      |                                       %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.init.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.lex.c
sh.lex.c: In function 'prlex':
sh.lex.c:230:19: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  230 |         xprintf("%S", sp->word);
      |                  ~^   ~~~~~~~~
      |                   |     |
      |                   int * Char * {aka short int *}
      |                  %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.misc.c
sh.misc.c: In function 'blkpr':
sh.misc.c:102:19: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  102 |         xprintf("%S", *av);
      |                  ~^   ~~~
      |                   |   |
      |                   |   Char * {aka short int *}
      |                   int *
      |                  %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.parse.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.print.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.proc.c
sh.proc.c: In function 'pprint':
sh.proc.c:1136:23: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1136 |             xprintf("%S", pp->p_command);
      |                      ~^   ~~~~~~~~~~~~~
      |                       |     |
      |                       int * Char * {aka short int *}
      |                      %hn
In file included from sh.proc.c:32:
sh.proc.c: In function 'pkill':
sh.proc.c:1529:43: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1529 |                     xprintf(CGETS(17, 12, "%S: Already suspended\n"), cp);
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
sh.proc.c:1529:45: note: format string is defined here
 1529 |                     xprintf(CGETS(17, 12, "%S: Already suspended\n"), cp);
      |                                            ~^
      |                                             |
      |                                             int *
      |                                            %hn
sh.proc.c:1553:27: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1553 |                 xprintf("%S: %s\n", cp, strerror(errno));
      |                          ~^         ~~
      |                           |         |
      |                           int *     Char * {aka short int *}
      |                          %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.sem.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.set.c
sh.set.c: In function 'plist':
sh.set.c:1126:23: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1126 |             xprintf("%S\t", p->v_name);
      |                      ~^     ~~~~~~~~~
      |                       |      |
      |                       int *  Char * {aka short int *}
      |                      %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     sh.time.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     glob.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     dotlock.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     mi.termios.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     ma.setp.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     vms.termcap.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tw.help.c
In file included from tw.help.c:35:
tw.help.c: In function 'do_help':
tw.help.c:106:38: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  106 |                 xprintf(CGETS(29, 1, "No help file for %S\n"), name);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
tw.help.c:106:57: note: format string is defined here
  106 |                 xprintf(CGETS(29, 1, "No help file for %S\n"), name);
      |                                                        ~^
      |                                                         |
      |                                                         int *
      |                                                        %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tw.init.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tw.parse.c
tw.parse.c: In function 'tw_list_items':
tw.parse.c:1491:23: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1491 |             xprintf("%S", w[i]);
      |                      ~^   ~~~~
      |                       |    |
      |                       |    Char * {aka short int *}
      |                       int *
      |                      %hn
tw.parse.c: In function 't_search':
tw.parse.c:1603:23: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1603 |             xprintf("%S", pat);
      |                      ~^   ~~~
      |                       |   |
      |                       |   Char * {aka short int *}
      |                       int *
      |                      %hn
tw.parse.c:1699:23: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
 1699 |             xprintf("%S: %s", exp_dir.s, strerror(errno));
      |                      ~^       ~~~~~~~~~
      |                       |              |
      |                       int *          Char * {aka short int *}
      |                      %hn
tw.parse.c: In function 'expand_dir':
tw.parse.c:1960:21: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'const short int *' [-Wformat=]
 1960 |         xprintf("\n%S %s\n", edir->len ? edir->s : (tdir ? tdir : dir),
      |                    ~^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                     |                            |
      |                     int *                        const short int *
      |                    %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tw.spell.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tw.comp.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tw.color.c
tw.color.c: In function 'print_with_color':
tw.color.c:475:19: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'const Char *' {aka 'const short int *'} [-Wformat=]
  475 |         xprintf("%S", filename);
      |                  ~^   ~~~~~~~~
      |                   |   |
      |                   |   const Char * {aka const short int *}
      |                   int *
      |                  %hn
tw.color.c:485:19: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'const Char *' {aka 'const short int *'} [-Wformat=]
  485 |         xprintf("%S", filename);
      |                  ~^   ~~~~~~~~
      |                   |   |
      |                   |   const Char * {aka const short int *}
      |                   int *
      |                  %hn
grep '[FV]_' ./ed.defns.c | grep '^#define' >> ed.defns.h.tmp
ed.defns.h recreated.
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.alloc.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.bind.c
In file included from tc.bind.c:32:
tc.bind.c: In function 'dobindkey':
tc.bind.c:126:34: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  126 |             xprintf(CGETS(20, 1, "Invalid key name `%S'\n"), v[no]);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
tc.bind.c:126:54: note: format string is defined here
  126 |             xprintf(CGETS(20, 1, "Invalid key name `%S'\n"), v[no]);
      |                                                     ~^
      |                                                      |
      |                                                      int *
      |                                                     %hn
tc.bind.c:190:38: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  190 |                 xprintf(CGETS(20, 2, "Bad key name: %S\n"), in.buf);
      |                                      ^~~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
tc.bind.c:190:54: note: format string is defined here
  190 |                 xprintf(CGETS(20, 2, "Bad key name: %S\n"), in.buf);
      |                                                     ~^
      |                                                      |
      |                                                      int *
      |                                                     %hn
tc.bind.c: In function 'parsecmd':
tc.bind.c:256:26: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  256 |     xprintf(CGETS(20, 3, "Bad command name: %S\n"), str);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
tc.bind.c:256:46: note: format string is defined here
  256 |     xprintf(CGETS(20, 3, "Bad command name: %S\n"), str);
      |                                             ~^
      |                                              |
      |                                              int *
      |                                             %hn
tc.bind.c: In function 'bad_spec':
tc.bind.c:264:26: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'const Char *' {aka 'const short int *'} [-Wformat=]
  264 |     xprintf(CGETS(20, 4, "Bad key spec %S\n"), str);
      |                          ^~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
tc.bind.c:264:41: note: format string is defined here
  264 |     xprintf(CGETS(20, 4, "Bad key spec %S\n"), str);
      |                                        ~^
      |                                         |
      |                                         int *
      |                                        %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.const.c
./gethost ./host.defs >> tc.defs.c.tmp
tc.defs.c recreated.
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.disc.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.func.c
tc.func.c: In function 'dolist':
tc.func.c:339:27: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  339 |                 xprintf("%S: %s.\n", tmp, strerror(err));
      |                          ~^          ~~~
      |                           |          |
      |                           int *      Char * {aka short int *}
      |                          %hn
tc.func.c:354:27: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  354 |                 xprintf("%S:\n", tmp);
      |                          ~^      ~~~
      |                           |      |
      |                           int *  Char * {aka short int *}
      |                          %hn
In file included from tc.func.c:32:
tc.func.c: In function 'cmd_expand':
tc.func.c:456:34: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  456 |             xprintf(CGETS(22, 1, "%S: \t aliased to "), cmd);
      |                                  ^~~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
tc.func.c:456:36: note: format string is defined here
  456 |             xprintf(CGETS(22, 1, "%S: \t aliased to "), cmd);
      |                                   ~^
      |                                    |
      |                                    int *
      |                                   %hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.nls.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.os.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.printf.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.prompt.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.sched.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.sig.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.str.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.vers.c
tc.vers.c: In function 'fix_version':
tc.vers.c:159:30: warning: format '%S' expects argument of type 'wchar_t *', but argument 7 has type 'const Char *' {aka 'const short int *'} [-Wformat=]
  159 | "tcsh %d.%.2d.%.2d (%s) %s (%S-%S-%S) options %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
      |                             ~^
      |                              |
      |                              int *
      |                             %hn
  160 |              REV, VERS, PATCHLEVEL, ORIGIN, DATE, machtype, vendor, ostype,
      |                                                   ~~~~~~~~
      |                                                   |
      |                                                   const Char * {aka const short int *}
tc.vers.c:159:33: warning: format '%S' expects argument of type 'wchar_t *', but argument 8 has type 'const Char *' {aka 'const short int *'} [-Wformat=]
  159 | "tcsh %d.%.2d.%.2d (%s) %s (%S-%S-%S) options %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
      |                                ~^
      |                                 |
      |                                 int *
      |                                %hn
  160 |              REV, VERS, PATCHLEVEL, ORIGIN, DATE, machtype, vendor, ostype,
      |                                                             ~~~~~~
      |                                                             |
      |                                                             const Char * {aka const short int *}
tc.vers.c:159:36: warning: format '%S' expects argument of type 'wchar_t *', but argument 9 has type 'const Char *' {aka 'const short int *'} [-Wformat=]
  159 | "tcsh %d.%.2d.%.2d (%s) %s (%S-%S-%S) options %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
      |                                   ~^
      |                                    |
      |                                    int *
      |                                   %hn
  160 |              REV, VERS, PATCHLEVEL, ORIGIN, DATE, machtype, vendor, ostype,
      |                                                                     ~~~~~~
      |                                                                     |
      |                                                                     const Char * {aka const short int *}
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.who.c
tc.who.c:97: warning: "UTNAMLEN" redefined
   97 | #  define UTNAMLEN      sizeof(((struct utmp *) 0)->ut_name)
      | 
tc.who.c:43: note: this is the location of the previous definition
   43 | # define UTNAMLEN       sizeof(((struct utmpx *) 0)->ut_name)
      | 
tc.who.c:98: warning: "UTLINLEN" redefined
   98 | #  define UTLINLEN      sizeof(((struct utmp *) 0)->ut_line)
      | 
tc.who.c:44: note: this is the location of the previous definition
   44 | # define UTLINLEN       sizeof(((struct utmpx *) 0)->ut_line)
      | 
tc.who.c:103: warning: "UTHOSTLEN" redefined
  103 | #    define UTHOSTLEN   sizeof(((struct utmp *) 0)->ut_host)
      | 
tc.who.c:46: note: this is the location of the previous definition
   46 | #  define UTHOSTLEN     sizeof(((struct utmpx *) 0)->ut_host)
      | 
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     ed.chared.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     ed.refresh.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     ed.screen.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     ed.init.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     ed.inputl.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     ed.defns.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     ed.xmap.c
In file included from ed.xmap.c:88:
ed.xmap.c: In function 'PrintXkey':
ed.xmap.c:452:29: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'Char *' {aka 'short int *'} [-Wformat=]
  452 |         xprintf(CGETS(9, 4, "Unbound extended key \"%S\"\n"), cs.buf);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sh.h:1251:33: note: in definition of macro 'CGETS'
 1251 | #  define CGETS(b, c, d)        d
      |                                 ^
ed.xmap.c:452:54: note: format string is defined here
  452 |         xprintf(CGETS(9, 4, "Unbound extended key \"%S\"\n"), cs.buf);
      |                                                     ~^
      |                                                      |
      |                                                      int *
      |                                                     %hn
ed.xmap.c: In function 'printOne':
ed.xmap.c:546:18: warning: format '%S' expects argument of type 'wchar_t *', but argument 2 has type 'const Char *' {aka 'const short int *'} [-Wformat=]
  546 |     xprintf("%-15S-> ", key);
      |              ~~~~^      ~~~
      |                  |      |
      |                  int *  const Char * {aka const short int *}
      |              %-15hn
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     ed.term.c
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. -D_PATH_TCSHELL='"/usr/bin/tcsh"'  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/include     tc.defs.c
rm -f tcsh core
mips-openwrt-linux-musl-gcc -o tcsh -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/lib -znow -zrelro    -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04=tcsh-6.22.04 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -I. -I. sh.o sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.char.o sh.exp.o sh.file.o sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o sh.time.o glob.o dotlock.o mi.termios.o ma.setp.o vms.termcap.o tw.help.o tw.init.o tw.parse.o tw.spell.o tw.comp.o tw.color.o ed.chared.o ed.refresh.o ed.screen.o ed.init.o ed.inputl.o ed.defns.o ed.xmap.o ed.term.o tc.alloc.o tc.bind.o tc.const.o tc.defs.o tc.disc.o tc.func.o tc.nls.o tc.os.o tc.printf.o tc.prompt.o tc.sched.o tc.sig.o tc.str.o tc.vers.o tc.who.o  -lncurses   @LIBICONV@
/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_24kc_gcc-12.2.0_musl/bin/../lib/gcc/mips-openwrt-linux-musl/12.2.0/../../../../mips-openwrt-linux-musl/bin/ld: cannot find @LIBICONV@: No such file or directory
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:435: tcsh] Error 1
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04'
make[3]: *** [Makefile:103: /builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/tcsh-6.22.04/.built] Error 2
time: package/feeds/packages/tcsh/compile#35.34#5.68#66.00