sbuild (Debian sbuild) 0.63.1 (31 May 2012) on build05.raspbian.lan ╔══════════════════════════════════════════════════════════════════════════════╗ ║ mksh 40.9.20120630-7 (armhf) 04 Apr 2013 22:10 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: mksh Version: 40.9.20120630-7 Source Version: 40.9.20120630-7 Distribution: wheezy-staging Machine Architecture: armhf Host Architecture: armhf Build Architecture: armhf I: NOTICE: Log filtering will replace 'build/mksh-HHbaMv/mksh-40.9.20120630' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/mksh-HHbaMv' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/wheezy-staging-armhf-sbuild-4b19665d-f3dc-43ae-9c8e-3d4d90280ea7' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://archive.raspbian.lan wheezy-staging InRelease [9334 B] Get:2 http://archive.raspbian.lan wheezy-staging/main Sources [6237 kB] Get:3 http://archive.raspbian.lan wheezy-staging/main armhf Packages [7402 kB] Ign http://archive.raspbian.lan wheezy-staging/main Translation-en Fetched 13.6 MB in 43s (317 kB/s) Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... NOTICE: 'mksh' packaging is maintained in the 'Cvs' version control system at: :ext:_anoncvs@anoncvs.mirbsd.org:/cvs contrib/hosted/tg/deb/mksh Need to get 433 kB of source archives. Get:1 http://archive.raspbian.lan/raspbian/ wheezy-staging/main mksh 40.9.20120630-7 (dsc) [2433 B] Get:2 http://archive.raspbian.lan/raspbian/ wheezy-staging/main mksh 40.9.20120630-7 (tar) [343 kB] Get:3 http://archive.raspbian.lan/raspbian/ wheezy-staging/main mksh 40.9.20120630-7 (diff) [87.6 kB] Fetched 433 kB in 0s (2204 kB/s) Download complete and in download only mode Check arch ────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-C5TZ7s/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 25 not upgraded. Need to get 0 B/706 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10771 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), bsdmainutils, ed, libklibc-dev (>= 2.0.1-2~), dietlibc-dev (>= 0.33~cvs20120325-4~), locales | belocs-locales-bin, pax (>= 1:20120216-1~) Filtered Build-Depends: libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), bsdmainutils, ed, libklibc-dev (>= 2.0.1-2~), dietlibc-dev (>= 0.33~cvs20120325-4~), locales, pax (>= 1:20120216-1~) dpkg-deb: building package `sbuild-build-depends-mksh-dummy' in `/«BUILDDIR»/resolver-fn0rsI/apt_archive/sbuild-build-depends-mksh-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install mksh build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils dietlibc-dev ed libklibc libklibc-dev locales pax Suggested packages: wamerican wordlist whois vacation dietlibc-doc The following NEW packages will be installed: bsdmainutils dietlibc-dev ed libklibc libklibc-dev locales pax sbuild-build-depends-mksh-dummy 0 upgraded, 8 newly installed, 0 to remove and 25 not upgraded. Need to get 6548 kB/6809 kB of archives. After this operation, 19.7 MB of additional disk space will be used. Get:1 http://archive.raspbian.lan/raspbian/ wheezy-staging/main locales all 2.13-38+rpi2 [5710 kB] Get:2 http://archive.raspbian.lan/raspbian/ wheezy-staging/main dietlibc-dev armhf 0.33~cvs20120325-4 [448 kB] Get:3 http://archive.raspbian.lan/raspbian/ wheezy-staging/main libklibc armhf 2.0.1-3.1+rpi1 [59.3 kB] Get:4 http://archive.raspbian.lan/raspbian/ wheezy-staging/main libklibc-dev armhf 2.0.1-3.1+rpi1 [246 kB] Get:5 http://archive.raspbian.lan/raspbian/ wheezy-staging/main pax armhf 1:20120606-2 [84.7 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 6548 kB in 2s (2980 kB/s) Selecting previously unselected package bsdmainutils. (Reading database ... 10771 files and directories currently installed.) Unpacking bsdmainutils (from .../bsdmainutils_9.0.3_armhf.deb) ... Selecting previously unselected package locales. Unpacking locales (from .../locales_2.13-38+rpi2_all.deb) ... Selecting previously unselected package dietlibc-dev. Unpacking dietlibc-dev (from .../dietlibc-dev_0.33~cvs20120325-4_armhf.deb) ... Selecting previously unselected package ed. Unpacking ed (from .../archives/ed_1.6-2_armhf.deb) ... Selecting previously unselected package libklibc. Unpacking libklibc (from .../libklibc_2.0.1-3.1+rpi1_armhf.deb) ... Selecting previously unselected package libklibc-dev. Unpacking libklibc-dev (from .../libklibc-dev_2.0.1-3.1+rpi1_armhf.deb) ... Selecting previously unselected package pax. Unpacking pax (from .../pax_1%3a20120606-2_armhf.deb) ... Selecting previously unselected package sbuild-build-depends-mksh-dummy. Unpacking sbuild-build-depends-mksh-dummy (from .../sbuild-build-depends-mksh-dummy.deb) ... Setting up bsdmainutils (9.0.3) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up locales (2.13-38+rpi2) ... Generating locales (this might take a while)... Generation complete. Setting up dietlibc-dev (0.33~cvs20120325-4) ... Setting up ed (1.6-2) ... Setting up libklibc (2.0.1-3.1+rpi1) ... Setting up libklibc-dev (2.0.1-3.1+rpi1) ... Setting up pax (1:20120606-2) ... Setting up sbuild-build-depends-mksh-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 3.2.0-2-mx5 armhf (armv7l) Toolchain package versions: binutils_2.22-7.1 dpkg-dev_1.16.9 g++-4.6_4.6.3-14+rpi1 gcc-4.6_4.6.3-14+rpi1 libc6-dev_2.13-37+rpi1 libstdc++6_4.7.2-5+rpi1 libstdc++6-4.6-dev_4.6.3-14+rpi1 linux-libc-dev_3.2.35-2+rpi1 Package versions: apt_0.9.7.7+rpi1 base-files_7.1 base-passwd_3.5.26 bash_4.2+dfsg-0.1 binutils_2.22-7.1 bsdmainutils_9.0.3 bsdutils_1:2.20.1-5.3 build-essential_11.5+b1 bzip2_1.0.6-4 coreutils_8.13-3.4 cpp_4:4.6.3-8 cpp-4.6_4.6.3-14+rpi1 dash_0.5.7-3 debconf_1.5.49 debconf-i18n_1.5.49 debfoster_2.7-1.2 debianutils_4.3.2 dietlibc-dev_0.33~cvs20120325-4 diffutils_1:3.2-6 dpkg_1.16.9 dpkg-dev_1.16.9 e2fslibs_1.42.5-1 e2fsprogs_1.42.5-1 eatmydata_26-2 ed_1.6-2 fakeroot_1.18.4-2 findutils_4.4.2-4 g++_4:4.6.3-8 g++-4.6_4.6.3-14+rpi1 gcc_4:4.6.3-8 gcc-4.4-base_4.4.7-3+rpi1 gcc-4.5-base_4.5.3-12+rpi1 gcc-4.6_4.6.3-14+rpi1 gcc-4.6-base_4.6.3-14+rpi1 gcc-4.7-base_4.7.2-5+rpi1 gnupg_1.4.12-7 gpgv_1.4.12-7 grep_2.12-2 gzip_1.5-1.1 hostname_3.11 initscripts_2.88dsf-34 insserv_1.14.0-5 libacl1_2.2.51-8 libapt-pkg4.12_0.9.7.7+rpi1 libattr1_1:2.4.46-8 libblkid1_2.20.1-5.3 libbz2-1.0_1.0.6-4 libc-bin_2.13-37+rpi1 libc-dev-bin_2.13-37+rpi1 libc6_2.13-37+rpi1 libc6-dev_2.13-37+rpi1 libclass-isa-perl_0.36-3 libcomerr2_1.42.5-1 libdb5.1_5.1.29-5 libdpkg-perl_1.16.9 libgc1c2_1:7.1-9.1 libgcc1_1:4.7.2-5+rpi1 libgdbm3_1.8.3-11 libgmp10_2:5.0.5+dfsg-2 libgomp1_4.7.2-5+rpi1 libklibc_2.0.1-3.1+rpi1 libklibc-dev_2.0.1-3.1+rpi1 liblocale-gettext-perl_1.05-7 liblzma5_5.1.1alpha+20120614-2 libmount1_2.20.1-5.3 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9-10 libpam-modules_1.1.3-7.1 libpam-modules-bin_1.1.3-7.1 libpam-runtime_1.1.3-7.1 libpam0g_1.1.3-7.1 libreadline6_6.2+dfsg-0.1 libselinux1_2.1.9-5 libsemanage-common_2.1.6-6 libsemanage1_2.1.6-6 libsepol1_2.1.4-3 libslang2_2.2.4-15 libss2_1.42.5-1 libstdc++6_4.7.2-5+rpi1 libstdc++6-4.6-dev_4.6.3-14+rpi1 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9-10 libusb-0.1-4_2:0.1.12-20+nmu1 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.3 linux-libc-dev_3.2.35-2+rpi1 locales_2.13-38+rpi2 login_1:4.1.5.1-1 lsb-base_4.1+Debian8 make_3.81-8.2 mawk_1.3.3-17 mount_2.20.1-5.3 multiarch-support_2.13-37+rpi1 ncurses-base_5.9-10 ncurses-bin_5.9-10 passwd_1:4.1.5.1-1 patch_2.6.1-3 pax_1:20120606-2 perl_5.14.2-18+rpi1 perl-base_5.14.2-18+rpi1 perl-modules_5.14.2-18+rpi1 raspbian-archive-keyring_20120528.2 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-mksh-dummy_0.invalid.0 sed_4.2.1-10 sensible-utils_0.0.7 sysv-rc_2.88dsf-34 sysvinit_2.88dsf-34 sysvinit-utils_2.88dsf-34 tar_1.26+dfsg-0.1 tzdata_2012j-1 ucf_3.0025+nmu3 util-linux_2.20.1-5.3 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.7.dfsg-13 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Fri Feb 15 19:05:36 2013 UTC using RSA key ID E99007E0 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./mksh_40.9.20120630-7.dsc dpkg-source: info: extracting mksh in mksh-40.9.20120630 dpkg-source: info: unpacking mksh_40.9.20120630.orig.tar.gz dpkg-source: info: unpacking mksh_40.9.20120630-7.debian.tar.gz dpkg-source: info: applying debian-changes Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── HOME=/sbuild-nonexistent LD_PRELOAD=/usr/lib/libeatmydata/libeatmydata.so LOGNAME=buildd PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/usr/games PWD=/«PKGBUILDDIR» SCHROOT_ALIAS_NAME=chroot:wheezy-staging-armhf-sbuild SCHROOT_CHROOT_NAME=wheezy-staging-armhf-sbuild SCHROOT_COMMAND=env SCHROOT_GID=108 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=wheezy-staging-armhf-sbuild-4b19665d-f3dc-43ae-9c8e-3d4d90280ea7 SCHROOT_UID=106 SCHROOT_USER=buildd SHELL=/bin/sh TERM=xterm USER=buildd dpkg-buildpackage ───────────────── dpkg-buildpackage: source package mksh dpkg-buildpackage: source version 40.9.20120630-7 dpkg-source --before-build mksh-40.9.20120630 dpkg-buildpackage: host architecture armhf fakeroot debian/rules clean # goodbye dh_testdir test -f sh.h test -x debian/rules rm -rf builddir rm -rf debian/.*_stamp debian/B debian/mksh debian/pdksh # goodbye dh_clean rm -f debian/files debian/substvars debian/rules build-arch # goodbye dh_testdir test -f sh.h test -x debian/rules rm -f debian/.build_stamp (sh debian/meat -D'2012/06/30 16:00' && :>debian/.build_stamp) 2>&1 | sed -e 's!conftest.c:\([0-9]*\(:[0-9]*\)*\): error:!cE(\1) -!g' -e 's!conftest.c:\([0-9]*\(:[0-9]*\)*\): warning:!cW(\1) -!g' Building the package 'mksh' on 'armhf' for 'armhf' with DEB_BUILD_OPTIONS '' Values (not used) from environment: CFLAGS='' CPPFLAGS='' LDFLAGS='' Using compiler: 'gcc' Values from dpkg-buildflags: CFLAGS='-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' CPPFLAGS='-D_FORTIFY_SOURCE=2' LDFLAGS='-fPIE -pie -Wl,-z,relro -Wl,-z,now' Creating locale for the regression tests Building mksh-full... Attempting compilation of mksh in full with CC='gcc' CFLAGS='-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra' CPPFLAGS='-D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED' LDFLAGS='-fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC='' LIBS='' + CC=gcc CFLAGS=-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 LDFLAGS=-fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC= LIBS= sh ../../Build.sh -r -c lto Hi from $MirOS: src/bin/mksh/Build.sh,v 1.578.2.1 2013/02/10 16:50:34 tg Exp $ on: $ uname -a >&2 | Linux build05.raspbian.lan 3.2.0-2-mx5 #1 Mon Jun 11 20:41:57 UTC 2012 armv7l GNU/Linux Build.sh: Building the MirBSD Korn Shell R40 2012/07/20 Debian-7 on Linux ... Build.sh: Scanning for functions... please ignore any errors. ... which compiler seems to be used $ gcc -E -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN conftest.c | sed -n '/^[ce]t *= */s/\([ce]t\) *= */=/p' | tr -d \015 >x [ ct="gcc" [ et="unknown" $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -v conftest.c | Using built-in specs. | COLLECT_GCC=gcc | COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper | Target: arm-linux-gnueabihf | Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf | Thread model: posix | gcc version 4.6.3 (Debian 4.6.3-14+rpi1) | COLLECT_GCC_OPTIONS='-g' '-O2' '-fstack-protector' '--param' 'ssp-buffer-size=4' '-Wformat' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_GCC565048' '-D' 'MKSH_BUILDSH' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN' '-fPIE' '-pie' '-v' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' | /usr/lib/gcc/arm-linux-gnueabihf/4.6/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D _FORTIFY_SOURCE=2 -D MKSH_BINSHREDUCED -D MKSH_GCC565048 -D MKSH_BUILDSH -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN conftest.c -quiet -dumpbase conftest.c -march=armv6 -mfloat-abi=hard -mfpu=vfp -auxbase conftest -g -O2 -Wformat -Werror=format-security -Wall -Wextra -version -fstack-protector -fPIE --param ssp-buffer-size=4 -o /tmp/ccztDrhq.s | GNU C (Debian 4.6.3-14+rpi1) version 4.6.3 (arm-linux-gnueabihf) | compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p10, MPC version 0.9 | GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129459 | ignoring nonexistent directory "/usr/local/include/arm-linux-gnueabihf" | ignoring nonexistent directory "/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/include" | #include "..." search starts here: | #include <...> search starts here: | . | ../.. | /usr/lib/gcc/arm-linux-gnueabihf/4.6/include | /usr/local/include | /usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed | /usr/include/arm-linux-gnueabihf | /usr/include | End of search list. | GNU C (Debian 4.6.3-14+rpi1) version 4.6.3 (arm-linux-gnueabihf) | compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p10, MPC version 0.9 | GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129459 | Compiler executable checksum: cf78bfe2d99d4ca6e0637950db1b4acd | COLLECT_GCC_OPTIONS='-g' '-O2' '-fstack-protector' '--param' 'ssp-buffer-size=4' '-Wformat' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_GCC565048' '-D' 'MKSH_BUILDSH' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN' '-fPIE' '-pie' '-v' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' | as -march=armv6 -mfloat-abi=hard -mfpu=vfp -meabi=5 -o /tmp/cccqhIzR.o /tmp/ccztDrhq.s | COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ | COLLECT_GCC_OPTIONS='-g' '-O2' '-fstack-protector' '--param' 'ssp-buffer-size=4' '-Wformat' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_GCC565048' '-D' 'MKSH_BUILDSH' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN' '-fPIE' '-pie' '-v' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' | /usr/lib/gcc/arm-linux-gnueabihf/4.6/collect2 --sysroot=/ --build-id --no-add-needed --eh-frame-hdr -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=both -m armelf_linux_eabi -pie /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/Scrt1.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtbeginS.o -L/usr/lib/gcc/arm-linux-gnueabihf/4.6 -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -z relro -z now --as-needed /tmp/cccqhIzR.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crtn.o $ echo `$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN $LIBS \ -dumpmachine` gcc`$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN \ $LIBS -dumpversion` | arm-linux-gnueabihf gcc4.6 ==> which compiler seems to be used... gcc ... if the compiler works $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if the compiler works... yes ... if the compiler does not fail correctly $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] /tmp/ccWbNzam.o: In function `main': ] /«PKGBUILDDIR»/builddir/full/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ] collect2: ld returned 1 exit status ==> if the compiler does not fail correctly... no ==> if this could be tcc... no (implied) ... if -Wno-error can be used $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -Wno-error -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Wno-error can be used... yes ... if -Werror can be used $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -Werror -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Werror can be used... yes ... if -Wno-overflow can be used $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -Wno-overflow -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Wno-overflow can be used... yes ... if -fno-strict-aliasing can be used $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -fno-strict-aliasing can be used... yes ... if -fstack-protector-all can be used $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -fstack-protector-all can be used... yes ... if gcc supports -flto=jobserver -fuse-linker-plugin $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if gcc supports -flto=jobserver -fuse-linker-plugin... yes ==> if -Wall can be used... no (cached) ... if -fwrapv can be used $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -fwrapv can be used... yes ... for __attribute__((__bounded__)) $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cE(9:5) - '__bounded__' attribute directive ignored [-Werror=attributes] ] cE(9:5) - '__bounded__' attribute directive ignored [-Werror=attributes] ] cc1: all warnings being treated as errors ==> for __attribute__((__bounded__))... no ... for __attribute__((__format__)) $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__format__))... yes ... for __attribute__((__nonnull__)) $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__nonnull__))... yes ... for __attribute__((__noreturn__)) $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__noreturn__))... yes ... for __attribute__((__unused__)) $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__unused__))... yes ... for __attribute__((__used__)) $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__used__))... yes ... if a reduced-feature mksh is requested $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] /tmp/ccUGJhru.ltrans0.ltrans.o: In function `main': ] /«PKGBUILDDIR»/builddir/full/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ] collect2: ld returned 1 exit status ==> if a reduced-feature mksh is requested... no ... if a reduced-feature sh is requested $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if a reduced-feature sh is requested... yes ... if mksh will be built without job control $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] /tmp/ccGWecG6.ltrans0.ltrans.o: In function `main': ] /«PKGBUILDDIR»/builddir/full/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ] collect2: ld returned 1 exit status ==> if mksh will be built without job control... no ... if mksh will be built without job signals $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] /tmp/cctAhQxO.ltrans0.ltrans.o: In function `main': ] /«PKGBUILDDIR»/builddir/full/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ] collect2: ld returned 1 exit status ==> if mksh will be built without job signals... no ... if the default UTF-8 mode is specified $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] /tmp/cckmXxsB.ltrans0.ltrans.o: In function `main': ] /«PKGBUILDDIR»/builddir/full/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ] collect2: ld returned 1 exit status ==> if the default UTF-8 mode is specified... no ... if traditional/conservative fd use is requested $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] /tmp/ccr6eRSk.ltrans0.ltrans.o: In function `main': ] /«PKGBUILDDIR»/builddir/full/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ] collect2: ld returned 1 exit status ==> if traditional/conservative fd use is requested... no ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2:26: fatal error: sys/bsdtypes.h: No such file or directory ] compilation terminated. ==> ... no ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:3:23: fatal error: sys/mkdev.h: No such file or directory ] compilation terminated. ==> ... no ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2:21: fatal error: bstring.h: No such file or directory ] compilation terminated. ==> ... no ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ==> ... no (cached) ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... for large file support $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cW(4:1) - left shift count >= width of type [enabled by default] ] cW(4:1) - left shift count >= width of type [enabled by default] ] cW(5:5) - left shift count >= width of type [enabled by default] ] cW(5:5) - left shift count >= width of type [enabled by default] ] cE(4:5) - variably modified 'off_t_is_large' at file scope ==> for large file support... no ... ... with -D_FILE_OFFSET_BITS=64 $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... with -D_FILE_OFFSET_BITS=64... yes ==> for standard 32-bit integer types... yes (implied) ==> for UCB 32-bit integer types... yes (implied) ==> for standard 8-bit integer type... yes (implied) ==> for UCB 8-bit integer type... yes (implied) ... rlim_t $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> rlim_t... yes ... sig_t $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> sig_t... yes ==> sighandler_t... no (implied) ==> __sighandler_t... no (implied) ... checking if the final link command may succeed gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -Wno-error -c conftest.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -o a.out conftest.o || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> checking if the final link command may succeed... yes ... the sys_signame[] array $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] /tmp/cc5NryKl.ltrans0.ltrans.o: In function `main': ] /«PKGBUILDDIR»/builddir/full/conftest.c:2: undefined reference to `sys_signame' ] collect2: ld returned 1 exit status ==> the sys_signame[] array... no ... the _sys_signame[] array $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] /tmp/ccBXJcHf.ltrans0.ltrans.o: In function `main': ] /«PKGBUILDDIR»/builddir/full/conftest.c:2: undefined reference to `_sys_signame' ] collect2: ld returned 1 exit status ==> the _sys_signame[] array... no ... the sys_siglist[] array $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> the sys_siglist[] array... yes ==> the _sys_siglist[] array... no (implied) ==> strsignal... no (implied) ... flock $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(3:1) - implicit declaration of function 'flock' [-Wimplicit-function-declaration] ==> flock... yes ==> whether we can lock files with fcntl... yes (implied) ... getrusage $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> getrusage... yes ... killpg $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> killpg... yes ==> if to use mknod(), makedev() and friends... no (cached) ... for mmap and munmap $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for mmap and munmap... yes ... nice $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> nice... yes ==> revoke... no (cached) ... setlocale(LC_CTYPE, "") $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> setlocale(LC_CTYPE, "")... yes ... nl_langinfo(CODESET) $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> nl_langinfo(CODESET)... yes ... select $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> select... yes ... setresugid $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> setresugid... yes ... setgroups $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> setgroups... yes ... strlcpy $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(2:1) - implicit declaration of function 'strlcpy' [-Wimplicit-function-declaration] ] /tmp/cczSvrFS.ltrans0.ltrans.o: In function `main': ] /«PKGBUILDDIR»/builddir/full/conftest.c:2: undefined reference to `strlcpy' ] collect2: ld returned 1 exit status ==> strlcpy... no ... if flock() does not need to be declared $ gcc -c -o a.out -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if flock() does not need to be declared... no ==> if revoke() does not need to be declared... yes (implied) ... if sys_siglist[] does not need to be declared $ gcc -c -o a.out -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cE(3:12) - conflicting types for 'sys_siglist' ] /usr/include/signal.h:311:30: note: previous declaration of 'sys_siglist' was here ==> if sys_siglist[] does not need to be declared... yes ==> if to use persistent history... yes ... whether compile-time assertions pass $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -Wno-overflow -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> whether compile-time assertions pass... yes run-time checks follow, please ignore any weird errors ... (run-time) whether signed integer division overflows wrap silently $ gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done | running test programme; this will fail if cross-compiling | in which case we will gracefully degrade to the default | result: si ==> (run-time) whether signed integer division overflows wrap silently... yes end of run-time checks ... checking if the C Preprocessor supports -dD $ gcc -E -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -Wno-error -dD conftest.c >x ==> checking if the C Preprocessor supports -dD... yes ... done. Generating list of signal names... NSIG=65 ... INT=2 SEGV=11 ABRT=6 KILL=9 ALRM=14 BUS=7 CHLD=17 CONT=18 FPE=8 HUP=1 ILL=4 IO=29 PIPE=13 PROF=27 PWR=30 QUIT=3 STOP=19 SYS=31 TERM=15 TRAP=5 TSTP=20 TTIN=21 TTOU=22 URG=23 USR1=10 USR2=12 VTALRM=26 WINCH=28 XCPU=24 XFSZ=25 STKFLT=16 done. Build.sh: Finished configuration testing, now producing output. gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../lalloc.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../eval.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../exec.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../expr.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../funcs.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../histrap.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../jobs.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../lex.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../main.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../misc.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../shf.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../syn.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../tree.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../var.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../edit.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../strlcpy.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_BUILD_R=409 -c ../../printf.c gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-strict-aliasing -fstack-protector-all -flto=jobserver -fwrapv -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fuse-linker-plugin -o mksh lalloc.o eval.o exec.o expr.o funcs.o histrap.o jobs.o lex.o main.o misc.o shf.o syn.o tree.o var.o edit.o strlcpy.o printf.o || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done var.o (symbol from plugin): warning: memset used with constant zero length parameter; this could be due to transposed parameters size mksh text data bss dec hex filename 274525 3340 21236 299101 4905d mksh Installing the shell: # install -c -s -o root -g bin -m 555 mksh /bin/mksh # grep -x /bin/mksh /etc/shells >/dev/null || echo /bin/mksh >>/etc/shells # install -c -o root -g bin -m 444 dot.mkshrc /usr/share/doc/mksh/examples/ Installing the manual: # install -c -o root -g bin -m 444 mksh.1 /usr/share/man/man1/mksh.1 Run the regression test suite: ./test.sh Please also read the sample file dot.mkshrc and the fine manual. + test -f mksh + gotbin=1 + set +x Got a binary, doing run-time checks. Running simple checks on the binary. pass ../../debian/mtest.t:mtest-builtin pass ../../debian/mtest.t:mtest-external pass ../../debian/mtest.t:mtest-ascii1 pass ../../debian/mtest.t:mtest-brkcontin pass ../../debian/mtest.t:mtest-select-works Total failed: 0 Total passed: 5 Simple tests okay. Running mksh regression test suite. This needs /dev/tty and /dev/ptmx in the chroot. Testing mksh for conformance: # $MirOS: src/bin/mksh/check.t,v 1.549.2.4 2013/02/15 18:54:47 tg Exp $ @(#)MIRBSD KSH R40 2012/07/20 Debian-7 This shell is actually: @(#)MIRBSD KSH R40 2012/07/20 Debian-7 test.sh built for mksh R40 2012/07/20 Debian-7 Trying Perl interpreter 'perl5'... ./test.sh[65]: perl5: not found Errorlevel 127, running on '' => not using Trying Perl interpreter 'perl'... Errorlevel 0, running on 'linux, Perl version 5.014002' => using it + perl ../../check.pl -p /«PKGBUILDDIR»/builddir/full/mksh -C shell:legacy-no,int:32,binsh -v -s ../../check.t pass ../../check.t:KSH_VERSION pass ../../check.t:selftest-1 pass ../../check.t:selftest-2 pass ../../check.t:selftest-3 pass ../../check.t:selftest-direct-builtin-call pass ../../check.t:alias-1 pass ../../check.t:alias-2 pass ../../check.t:alias-3 pass ../../check.t:alias-4 pass ../../check.t:alias-5 pass ../../check.t:alias-6 pass ../../check.t:alias-7 pass ../../check.t:alias-8 pass ../../check.t:alias-9 pass ../../check.t:alias-10 pass ../../check.t:arith-lazy-1 pass ../../check.t:arith-lazy-2 pass ../../check.t:arith-lazy-3 pass ../../check.t:arith-ternary-prec-1 pass ../../check.t:arith-ternary-prec-2 pass ../../check.t:arith-div-assoc-1 pass ../../check.t:arith-div-byzero pass ../../check.t:arith-div-intmin-by-minusone pass ../../check.t:arith-assop-assoc-1 pass ../../check.t:arith-unsigned-1 pass ../../check.t:arith-limit32-1 pass ../../check.t:bksl-nl-ign-1 pass ../../check.t:bksl-nl-ign-2 pass ../../check.t:bksl-nl-ign-3 pass ../../check.t:bksl-nl-ign-4 pass ../../check.t:bksl-nl-ign-5 pass ../../check.t:bksl-nl-1 pass ../../check.t:bksl-nl-2 pass ../../check.t:bksl-nl-3 pass ../../check.t:bksl-nl-4 pass ../../check.t:bksl-nl-5 pass ../../check.t:bksl-nl-6 pass ../../check.t:bksl-nl-7 pass ../../check.t:bksl-nl-8 pass ../../check.t:bksl-nl-9 pass ../../check.t:bksl-nl-10 pass ../../check.t:bksl-nl-ksh-1 pass ../../check.t:bksl-nl-ksh-2 pass ../../check.t:break-1 pass ../../check.t:break-2 pass ../../check.t:break-3 pass ../../check.t:break-4 pass ../../check.t:break-5 pass ../../check.t:continue-1 pass ../../check.t:continue-2 pass ../../check.t:continue-3 pass ../../check.t:continue-4 pass ../../check.t:continue-5 pass ../../check.t:cd-history pass ../../check.t:cd-pe pass ../../check.t:env-prompt pass ../../check.t:expand-ugly pass ../../check.t:expand-unglob-dblq pass ../../check.t:expand-unglob-unq pass ../../check.t:expand-threecolons-dblq pass ../../check.t:expand-threecolons-unq pass ../../check.t:expand-weird-1 pass ../../check.t:expand-weird-2 pass ../../check.t:expand-weird-3 pass ../../check.t:eglob-bad-1 pass ../../check.t:eglob-bad-2 pass ../../check.t:eglob-infinite-plus pass ../../check.t:eglob-subst-1 pass ../../check.t:eglob-nomatch-1 pass ../../check.t:eglob-match-1 pass ../../check.t:eglob-case-1 pass ../../check.t:eglob-case-2 pass ../../check.t:eglob-trim-1 pass ../../check.t:eglob-trim-2 pass ../../check.t:eglob-trim-3 pass ../../check.t:eglob-substrpl-1 pass ../../check.t:eglob-substrpl-2 pass ../../check.t:eglob-substrpl-3a pass ../../check.t:eglob-substrpl-3b pass ../../check.t:eglob-substrpl-3c pass ../../check.t:eglob-utf8-1 pass ../../check.t:glob-bad-1 pass ../../check.t:glob-bad-2 pass ../../check.t:glob-range-1 pass ../../check.t:glob-range-2 pass ../../check.t:glob-range-3 pass ../../check.t:glob-range-4 pass ../../check.t:glob-range-5 pass ../../check.t:heredoc-1 pass ../../check.t:heredoc-2 pass ../../check.t:heredoc-3 pass ../../check.t:heredoc-4 pass ../../check.t:heredoc-5 pass ../../check.t:heredoc-6 pass ../../check.t:heredoc-7 pass ../../check.t:heredoc-8 pass ../../check.t:heredoc-9a pass ../../check.t:heredoc-9c pass ../../check.t:heredoc-9d pass ../../check.t:heredoc-9e pass ../../check.t:heredoc-10 pass ../../check.t:heredoc-11 pass ../../check.t:heredoc-comsub-1 pass ../../check.t:heredoc-comsub-2 pass ../../check.t:heredoc-comsub-3 pass ../../check.t:heredoc-comsub-4 pass ../../check.t:heredoc-subshell-1 pass ../../check.t:heredoc-subshell-2 pass ../../check.t:heredoc-subshell-3 pass ../../check.t:heredoc-weird-1 pass ../../check.t:heredoc-weird-2 pass ../../check.t:heredoc-weird-4 pass ../../check.t:heredoc-weird-5 pass ../../check.t:heredoc-quoting-unsubst pass ../../check.t:heredoc-quoting-subst pass ../../check.t:heredoc-tmpfile-1 pass ../../check.t:heredoc-tmpfile-2 pass ../../check.t:heredoc-tmpfile-3 pass ../../check.t:heredoc-tmpfile-4 pass ../../check.t:heredoc-tmpfile-5 pass ../../check.t:heredoc-tmpfile-6 pass ../../check.t:heredoc-tmpfile-7 pass ../../check.t:heredoc-tmpfile-8 pass ../../check.t:history-basic pass ../../check.t:history-dups pass ../../check.t:history-unlink pass ../../check.t:history-e-minus-1 pass ../../check.t:history-e-minus-2 pass ../../check.t:history-e-minus-3 pass ../../check.t:history-e-minus-4 pass ../../check.t:history-e-minus-5 pass ../../check.t:history-list-1 pass ../../check.t:history-list-2 pass ../../check.t:history-list-3 pass ../../check.t:history-list-4 pass ../../check.t:history-list-5 pass ../../check.t:history-list-6 pass ../../check.t:history-list-7 pass ../../check.t:history-list-r-1 pass ../../check.t:history-list-r-2 pass ../../check.t:history-list-r-3 pass ../../check.t:history-subst-1 pass ../../check.t:history-subst-2 pass ../../check.t:history-subst-3 pass ../../check.t:history-subst-4 pass ../../check.t:history-subst-5 pass ../../check.t:history-ed-1 pass ../../check.t:history-ed-2 pass ../../check.t:history-ed-3 pass ../../check.t:IFS-space-1 pass ../../check.t:IFS-colon-1 pass ../../check.t:IFS-null-1 pass ../../check.t:IFS-space-colon-1 pass ../../check.t:IFS-space-colon-2 pass ../../check.t:IFS-space-colon-4 pass ../../check.t:IFS-space-colon-5 pass ../../check.t:IFS-subst-1 pass ../../check.t:integer-base-err-1 pass ../../check.t:integer-base-err-2 pass ../../check.t:integer-base-err-3 pass ../../check.t:integer-base-err-4 pass ../../check.t:integer-base-1 pass ../../check.t:integer-base-2 pass ../../check.t:integer-base-3 pass ../../check.t:integer-base-4 pass ../../check.t:integer-base-5 pass ../../check.t:integer-base-6 pass ../../check.t:integer-base-7 pass ../../check.t:integer-base-check-flat pass ../../check.t:integer-base-check-numeric-from pass ../../check.t:integer-base-check-numeric-to pass ../../check.t:integer-arithmetic-span pass ../../check.t:lineno-stdin pass ../../check.t:lineno-inc pass ../../check.t:lineno-func pass ../../check.t:lineno-unset pass ../../check.t:lineno-unset-use pass ../../check.t:lineno-trap pass ../../check.t:unknown-trap pass ../../check.t:read-IFS-1 pass ../../check.t:read-ksh-1 pass ../../check.t:read-regress-1 pass ../../check.t:read-delim-1 pass ../../check.t:read-ext-1 pass ../../check.t:regression-1 pass ../../check.t:regression-2 pass ../../check.t:regression-6 pass ../../check.t:regression-9 pass ../../check.t:regression-10 pass ../../check.t:regression-11 pass ../../check.t:regression-12 pass ../../check.t:regression-13 pass ../../check.t:regression-14 pass ../../check.t:regression-15 pass ../../check.t:regression-16 pass ../../check.t:regression-17 pass ../../check.t:regression-19 pass ../../check.t:regression-21 pass ../../check.t:regression-22 pass ../../check.t:regression-23 pass ../../check.t:regression-25 pass ../../check.t:regression-26 pass ../../check.t:regression-27 pass ../../check.t:regression-28 pass ../../check.t:regression-29 pass ../../check.t:regression-30 pass ../../check.t:regression-31 pass ../../check.t:regression-32 pass ../../check.t:regression-33 pass ../../check.t:regression-35 pass ../../check.t:regression-36 pass ../../check.t:regression-37 pass ../../check.t:regression-38 pass ../../check.t:regression-39 pass ../../check.t:regression-40 pass ../../check.t:regression-41 pass ../../check.t:regression-42 pass ../../check.t:regression-43 pass ../../check.t:regression-45 pass ../../check.t:regression-46 pass ../../check.t:regression-47 pass ../../check.t:regression-48 pass ../../check.t:regression-49 pass ../../check.t:regression-50 pass ../../check.t:regression-51 pass ../../check.t:regression-52 pass ../../check.t:regression-53 pass ../../check.t:regression-54 pass ../../check.t:regression-55 pass ../../check.t:regression-57 pass ../../check.t:regression-58 pass ../../check.t:regression-59 pass ../../check.t:regression-60 pass ../../check.t:regression-61 pass ../../check.t:regression-62 pass ../../check.t:regression-63 pass ../../check.t:regression-64 pass ../../check.t:regression-65 pass ../../check.t:regression-66 pass ../../check.t:readonly-0 pass ../../check.t:readonly-1 pass ../../check.t:readonly-2a pass ../../check.t:readonly-2b pass ../../check.t:readonly-3 pass ../../check.t:syntax-1 pass ../../check.t:xxx-quoted-newline-1 pass ../../check.t:xxx-quoted-newline-2 pass ../../check.t:xxx-quoted-newline-3 pass ../../check.t:xxx-multi-assignment-cmd pass ../../check.t:xxx-multi-assignment-posix-cmd pass ../../check.t:xxx-multi-assignment-posix-nocmd pass ../../check.t:xxx-multi-assignment-posix-subassign pass ../../check.t:xxx-exec-environment-1 pass ../../check.t:xxx-exec-environment-2 pass ../../check.t:exec-function-environment-1 pass ../../check.t:xxx-what-do-you-call-this-1 pass ../../check.t:xxx-prefix-strip-1 pass ../../check.t:xxx-prefix-strip-2 pass ../../check.t:xxx-variable-syntax-1 pass ../../check.t:xxx-variable-syntax-2 pass ../../check.t:xxx-variable-syntax-3 pass ../../check.t:xxx-substitution-eval-order pass ../../check.t:xxx-set-option-1 pass ../../check.t:xxx-exec-1 pass ../../check.t:xxx-while-1 pass ../../check.t:xxx-status-1 pass ../../check.t:xxx-status-2 pass ../../check.t:xxx-clean-chars-1 pass ../../check.t:xxx-param-subst-qmark-1 pass ../../check.t:xxx-param-_-1 pass ../../check.t:tilde-expand-1 pass ../../check.t:tilde-expand-2 pass ../../check.t:exit-err-1 pass ../../check.t:exit-err-2 pass ../../check.t:exit-err-3 pass ../../check.t:exit-err-4 pass ../../check.t:exit-err-5 pass ../../check.t:exit-err-7 pass ../../check.t:exit-err-8 pass ../../check.t:exit-enoent-1 pass ../../check.t:exit-eval-1 pass ../../check.t:exit-trap-1 pass ../../check.t:exit-trap-2 pass ../../check.t:test-stlt-1 pass ../../check.t:test-precedence-1 pass ../../check.t:test-option-1 pass ../../check.t:mkshrc-1 pass ../../check.t:mkshrc-2a pass ../../check.t:mkshrc-2b pass ../../check.t:mkshrc-3 pass ../../check.t:sh-mode-1 pass ../../check.t:sh-mode-2b pass ../../check.t:pipeline-1 pass ../../check.t:pipeline-2 pass ../../check.t:pipeline-3 pass ../../check.t:persist-history-1 pass ../../check.t:typeset-1 pass ../../check.t:typeset-padding-1 pass ../../check.t:typeset-padding-2 pass ../../check.t:utf8bom-1 pass ../../check.t:utf8bom-2 pass ../../check.t:utf8bom-3 pass ../../check.t:utf8opt-1a pass ../../check.t:utf8opt-2a pass ../../check.t:utf8opt-3a pass ../../check.t:utf8opt-3b pass ../../check.t:aliases-1 pass ../../check.t:aliases-2b pass ../../check.t:aliases-3b pass ../../check.t:aliases-cmdline pass ../../check.t:aliases-funcdef-1 pass ../../check.t:aliases-funcdef-2 pass ../../check.t:aliases-funcdef-3 pass ../../check.t:aliases-funcdef-4 pass ../../check.t:arrays-1 pass ../../check.t:arrays-2a pass ../../check.t:arrays-2b pass ../../check.t:arrays-3 pass ../../check.t:arrays-4 pass ../../check.t:arrays-5 pass ../../check.t:arrays-6 pass ../../check.t:arrays-7 pass ../../check.t:arrays-8 pass ../../check.t:arrays-9a pass ../../check.t:arrays-9b pass ../../check.t:arrassign-basic pass ../../check.t:arrassign-fnc-none pass ../../check.t:arrassign-fnc-local pass ../../check.t:arrassign-fnc-global pass ../../check.t:strassign-fnc-none pass ../../check.t:strassign-fnc-local pass ../../check.t:strassign-fnc-global pass ../../check.t:varexpand-substr-1 pass ../../check.t:varexpand-substr-2 pass ../../check.t:varexpand-substr-3 pass ../../check.t:varexpand-substr-4 pass ../../check.t:varexpand-substr-5A pass ../../check.t:varexpand-substr-5W pass ../../check.t:varexpand-substr-6 pass ../../check.t:varexpand-special-hash pass ../../check.t:varexpand-null-1 pass ../../check.t:varexpand-null-2 pass ../../check.t:print-funny-chars pass ../../check.t:print-bksl-c pass ../../check.t:print-nul-chars pass ../../check.t:print-escapes pass ../../check.t:dollar-doublequoted-strings pass ../../check.t:dollar-quoted-strings pass ../../check.t:dollar-quotes-in-heredocs pass ../../check.t:dollar-quotes-in-herestrings pass ../../check.t:dot-needs-argument pass ../../check.t:alias-function-no-conflict pass ../../check.t:bash-function-parens pass ../../check.t:integer-base-one-1 pass ../../check.t:integer-base-one-2a pass ../../check.t:integer-base-one-2b pass ../../check.t:integer-base-one-2c1 pass ../../check.t:integer-base-one-2c2 pass ../../check.t:integer-base-one-2d1 pass ../../check.t:integer-base-one-2d2 pass ../../check.t:integer-base-one-2d3 pass ../../check.t:integer-base-one-2d4 pass ../../check.t:integer-base-one-2d5 pass ../../check.t:integer-base-one-2d6 pass ../../check.t:integer-base-one-3As pass ../../check.t:integer-base-one-3Ws pass ../../check.t:integer-base-one-3Ar pass ../../check.t:integer-base-one-3Wr pass ../../check.t:integer-base-one-4 pass ../../check.t:integer-base-one-5A pass ../../check.t:integer-base-one-5W pass ../../check.t:ulimit-1 pass ../../check.t:redir-1 pass ../../check.t:bashiop-1 pass ../../check.t:bashiop-2a pass ../../check.t:bashiop-2b pass ../../check.t:bashiop-2c pass ../../check.t:bashiop-3a pass ../../check.t:bashiop-3b pass ../../check.t:bashiop-4 pass ../../check.t:mkshiop-1 pass ../../check.t:mkshiop-2 pass ../../check.t:oksh-shcrash pass ../../check.t:oksh-varfunction-mod1 pass ../../check.t:fd-cloexec-1 pass ../../check.t:fd-cloexec-2 pass ../../check.t:comsub-1a pass ../../check.t:comsub-1b pass ../../check.t:comsub-2 pass ../../check.t:comsub-3 pass ../../check.t:comsub-4 pass ../../check.t:comsub-5 pass ../../check.t:comsub-torture pass ../../check.t:comsub-torture-io pass ../../check.t:test-stnze-1 pass ../../check.t:test-stnze-2 pass ../../check.t:event-subst-3 pass ../../check.t:event-subst-0 pass ../../check.t:nounset-1 pass ../../check.t:nameref-1 pass ../../check.t:nameref-2da pass ../../check.t:nameref-3 pass ../../check.t:nameref-4 pass ../../check.t:better-parens-1a pass ../../check.t:better-parens-1b pass ../../check.t:better-parens-1c pass ../../check.t:better-parens-2a pass ../../check.t:better-parens-2b pass ../../check.t:better-parens-2c pass ../../check.t:better-parens-3a pass ../../check.t:better-parens-3b pass ../../check.t:better-parens-3c pass ../../check.t:better-parens-4a pass ../../check.t:better-parens-4b pass ../../check.t:better-parens-4c pass ../../check.t:echo-test-1 pass ../../check.t:echo-test-2 pass ../../check.t:utilities-getopts-1 pass ../../check.t:utilities-getopts-2 pass ../../check.t:wcswidth-1 pass ../../check.t:wcswidth-2 pass ../../check.t:wcswidth-3 pass ../../check.t:wcswidth-4a pass ../../check.t:wcswidth-4b pass ../../check.t:wcswidth-4c pass ../../check.t:debian-117-1 pass ../../check.t:debian-117-2 pass ../../check.t:debian-117-3 pass ../../check.t:debian-117-4 pass ../../check.t:case-zsh pass ../../check.t:case-braces Total failed: 0 Total passed: 431 Regression test suite run. Building mksh-static with klibc Attempting compilation of mksh in static with CC='klcc' CFLAGS='-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g' CPPFLAGS='-D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL' LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC='-static' LIBS='' + CC=klcc CFLAGS=-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g CPPFLAGS=-D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static LIBS= sh ../../Build.sh -r -c lto Hi from $MirOS: src/bin/mksh/Build.sh,v 1.578.2.1 2013/02/10 16:50:34 tg Exp $ on: $ uname -a >&2 | Linux build05.raspbian.lan 3.2.0-2-mx5 #1 Mon Jun 11 20:41:57 UTC 2012 armv7l GNU/Linux Build.sh: Building the MirBSD Korn Shell R40 2012/07/20 Debian-7 on Linux ... Build.sh: Scanning for functions... please ignore any errors. ... which compiler seems to be used $ klcc -E -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN conftest.c | sed -n '/^[ce]t *= */s/\([ce]t\) *= */=/p' | tr -d \015 >x [ ct="gcc" [ et="klibc" $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -v conftest.c | Using built-in specs. | COLLECT_GCC=/usr/bin/gcc | COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper | Target: arm-linux-gnueabihf | Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf | Thread model: posix | gcc version 4.6.3 (Debian 4.6.3-14+rpi1) | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fwrapv' '-fno-exceptions' '-mabi=aapcs-linux' '-mno-thumb-interwork' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arm-linux-gnueabihf' '-I' '/usr/lib/klibc/include/arch/arm' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '--param' 'ssp-buffer-size=4' '-Wformat' '-Werror=format-security' '-Wall' '-Wextra' '-fno-stack-protector' '-Os' '-g' '-I' '.' '-I' '../..' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_GCC565048' '-D' 'MKSH_BUILDSH' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN' '-v' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' | /usr/lib/gcc/arm-linux-gnueabihf/4.6/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arm-linux-gnueabihf -I /usr/lib/klibc/include/arch/arm -I /usr/lib/klibc/include/bits32 -I /usr/lib/klibc/include -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D _FORTIFY_SOURCE=2 -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_GCC565048 -D MKSH_BUILDSH -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN -iwithprefix include conftest.c -quiet -dumpbase conftest.c -mabi=aapcs-linux -mno-thumb-interwork -march=armv6 -mfloat-abi=hard -mfpu=vfp -auxbase conftest -g -O -Os -Wformat -Werror=format-security -Wall -Wextra -version -fwrapv -fno-exceptions -fno-stack-protector --param ssp-buffer-size=4 -o /tmp/ccJgabNB.s | GNU C (Debian 4.6.3-14+rpi1) version 4.6.3 (arm-linux-gnueabihf) | compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p10, MPC version 0.9 | GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129459 | ignoring nonexistent directory "/usr/lib/klibc/include/arm-linux-gnueabihf" | #include "..." search starts here: | #include <...> search starts here: | /usr/lib/klibc/include/arch/arm | /usr/lib/klibc/include/bits32 | /usr/lib/klibc/include | . | ../.. | /usr/lib/gcc/arm-linux-gnueabihf/4.6/include | End of search list. | GNU C (Debian 4.6.3-14+rpi1) version 4.6.3 (arm-linux-gnueabihf) | compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p10, MPC version 0.9 | GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129459 | Compiler executable checksum: cf78bfe2d99d4ca6e0637950db1b4acd | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fwrapv' '-fno-exceptions' '-mabi=aapcs-linux' '-mno-thumb-interwork' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arm-linux-gnueabihf' '-I' '/usr/lib/klibc/include/arch/arm' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '--param' 'ssp-buffer-size=4' '-Wformat' '-Werror=format-security' '-Wall' '-Wextra' '-fno-stack-protector' '-Os' '-g' '-I' '.' '-I' '../..' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_GCC565048' '-D' 'MKSH_BUILDSH' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN' '-v' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' | as -march=armv6 -mfloat-abi=hard -mfpu=vfp -meabi=5 -o /tmp/cc6iZpG6.o /tmp/ccJgabNB.s | COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fwrapv' '-fno-exceptions' '-mabi=aapcs-linux' '-mno-thumb-interwork' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arm-linux-gnueabihf' '-I' '/usr/lib/klibc/include/arch/arm' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '--param' 'ssp-buffer-size=4' '-Wformat' '-Werror=format-security' '-Wall' '-Wextra' '-fno-stack-protector' '-Os' '-g' '-I' '.' '-I' '../..' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_GCC565048' '-D' 'MKSH_BUILDSH' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN' '-v' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' | /usr/lib/gcc/arm-linux-gnueabihf/4.6/collect2 --sysroot=/ --build-id --no-add-needed --eh-frame-hdr -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=both -m armelf_linux_eabi /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/4.6 -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf /tmp/cc6iZpG6.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crtn.o $ echo `$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN $LIBS \ -dumpmachine` gcc`$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN \ $LIBS -dumpversion` | arm-linux-gnueabihf gcc4.6 ==> which compiler seems to be used... gcc on klibc ... if the compiler works $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if the compiler works... yes ... if the compiler does not fail correctly $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/static/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ==> if the compiler does not fail correctly... no ==> if this could be tcc... no (implied) ... if -Wno-error can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -Wno-error -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Wno-error can be used... yes ... if -Werror can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -Werror -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Werror can be used... yes ... if -Wno-overflow can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -Wno-overflow -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Wno-overflow can be used... yes ... if -fno-strict-aliasing can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -fno-strict-aliasing can be used... yes ... if -fstack-protector-all can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -fstack-protector-all -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/static/conftest.c:2: undefined reference to `__stack_chk_fail' ] /«PKGBUILDDIR»/builddir/static/conftest.c:2: undefined reference to `__stack_chk_guard' ==> if -fstack-protector-all can be used... no ... if gcc supports -flto=jobserver -fuse-linker-plugin $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if gcc supports -flto=jobserver -fuse-linker-plugin... yes ==> if -Wall can be used... no (cached) ... if -fwrapv can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -fwrapv can be used... yes ... for __attribute__((__bounded__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cE(9:5) - '__bounded__' attribute directive ignored [-Werror=attributes] ] cE(9:5) - '__bounded__' attribute directive ignored [-Werror=attributes] ] cc1: all warnings being treated as errors ==> for __attribute__((__bounded__))... no ... for __attribute__((__format__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__format__))... yes ... for __attribute__((__nonnull__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__nonnull__))... yes ... for __attribute__((__noreturn__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__noreturn__))... yes ... for __attribute__((__unused__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__unused__))... yes ... for __attribute__((__used__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__used__))... yes ... if a reduced-feature mksh is requested $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if a reduced-feature mksh is requested... yes ... if a reduced-feature sh is requested $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if a reduced-feature sh is requested... yes ... if mksh will be built without job control $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/static/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ==> if mksh will be built without job control... no ... if mksh will be built without job signals $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/static/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ==> if mksh will be built without job signals... no ... if the default UTF-8 mode is specified $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/static/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ==> if the default UTF-8 mode is specified... no ==> if traditional/conservative fd use is requested... yes (cached) ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2:26: fatal error: sys/bsdtypes.h: No such file or directory ] compilation terminated. ==> ... no ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:3:23: fatal error: sys/mkdev.h: No such file or directory ] compilation terminated. ==> ... no ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2:21: fatal error: bstring.h: No such file or directory ] compilation terminated. ==> ... no ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2:20: fatal error: libgen.h: No such file or directory ] compilation terminated. ==> ... no ==> ... no (cached) ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:4:21: fatal error: strings.h: No such file or directory ] compilation terminated. ==> ... no ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:3:20: fatal error: ulimit.h: No such file or directory ] compilation terminated. ==> ... no ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2:20: fatal error: values.h: No such file or directory ] compilation terminated. ==> ... no ... for large file support $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for large file support... yes ==> ... with -D_FILE_OFFSET_BITS=64... no (implied) ==> ... with -D_LARGE_FILES=1... no (implied) ==> for standard 32-bit integer types... yes (implied) ==> for UCB 32-bit integer types... yes (implied) ==> for standard 8-bit integer type... yes (implied) ==> for UCB 8-bit integer type... yes (implied) ... rlim_t $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cE(5:32) - 'rlim_t' undeclared (first use in this function) ] conftest.c:5:32: note: each undeclared identifier is reported only once for each function it appears in ] cE(5:39) - expected ')' before numeric constant ] cW(5:39) - control reaches end of non-void function [-Wreturn-type] ==> rlim_t... no ... sig_t $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cE(4:43) - 'sig_t' undeclared (first use in this function) ] conftest.c:4:43: note: each undeclared identifier is reported only once for each function it appears in ] cE(4:50) - expected expression before 'ptrdiff_t' ] cE(4:60) - expected ')' before 'kill' ] cW(4:60) - control reaches end of non-void function [-Wreturn-type] ==> sig_t... no ... sighandler_t $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cE(4:43) - 'sighandler_t' undeclared (first use in this function) ] conftest.c:4:43: note: each undeclared identifier is reported only once for each function it appears in ] cE(4:57) - expected expression before 'ptrdiff_t' ] cE(4:67) - expected ')' before 'kill' ] cW(4:67) - control reaches end of non-void function [-Wreturn-type] ==> sighandler_t... no ... __sighandler_t $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> __sighandler_t... yes ... checking if the final link command may succeed klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -Wno-error -c conftest.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -o a.out conftest.o || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> checking if the final link command may succeed... yes ... the sys_signame[] array $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/static/conftest.c:2: undefined reference to `sys_signame' ==> the sys_signame[] array... no ... the _sys_signame[] array $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/static/conftest.c:2: undefined reference to `_sys_signame' ==> the _sys_signame[] array... no ... the sys_siglist[] array $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> the sys_siglist[] array... yes ==> the _sys_siglist[] array... no (implied) ==> strsignal... no (implied) ... flock $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(3:1) - implicit declaration of function 'flock' [-Wimplicit-function-declaration] ==> flock... yes ==> whether we can lock files with fcntl... yes (implied) ... getrusage $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> getrusage... yes ... killpg $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(2:1) - implicit declaration of function 'killpg' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/static/conftest.c:2: undefined reference to `killpg' ==> killpg... no ==> if to use mknod(), makedev() and friends... no (cached) ... for mmap and munmap $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for mmap and munmap... yes ==> nice... no (cached) ==> revoke... no (cached) ==> setlocale(LC_CTYPE, "")... no (cached) ==> nl_langinfo(CODESET)... no (implied) ... select $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> select... yes ... setresugid $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/static/conftest.c:3: undefined reference to `setresgid' ==> setresugid... no ==> setgroups... no (implied) ... whether klibc uses RT signals $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> whether klibc uses RT signals... yes ==> whether sigsuspend is usable (1/2)... yes (implied) ==> whether sigsuspend is usable (2/2)... yes (implied) ... strlcpy $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> strlcpy... yes ... if flock() does not need to be declared $ klcc -c -o a.out -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if flock() does not need to be declared... no ==> if revoke() does not need to be declared... yes (implied) ... if sys_siglist[] does not need to be declared $ klcc -c -o a.out -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cE(3:12) - conflicting types for 'sys_siglist' ] /usr/lib/klibc/include/signal.h:52:28: note: previous declaration of 'sys_siglist' was here ==> if sys_siglist[] does not need to be declared... yes ==> if to use persistent history... no (cached) ... whether compile-time assertions pass $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -Wno-overflow -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> whether compile-time assertions pass... yes run-time checks follow, please ignore any weird errors ... (run-time) whether signed integer division overflows wrap silently $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done | running test programme; this will fail if cross-compiling | in which case we will gracefully degrade to the default | result: si ==> (run-time) whether signed integer division overflows wrap silently... yes end of run-time checks ... checking if the C Preprocessor supports -dD $ klcc -E -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -Wno-error -dD conftest.c >x ==> checking if the C Preprocessor supports -dD... yes ... done. Generating list of signal names... NSIG=64 ... INT=2 SEGV=11 ABRT=6 KILL=9 ALRM=14 BUS=7 CHLD=17 CONT=18 FPE=8 HUP=1 ILL=4 IO=29 PIPE=13 PROF=27 PWR=30 QUIT=3 STOP=19 SYS=31 TERM=15 TRAP=5 TSTP=20 TTIN=21 TTOU=22 URG=23 USR1=10 USR2=12 VTALRM=26 WINCH=28 XCPU=24 XFSZ=25 RTMIN=32 STKFLT=16 done. Build.sh: Finished configuration testing, now producing output. klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../lalloc.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../eval.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../exec.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../expr.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../funcs.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../histrap.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../jobs.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../lex.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../main.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../misc.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../shf.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../syn.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../tree.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../var.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../edit.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../strlcpy.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_GCC565048 -DMKSH_BUILDSH -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=0 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_PRINTF_BUILTIN -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../printf.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -o mksh lalloc.o eval.o exec.o expr.o funcs.o histrap.o jobs.o lex.o main.o misc.o shf.o syn.o tree.o var.o edit.o strlcpy.o printf.o || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done size mksh text data bss dec hex filename 171531 440 7880 179851 2be8b mksh Installing the shell: # install -c -s -o root -g bin -m 555 mksh /bin/mksh # grep -x /bin/mksh /etc/shells >/dev/null || echo /bin/mksh >>/etc/shells # install -c -o root -g bin -m 444 dot.mkshrc /usr/share/doc/mksh/examples/ Installing the manual: # install -c -o root -g bin -m 444 mksh.1 /usr/share/man/man1/mksh.1 Run the regression test suite: ./test.sh Please also read the sample file dot.mkshrc and the fine manual. + test -f mksh + gotbin=1 + set +x Got a binary, doing run-time checks. Running simple checks on the binary. pass ../../debian/mtest.t:mtest-builtin pass ../../debian/mtest.t:mtest-external pass ../../debian/mtest.t:mtest-ascii1 pass ../../debian/mtest.t:mtest-brkcontin pass ../../debian/mtest.t:mtest-select-works Total failed: 0 Total passed: 5 Simple tests okay. Running mksh regression test suite. This needs /dev/tty and /dev/ptmx in the chroot. Testing mksh for conformance: # $MirOS: src/bin/mksh/check.t,v 1.549.2.4 2013/02/15 18:54:47 tg Exp $ @(#)MIRBSD KSH R40 2012/07/20 Debian-7 This shell is actually: @(#)MIRBSD KSH R40 2012/07/20 Debian-7 test.sh built for mksh R40 2012/07/20 Debian-7 Trying Perl interpreter 'perl5'... ./test.sh[65]: perl5: not found Errorlevel 127, running on '' => not using Trying Perl interpreter 'perl'... Errorlevel 0, running on 'linux, Perl version 5.014002' => using it + perl ../../check.pl -p /«PKGBUILDDIR»/builddir/static/mksh -C shell:legacy-no,int:32,smksh,binsh,convfds,no-histfile -v -s ../../check.t pass ../../check.t:KSH_VERSION pass ../../check.t:selftest-1 pass ../../check.t:selftest-2 pass ../../check.t:selftest-3 pass ../../check.t:selftest-direct-builtin-call pass ../../check.t:alias-1 pass ../../check.t:alias-2 pass ../../check.t:alias-3 pass ../../check.t:alias-4 pass ../../check.t:alias-5 pass ../../check.t:alias-6 pass ../../check.t:alias-7 pass ../../check.t:alias-8 pass ../../check.t:alias-9 pass ../../check.t:alias-10 pass ../../check.t:arith-lazy-1 pass ../../check.t:arith-lazy-2 pass ../../check.t:arith-lazy-3 pass ../../check.t:arith-ternary-prec-1 pass ../../check.t:arith-ternary-prec-2 pass ../../check.t:arith-div-assoc-1 pass ../../check.t:arith-div-byzero pass ../../check.t:arith-div-intmin-by-minusone pass ../../check.t:arith-assop-assoc-1 pass ../../check.t:arith-unsigned-1 pass ../../check.t:arith-limit32-1 pass ../../check.t:bksl-nl-ign-1 pass ../../check.t:bksl-nl-ign-2 pass ../../check.t:bksl-nl-ign-3 pass ../../check.t:bksl-nl-ign-4 pass ../../check.t:bksl-nl-ign-5 pass ../../check.t:bksl-nl-1 pass ../../check.t:bksl-nl-2 pass ../../check.t:bksl-nl-3 pass ../../check.t:bksl-nl-4 pass ../../check.t:bksl-nl-5 pass ../../check.t:bksl-nl-6 pass ../../check.t:bksl-nl-7 pass ../../check.t:bksl-nl-8 pass ../../check.t:bksl-nl-9 pass ../../check.t:bksl-nl-10 pass ../../check.t:bksl-nl-ksh-1 pass ../../check.t:bksl-nl-ksh-2 pass ../../check.t:break-1 pass ../../check.t:break-2 pass ../../check.t:break-3 pass ../../check.t:break-4 pass ../../check.t:break-5 pass ../../check.t:continue-1 pass ../../check.t:continue-2 pass ../../check.t:continue-3 pass ../../check.t:continue-4 pass ../../check.t:continue-5 pass ../../check.t:cd-history pass ../../check.t:cd-pe pass ../../check.t:env-prompt pass ../../check.t:expand-ugly pass ../../check.t:expand-unglob-dblq pass ../../check.t:expand-unglob-unq pass ../../check.t:expand-threecolons-dblq pass ../../check.t:expand-threecolons-unq pass ../../check.t:expand-weird-1 pass ../../check.t:expand-weird-2 pass ../../check.t:expand-weird-3 pass ../../check.t:eglob-bad-1 pass ../../check.t:eglob-bad-2 pass ../../check.t:eglob-infinite-plus pass ../../check.t:eglob-subst-1 pass ../../check.t:eglob-nomatch-1 pass ../../check.t:eglob-match-1 pass ../../check.t:eglob-case-1 pass ../../check.t:eglob-case-2 pass ../../check.t:eglob-trim-1 pass ../../check.t:eglob-trim-2 pass ../../check.t:eglob-trim-3 pass ../../check.t:eglob-substrpl-1 pass ../../check.t:eglob-substrpl-2 pass ../../check.t:eglob-substrpl-3a pass ../../check.t:eglob-substrpl-3b pass ../../check.t:eglob-substrpl-3c pass ../../check.t:eglob-utf8-1 pass ../../check.t:glob-bad-1 pass ../../check.t:glob-bad-2 pass ../../check.t:glob-range-1 pass ../../check.t:glob-range-2 pass ../../check.t:glob-range-3 pass ../../check.t:glob-range-4 pass ../../check.t:glob-range-5 pass ../../check.t:heredoc-1 pass ../../check.t:heredoc-2 pass ../../check.t:heredoc-3 pass ../../check.t:heredoc-4 pass ../../check.t:heredoc-5 pass ../../check.t:heredoc-6 pass ../../check.t:heredoc-7 pass ../../check.t:heredoc-8 pass ../../check.t:heredoc-9a pass ../../check.t:heredoc-9c pass ../../check.t:heredoc-9d pass ../../check.t:heredoc-9e pass ../../check.t:heredoc-10 pass ../../check.t:heredoc-11 pass ../../check.t:heredoc-comsub-1 pass ../../check.t:heredoc-comsub-2 pass ../../check.t:heredoc-comsub-3 pass ../../check.t:heredoc-comsub-4 pass ../../check.t:heredoc-subshell-1 pass ../../check.t:heredoc-subshell-2 pass ../../check.t:heredoc-subshell-3 pass ../../check.t:heredoc-weird-1 pass ../../check.t:heredoc-weird-2 pass ../../check.t:heredoc-weird-4 pass ../../check.t:heredoc-weird-5 pass ../../check.t:heredoc-quoting-unsubst pass ../../check.t:heredoc-quoting-subst pass ../../check.t:heredoc-tmpfile-1 pass ../../check.t:heredoc-tmpfile-2 pass ../../check.t:heredoc-tmpfile-3 pass ../../check.t:heredoc-tmpfile-4 pass ../../check.t:heredoc-tmpfile-5 pass ../../check.t:heredoc-tmpfile-6 pass ../../check.t:heredoc-tmpfile-7 pass ../../check.t:heredoc-tmpfile-8 pass ../../check.t:history-basic pass ../../check.t:history-dups pass ../../check.t:history-unlink pass ../../check.t:history-e-minus-1 pass ../../check.t:history-e-minus-2 pass ../../check.t:history-e-minus-3 pass ../../check.t:history-e-minus-4 pass ../../check.t:history-e-minus-5 pass ../../check.t:history-list-1 pass ../../check.t:history-list-2 pass ../../check.t:history-list-3 pass ../../check.t:history-list-4 pass ../../check.t:history-list-5 pass ../../check.t:history-list-6 pass ../../check.t:history-list-7 pass ../../check.t:history-list-r-1 pass ../../check.t:history-list-r-2 pass ../../check.t:history-list-r-3 pass ../../check.t:history-subst-1 pass ../../check.t:history-subst-2 pass ../../check.t:history-subst-3 pass ../../check.t:history-subst-4 pass ../../check.t:history-subst-5 pass ../../check.t:history-ed-1 pass ../../check.t:history-ed-2 pass ../../check.t:history-ed-3 pass ../../check.t:IFS-space-1 pass ../../check.t:IFS-colon-1 pass ../../check.t:IFS-null-1 pass ../../check.t:IFS-space-colon-1 pass ../../check.t:IFS-space-colon-2 pass ../../check.t:IFS-space-colon-4 pass ../../check.t:IFS-space-colon-5 pass ../../check.t:IFS-subst-1 pass ../../check.t:integer-base-err-1 pass ../../check.t:integer-base-err-2 pass ../../check.t:integer-base-err-3 pass ../../check.t:integer-base-err-4 pass ../../check.t:integer-base-1 pass ../../check.t:integer-base-2 pass ../../check.t:integer-base-3 pass ../../check.t:integer-base-4 pass ../../check.t:integer-base-5 pass ../../check.t:integer-base-6 pass ../../check.t:integer-base-7 pass ../../check.t:integer-base-check-flat pass ../../check.t:integer-base-check-numeric-from pass ../../check.t:integer-base-check-numeric-to pass ../../check.t:integer-arithmetic-span pass ../../check.t:lineno-stdin pass ../../check.t:lineno-inc pass ../../check.t:lineno-func pass ../../check.t:lineno-unset pass ../../check.t:lineno-unset-use pass ../../check.t:lineno-trap pass ../../check.t:unknown-trap pass ../../check.t:read-IFS-1 pass ../../check.t:read-ksh-1 pass ../../check.t:read-regress-1 pass ../../check.t:read-delim-1 pass ../../check.t:read-ext-1 pass ../../check.t:regression-1 pass ../../check.t:regression-2 pass ../../check.t:regression-6 pass ../../check.t:regression-9 pass ../../check.t:regression-10 pass ../../check.t:regression-11 pass ../../check.t:regression-12 pass ../../check.t:regression-13 pass ../../check.t:regression-14 pass ../../check.t:regression-15 pass ../../check.t:regression-16 pass ../../check.t:regression-17 pass ../../check.t:regression-19 pass ../../check.t:regression-21 pass ../../check.t:regression-22 pass ../../check.t:regression-23 pass ../../check.t:regression-25 pass ../../check.t:regression-26 pass ../../check.t:regression-27 pass ../../check.t:regression-28 pass ../../check.t:regression-29 pass ../../check.t:regression-30 pass ../../check.t:regression-31 pass ../../check.t:regression-32 pass ../../check.t:regression-33 pass ../../check.t:regression-35 pass ../../check.t:regression-36 pass ../../check.t:regression-37 pass ../../check.t:regression-38 pass ../../check.t:regression-39 pass ../../check.t:regression-40 pass ../../check.t:regression-41 pass ../../check.t:regression-42 pass ../../check.t:regression-43 pass ../../check.t:regression-45 pass ../../check.t:regression-46 pass ../../check.t:regression-47 pass ../../check.t:regression-48 pass ../../check.t:regression-49 pass ../../check.t:regression-50 pass ../../check.t:regression-51 pass ../../check.t:regression-52 pass ../../check.t:regression-53 pass ../../check.t:regression-54 pass ../../check.t:regression-55 pass ../../check.t:regression-57 pass ../../check.t:regression-58 pass ../../check.t:regression-59 pass ../../check.t:regression-60 pass ../../check.t:regression-61 pass ../../check.t:regression-62 pass ../../check.t:regression-63 pass ../../check.t:regression-64 pass ../../check.t:regression-65 pass ../../check.t:regression-66 pass ../../check.t:readonly-0 pass ../../check.t:readonly-1 pass ../../check.t:readonly-2a pass ../../check.t:readonly-2b pass ../../check.t:readonly-3 pass ../../check.t:syntax-1 pass ../../check.t:xxx-quoted-newline-1 pass ../../check.t:xxx-quoted-newline-2 pass ../../check.t:xxx-quoted-newline-3 pass ../../check.t:xxx-multi-assignment-cmd pass ../../check.t:xxx-multi-assignment-posix-cmd pass ../../check.t:xxx-multi-assignment-posix-nocmd pass ../../check.t:xxx-multi-assignment-posix-subassign pass ../../check.t:xxx-exec-environment-1 pass ../../check.t:xxx-exec-environment-2 pass ../../check.t:exec-function-environment-1 pass ../../check.t:xxx-what-do-you-call-this-1 pass ../../check.t:xxx-prefix-strip-1 pass ../../check.t:xxx-prefix-strip-2 pass ../../check.t:xxx-variable-syntax-1 pass ../../check.t:xxx-variable-syntax-2 pass ../../check.t:xxx-variable-syntax-3 pass ../../check.t:xxx-substitution-eval-order pass ../../check.t:xxx-set-option-1 pass ../../check.t:xxx-exec-1 pass ../../check.t:xxx-while-1 pass ../../check.t:xxx-status-1 pass ../../check.t:xxx-status-2 pass ../../check.t:xxx-clean-chars-1 pass ../../check.t:xxx-param-subst-qmark-1 pass ../../check.t:xxx-param-_-1 pass ../../check.t:tilde-expand-1 pass ../../check.t:tilde-expand-2 pass ../../check.t:exit-err-1 pass ../../check.t:exit-err-2 pass ../../check.t:exit-err-3 pass ../../check.t:exit-err-4 pass ../../check.t:exit-err-5 pass ../../check.t:exit-err-7 pass ../../check.t:exit-err-8 pass ../../check.t:exit-enoent-1 pass ../../check.t:exit-eval-1 pass ../../check.t:exit-trap-1 pass ../../check.t:exit-trap-2 pass ../../check.t:test-stlt-1 pass ../../check.t:test-precedence-1 pass ../../check.t:test-option-1 pass ../../check.t:mkshrc-1 pass ../../check.t:mkshrc-2a pass ../../check.t:mkshrc-2b pass ../../check.t:mkshrc-3 pass ../../check.t:sh-mode-1 pass ../../check.t:sh-mode-2b pass ../../check.t:pipeline-1 pass ../../check.t:pipeline-2 pass ../../check.t:pipeline-3 pass ../../check.t:typeset-1 pass ../../check.t:typeset-padding-1 pass ../../check.t:typeset-padding-2 pass ../../check.t:utf8bom-1 pass ../../check.t:utf8bom-3 pass ../../check.t:utf8opt-1a pass ../../check.t:utf8opt-2a pass ../../check.t:utf8opt-3a pass ../../check.t:utf8opt-3b pass ../../check.t:aliases-1 pass ../../check.t:aliases-2b pass ../../check.t:aliases-3b pass ../../check.t:aliases-cmdline pass ../../check.t:aliases-funcdef-1 pass ../../check.t:aliases-funcdef-2 pass ../../check.t:aliases-funcdef-3 pass ../../check.t:aliases-funcdef-4 pass ../../check.t:arrays-1 pass ../../check.t:arrays-2a pass ../../check.t:arrays-2b pass ../../check.t:arrays-3 pass ../../check.t:arrays-4 pass ../../check.t:arrays-5 pass ../../check.t:arrays-6 pass ../../check.t:arrays-7 pass ../../check.t:arrays-8 pass ../../check.t:arrays-9a pass ../../check.t:arrays-9b pass ../../check.t:arrassign-basic pass ../../check.t:arrassign-fnc-none pass ../../check.t:arrassign-fnc-local pass ../../check.t:arrassign-fnc-global pass ../../check.t:strassign-fnc-none pass ../../check.t:strassign-fnc-local pass ../../check.t:strassign-fnc-global pass ../../check.t:varexpand-substr-1 pass ../../check.t:varexpand-substr-2 pass ../../check.t:varexpand-substr-3 pass ../../check.t:varexpand-substr-4 pass ../../check.t:varexpand-substr-5A pass ../../check.t:varexpand-substr-5W pass ../../check.t:varexpand-substr-6 pass ../../check.t:varexpand-special-hash pass ../../check.t:varexpand-null-1 pass ../../check.t:varexpand-null-2 pass ../../check.t:print-funny-chars pass ../../check.t:print-bksl-c pass ../../check.t:print-nul-chars pass ../../check.t:print-escapes pass ../../check.t:dollar-doublequoted-strings pass ../../check.t:dollar-quoted-strings pass ../../check.t:dollar-quotes-in-heredocs pass ../../check.t:dollar-quotes-in-herestrings pass ../../check.t:dot-needs-argument pass ../../check.t:alias-function-no-conflict pass ../../check.t:bash-function-parens pass ../../check.t:integer-base-one-1 pass ../../check.t:integer-base-one-2a pass ../../check.t:integer-base-one-2b pass ../../check.t:integer-base-one-2c1 pass ../../check.t:integer-base-one-2c2 pass ../../check.t:integer-base-one-2d1 pass ../../check.t:integer-base-one-2d2 pass ../../check.t:integer-base-one-2d3 pass ../../check.t:integer-base-one-2d4 pass ../../check.t:integer-base-one-2d5 pass ../../check.t:integer-base-one-2d6 pass ../../check.t:integer-base-one-3As pass ../../check.t:integer-base-one-3Ws pass ../../check.t:integer-base-one-3Ar pass ../../check.t:integer-base-one-3Wr pass ../../check.t:integer-base-one-5A pass ../../check.t:integer-base-one-5W pass ../../check.t:ulimit-1 pass ../../check.t:redir-1 pass ../../check.t:bashiop-1 pass ../../check.t:bashiop-2a pass ../../check.t:bashiop-2b pass ../../check.t:bashiop-2c pass ../../check.t:bashiop-3a pass ../../check.t:bashiop-3b pass ../../check.t:bashiop-4 pass ../../check.t:oksh-shcrash pass ../../check.t:oksh-varfunction-mod1 pass ../../check.t:fd-cloexec-1 pass ../../check.t:fd-cloexec-2 pass ../../check.t:comsub-1a pass ../../check.t:comsub-1b pass ../../check.t:comsub-2 pass ../../check.t:comsub-3 pass ../../check.t:comsub-5 pass ../../check.t:comsub-torture pass ../../check.t:comsub-torture-io pass ../../check.t:test-stnze-1 pass ../../check.t:test-stnze-2 pass ../../check.t:event-subst-0 pass ../../check.t:nounset-1 pass ../../check.t:nameref-1 pass ../../check.t:nameref-2da pass ../../check.t:nameref-3 pass ../../check.t:nameref-4 pass ../../check.t:better-parens-1a pass ../../check.t:better-parens-1b pass ../../check.t:better-parens-1c pass ../../check.t:better-parens-2a pass ../../check.t:better-parens-2b pass ../../check.t:better-parens-2c pass ../../check.t:better-parens-3a pass ../../check.t:better-parens-3b pass ../../check.t:better-parens-3c pass ../../check.t:better-parens-4a pass ../../check.t:better-parens-4b pass ../../check.t:better-parens-4c pass ../../check.t:echo-test-1 pass ../../check.t:echo-test-2 pass ../../check.t:utilities-getopts-1 pass ../../check.t:utilities-getopts-2 pass ../../check.t:wcswidth-1 pass ../../check.t:wcswidth-2 pass ../../check.t:wcswidth-3 pass ../../check.t:wcswidth-4a pass ../../check.t:wcswidth-4b pass ../../check.t:wcswidth-4c pass ../../check.t:debian-117-1 pass ../../check.t:debian-117-2 pass ../../check.t:debian-117-3 pass ../../check.t:debian-117-4 pass ../../check.t:case-zsh pass ../../check.t:case-braces Total failed: 0 Total passed: 424 Regression test suite run. Building mksh-legacy with klibc Attempting compilation of mksh in legacy with CC='klcc' CFLAGS='-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g' CPPFLAGS='-D_FORTIFY_SOURCE=2' LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC='-static' LIBS='' + CC=klcc CFLAGS=-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static LIBS= sh ../../Build.sh -r -c lto -L Hi from $MirOS: src/bin/mksh/Build.sh,v 1.578.2.1 2013/02/10 16:50:34 tg Exp $ on: $ uname -a >&2 | Linux build05.raspbian.lan 3.2.0-2-mx5 #1 Mon Jun 11 20:41:57 UTC 2012 armv7l GNU/Linux Build.sh: Building the MirBSD Korn Shell R40 2012/07/20 Debian-7 on Linux ... Build.sh: Scanning for functions... please ignore any errors. ... which compiler seems to be used $ klcc -E -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN conftest.c | sed -n '/^[ce]t *= */s/\([ce]t\) *= */=/p' | tr -d \015 >x [ ct="gcc" [ et="klibc" $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -v conftest.c | Using built-in specs. | COLLECT_GCC=/usr/bin/gcc | COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper | Target: arm-linux-gnueabihf | Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf | Thread model: posix | gcc version 4.6.3 (Debian 4.6.3-14+rpi1) | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fwrapv' '-fno-exceptions' '-mabi=aapcs-linux' '-mno-thumb-interwork' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arm-linux-gnueabihf' '-I' '/usr/lib/klibc/include/arch/arm' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '--param' 'ssp-buffer-size=4' '-Wformat' '-Werror=format-security' '-Wall' '-Wextra' '-fno-stack-protector' '-Os' '-g' '-I' '.' '-I' '../..' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_BUILDSH' '-D' 'MKSH_LEGACY_MODE' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN' '-v' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' | /usr/lib/gcc/arm-linux-gnueabihf/4.6/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arm-linux-gnueabihf -I /usr/lib/klibc/include/arch/arm -I /usr/lib/klibc/include/bits32 -I /usr/lib/klibc/include -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D _FORTIFY_SOURCE=2 -D MKSH_BUILDSH -D MKSH_LEGACY_MODE -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN -iwithprefix include conftest.c -quiet -dumpbase conftest.c -mabi=aapcs-linux -mno-thumb-interwork -march=armv6 -mfloat-abi=hard -mfpu=vfp -auxbase conftest -g -O -Os -Wformat -Werror=format-security -Wall -Wextra -version -fwrapv -fno-exceptions -fno-stack-protector --param ssp-buffer-size=4 -o /tmp/ccgVAv4A.s | GNU C (Debian 4.6.3-14+rpi1) version 4.6.3 (arm-linux-gnueabihf) | compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p10, MPC version 0.9 | GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129459 | ignoring nonexistent directory "/usr/lib/klibc/include/arm-linux-gnueabihf" | #include "..." search starts here: | #include <...> search starts here: | /usr/lib/klibc/include/arch/arm | /usr/lib/klibc/include/bits32 | /usr/lib/klibc/include | . | ../.. | /usr/lib/gcc/arm-linux-gnueabihf/4.6/include | End of search list. | GNU C (Debian 4.6.3-14+rpi1) version 4.6.3 (arm-linux-gnueabihf) | compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p10, MPC version 0.9 | GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129459 | Compiler executable checksum: cf78bfe2d99d4ca6e0637950db1b4acd | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fwrapv' '-fno-exceptions' '-mabi=aapcs-linux' '-mno-thumb-interwork' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arm-linux-gnueabihf' '-I' '/usr/lib/klibc/include/arch/arm' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '--param' 'ssp-buffer-size=4' '-Wformat' '-Werror=format-security' '-Wall' '-Wextra' '-fno-stack-protector' '-Os' '-g' '-I' '.' '-I' '../..' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_BUILDSH' '-D' 'MKSH_LEGACY_MODE' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN' '-v' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' | as -march=armv6 -mfloat-abi=hard -mfpu=vfp -meabi=5 -o /tmp/ccCydxn6.o /tmp/ccgVAv4A.s | COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fwrapv' '-fno-exceptions' '-mabi=aapcs-linux' '-mno-thumb-interwork' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arm-linux-gnueabihf' '-I' '/usr/lib/klibc/include/arch/arm' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '--param' 'ssp-buffer-size=4' '-Wformat' '-Werror=format-security' '-Wall' '-Wextra' '-fno-stack-protector' '-Os' '-g' '-I' '.' '-I' '../..' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_BUILDSH' '-D' 'MKSH_LEGACY_MODE' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN' '-v' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' | /usr/lib/gcc/arm-linux-gnueabihf/4.6/collect2 --sysroot=/ --build-id --no-add-needed --eh-frame-hdr -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=both -m armelf_linux_eabi /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/4.6 -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf /tmp/ccCydxn6.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crtn.o $ echo `$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN $LIBS \ -dumpmachine` gcc`$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN \ $LIBS -dumpversion` | arm-linux-gnueabihf gcc4.6 ==> which compiler seems to be used... gcc on klibc ... if the compiler works $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if the compiler works... yes ... if the compiler does not fail correctly $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ==> if the compiler does not fail correctly... no ==> if this could be tcc... no (implied) ... if -Wno-error can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -Wno-error -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Wno-error can be used... yes ... if -Werror can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -Werror -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Werror can be used... yes ... if -Wno-overflow can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -Wno-overflow -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Wno-overflow can be used... yes ... if -fno-strict-aliasing can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -fno-strict-aliasing can be used... yes ... if -fstack-protector-all can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -fstack-protector-all -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:2: undefined reference to `__stack_chk_fail' ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:2: undefined reference to `__stack_chk_guard' ==> if -fstack-protector-all can be used... no ... if gcc supports -flto=jobserver -fuse-linker-plugin $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if gcc supports -flto=jobserver -fuse-linker-plugin... yes ==> if -Wall can be used... no (cached) ... if -fwrapv can be used $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -fwrapv can be used... yes ... for __attribute__((__bounded__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cE(9:5) - '__bounded__' attribute directive ignored [-Werror=attributes] ] cE(9:5) - '__bounded__' attribute directive ignored [-Werror=attributes] ] cc1: all warnings being treated as errors ==> for __attribute__((__bounded__))... no ... for __attribute__((__format__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__format__))... yes ... for __attribute__((__nonnull__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__nonnull__))... yes ... for __attribute__((__noreturn__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__noreturn__))... yes ... for __attribute__((__unused__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__unused__))... yes ... for __attribute__((__used__)) $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__used__))... yes ... if a reduced-feature mksh is requested $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ==> if a reduced-feature mksh is requested... no ... if a reduced-feature sh is requested $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ==> if a reduced-feature sh is requested... no ... if mksh will be built without job control $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ==> if mksh will be built without job control... no ... if mksh will be built without job signals $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ==> if mksh will be built without job signals... no ... if the default UTF-8 mode is specified $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(6:5) - implicit declaration of function 'thiswillneverbedefinedIhope' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:1: undefined reference to `thiswillneverbedefinedIhope' ==> if the default UTF-8 mode is specified... no ==> if traditional/conservative fd use is requested... yes (cached) ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2:26: fatal error: sys/bsdtypes.h: No such file or directory ] compilation terminated. ==> ... no ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:3:23: fatal error: sys/mkdev.h: No such file or directory ] compilation terminated. ==> ... no ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2:21: fatal error: bstring.h: No such file or directory ] compilation terminated. ==> ... no ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2:20: fatal error: libgen.h: No such file or directory ] compilation terminated. ==> ... no ==> ... no (cached) ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:4:21: fatal error: strings.h: No such file or directory ] compilation terminated. ==> ... no ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:3:20: fatal error: ulimit.h: No such file or directory ] compilation terminated. ==> ... no ... $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2:20: fatal error: values.h: No such file or directory ] compilation terminated. ==> ... no ... for large file support $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for large file support... yes ==> ... with -D_FILE_OFFSET_BITS=64... no (implied) ==> ... with -D_LARGE_FILES=1... no (implied) ==> for standard 32-bit integer types... yes (implied) ==> for UCB 32-bit integer types... yes (implied) ==> for standard 8-bit integer type... yes (implied) ==> for UCB 8-bit integer type... yes (implied) ... rlim_t $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cE(5:32) - 'rlim_t' undeclared (first use in this function) ] conftest.c:5:32: note: each undeclared identifier is reported only once for each function it appears in ] cE(5:39) - expected ')' before numeric constant ] cW(5:39) - control reaches end of non-void function [-Wreturn-type] ==> rlim_t... no ... sig_t $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cE(4:43) - 'sig_t' undeclared (first use in this function) ] conftest.c:4:43: note: each undeclared identifier is reported only once for each function it appears in ] cE(4:50) - expected expression before 'ptrdiff_t' ] cE(4:60) - expected ')' before 'kill' ] cW(4:60) - control reaches end of non-void function [-Wreturn-type] ==> sig_t... no ... sighandler_t $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cE(4:43) - 'sighandler_t' undeclared (first use in this function) ] conftest.c:4:43: note: each undeclared identifier is reported only once for each function it appears in ] cE(4:57) - expected expression before 'ptrdiff_t' ] cE(4:67) - expected ')' before 'kill' ] cW(4:67) - control reaches end of non-void function [-Wreturn-type] ==> sighandler_t... no ... __sighandler_t $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> __sighandler_t... yes ... checking if the final link command may succeed klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -Wno-error -c conftest.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -o a.out conftest.o || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> checking if the final link command may succeed... yes ... the sys_signame[] array $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:2: undefined reference to `sys_signame' ==> the sys_signame[] array... no ... the _sys_signame[] array $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:2: undefined reference to `_sys_signame' ==> the _sys_signame[] array... no ... the sys_siglist[] array $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> the sys_siglist[] array... yes ==> the _sys_siglist[] array... no (implied) ==> strsignal... no (implied) ... flock $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(3:1) - implicit declaration of function 'flock' [-Wimplicit-function-declaration] ==> flock... yes ==> whether we can lock files with fcntl... yes (implied) ... getrusage $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> getrusage... yes ... killpg $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function 'main': ] cW(2:1) - implicit declaration of function 'killpg' [-Wimplicit-function-declaration] ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:2: undefined reference to `killpg' ==> killpg... no ==> if to use mknod(), makedev() and friends... no (cached) ... for mmap and munmap $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for mmap and munmap... yes ... nice $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> nice... yes ==> revoke... no (cached) ==> setlocale(LC_CTYPE, "")... no (cached) ==> nl_langinfo(CODESET)... no (implied) ... select $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> select... yes ... setresugid $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.o: In function `main': ] /«PKGBUILDDIR»/builddir/legacy/conftest.c:3: undefined reference to `setresgid' ==> setresugid... no ==> setgroups... no (implied) ... whether klibc uses RT signals $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> whether klibc uses RT signals... yes ==> whether sigsuspend is usable (1/2)... yes (implied) ==> whether sigsuspend is usable (2/2)... yes (implied) ... strlcpy $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> strlcpy... yes ... if flock() does not need to be declared $ klcc -c -o a.out -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if flock() does not need to be declared... no ==> if revoke() does not need to be declared... yes (implied) ... if sys_siglist[] does not need to be declared $ klcc -c -o a.out -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cE(3:12) - conflicting types for 'sys_siglist' ] /usr/lib/klibc/include/signal.h:52:28: note: previous declaration of 'sys_siglist' was here ==> if sys_siglist[] does not need to be declared... yes ==> if to use persistent history... no (cached) ... whether compile-time assertions pass $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -Wno-overflow -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> whether compile-time assertions pass... yes ... whether long is 32 bit wide $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> whether long is 32 bit wide... yes ==> whether long is 64 bit wide... no (implied) run-time checks follow, please ignore any weird errors ... (run-time) whether signed integer division overflows wrap silently $ klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done | running test programme; this will fail if cross-compiling | in which case we will gracefully degrade to the default | result: si ==> (run-time) whether signed integer division overflows wrap silently... yes end of run-time checks ... checking if the C Preprocessor supports -dD $ klcc -E -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -Wno-error -dD conftest.c >x ==> checking if the C Preprocessor supports -dD... yes ... done. Generating list of signal names... NSIG=64 ... INT=2 SEGV=11 ABRT=6 KILL=9 ALRM=14 BUS=7 CHLD=17 CONT=18 FPE=8 HUP=1 ILL=4 IO=29 PIPE=13 PROF=27 PWR=30 QUIT=3 STOP=19 SYS=31 TERM=15 TRAP=5 TSTP=20 TTIN=21 TTOU=22 URG=23 USR1=10 USR2=12 VTALRM=26 WINCH=28 XCPU=24 XFSZ=25 RTMIN=32 STKFLT=16 done. Build.sh: Finished configuration testing, now producing output. klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../lalloc.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../eval.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../exec.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../expr.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../funcs.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../histrap.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../jobs.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../lex.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../main.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../misc.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../shf.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../syn.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../tree.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../var.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -I. -I'../..' -D_FORTIFY_SOURCE=2 -DMKSH_BUILDSH -DMKSH_LEGACY_MODE -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN -DMKSH_NO_LIMITS -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NONNULL=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=0 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=0 -DHAVE_CAN_INTTYPES=1 -DHAVE_CAN_UCBINTS=1 -DHAVE_CAN_INT8TYPE=1 -DHAVE_CAN_UCBINT8=1 -DHAVE_RLIM_T=0 -Dsig_t=__sighandler_t -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=0 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRLCPY=1 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=0 -DHAVE_LONG_32BIT=1 -DHAVE_LONG_64BIT=0 -DHAVE_SILENT_IDIVWRAPV=1 -DMKSH_OPTSTATIC -DMKSH_BUILD_R=409 -c ../../strlcpy.c klcc -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -fno-stack-protector -Os -g -fno-strict-aliasing -flto=jobserver -fwrapv -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fuse-linker-plugin -o lksh lalloc.o eval.o exec.o expr.o funcs.o histrap.o jobs.o lex.o main.o misc.o shf.o syn.o tree.o var.o strlcpy.o || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done size lksh text data bss dec hex filename 155754 432 3456 159642 26f9a lksh Installing the shell: # install -c -s -o root -g bin -m 555 lksh /bin/lksh # grep -x /bin/lksh /etc/shells >/dev/null || echo /bin/lksh >>/etc/shells # install -c -o root -g bin -m 444 dot.mkshrc /usr/share/doc/mksh/examples/ Installing the manual: # install -c -o root -g bin -m 444 mksh.1 /usr/share/man/man1/lksh.1 Run the regression test suite: ./test.sh Please also read the sample file dot.mkshrc and the fine manual. + test -f lksh + gotbin=1 + set +x Running simple checks on the binary. pass ../../debian/mtest.t:mtest-builtin pass ../../debian/mtest.t:mtest-external pass ../../debian/mtest.t:mtest-ascii1 pass ../../debian/mtest.t:mtest-brkcontin pass ../../debian/mtest.t:mtest-select-works Total failed: 0 Total passed: 5 Simple tests okay. Running mksh regression test suite. This needs /dev/tty and /dev/ptmx in the chroot. Testing mksh for conformance: # $MirOS: src/bin/mksh/check.t,v 1.549.2.4 2013/02/15 18:54:47 tg Exp $ @(#)MIRBSD KSH R40 2012/07/20 Debian-7 This shell is actually: @(#)LEGACY KSH R40 2012/07/20 Debian-7 test.sh built for mksh R40 2012/07/20 Debian-7 Trying Perl interpreter 'perl5'... ./test.sh[65]: perl5: not found Errorlevel 127, running on '' => not using Trying Perl interpreter 'perl'... Errorlevel 0, running on 'linux, Perl version 5.014002' => using it + perl ../../check.pl -p /«PKGBUILDDIR»/builddir/legacy/lksh -C shell:legacy-yes,convfds,no-histfile,int:32 -v -s ../../check.t pass ../../check.t:KSH_VERSION-legacy pass ../../check.t:selftest-1 pass ../../check.t:selftest-2 pass ../../check.t:selftest-3 pass ../../check.t:selftest-legacy pass ../../check.t:selftest-direct-builtin-call pass ../../check.t:alias-1 pass ../../check.t:alias-2 pass ../../check.t:alias-3 pass ../../check.t:alias-4 pass ../../check.t:alias-5 pass ../../check.t:alias-6 pass ../../check.t:alias-7 pass ../../check.t:alias-8 pass ../../check.t:alias-9 pass ../../check.t:alias-10 pass ../../check.t:arith-lazy-1 pass ../../check.t:arith-lazy-2 pass ../../check.t:arith-lazy-3 pass ../../check.t:arith-ternary-prec-1 pass ../../check.t:arith-ternary-prec-2 pass ../../check.t:arith-div-assoc-1 pass ../../check.t:arith-div-byzero pass ../../check.t:arith-div-intmin-by-minusone pass ../../check.t:arith-assop-assoc-1 pass ../../check.t:arith-unsigned-1 pass ../../check.t:arith-limit32-1 pass ../../check.t:bksl-nl-ign-1 pass ../../check.t:bksl-nl-ign-2 pass ../../check.t:bksl-nl-ign-3 pass ../../check.t:bksl-nl-ign-4 pass ../../check.t:bksl-nl-ign-5 pass ../../check.t:bksl-nl-1 pass ../../check.t:bksl-nl-2 pass ../../check.t:bksl-nl-3 pass ../../check.t:bksl-nl-4 pass ../../check.t:bksl-nl-5 pass ../../check.t:bksl-nl-6 pass ../../check.t:bksl-nl-7 pass ../../check.t:bksl-nl-8 pass ../../check.t:bksl-nl-9 pass ../../check.t:bksl-nl-10 pass ../../check.t:bksl-nl-ksh-1 pass ../../check.t:bksl-nl-ksh-2 pass ../../check.t:break-1 pass ../../check.t:break-2 pass ../../check.t:break-3 pass ../../check.t:break-4 pass ../../check.t:break-5 pass ../../check.t:continue-1 pass ../../check.t:continue-2 pass ../../check.t:continue-3 pass ../../check.t:continue-4 pass ../../check.t:continue-5 pass ../../check.t:cd-history pass ../../check.t:cd-pe pass ../../check.t:env-prompt pass ../../check.t:expand-ugly pass ../../check.t:expand-unglob-dblq pass ../../check.t:expand-unglob-unq pass ../../check.t:expand-threecolons-dblq pass ../../check.t:expand-threecolons-unq pass ../../check.t:expand-weird-1 pass ../../check.t:expand-weird-2 pass ../../check.t:expand-weird-3 pass ../../check.t:eglob-bad-1 pass ../../check.t:eglob-bad-2 pass ../../check.t:eglob-infinite-plus pass ../../check.t:eglob-subst-1 pass ../../check.t:eglob-nomatch-1 pass ../../check.t:eglob-match-1 pass ../../check.t:eglob-case-1 pass ../../check.t:eglob-case-2 pass ../../check.t:eglob-trim-1 pass ../../check.t:eglob-trim-2 pass ../../check.t:eglob-trim-3 pass ../../check.t:eglob-substrpl-1 pass ../../check.t:eglob-substrpl-2 pass ../../check.t:eglob-substrpl-3a pass ../../check.t:eglob-substrpl-3b pass ../../check.t:eglob-substrpl-3c pass ../../check.t:eglob-utf8-1 pass ../../check.t:glob-bad-1 pass ../../check.t:glob-bad-2 pass ../../check.t:glob-range-1 pass ../../check.t:glob-range-2 pass ../../check.t:glob-range-3 pass ../../check.t:glob-range-4 pass ../../check.t:glob-range-5 pass ../../check.t:heredoc-1 pass ../../check.t:heredoc-2 pass ../../check.t:heredoc-3 pass ../../check.t:heredoc-4 pass ../../check.t:heredoc-5 pass ../../check.t:heredoc-6 pass ../../check.t:heredoc-7 pass ../../check.t:heredoc-8 pass ../../check.t:heredoc-9a pass ../../check.t:heredoc-9c pass ../../check.t:heredoc-9d pass ../../check.t:heredoc-9e pass ../../check.t:heredoc-10 pass ../../check.t:heredoc-11 pass ../../check.t:heredoc-comsub-1 pass ../../check.t:heredoc-comsub-2 pass ../../check.t:heredoc-comsub-3 pass ../../check.t:heredoc-comsub-4 pass ../../check.t:heredoc-subshell-1 pass ../../check.t:heredoc-subshell-2 pass ../../check.t:heredoc-subshell-3 pass ../../check.t:heredoc-weird-1 pass ../../check.t:heredoc-weird-2 pass ../../check.t:heredoc-weird-4 pass ../../check.t:heredoc-weird-5 pass ../../check.t:heredoc-quoting-unsubst pass ../../check.t:heredoc-quoting-subst pass ../../check.t:heredoc-tmpfile-1 pass ../../check.t:heredoc-tmpfile-2 pass ../../check.t:heredoc-tmpfile-3 pass ../../check.t:heredoc-tmpfile-4 pass ../../check.t:heredoc-tmpfile-5 pass ../../check.t:heredoc-tmpfile-6 pass ../../check.t:heredoc-tmpfile-7 pass ../../check.t:heredoc-tmpfile-8 pass ../../check.t:history-basic pass ../../check.t:history-dups pass ../../check.t:history-unlink pass ../../check.t:history-e-minus-1 pass ../../check.t:history-e-minus-2 pass ../../check.t:history-e-minus-3 pass ../../check.t:history-e-minus-4 pass ../../check.t:history-e-minus-5 pass ../../check.t:history-list-1 pass ../../check.t:history-list-2 pass ../../check.t:history-list-3 pass ../../check.t:history-list-4 pass ../../check.t:history-list-5 pass ../../check.t:history-list-6 pass ../../check.t:history-list-7 pass ../../check.t:history-list-r-1 pass ../../check.t:history-list-r-2 pass ../../check.t:history-list-r-3 pass ../../check.t:history-subst-1 pass ../../check.t:history-subst-2 pass ../../check.t:history-subst-3 pass ../../check.t:history-subst-4 pass ../../check.t:history-subst-5 pass ../../check.t:history-ed-1 pass ../../check.t:history-ed-2 pass ../../check.t:history-ed-3 pass ../../check.t:IFS-space-1 pass ../../check.t:IFS-colon-1 pass ../../check.t:IFS-null-1 pass ../../check.t:IFS-space-colon-1 pass ../../check.t:IFS-space-colon-2 pass ../../check.t:IFS-space-colon-4 pass ../../check.t:IFS-space-colon-5 pass ../../check.t:IFS-subst-1 pass ../../check.t:integer-base-err-1 pass ../../check.t:integer-base-err-2 pass ../../check.t:integer-base-err-3 pass ../../check.t:integer-base-err-4 pass ../../check.t:integer-base-1 pass ../../check.t:integer-base-2 pass ../../check.t:integer-base-3 pass ../../check.t:integer-base-4 pass ../../check.t:integer-base-5 pass ../../check.t:integer-base-6 pass ../../check.t:integer-base-7 pass ../../check.t:integer-base-check-flat-legacy pass ../../check.t:integer-base-check-numeric-from pass ../../check.t:integer-base-check-numeric-to pass ../../check.t:integer-arithmetic-span pass ../../check.t:lineno-stdin pass ../../check.t:lineno-inc pass ../../check.t:lineno-func pass ../../check.t:lineno-unset pass ../../check.t:lineno-unset-use pass ../../check.t:lineno-trap pass ../../check.t:unknown-trap pass ../../check.t:read-IFS-1 pass ../../check.t:read-ksh-1 pass ../../check.t:read-regress-1 pass ../../check.t:read-delim-1 pass ../../check.t:read-ext-1 pass ../../check.t:regression-1 pass ../../check.t:regression-2 pass ../../check.t:regression-6 pass ../../check.t:regression-9 pass ../../check.t:regression-10-legacy pass ../../check.t:regression-11 pass ../../check.t:regression-12 pass ../../check.t:regression-13 pass ../../check.t:regression-14 pass ../../check.t:regression-15 pass ../../check.t:regression-16 pass ../../check.t:regression-17 pass ../../check.t:regression-19 pass ../../check.t:regression-21 pass ../../check.t:regression-22 pass ../../check.t:regression-23 pass ../../check.t:regression-25 pass ../../check.t:regression-26 pass ../../check.t:regression-27 pass ../../check.t:regression-28 pass ../../check.t:regression-29 pass ../../check.t:regression-30 pass ../../check.t:regression-31 pass ../../check.t:regression-32 pass ../../check.t:regression-33 pass ../../check.t:regression-35 pass ../../check.t:regression-36 pass ../../check.t:regression-37 pass ../../check.t:regression-38 pass ../../check.t:regression-39 pass ../../check.t:regression-40 pass ../../check.t:regression-41 pass ../../check.t:regression-42 pass ../../check.t:regression-43 pass ../../check.t:regression-45 pass ../../check.t:regression-46 pass ../../check.t:regression-47 pass ../../check.t:regression-48 pass ../../check.t:regression-49 pass ../../check.t:regression-50 pass ../../check.t:regression-51 pass ../../check.t:regression-52 pass ../../check.t:regression-53 pass ../../check.t:regression-54 pass ../../check.t:regression-55 pass ../../check.t:regression-57 pass ../../check.t:regression-58 pass ../../check.t:regression-59 pass ../../check.t:regression-60 pass ../../check.t:regression-61 pass ../../check.t:regression-62 pass ../../check.t:regression-63 pass ../../check.t:regression-64 pass ../../check.t:regression-65 pass ../../check.t:regression-66 pass ../../check.t:readonly-0 pass ../../check.t:readonly-1 pass ../../check.t:readonly-2a pass ../../check.t:readonly-2b pass ../../check.t:readonly-3 pass ../../check.t:syntax-1 pass ../../check.t:xxx-quoted-newline-1 pass ../../check.t:xxx-quoted-newline-2 pass ../../check.t:xxx-quoted-newline-3 pass ../../check.t:xxx-multi-assignment-cmd pass ../../check.t:xxx-multi-assignment-posix-cmd pass ../../check.t:xxx-multi-assignment-posix-nocmd pass ../../check.t:xxx-multi-assignment-posix-subassign pass ../../check.t:xxx-exec-environment-1 pass ../../check.t:xxx-exec-environment-2 pass ../../check.t:exec-function-environment-1 pass ../../check.t:xxx-what-do-you-call-this-1 pass ../../check.t:xxx-prefix-strip-1 pass ../../check.t:xxx-prefix-strip-2 pass ../../check.t:xxx-variable-syntax-1 pass ../../check.t:xxx-variable-syntax-2 pass ../../check.t:xxx-variable-syntax-3 pass ../../check.t:xxx-substitution-eval-order pass ../../check.t:xxx-set-option-1 pass ../../check.t:xxx-exec-1 pass ../../check.t:xxx-while-1 pass ../../check.t:xxx-status-1 pass ../../check.t:xxx-status-2 pass ../../check.t:xxx-clean-chars-1 pass ../../check.t:xxx-param-subst-qmark-1 pass ../../check.t:xxx-param-_-1 pass ../../check.t:tilde-expand-1 pass ../../check.t:tilde-expand-2 pass ../../check.t:exit-err-1 pass ../../check.t:exit-err-2 pass ../../check.t:exit-err-3 pass ../../check.t:exit-err-4 pass ../../check.t:exit-err-5 pass ../../check.t:exit-err-7 pass ../../check.t:exit-err-8 pass ../../check.t:exit-enoent-1 pass ../../check.t:exit-eval-1 pass ../../check.t:exit-trap-1 pass ../../check.t:exit-trap-2 pass ../../check.t:test-stlt-1 pass ../../check.t:test-precedence-1 pass ../../check.t:test-option-1 pass ../../check.t:mkshrc-1 pass ../../check.t:mkshrc-2a pass ../../check.t:mkshrc-2b pass ../../check.t:mkshrc-3 pass ../../check.t:sh-mode-1 pass ../../check.t:sh-mode-2a pass ../../check.t:pipeline-1 pass ../../check.t:pipeline-2 pass ../../check.t:pipeline-3 pass ../../check.t:typeset-1 pass ../../check.t:typeset-padding-1 pass ../../check.t:typeset-padding-2 pass ../../check.t:utf8bom-1 pass ../../check.t:utf8bom-2 pass ../../check.t:utf8bom-3 pass ../../check.t:utf8opt-1a pass ../../check.t:utf8opt-2a pass ../../check.t:utf8opt-3a pass ../../check.t:utf8opt-3b pass ../../check.t:aliases-1 pass ../../check.t:aliases-2b pass ../../check.t:aliases-3b pass ../../check.t:aliases-cmdline pass ../../check.t:aliases-funcdef-1 pass ../../check.t:aliases-funcdef-2 pass ../../check.t:aliases-funcdef-3 pass ../../check.t:aliases-funcdef-4 pass ../../check.t:arrays-1 pass ../../check.t:arrays-2a pass ../../check.t:arrays-2b pass ../../check.t:arrays-3 pass ../../check.t:arrays-4 pass ../../check.t:arrays-5 pass ../../check.t:arrays-6 pass ../../check.t:arrays-7 pass ../../check.t:arrays-8 pass ../../check.t:arrays-9a pass ../../check.t:arrays-9b pass ../../check.t:arrassign-basic pass ../../check.t:arrassign-fnc-none pass ../../check.t:arrassign-fnc-local pass ../../check.t:arrassign-fnc-global pass ../../check.t:strassign-fnc-none pass ../../check.t:strassign-fnc-local pass ../../check.t:strassign-fnc-global pass ../../check.t:varexpand-substr-1 pass ../../check.t:varexpand-substr-2 pass ../../check.t:varexpand-substr-3 pass ../../check.t:varexpand-substr-4 pass ../../check.t:varexpand-substr-5A pass ../../check.t:varexpand-substr-5W pass ../../check.t:varexpand-substr-6 pass ../../check.t:varexpand-special-hash pass ../../check.t:varexpand-null-1 pass ../../check.t:varexpand-null-2 pass ../../check.t:print-funny-chars pass ../../check.t:print-bksl-c pass ../../check.t:print-nul-chars pass ../../check.t:print-escapes pass ../../check.t:dollar-doublequoted-strings pass ../../check.t:dollar-quoted-strings pass ../../check.t:dollar-quotes-in-heredocs pass ../../check.t:dollar-quotes-in-herestrings pass ../../check.t:dot-needs-argument pass ../../check.t:alias-function-no-conflict pass ../../check.t:bash-function-parens pass ../../check.t:integer-base-one-1 pass ../../check.t:integer-base-one-2a pass ../../check.t:integer-base-one-2b pass ../../check.t:integer-base-one-2c1 pass ../../check.t:integer-base-one-2c2 pass ../../check.t:integer-base-one-2d1 pass ../../check.t:integer-base-one-2d2 pass ../../check.t:integer-base-one-2d3 pass ../../check.t:integer-base-one-2d4 pass ../../check.t:integer-base-one-2d5 pass ../../check.t:integer-base-one-2d6 pass ../../check.t:integer-base-one-3As pass ../../check.t:integer-base-one-3Ws pass ../../check.t:integer-base-one-3Ar pass ../../check.t:integer-base-one-3Wr pass ../../check.t:integer-base-one-4 pass ../../check.t:integer-base-one-5A pass ../../check.t:integer-base-one-5W pass ../../check.t:ulimit-1 pass ../../check.t:redir-1 pass ../../check.t:bashiop-1 pass ../../check.t:bashiop-2a pass ../../check.t:bashiop-2b pass ../../check.t:bashiop-2c pass ../../check.t:bashiop-3a pass ../../check.t:bashiop-3b pass ../../check.t:bashiop-4 pass ../../check.t:oksh-shcrash pass ../../check.t:oksh-varfunction-mod1 pass ../../check.t:fd-cloexec-2 pass ../../check.t:fd-cloexec-3 pass ../../check.t:comsub-1a pass ../../check.t:comsub-1b pass ../../check.t:comsub-2 pass ../../check.t:comsub-3 pass ../../check.t:comsub-4 pass ../../check.t:comsub-5 pass ../../check.t:comsub-torture pass ../../check.t:comsub-torture-io pass ../../check.t:test-stnze-1 pass ../../check.t:test-stnze-2 pass ../../check.t:event-subst-3 pass ../../check.t:event-subst-0 pass ../../check.t:nounset-1 pass ../../check.t:nameref-1 pass ../../check.t:nameref-2da pass ../../check.t:nameref-3 pass ../../check.t:nameref-4 pass ../../check.t:better-parens-1a pass ../../check.t:better-parens-1b pass ../../check.t:better-parens-1c pass ../../check.t:better-parens-2a pass ../../check.t:better-parens-2b pass ../../check.t:better-parens-2c pass ../../check.t:better-parens-3a pass ../../check.t:better-parens-3b pass ../../check.t:better-parens-3c pass ../../check.t:better-parens-4a pass ../../check.t:better-parens-4b pass ../../check.t:better-parens-4c pass ../../check.t:echo-test-1 pass ../../check.t:echo-test-2 pass ../../check.t:utilities-getopts-1 pass ../../check.t:utilities-getopts-2 pass ../../check.t:wcswidth-1 pass ../../check.t:wcswidth-2 pass ../../check.t:wcswidth-3 pass ../../check.t:wcswidth-4a pass ../../check.t:wcswidth-4b pass ../../check.t:wcswidth-4c pass ../../check.t:debian-117-1 pass ../../check.t:debian-117-2 pass ../../check.t:debian-117-3 pass ../../check.t:debian-117-4 pass ../../check.t:case-zsh pass ../../check.t:case-braces Total failed: 0 Total passed: 429 Regression test suite run. Logging build information... All builds complete. test -e debian/.build_stamp fakeroot debian/rules binary-arch # goodbye dh_testdir test -f sh.h test -x debian/rules # goodbye dh_prep rm -f debian/substvars # goodbye dh_installdirs rm -rf debian/mksh mkdir -p debian/mksh/bin debian/mksh/etc/skel \ debian/mksh/usr/share/doc/mksh/examples \ debian/mksh/usr/share/lintian/overrides \ debian/mksh/usr/share/man/man1 \ debian/mksh/usr/share/menu debian/mksh/usr/share/pixmaps # goodbye dh_installchangelogs cp -a debian/changelog debian/mksh/usr/share/doc/mksh/changelog.Debian gzip -n9 debian/mksh/usr/share/doc/mksh/changelog.Debian # goodbye dh_installdocs cp -a debian/copyright debian/mksh/usr/share/doc/mksh/copyright cp builddir/README.Debian.gz debian/mksh/usr/share/doc/mksh/ cp -a debian/mtest.t check.pl check.t debian/mksh/usr/share/doc/mksh/ gzip -n9 debian/mksh/usr/share/doc/mksh/mtest.t gzip -n9 debian/mksh/usr/share/doc/mksh/check.pl gzip -n9 debian/mksh/usr/share/doc/mksh/check.t # goodbye dh_installexamples cp -a dot.mkshrc debian/mksh/usr/share/doc/mksh/examples/ gzip -n9 debian/mksh/usr/share/doc/mksh/examples/dot.mkshrc # goodbye dh_install cp builddir/full/mksh debian/mksh/bin/mksh cp builddir/static/mksh debian/mksh/bin/mksh-static cp builddir/legacy/lksh debian/mksh/bin/lksh cp -a dot.mkshrc debian/mksh/etc/mkshrc cp -a debian/.mkshrc debian/mksh/etc/skel/ cp -a debian/mksh*.xpm debian/mksh/usr/share/pixmaps/ # goodbye dh_installmenu cp -a debian/mksh.menu debian/mksh/usr/share/menu/mksh # goodbye dh_installman cp -a debian/lksh.1 mksh.1 debian/mksh/usr/share/man/man1/ gzip -n9 debian/mksh/usr/share/man/man1/lksh.1 gzip -n9 debian/mksh/usr/share/man/man1/mksh.1 ln -sf mksh.1.gz debian/mksh/usr/share/man/man1/mksh-static.1.gz # goodbye dh_lintian cp -a debian/mksh.lintian \ debian/mksh/usr/share/lintian/overrides/mksh # goodbye dh_strip strip -s -R .note -R .comment \ debian/mksh/bin/lksh debian/mksh/bin/mksh \ debian/mksh/bin/mksh-static # goodbye dh_fixperms chmod 644 $(find debian/mksh -type f) chmod 755 $(find debian/mksh -type d) \ debian/mksh/bin/lksh debian/mksh/bin/mksh \ debian/mksh/bin/mksh-static # goodbye dh_installdeb rm -rf debian/B mkdir -p debian/mksh/DEBIAN debian/B/c set -e; for f in conffiles postinst postrm preinst prerm; do \ cp -a debian/mksh.$f debian/B/c/$f; \ done # goodbye dh_shlibdeps dpkg-shlibdeps -edebian/mksh/bin/lksh -edebian/mksh/bin/mksh objdump: debian/mksh/bin/lksh: not a dynamic object dpkg-shlibdeps: warning: Couldn't parse dynamic symbol definition: no symbols objdump: debian/mksh/bin/lksh: Invalid operation # goodbye dh_gencontrol dpkg-gencontrol -pmksh -Pdebian/mksh -isp dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe mv debian/mksh/DEBIAN/control debian/B/c/ rm -rf debian/mksh/DEBIAN # goodbye dh_md5sums cfcmd="grep -Fxv"; while read n; do \ cfcmd="$cfcmd -e .$n"; \ done debian/B/c/md5sums # goodbye dh_builddeb (cd debian/mksh && find . | sort | paxcpio \ -oC512 -Hustar -Minodes -Mlinks -Muidgid -Mgslash) | \ gzip -n9 >debian/B/data.tar.gz cd debian/B/c && chmod 644 * && chmod 755 postinst postrm preinst prerm (cd debian/B/c && find . | sort | paxcpio \ -oC512 -Hustar -Minodes -Mlinks -Muidgid -Mgslash) | \ gzip -n9 >debian/B/control.tar.gz echo 2.0 >debian/B/debian-binary set -e; while read fn rest; do \ case $fn in \ mksh_*) ;; \ *) continue ;; \ esac; \ cd debian/B && \ paxtar -A -M dist -cf "../../../$fn" \ debian-binary control.tar.gz data.tar.gz; \ break; \ done ../mksh_40.9.20120630-7_armhf.changes dpkg-genchanges: arch-specific upload - not including arch-independent packages dpkg-genchanges: binary-only upload - not including any source code dpkg-source --after-build mksh-40.9.20120630 dpkg-buildpackage: binary only upload (no source included) ──────────────────────────────────────────────────────────────────────────────── Build finished at 20130404-2222 Finished ──────── I: Built successfully ┌──────────────────────────────────────────────────────────────────────────────┐ │ Changes │ └──────────────────────────────────────────────────────────────────────────────┘ mksh_40.9.20120630-7_armhf.changes: ─────────────────────────────────── Format: 1.8 Date: Fri, 15 Feb 2013 19:00:40 +0000 Source: mksh Binary: mksh pdksh Architecture: armhf Version: 40.9.20120630-7 Distribution: wheezy-staging Urgency: low Maintainer: buildd Changed-By: Thorsten Glaser Description: mksh - MirBSD Korn Shell pdksh - transitional dummy package to migrate from pdksh to mksh Closes: 700526 700604 Changes: mksh (40.9.20120630-7) unstable; urgency=low . * The “customer service” upload * Correct the fix for LP#1104543 (Closes: #700526) * Fix uninitialised memory access (Closes: #700604) Checksums-Sha1: 4064e72d100a7ab6f2bb77b624201ae2575459d2 520898 mksh_40.9.20120630-7_armhf.deb Checksums-Sha256: b930ad2be09fce77923610158ecff612abe32a1480d080163eedaa93b650bfff 520898 mksh_40.9.20120630-7_armhf.deb Files: 2ec60f036ed9d0c45dc2069adbf52dec 520898 shells optional mksh_40.9.20120630-7_armhf.deb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Package contents │ └──────────────────────────────────────────────────────────────────────────────┘ mksh_40.9.20120630-7_armhf.deb ────────────────────────────── new debian package, version 2.0. size 520898 bytes: control archive=3287 bytes. 30 bytes, 2 lines conffiles 1721 bytes, 38 lines control 1049 bytes, 17 lines md5sums 1834 bytes, 61 lines * postinst #!/bin/sh 1175 bytes, 42 lines * postrm #!/bin/sh 1067 bytes, 45 lines * preinst #!/bin/sh 1009 bytes, 38 lines * prerm #!/bin/sh Package: mksh Version: 40.9.20120630-7 Architecture: armhf Maintainer: Thorsten Glaser Installed-Size: 852 Depends: libc6 (>= 2.13-28), libgcc1 (>= 1:4.4.0) Suggests: ed Section: shells Priority: optional Multi-Arch: foreign Homepage: http://mirbsd.de/mksh Description: MirBSD Korn Shell mksh is the successor of the Public Domain Korn shell (pdksh), a Bourne/POSIX compatible shell which is largely similar to the original AT&T Korn Shell (ksh88/ksh93). It includes bug fixes and feature improvements, in order to produce a modern, robust shell good for interactive and especially script use. mksh has UTF-8 support (in string operations and the Emacs editing mode). The code has been cleaned up and simplified, bugs fixed, standards compliance added, and several enhancements (for extended compatibility to other modern shells, as well as a couple of its own) are available. This shell is Debian Policy 10.4 compliant and may be used as /bin/sh on Debian systems, in both /bin/mksh and /bin/mksh-static flavours. . The mksh-static binary is a version of mksh, linked against klibc or dietlibc (if they exist for that Debian architecture and are usable) and optimised for small code size, for example for use on initrd or initramfs images, installation or rescue systems, or /bin/sh on slow architectures. It omits some leaf features to be even smaller. . The lksh binary is a script shell based on mksh intended to run old ksh88 and pdksh scripts, but not for interactive use. . A sample ~/.mkshrc is included in /usr/share/doc/mksh/examples and provided as /etc/mkshrc conffile, which is sourced by another file /etc/skel/.mkshrc users are recommended to copy into their home. drwxr-xr-x root/root 0 2013-04-04 22:21 ./ drwxr-xr-x root/root 0 2013-04-04 22:21 ./bin/ -rwxr-xr-x root/root 160556 2013-04-04 22:21 ./bin/lksh -rwxr-xr-x root/root 280380 2013-04-04 22:21 ./bin/mksh -rwxr-xr-x root/root 172500 2013-04-04 22:21 ./bin/mksh-static drwxr-xr-x root/root 0 2013-04-04 22:21 ./etc/ -rw-r--r-- root/root 8942 2011-12-30 17:08 ./etc/mkshrc drwxr-xr-x root/root 0 2013-04-04 22:21 ./etc/skel/ -rw-r--r-- root/root 1111 2013-02-11 05:18 ./etc/skel/.mkshrc drwxr-xr-x root/root 0 2013-04-04 22:21 ./usr/ drwxr-xr-x root/root 0 2013-04-04 22:21 ./usr/share/ drwxr-xr-x root/root 0 2013-04-04 22:21 ./usr/share/doc/ drwxr-xr-x root/root 0 2013-04-04 22:21 ./usr/share/doc/mksh/ -rw-r--r-- root/root 3461 2013-04-04 22:21 ./usr/share/doc/mksh/README.Debian.gz -rw-r--r-- root/root 48309 2013-02-15 11:01 ./usr/share/doc/mksh/changelog.Debian.gz -rw-r--r-- root/root 9884 2012-04-06 05:23 ./usr/share/doc/mksh/check.pl.gz -rw-r--r-- root/root 50487 2013-04-04 22:12 ./usr/share/doc/mksh/check.t.gz -rw-r--r-- root/root 4525 2013-02-11 05:18 ./usr/share/doc/mksh/copyright drwxr-xr-x root/root 0 2013-04-04 22:21 ./usr/share/doc/mksh/examples/ -rw-r--r-- root/root 3696 2011-12-30 17:08 ./usr/share/doc/mksh/examples/dot.mkshrc.gz -rw-r--r-- root/root 698 2012-04-14 11:00 ./usr/share/doc/mksh/mtest.t.gz drwxr-xr-x root/root 0 2013-04-04 22:21 ./usr/share/lintian/ drwxr-xr-x root/root 0 2013-04-04 22:21 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 299 2012-06-26 14:16 ./usr/share/lintian/overrides/mksh drwxr-xr-x root/root 0 2013-04-04 22:21 ./usr/share/man/ drwxr-xr-x root/root 0 2013-04-04 22:21 ./usr/share/man/man1/ -rw-r--r-- root/root 2808 2013-02-11 05:18 ./usr/share/man/man1/lksh.1.gz lrwxrwxrwx root/root 0 2013-04-04 22:21 ./usr/share/man/man1/mksh-static.1.gz -> mksh.1.gz -rw-r--r-- root/root 47716 2012-06-29 01:12 ./usr/share/man/man1/mksh.1.gz drwxr-xr-x root/root 0 2013-04-04 22:21 ./usr/share/menu/ -rw-r--r-- root/root 515 2009-08-01 10:51 ./usr/share/menu/mksh drwxr-xr-x root/root 0 2013-04-04 22:21 ./usr/share/pixmaps/ -rw-r--r-- root/root 534 2009-08-01 09:46 ./usr/share/pixmaps/mksh16.xpm -rw-r--r-- root/root 3460 2009-08-01 10:49 ./usr/share/pixmaps/mksh16lg.xpm -rw-r--r-- root/root 6448 2009-08-01 10:43 ./usr/share/pixmaps/mksh32.xpm ┌──────────────────────────────────────────────────────────────────────────────┐ │ Post Build │ └──────────────────────────────────────────────────────────────────────────────┘ ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded. Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: bsdmainutils* dietlibc-dev* ed* libklibc* libklibc-dev* locales* pax* sbuild-build-depends-core-dummy* sbuild-build-depends-mksh-dummy* 0 upgraded, 0 newly installed, 9 to remove and 25 not upgraded. After this operation, 19.7 MB disk space will be freed. (Reading database ... 11982 files and directories currently installed.) Removing sbuild-build-depends-mksh-dummy ... Removing bsdmainutils ... Purging configuration files for bsdmainutils ... Removing dietlibc-dev ... Removing ed ... Removing libklibc-dev ... Removing libklibc ... Removing locales ... Purging configuration files for locales ... Removing pax ... Removing sbuild-build-depends-core-dummy ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: armhf Build-Space: 14804 Build-Time: 595 Distribution: wheezy-staging Host Architecture: armhf Install-Time: 42 Job: mksh_40.9.20120630-7 Machine Architecture: armhf Package: mksh Package-Time: 699 Source-Version: 40.9.20120630-7 Space: 14804 Status: successful Version: 40.9.20120630-7 ──────────────────────────────────────────────────────────────────────────────── Finished at 20130404-2222 Build needed 00:11:39, 14804k disc space