Diff of the two buildlogs: -- --- b1/build.log 2024-12-03 00:01:24.765463270 +0000 +++ b2/build.log 2024-12-03 00:16:24.316527228 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jan 4 18:15:46 -12 2026 -I: pbuilder-time-stamp: 1767593746 +I: Current time: Tue Dec 3 14:01:28 +14 2024 +I: pbuilder-time-stamp: 1733184088 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying debian-changes I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/119760/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2334618/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 3 00:01 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2334618/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2334618/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='2d3182435fc0453f9328ae7b1f7d2cfd' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='119760' - PS1='# ' - PS2='> ' + INVOCATION_ID=8c1da0efa95e42d7971007b569011018 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2334618 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.uMp0Pswl/pbuilderrc_SXBx --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uMp0Pswl/b1 --logfile b1/build.log mksh_59c-39.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.uMp0Pswl/pbuilderrc_6ziU --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uMp0Pswl/b2 --logfile b2/build.log mksh_59c-39.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/119760/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2334618/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -156,7 +188,7 @@ Get: 34 http://deb.debian.org/debian unstable/main arm64 musl arm64 1.2.5-1.1 [412 kB] Get: 35 http://deb.debian.org/debian unstable/main arm64 musl-dev arm64 1.2.5-1.1 [598 kB] Get: 36 http://deb.debian.org/debian unstable/main arm64 musl-tools arm64 1.2.5-1.1 [41.6 kB] -Fetched 21.2 MB in 0s (149 MB/s) +Fetched 21.2 MB in 0s (86.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20087 files and directories currently installed.) @@ -317,7 +349,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mksh-59c/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mksh_59c-39_source.changes +I: user script /srv/workspace/pbuilder/2334618/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2334618/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mksh-59c/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mksh_59c-39_source.changes dpkg-buildpackage: info: source package mksh dpkg-buildpackage: info: source version 59c-39 dpkg-buildpackage: info: source distribution unstable @@ -392,10 +428,10 @@ I: Values from dpkg-buildflags: CFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS='-Wl,-z,relro -Wl,-z,now' I: building with klibc '2.0.13-4', testing on Linux '6.1.0-28-cloud-arm64' I: using static-pie in musl builds -N: main = 0xFFFFA73417A8 -N: main = 0xFFFF800C57A8 -N: main = 0xFFFF8A58A7A8 -N: main = 0xFFFF961D27A8 +N: main = 0xFFFF8C6B27A8 +N: main = 0xFFFFAA5D17A8 +N: main = 0xFFFFADEF07A8 +N: main = 0xFFFFB27BB7A8 N: 1 N: t.exe: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), static-pie linked, with debug_info, not stripped N: 1 @@ -406,10 +442,10 @@ N: CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC='' LIBS='' -+ env CC=gcc CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC= LIBS= sh ../../Build.sh -r ++ env CC=gcc 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC= LIBS= sh ../../Build.sh -r For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jan 3 14:05 /dev/null -crw-rw-rw- 1 root root 5, 0 Jan 3 14:05 /dev/tty +crw-rw-rw- 1 root root 1, 3 Dec 1 07:42 /dev/null +crw-rw-rw- 1 root root 5, 0 Dec 1 07:42 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra> @@ -421,11 +457,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.858 2024/08/17 23:33:47 tg Exp $ on: $ uname -a >&2 -| Linux codethink03-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux +| Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-28-cloud-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ gcc -E -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ gcc -E -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -v conftest.c @@ -440,7 +476,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-9) | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| /usr/libexec/gcc/aarch64-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mbranch-protection=standard -mlittle-endian -mabi=lp64 -g -O2 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -fasynchronous-unwind-tables -o /tmp/cckhEAvy.s +| /usr/libexec/gcc/aarch64-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mbranch-protection=standard -mlittle-endian -mabi=lp64 -g -O2 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -fasynchronous-unwind-tables -o /tmp/ccVVDd2p.s | GNU C17 (Debian 14.2.0-9) version 14.2.0 (aarch64-linux-gnu) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -460,12 +496,12 @@ | End of search list. | Compiler executable checksum: d20cbf4568623c93b60b633f0548dd4c | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/cczyGHbv.o /tmp/cckhEAvy.s +| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/cc5XkxZD.o /tmp/ccVVDd2p.s | GNU assembler version 2.43.50 (aarch64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.43.50.20241126 | COMPILER_PATH=/usr/libexec/gcc/aarch64-linux-gnu/14/:/usr/libexec/gcc/aarch64-linux-gnu/14/:/usr/libexec/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/14/:/usr/lib/gcc/aarch64-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/14/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' -| /usr/libexec/gcc/aarch64-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/aarch64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccKdJqtz.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. -z relro -z now --as-needed /tmp/cczyGHbv.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o +| /usr/libexec/gcc/aarch64-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/aarch64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccWD6OGm.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. -z relro -z now --as-needed /tmp/cc5XkxZD.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -476,7 +512,7 @@ ==> if the compiler works... yes ... if the compiler does not fail correctly $ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccfHgZjs.o: in function `main': +] /usr/bin/ld: /tmp/ccUmeKcz.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -533,38 +569,38 @@ ==> for __attribute__((__used__))... yes ... if a reduced-feature mksh is requested $ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc4pU04t.o: in function `main': +] /usr/bin/ld: /tmp/ccxx29fV.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if a reduced-feature mksh is requested... no ... if invoking as sh should be handled specially $ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccft4kNE.o: in function `main': +] /usr/bin/ld: /tmp/cck63uGQ.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if invoking as sh should be handled specially... no ... if mksh will be built without job control $ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccsFkcFH.o: in function `main': +] /usr/bin/ld: /tmp/ccpah3BC.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccVx9gwu.o: in function `main': +] /usr/bin/ld: /tmp/cc0A9Il7.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccuh2UCj.o: in function `main': +] /usr/bin/ld: /tmp/ccl9LQGW.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the default UTF-8 mode is specified... no ==> if the default UTF-8 mode is disabled... no (implied) ... if the MidnightBSD 0.1 ash compatibility mode is requested $ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccKashtc.o: in function `main': +] /usr/bin/ld: /tmp/ccKx0TSc.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -1486,10 +1522,10 @@ N: CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC='-static -static-pie -Wl,-z,text' LIBS='' -+ env CC=musl-gcc CFLAGS=-Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static -static-pie -Wl,-z,text LIBS= sh ../../Build.sh -r -c trace ++ env CC=musl-gcc 'CFLAGS=-Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'LDSTATIC=-static -static-pie -Wl,-z,text' LIBS= sh ../../Build.sh -r -c trace For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jan 3 14:05 /dev/null -crw-rw-rw- 1 root root 5, 0 Jan 3 14:05 /dev/tty +crw-rw-rw- 1 root root 1, 3 Dec 1 07:42 /dev/null +crw-rw-rw- 1 root root 5, 0 Dec 1 07:42 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE> @@ -1501,11 +1537,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.858 2024/08/17 23:33:47 tg Exp $ on: $ uname -a >&2 -| Linux codethink03-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux +| Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-28-cloud-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ musl-gcc -E -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ musl-gcc -E -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -v conftest.c @@ -1522,7 +1558,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-9) | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| /usr/libexec/gcc/aarch64-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/aarch64-linux-musl -isystem /usr/lib/gcc/aarch64-linux-gnu/14/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mbranch-protection=standard -mlittle-endian -mabi=lp64 -g -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -fasynchronous-unwind-tables -o /tmp/ccxAzvAy.s +| /usr/libexec/gcc/aarch64-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/aarch64-linux-musl -isystem /usr/lib/gcc/aarch64-linux-gnu/14/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mbranch-protection=standard -mlittle-endian -mabi=lp64 -g -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -fasynchronous-unwind-tables -o /tmp/ccb3Riyw.s | GNU C17 (Debian 14.2.0-9) version 14.2.0 (aarch64-linux-gnu) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -1536,12 +1572,12 @@ | End of search list. | Compiler executable checksum: d20cbf4568623c93b60b633f0548dd4c | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/ccM9UcYe.o /tmp/ccxAzvAy.s +| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/ccrnS3hv.o /tmp/ccb3Riyw.s | GNU assembler version 2.43.50 (aarch64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.43.50.20241126 | COMPILER_PATH=/usr/libexec/gcc/aarch64-linux-gnu/14/:/usr/libexec/gcc/aarch64-linux-gnu/14/:/usr/libexec/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/14/:/usr/lib/gcc/aarch64-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/14/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' -| /usr/libexec/gcc/aarch64-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/aarch64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccVMajoW.res -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/14/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-aarch64.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/aarch64-linux-musl/rcrt1.o /usr/lib/aarch64-linux-musl/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o -L/usr/lib/aarch64-linux-musl -L /usr/lib/gcc/aarch64-linux-gnu/14/. -z relro -z now --as-needed -z text /tmp/ccM9UcYe.o --start-group /usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a /usr/lib/gcc/aarch64-linux-gnu/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/aarch64-linux-musl/crtn.o +| /usr/libexec/gcc/aarch64-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/aarch64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccBtG6kD.res -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/14/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-aarch64.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/aarch64-linux-musl/rcrt1.o /usr/lib/aarch64-linux-musl/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o -L/usr/lib/aarch64-linux-musl -L /usr/lib/gcc/aarch64-linux-gnu/14/. -z relro -z now --as-needed -z text /tmp/ccrnS3hv.o --start-group /usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a /usr/lib/gcc/aarch64-linux-gnu/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/aarch64-linux-musl/crtn.o | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -1552,7 +1588,7 @@ ==> if the compiler works... yes ... if the compiler does not fail correctly $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cccg8pZK.o: in function `main': +] /usr/bin/ld: /tmp/cc2WLAiS.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -1615,26 +1651,26 @@ ==> if invoking as sh should be handled specially... yes ... if mksh will be built without job control $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccQ5oZo3.o: in function `main': +] /usr/bin/ld: /tmp/ccRPmEzc.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job control... no ... if mksh will be built without job signals $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccWg2MYd.o: in function `main': +] /usr/bin/ld: /tmp/ccrGENi8.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job signals... no ... if the default UTF-8 mode is specified $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccx3vyRE.o: in function `main': +] /usr/bin/ld: /tmp/cc0aERUm.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the default UTF-8 mode is specified... no ==> if the default UTF-8 mode is disabled... no (implied) ... if the MidnightBSD 0.1 ash compatibility mode is requested $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccJsS0NO.o: in function `main': +] /usr/bin/ld: /tmp/ccvXmpcc.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -1793,13 +1829,13 @@ ==> if the final link command may succeed... yes ... GNU strerrordesc_np() $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccSxyT2l.o: in function `main': +] /usr/bin/ld: /tmp/ccshUiGY.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:9:(.text.startup+0x14): undefined reference to `strerrordesc_np' ] collect2: error: ld returned 1 exit status ==> GNU strerrordesc_np()... no ... the sys_errlist[] array and sys_nerr $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccoDYo1g.o: in function `main': +] /usr/bin/ld: /tmp/cc3lUwzB.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:11:(.text.startup+0x4): undefined reference to `sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:11:(.text.startup+0x8): undefined reference to `sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:11:(.text.startup+0x1c): undefined reference to `sys_errlist' @@ -1808,7 +1844,7 @@ ==> the sys_errlist[] array and sys_nerr... no ... the _sys_errlist[] array and _sys_nerr $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc13d5wt.o: in function `main': +] /usr/bin/ld: /tmp/cchOQGYA.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:11:(.text.startup+0x4): undefined reference to `_sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:11:(.text.startup+0x8): undefined reference to `_sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:11:(.text.startup+0x1c): undefined reference to `_sys_errlist' @@ -1817,40 +1853,40 @@ ==> the _sys_errlist[] array and _sys_nerr... no ... GNU sigabbrev_np() $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccv4yecj.o: in function `main': +] /usr/bin/ld: /tmp/ccESvn6p.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:9:(.text.startup+0x14): undefined reference to `sigabbrev_np' ] collect2: error: ld returned 1 exit status ==> GNU sigabbrev_np()... no ... the sys_signame[] array $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc5VA4a5.o: in function `main': +] /usr/bin/ld: /tmp/ccBjK2xd.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x4): undefined reference to `sys_signame' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x8): undefined reference to `sys_signame' ] collect2: error: ld returned 1 exit status ==> the sys_signame[] array... no ... the _sys_signame[] array $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccYp9foU.o: in function `main': +] /usr/bin/ld: /tmp/ccbSxm1F.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x4): undefined reference to `_sys_signame' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x8): undefined reference to `_sys_signame' ] collect2: error: ld returned 1 exit status ==> the _sys_signame[] array... no ... GNU sigdescr_np() $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccrsh50S.o: in function `main': +] /usr/bin/ld: /tmp/cc8rT2So.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:9:(.text.startup+0x14): undefined reference to `sigdescr_np' ] collect2: error: ld returned 1 exit status ==> GNU sigdescr_np()... no ... the sys_siglist[] array $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -DHAVE_SIGDESCR_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccRx8Ds7.o: in function `main': +] /usr/bin/ld: /tmp/ccarh5J9.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x4): undefined reference to `sys_siglist' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x8): undefined reference to `sys_siglist' ] collect2: error: ld returned 1 exit status ==> the sys_siglist[] array... no ... the _sys_siglist[] array $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -DHAVE_SIGDESCR_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccQkWBWX.o: in function `main': +] /usr/bin/ld: /tmp/ccs9wXAP.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x4): undefined reference to `_sys_siglist' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x8): undefined reference to `_sys_siglist' ] collect2: error: ld returned 1 exit status @@ -2905,10 +2941,10 @@ N: CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC='-static' LIBS='' -+ env CC=klcc CFLAGS=-g -Os -march=armv8-a -mtune=generic -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static LIBS= sh ../../Build.sh -r -c trace ++ env CC=klcc 'CFLAGS=-g -Os -march=armv8-a -mtune=generic -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC=-static LIBS= sh ../../Build.sh -r -c trace For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jan 3 14:05 /dev/null -crw-rw-rw- 1 root root 5, 0 Jan 3 14:05 /dev/tty +crw-rw-rw- 1 root root 1, 3 Dec 1 07:42 /dev/null +crw-rw-rw- 1 root root 5, 0 Dec 1 07:42 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-g -Os -march=armv8-a -mtune=generic -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra> @@ -2920,11 +2956,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.858 2024/08/17 23:33:47 tg Exp $ on: $ uname -a >&2 -| Linux codethink03-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux +| Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-28-cloud-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ klcc -E -g -Os -march=armv8-a -mtune=generic -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ klcc -E -g -Os -march=armv8-a -mtune=generic -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="klibc" $ klcc -g -Os -march=armv8-a -mtune=generic -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -v conftest.c @@ -2939,7 +2975,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-9) | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| /usr/libexec/gcc/aarch64-linux-gnu/14/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. -imultiarch aarch64-linux-gnu -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -iwithprefix include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mgeneral-regs-only -march=armv8-a -mtune=generic -mbranch-protection=standard -mlittle-endian -mabi=lp64 -ggdb -g -g -O -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -fno-exceptions -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fasynchronous-unwind-tables -o /tmp/cc7KWk8l.s +| /usr/libexec/gcc/aarch64-linux-gnu/14/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. -imultiarch aarch64-linux-gnu -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -iwithprefix include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mgeneral-regs-only -march=armv8-a -mtune=generic -mbranch-protection=standard -mlittle-endian -mabi=lp64 -ggdb -g -g -O -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -fno-exceptions -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fasynchronous-unwind-tables -o /tmp/cc9VsAut.s | GNU C17 (Debian 14.2.0-9) version 14.2.0 (aarch64-linux-gnu) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -2955,12 +2991,12 @@ | End of search list. | Compiler executable checksum: d20cbf4568623c93b60b633f0548dd4c | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| as -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. --gdwarf-5 -EL -march=armv8-a -mabi=lp64 -o /tmp/ccKpwizV.o /tmp/cc7KWk8l.s +| as -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. --gdwarf-5 -EL -march=armv8-a -mabi=lp64 -o /tmp/cc5UZzCG.o /tmp/cc9VsAut.s | GNU assembler version 2.43.50 (aarch64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.43.50.20241126 | COMPILER_PATH=/usr/libexec/gcc/aarch64-linux-gnu/14/:/usr/libexec/gcc/aarch64-linux-gnu/14/:/usr/libexec/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/14/:/usr/lib/gcc/aarch64-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/14/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' -| /usr/libexec/gcc/aarch64-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/aarch64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccox29fm.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. /tmp/ccKpwizV.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o +| /usr/libexec/gcc/aarch64-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/aarch64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccIdZR0J.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. /tmp/cc5UZzCG.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -4376,10 +4412,10 @@ N: CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC=' ' LIBS='' -+ env CC=diet -v -Os gcc CFLAGS=-g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC= LIBS= sh ../../Build.sh -r -c trace ++ env 'CC=diet -v -Os gcc' 'CFLAGS=-g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'LDSTATIC= ' LIBS= sh ../../Build.sh -r -c trace For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jan 3 14:05 /dev/null -crw-rw-rw- 1 root root 5, 0 Jan 3 14:05 /dev/tty +crw-rw-rw- 1 root root 1, 3 Dec 1 07:42 /dev/null +crw-rw-rw- 1 root root 5, 0 Dec 1 07:42 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra> @@ -4391,11 +4427,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.858 2024/08/17 23:33:47 tg Exp $ on: $ uname -a >&2 -| Linux codethink03-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux +| Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-28-cloud-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ diet -v -Os gcc -E -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ diet -v -Os gcc -E -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x ] gcc -E -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer [ ct="gcc" [ et="dietlibc" @@ -4412,7 +4448,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-9) | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64' '-L/usr/lib/diet/lib' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/aarch64-linux-gnu/diet/include' '-D' '__dietlibc__' '-D' '_DISTRO_EVADE_TIME_BITS' '-Os' '-fomit-frame-pointer' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| /usr/libexec/gcc/aarch64-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -D __dietlibc__ -D _DISTRO_EVADE_TIME_BITS -isystem /usr/lib/aarch64-linux-gnu/diet/include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mbranch-protection=standard -mlittle-endian -mabi=lp64 -g -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fomit-frame-pointer -fasynchronous-unwind-tables -o /tmp/cc6NUCKs.s +| /usr/libexec/gcc/aarch64-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -D __dietlibc__ -D _DISTRO_EVADE_TIME_BITS -isystem /usr/lib/aarch64-linux-gnu/diet/include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mbranch-protection=standard -mlittle-endian -mabi=lp64 -g -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fomit-frame-pointer -fasynchronous-unwind-tables -o /tmp/ccJ5KkQx.s | GNU C17 (Debian 14.2.0-9) version 14.2.0 (aarch64-linux-gnu) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -4433,12 +4469,12 @@ | End of search list. | Compiler executable checksum: d20cbf4568623c93b60b633f0548dd4c | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64' '-L/usr/lib/diet/lib' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/aarch64-linux-gnu/diet/include' '-D' '__dietlibc__' '-D' '_DISTRO_EVADE_TIME_BITS' '-Os' '-fomit-frame-pointer' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/cc85x8k8.o /tmp/cc6NUCKs.s +| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/ccOuZ0It.o /tmp/ccJ5KkQx.s | GNU assembler version 2.43.50 (aarch64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.43.50.20241126 | COMPILER_PATH=/usr/libexec/gcc/aarch64-linux-gnu/14/:/usr/libexec/gcc/aarch64-linux-gnu/14/:/usr/libexec/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/14/:/usr/lib/gcc/aarch64-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/14/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64' '-L/usr/lib/diet/lib' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/aarch64-linux-gnu/diet/include' '-D' '__dietlibc__' '-D' '_DISTRO_EVADE_TIME_BITS' '-Os' '-fomit-frame-pointer' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' -| /usr/libexec/gcc/aarch64-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/aarch64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccX3Ya7f.res --build-id --hash-style=gnu --as-needed -Bstatic -X -EL -maarch64linux --fix-cortex-a53-843419 -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib -L/usr/lib/gcc/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -z relro -z now --as-needed /tmp/cc85x8k8.o /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc +| /usr/libexec/gcc/aarch64-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/aarch64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/cc0sGZDy.res --build-id --hash-style=gnu --as-needed -Bstatic -X -EL -maarch64linux --fix-cortex-a53-843419 -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib -L/usr/lib/gcc/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -z relro -z now --as-needed /tmp/ccOuZ0It.o /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64' '-L/usr/lib/diet/lib' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/aarch64-linux-gnu/diet/include' '-D' '__dietlibc__' '-D' '_DISTRO_EVADE_TIME_BITS' '-Os' '-fomit-frame-pointer' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -4453,7 +4489,7 @@ ... if the compiler does not fail correctly $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/cc9ACqey.o: in function `main': +] /usr/bin/ld: /tmp/ccloxqWF.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x14): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -4537,21 +4573,21 @@ ... if mksh will be built without job control $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccbZ8DR9.o: in function `main': +] /usr/bin/ld: /tmp/ccMOYUhV.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x14): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job control... no ... if mksh will be built without job signals $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccHsgTky.o: in function `main': +] /usr/bin/ld: /tmp/cc9IT1O0.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x14): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job signals... no ... if the default UTF-8 mode is specified $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccbK2Rtl.o: in function `main': +] /usr/bin/ld: /tmp/ccbI7wBM.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x14): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the default UTF-8 mode is specified... no @@ -4559,7 +4595,7 @@ ... if the MidnightBSD 0.1 ash compatibility mode is requested $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccIcVP2L.o: in function `main': +] /usr/bin/ld: /tmp/ccCjxLw0.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x14): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -4727,7 +4763,7 @@ ... GNU strerrordesc_np() $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccwAz3gL.o: in function `main': +] /usr/bin/ld: /tmp/ccDa3776.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:9:(.text.startup+0x10): undefined reference to `strerrordesc_np' ] collect2: error: ld returned 1 exit status ==> GNU strerrordesc_np()... no @@ -4739,14 +4775,14 @@ ... GNU sigabbrev_np() $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccXRBh3s.o: in function `main': +] /usr/bin/ld: /tmp/cc1zGg7s.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:9:(.text.startup+0x10): undefined reference to `sigabbrev_np' ] collect2: error: ld returned 1 exit status ==> GNU sigabbrev_np()... no ... the sys_signame[] array $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/cc2Zx59h.o: in function `main': +] /usr/bin/ld: /tmp/cchvzmRY.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:10:(.text.startup+0x4): undefined reference to `sys_signame' ] /usr/bin/ld: ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:10:(.text.startup+0x8): undefined reference to `sys_signame' ] collect2: error: ld returned 1 exit status @@ -4754,7 +4790,7 @@ ... the _sys_signame[] array $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccsqlV4C.o: in function `main': +] /usr/bin/ld: /tmp/cc28Q8l0.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:10:(.text.startup+0x4): undefined reference to `_sys_signame' ] /usr/bin/ld: ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:10:(.text.startup+0x8): undefined reference to `_sys_signame' ] collect2: error: ld returned 1 exit status @@ -4762,7 +4798,7 @@ ... GNU sigdescr_np() $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccd3NYRV.o: in function `main': +] /usr/bin/ld: /tmp/ccwmjiGW.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:9:(.text.startup+0x10): undefined reference to `sigdescr_np' ] collect2: error: ld returned 1 exit status ==> GNU sigdescr_np()... no @@ -6411,10 +6447,10 @@ N: CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC='-static -static-pie -Wl,-z,text' LIBS='' -+ env CC=musl-gcc CFLAGS=-O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static -static-pie -Wl,-z,text LIBS= sh ../../Build.sh -r -L -c trace ++ env CC=musl-gcc 'CFLAGS=-O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'LDSTATIC=-static -static-pie -Wl,-z,text' LIBS= sh ../../Build.sh -r -L -c trace For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jan 3 14:05 /dev/null -crw-rw-rw- 1 root root 5, 0 Jan 3 14:05 /dev/tty +crw-rw-rw- 1 root root 1, 3 Dec 1 07:42 /dev/null +crw-rw-rw- 1 root root 5, 0 Dec 1 07:42 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE> @@ -6426,11 +6462,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.858 2024/08/17 23:33:47 tg Exp $ on: $ uname -a >&2 -| Linux codethink03-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux +| Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-28-cloud-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ musl-gcc -E -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ musl-gcc -E -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -v conftest.c @@ -6447,7 +6483,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-9) | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| /usr/libexec/gcc/aarch64-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_BUILDSH=1 -D MKSH_LEGACY_MODE=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/aarch64-linux-musl -isystem /usr/lib/gcc/aarch64-linux-gnu/14/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mbranch-protection=standard -mlittle-endian -mabi=lp64 -g -O2 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -fasynchronous-unwind-tables -o /tmp/ccngW842.s +| /usr/libexec/gcc/aarch64-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_BUILDSH=1 -D MKSH_LEGACY_MODE=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/aarch64-linux-musl -isystem /usr/lib/gcc/aarch64-linux-gnu/14/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mbranch-protection=standard -mlittle-endian -mabi=lp64 -g -O2 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -fasynchronous-unwind-tables -o /tmp/ccypWYVx.s | GNU C17 (Debian 14.2.0-9) version 14.2.0 (aarch64-linux-gnu) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -6461,12 +6497,12 @@ | End of search list. | Compiler executable checksum: d20cbf4568623c93b60b633f0548dd4c | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/ccjp7jtI.o /tmp/ccngW842.s +| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/ccYYisuh.o /tmp/ccypWYVx.s | GNU assembler version 2.43.50 (aarch64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.43.50.20241126 | COMPILER_PATH=/usr/libexec/gcc/aarch64-linux-gnu/14/:/usr/libexec/gcc/aarch64-linux-gnu/14/:/usr/libexec/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/14/:/usr/lib/gcc/aarch64-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/14/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/14/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' -| /usr/libexec/gcc/aarch64-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/aarch64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccYgSgKx.res -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/14/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-aarch64.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/aarch64-linux-musl/rcrt1.o /usr/lib/aarch64-linux-musl/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o -L/usr/lib/aarch64-linux-musl -L /usr/lib/gcc/aarch64-linux-gnu/14/. -z relro -z now --as-needed -z text /tmp/ccjp7jtI.o --start-group /usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a /usr/lib/gcc/aarch64-linux-gnu/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/aarch64-linux-musl/crtn.o +| /usr/libexec/gcc/aarch64-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/aarch64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccnpP6aV.res -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/14/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-aarch64.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/aarch64-linux-musl/rcrt1.o /usr/lib/aarch64-linux-musl/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o -L/usr/lib/aarch64-linux-musl -L /usr/lib/gcc/aarch64-linux-gnu/14/. -z relro -z now --as-needed -z text /tmp/ccYYisuh.o --start-group /usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a /usr/lib/gcc/aarch64-linux-gnu/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/aarch64-linux-musl/crtn.o | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-mbranch-protection=standard' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -6477,7 +6513,7 @@ ==> if the compiler works... yes ... if the compiler does not fail correctly $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc83mIHx.o: in function `main': +] /usr/bin/ld: /tmp/ccWQInHB.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -6534,7 +6570,7 @@ ==> for __attribute__((__used__))... yes ... if a reduced-feature mksh is requested $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccvHQzcY.o: in function `main': +] /usr/bin/ld: /tmp/ccWBav92.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if a reduced-feature mksh is requested... no @@ -6543,26 +6579,26 @@ ==> if invoking as sh should be handled specially... yes ... if mksh will be built without job control $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccaXuPRt.o: in function `main': +] /usr/bin/ld: /tmp/cc6XlYCT.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job control... no ... if mksh will be built without job signals $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccz38694.o: in function `main': +] /usr/bin/ld: /tmp/cc0O7imL.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job signals... no ... if the default UTF-8 mode is specified $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccmMujhy.o: in function `main': +] /usr/bin/ld: /tmp/cc1ejCmB.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the default UTF-8 mode is specified... no ==> if the default UTF-8 mode is disabled... no (implied) ... if the MidnightBSD 0.1 ash compatibility mode is requested $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccML8J0M.o: in function `main': +] /usr/bin/ld: /tmp/ccDRkYqn.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x1c): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -6721,13 +6757,13 @@ ==> if the final link command may succeed... yes ... GNU strerrordesc_np() $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc3BFk6K.o: in function `main': +] /usr/bin/ld: /tmp/cc4493b2.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:9:(.text.startup+0x14): undefined reference to `strerrordesc_np' ] collect2: error: ld returned 1 exit status ==> GNU strerrordesc_np()... no ... the sys_errlist[] array and sys_nerr $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccypqPIs.o: in function `main': +] /usr/bin/ld: /tmp/ccMTahfr.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:11:(.text.startup+0x4): undefined reference to `sys_nerr' ] /usr/bin/ld: ./builddir/legacy/./builddir/legacy/conftest.c:11:(.text.startup+0x8): undefined reference to `sys_nerr' ] /usr/bin/ld: ./builddir/legacy/./builddir/legacy/conftest.c:11:(.text.startup+0x20): undefined reference to `sys_errlist' @@ -6736,7 +6772,7 @@ ==> the sys_errlist[] array and sys_nerr... no ... the _sys_errlist[] array and _sys_nerr $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cczlsOvn.o: in function `main': +] /usr/bin/ld: /tmp/ccv7MHXH.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:11:(.text.startup+0x4): undefined reference to `_sys_nerr' ] /usr/bin/ld: ./builddir/legacy/./builddir/legacy/conftest.c:11:(.text.startup+0x8): undefined reference to `_sys_nerr' ] /usr/bin/ld: ./builddir/legacy/./builddir/legacy/conftest.c:11:(.text.startup+0x20): undefined reference to `_sys_errlist' @@ -6745,40 +6781,40 @@ ==> the _sys_errlist[] array and _sys_nerr... no ... GNU sigabbrev_np() $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc73yVs7.o: in function `main': +] /usr/bin/ld: /tmp/cc3mKEwq.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:9:(.text.startup+0x14): undefined reference to `sigabbrev_np' ] collect2: error: ld returned 1 exit status ==> GNU sigabbrev_np()... no ... the sys_signame[] array $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc5W34EI.o: in function `main': +] /usr/bin/ld: /tmp/ccRxUdeb.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x4): undefined reference to `sys_signame' ] /usr/bin/ld: ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x8): undefined reference to `sys_signame' ] collect2: error: ld returned 1 exit status ==> the sys_signame[] array... no ... the _sys_signame[] array $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccjw5D9B.o: in function `main': +] /usr/bin/ld: /tmp/cc9NFTa5.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x4): undefined reference to `_sys_signame' ] /usr/bin/ld: ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x8): undefined reference to `_sys_signame' ] collect2: error: ld returned 1 exit status ==> the _sys_signame[] array... no ... GNU sigdescr_np() $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccVSOWP2.o: in function `main': +] /usr/bin/ld: /tmp/ccNboBwO.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:9:(.text.startup+0x14): undefined reference to `sigdescr_np' ] collect2: error: ld returned 1 exit status ==> GNU sigdescr_np()... no ... the sys_siglist[] array $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -DHAVE_SIGDESCR_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc1w248X.o: in function `main': +] /usr/bin/ld: /tmp/ccHmwwlg.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x4): undefined reference to `sys_siglist' ] /usr/bin/ld: ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x8): undefined reference to `sys_siglist' ] collect2: error: ld returned 1 exit status ==> the sys_siglist[] array... no ... the _sys_siglist[] array $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=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_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -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_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -DHAVE_SIGDESCR_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc6stw0B.o: in function `main': +] /usr/bin/ld: /tmp/ccZZABSd.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x4): undefined reference to `_sys_siglist' ] /usr/bin/ld: ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x8): undefined reference to `_sys_siglist' ] collect2: error: ld returned 1 exit status @@ -8127,12 +8163,12 @@ chmod a-x usr/share/doc/mksh/NEWS.Debian usr/share/doc/mksh/changelog.Debian usr/share/doc/mksh/check.pl usr/share/doc/mksh/check.t usr/share/doc/mksh/srctrace usr/share/man/man1/lksh.1 usr/share/man/man1/mksh.1 gzip -9nf usr/share/doc/mksh/NEWS.Debian usr/share/doc/mksh/changelog.Debian usr/share/doc/mksh/check.pl usr/share/doc/mksh/check.t usr/share/doc/mksh/srctrace usr/share/man/man1/lksh.1 usr/share/man/man1/mksh.1 cd '/build/reproducible-path/mksh-59c' + rm -f debian/mksh/usr/share/man/man1/rlksh.1 debian/mksh/usr/share/man/man1/rlksh.1.gz + ln -s lksh.1.gz debian/mksh/usr/share/man/man1/rlksh.1.gz rm -f debian/mksh/usr/share/man/man1/rmksh.1 debian/mksh/usr/share/man/man1/rmksh.1.gz ln -s mksh.1.gz debian/mksh/usr/share/man/man1/rmksh.1.gz rm -f debian/mksh/usr/share/man/man1/mksh-static.1 debian/mksh/usr/share/man/man1/mksh-static.1.gz ln -s mksh.1.gz debian/mksh/usr/share/man/man1/mksh-static.1.gz - rm -f debian/mksh/usr/share/man/man1/rlksh.1 debian/mksh/usr/share/man/man1/rlksh.1.gz - ln -s lksh.1.gz debian/mksh/usr/share/man/man1/rlksh.1.gz dh_fixperms -O--buildsystem=none find debian/mksh ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/mksh/usr/share/doc -type f -a -true -a ! -regex 'debian/mksh/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 @@ -8340,12 +8376,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2334618/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2334618/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/119760 and its subdirectories -I: Current time: Sun Jan 4 18:24:23 -12 2026 -I: pbuilder-time-stamp: 1767594263 +I: removing directory /srv/workspace/pbuilder/2334618 and its subdirectories +I: Current time: Tue Dec 3 14:16:23 +14 2024 +I: pbuilder-time-stamp: 1733184983