Diff of the two buildlogs: -- --- b1/build.log 2024-04-07 13:42:59.241370429 +0000 +++ b2/build.log 2024-04-07 13:58:45.161106285 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Apr 7 01:18:31 -12 2024 -I: pbuilder-time-stamp: 1712495911 +I: Current time: Mon Apr 8 03:43:12 +14 2024 +I: pbuilder-time-stamp: 1712497392 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/21068/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/31101/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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 Apr 7 13:43 /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/31101/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/31101/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='99cc4575f5f648f1b078f37447cdbbf5' - 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='21068' - PS1='# ' - PS2='> ' + INVOCATION_ID=d0e71ac139b34c88951568dd773d827a + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=31101 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.KMoBDS2k/pbuilderrc_Vu63 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KMoBDS2k/b1 --logfile b1/build.log mksh_59c-37.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.KMoBDS2k/pbuilderrc_fG8E --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KMoBDS2k/b2 --logfile b2/build.log mksh_59c-37.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux wbq0 6.1.0-18-armmp #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 6 11:26 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/21068/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 4 09:45 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/31101/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -157,7 +189,7 @@ Get: 35 http://deb.debian.org/debian trixie/main armhf musl armhf 1.2.5-1 [399 kB] Get: 36 http://deb.debian.org/debian trixie/main armhf musl-dev armhf 1.2.5-1 [578 kB] Get: 37 http://deb.debian.org/debian trixie/main armhf musl-tools armhf 1.2.5-1 [41.5 kB] -Fetched 20.1 MB in 2s (11.4 MB/s) +Fetched 20.1 MB in 1s (16.1 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 ... 19637 files and directories currently installed.) @@ -322,7 +354,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-37_source.changes +I: user script /srv/workspace/pbuilder/31101/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/31101/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-37_source.changes dpkg-buildpackage: info: source package mksh dpkg-buildpackage: info: source version 59c-37 dpkg-buildpackage: info: source distribution unstable @@ -395,12 +431,12 @@ I: Values (not used) from environment: CFLAGS='-g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS='-Wl,-z,relro' I: Using compiler: 'gcc' I: Values from dpkg-buildflags: CFLAGS='-g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' 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-18-armmp' +I: building with klibc '2.0.13-4', testing on Linux '6.1.0-18-arm64' I: using static-pie in musl builds -N: main = 0xB6FB44BD -N: main = 0xB6F0A4BD -N: main = 0xB6F5A4BD -N: main = 0xB6F0D4BD +N: main = 0xF79C44BD +N: main = 0xF78204BD +N: main = 0xF7BD24BD +N: main = 0xF7DF24BD N: 1 N: t.exe: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), static-pie linked, with debug_info, not stripped N: 1 @@ -411,10 +447,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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 Apr 6 11:26 /dev/null -crw-rw-rw- 1 root root 5, 0 Apr 6 11:26 /dev/tty +crw-rw-rw- 1 root root 1, 3 Apr 4 09:45 /dev/null +crw-rw-rw- 1 root root 5, 0 Apr 4 09:45 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra> @@ -426,11 +462,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.856 2024/04/02 10:51:35 tg Exp $ on: $ uname -a >&2 -| Linux wbq0 6.1.0-18-armmp #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/02/01 on Linux 6.1.0-18-armmp... +| Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/02/01 on Linux 6.1.0-18-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ gcc -E -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 @@ -443,7 +479,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 13.2.0 (Debian 13.2.0-13) | COLLECT_GCC_OPTIONS='-g' '-O2' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a-' -| /usr/libexec/gcc/arm-linux-gnueabihf/13/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -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 -mfloat-abi=hard -mtls-dialect=gnu -mthumb -mlibarch=armv7-a+fp -march=armv7-a+fp -g -O2 -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -o /tmp/ccP3nn6X.s +| /usr/libexec/gcc/arm-linux-gnueabihf/13/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -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 -mfloat-abi=hard -mtls-dialect=gnu -mthumb -mlibarch=armv7-a+fp -march=armv7-a+fp -g -O2 -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -o /tmp/ccJAtE4L.s | GNU C17 (Debian 13.2.0-13) version 13.2.0 (arm-linux-gnueabihf) | compiled by GNU C version 13.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP | @@ -463,12 +499,12 @@ | End of search list. | Compiler executable checksum: 0ea74a6719288f2d1f7341df6f349fae | COLLECT_GCC_OPTIONS='-g' '-O2' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a-' -| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccpHRgw9.o /tmp/ccP3nn6X.s +| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccHIfsZ3.o /tmp/ccJAtE4L.s | GNU assembler version 2.42 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Debian) 2.42 | COMPILER_PATH=/usr/libexec/gcc/arm-linux-gnueabihf/13/:/usr/libexec/gcc/arm-linux-gnueabihf/13/:/usr/libexec/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/13/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/13/:/usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/13/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ | COLLECT_GCC_OPTIONS='-g' '-O2' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a.' -| /usr/libexec/gcc/arm-linux-gnueabihf/13/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccYc4FbM.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 -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu --as-needed -m armelf_linux_eabi -pie /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/Scrt1.o /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/13/crtbeginS.o -L/usr/lib/gcc/arm-linux-gnueabihf/13 -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -z relro -z now --as-needed /tmp/ccpHRgw9.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/arm-linux-gnueabihf/13/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/crtn.o +| /usr/libexec/gcc/arm-linux-gnueabihf/13/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/13/lto-wrapper -plugin-opt=-fresolution=/tmp/cc1l5IoM.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 -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu --as-needed -m armelf_linux_eabi -pie /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/Scrt1.o /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/13/crtbeginS.o -L/usr/lib/gcc/arm-linux-gnueabihf/13 -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -z relro -z now --as-needed /tmp/ccHIfsZ3.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/arm-linux-gnueabihf/13/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/crtn.o | COLLECT_GCC_OPTIONS='-g' '-O2' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -479,7 +515,7 @@ ==> if the compiler works... yes ... if the compiler does not fail correctly $ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/ccTdv57m.o: in function `main': +] /usr/bin/ld: /tmp/ccrzT9Pi.o: in function `main': ] ./builddir/full/conftest.c:15:(.text.startup+0x16): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -536,38 +572,38 @@ ==> for __attribute__((__used__))... yes ... if a reduced-feature mksh is requested $ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/cc2SZQ1c.o: in function `main': +] /usr/bin/ld: /tmp/ccDBoRhD.o: in function `main': ] ./builddir/full/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/ccI7T9Es.o: in function `main': +] /usr/bin/ld: /tmp/cc7FwJ1c.o: in function `main': ] ./builddir/full/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/ccrenAY0.o: in function `main': +] /usr/bin/ld: /tmp/cc2JIr5l.o: in function `main': ] ./builddir/full/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/ccjGKqWX.o: in function `main': +] /usr/bin/ld: /tmp/cc9vwQIJ.o: in function `main': ] ./builddir/full/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/ccmjqQBK.o: in function `main': +] /usr/bin/ld: /tmp/cclJvsec.o: in function `main': ] ./builddir/full/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/ccT4KFHk.o: in function `main': +] /usr/bin/ld: /tmp/ccXo0zpB.o: in function `main': ] ./builddir/full/conftest.c:15:(.text.startup+0x16): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -766,7 +802,7 @@ ] 9 | int main(int ac, char *av[]) { return (strlcpy(*av, av[1], ] | ^~~~~~~ ] | strncpy -] /usr/bin/ld: /tmp/ccaPSc3u.o: in function `main': +] /usr/bin/ld: /tmp/cceXPByh.o: in function `main': ] ./builddir/full/conftest.c:9:(.text.startup+0x6): undefined reference to `strlcpy' ] collect2: error: ld returned 1 exit status ==> strlcpy... no @@ -1501,10 +1537,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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 Apr 6 11:26 /dev/null -crw-rw-rw- 1 root root 5, 0 Apr 6 11:26 /dev/tty +crw-rw-rw- 1 root root 1, 3 Apr 4 09:45 /dev/null +crw-rw-rw- 1 root root 5, 0 Apr 4 09:45 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE> @@ -1516,11 +1552,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.856 2024/04/02 10:51:35 tg Exp $ on: $ uname -a >&2 -| Linux wbq0 6.1.0-18-armmp #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/02/01 on Linux 6.1.0-18-armmp... +| Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/02/01 on Linux 6.1.0-18-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ musl-gcc -E -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 @@ -1535,7 +1571,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 13.2.0 (Debian 13.2.0-13) | COLLECT_GCC_OPTIONS='-Os' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-musleabihf/musl-gcc.specs' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a-' -| /usr/libexec/gcc/arm-linux-gnueabihf/13/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -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/arm-linux-musleabihf -isystem /usr/lib/gcc/arm-linux-gnueabihf/13/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mfloat-abi=hard -mtls-dialect=gnu -mthumb -mlibarch=armv7-a+fp -march=armv7-a+fp -g -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -o /tmp/ccGM55W8.s +| /usr/libexec/gcc/arm-linux-gnueabihf/13/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -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/arm-linux-musleabihf -isystem /usr/lib/gcc/arm-linux-gnueabihf/13/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mfloat-abi=hard -mtls-dialect=gnu -mthumb -mlibarch=armv7-a+fp -march=armv7-a+fp -g -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -o /tmp/ccTYMeDU.s | GNU C17 (Debian 13.2.0-13) version 13.2.0 (arm-linux-gnueabihf) | compiled by GNU C version 13.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP | @@ -1549,12 +1585,12 @@ | End of search list. | Compiler executable checksum: 0ea74a6719288f2d1f7341df6f349fae | COLLECT_GCC_OPTIONS='-Os' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-musleabihf/musl-gcc.specs' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a-' -| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccLO4wZu.o /tmp/ccGM55W8.s +| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccbSG4q6.o /tmp/ccTYMeDU.s | GNU assembler version 2.42 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Debian) 2.42 | COMPILER_PATH=/usr/libexec/gcc/arm-linux-gnueabihf/13/:/usr/libexec/gcc/arm-linux-gnueabihf/13/:/usr/libexec/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/13/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/13/:/usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/13/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ | COLLECT_GCC_OPTIONS='-Os' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-musleabihf/musl-gcc.specs' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a.' -| /usr/libexec/gcc/arm-linux-gnueabihf/13/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQ6xgWb.res -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/13/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/13/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-armhf.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/arm-linux-musleabihf/rcrt1.o /usr/lib/arm-linux-musleabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/13/crtbeginS.o -L/usr/lib/arm-linux-musleabihf -L /usr/lib/gcc/arm-linux-gnueabihf/13/. -z relro -z now --as-needed -z text /tmp/ccLO4wZu.o --start-group /usr/lib/gcc/arm-linux-gnueabihf/13/libgcc.a /usr/lib/gcc/arm-linux-gnueabihf/13/libgcc_eh.a -lc --end-group /usr/lib/gcc/arm-linux-gnueabihf/13/crtendS.o /usr/lib/arm-linux-musleabihf/crtn.o +| /usr/libexec/gcc/arm-linux-gnueabihf/13/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccAxKNGb.res -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/13/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/13/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-armhf.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/arm-linux-musleabihf/rcrt1.o /usr/lib/arm-linux-musleabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/13/crtbeginS.o -L/usr/lib/arm-linux-musleabihf -L /usr/lib/gcc/arm-linux-gnueabihf/13/. -z relro -z now --as-needed -z text /tmp/ccbSG4q6.o --start-group /usr/lib/gcc/arm-linux-gnueabihf/13/libgcc.a /usr/lib/gcc/arm-linux-gnueabihf/13/libgcc_eh.a -lc --end-group /usr/lib/gcc/arm-linux-gnueabihf/13/crtendS.o /usr/lib/arm-linux-musleabihf/crtn.o | COLLECT_GCC_OPTIONS='-Os' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-musleabihf/musl-gcc.specs' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -1565,7 +1601,7 @@ ==> if the compiler works... yes ... if the compiler does not fail correctly $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccEbVYUh.o: in function `main': +] /usr/bin/ld: /tmp/ccJJF2Mf.o: in function `main': ] ./builddir/static-musl/conftest.c:15:(.text.startup+0x16): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -1628,26 +1664,26 @@ ==> if invoking as sh should be handled specially... yes ... if mksh will be built without job control $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/cckaXIV7.o: in function `main': +] /usr/bin/ld: /tmp/ccxiIErI.o: in function `main': ] ./builddir/static-musl/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccuN0QPG.o: in function `main': +] /usr/bin/ld: /tmp/ccaXjkmO.o: in function `main': ] ./builddir/static-musl/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/cck42zWK.o: in function `main': +] /usr/bin/ld: /tmp/ccFncIgN.o: in function `main': ] ./builddir/static-musl/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/cc7uOPlQ.o: in function `main': +] /usr/bin/ld: /tmp/ccVa5EMg.o: in function `main': ] ./builddir/static-musl/conftest.c:15:(.text.startup+0x16): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -1813,57 +1849,57 @@ ==> if the final link command may succeed... yes ... GNU strerrordesc_np() $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccvyTQT8.o: in function `main': +] /usr/bin/ld: /tmp/cc5RJE5B.o: in function `main': ] ./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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccMMWOcQ.o: in function `main': +] /usr/bin/ld: /tmp/ccAqy0M5.o: in function `main': ] ./builddir/static-musl/conftest.c:11:(.text.startup+0x34): undefined reference to `sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/conftest.c:11:(.text.startup+0x38): undefined reference to `sys_errlist' ] collect2: error: ld returned 1 exit status ==> the sys_errlist[] array and sys_nerr... no ... the _sys_errlist[] array and _sys_nerr $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/cc3IwRpu.o: in function `main': +] /usr/bin/ld: /tmp/cczX65lM.o: in function `main': ] ./builddir/static-musl/conftest.c:11:(.text.startup+0x34): undefined reference to `_sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/conftest.c:11:(.text.startup+0x38): undefined reference to `_sys_errlist' ] collect2: error: ld returned 1 exit status ==> the _sys_errlist[] array and _sys_nerr... no ... GNU sigabbrev_np() $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/cc0llKzK.o: in function `main': +] /usr/bin/ld: /tmp/ccAG5fRb.o: in function `main': ] ./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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccEjTERq.o: in function `main': +] /usr/bin/ld: /tmp/ccBlSBaB.o: in function `main': ] ./builddir/static-musl/conftest.c:10:(.text.startup+0x28): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccnJILdX.o: in function `main': +] /usr/bin/ld: /tmp/ccfFwilo.o: in function `main': ] ./builddir/static-musl/conftest.c:10:(.text.startup+0x28): undefined reference to `_sys_signame' ] collect2: error: ld returned 1 exit status ==> the _sys_signame[] array... no ... GNU sigdescr_np() $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccn1muFk.o: in function `main': +] /usr/bin/ld: /tmp/ccSj3JMj.o: in function `main': ] ./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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccxuD5Xf.o: in function `main': +] /usr/bin/ld: /tmp/cchqOz4a.o: in function `main': ] ./builddir/static-musl/conftest.c:10:(.text.startup+0x28): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/cciUQ3f9.o: in function `main': +] /usr/bin/ld: /tmp/ccix7WcX.o: in function `main': ] ./builddir/static-musl/conftest.c:10:(.text.startup+0x28): undefined reference to `_sys_siglist' ] collect2: error: ld returned 1 exit status ==> the _sys_siglist[] array... no @@ -2922,10 +2958,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=-Os -march=armv7-a+fp -mtune=cortex-a8 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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=-Os -march=armv7-a+fp -mtune=cortex-a8 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 Apr 6 11:26 /dev/null -crw-rw-rw- 1 root root 5, 0 Apr 6 11:26 /dev/tty +crw-rw-rw- 1 root root 1, 3 Apr 4 09:45 /dev/null +crw-rw-rw- 1 root root 5, 0 Apr 4 09:45 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-Os -march=armv7-a+fp -mtune=cortex-a8 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra> @@ -2937,11 +2973,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.856 2024/04/02 10:51:35 tg Exp $ on: $ uname -a >&2 -| Linux wbq0 6.1.0-18-armmp #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/02/01 on Linux 6.1.0-18-armmp... +| Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/02/01 on Linux 6.1.0-18-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ klcc -E -Os -march=armv7-a+fp -mtune=cortex-a8 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -Os -march=armv7-a+fp -mtune=cortex-a8 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -Os -march=armv7-a+fp -mtune=cortex-a8 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 @@ -2954,7 +2990,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 13.2.0 (Debian 13.2.0-13) | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mthumb' '-mabi=aapcs-linux' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arch/arm' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '-Os' '-mtune=cortex-a8' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a-' -| /usr/libexec/gcc/arm-linux-gnueabihf/13/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arch/arm -I /usr/lib/klibc/include/bits32 -I /usr/lib/klibc/include -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D _FORTIFY_SOURCE=2 -D MKSH_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 -mthumb -mabi=aapcs-linux -mtune=cortex-a8 -mfloat-abi=hard -mtls-dialect=gnu -mlibarch=armv7-a+fp -march=armv7-a+fp -ggdb -g -O -Os -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 -o /tmp/cckPzOVZ.s +| /usr/libexec/gcc/arm-linux-gnueabihf/13/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arch/arm -I /usr/lib/klibc/include/bits32 -I /usr/lib/klibc/include -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D _FORTIFY_SOURCE=2 -D MKSH_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 -mthumb -mabi=aapcs-linux -mtune=cortex-a8 -mfloat-abi=hard -mtls-dialect=gnu -mlibarch=armv7-a+fp -march=armv7-a+fp -ggdb -g -O -Os -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 -o /tmp/cc3FEPxx.s | GNU C17 (Debian 13.2.0-13) version 13.2.0 (arm-linux-gnueabihf) | compiled by GNU C version 13.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP | @@ -2970,12 +3006,12 @@ | End of search list. | Compiler executable checksum: 0ea74a6719288f2d1f7341df6f349fae | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mthumb' '-mabi=aapcs-linux' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arch/arm' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '-Os' '-mtune=cortex-a8' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a-' -| as -v -I /usr/lib/klibc/include/arch/arm -I /usr/lib/klibc/include/bits32 -I /usr/lib/klibc/include -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccLGeBhy.o /tmp/cckPzOVZ.s +| as -v -I /usr/lib/klibc/include/arch/arm -I /usr/lib/klibc/include/bits32 -I /usr/lib/klibc/include -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccamv2F4.o /tmp/cc3FEPxx.s | GNU assembler version 2.42 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Debian) 2.42 | COMPILER_PATH=/usr/libexec/gcc/arm-linux-gnueabihf/13/:/usr/libexec/gcc/arm-linux-gnueabihf/13/:/usr/libexec/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/13/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/13/:/usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/13/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mthumb' '-mabi=aapcs-linux' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arch/arm' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '-Os' '-mtune=cortex-a8' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a.' -| /usr/libexec/gcc/arm-linux-gnueabihf/13/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/13/lto-wrapper -plugin-opt=-fresolution=/tmp/cczGmFju.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 -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu --as-needed -m armelf_linux_eabi -pie /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/Scrt1.o /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/13/crtbeginS.o -L/usr/lib/gcc/arm-linux-gnueabihf/13 -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf /tmp/ccLGeBhy.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/arm-linux-gnueabihf/13/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/crtn.o +| /usr/libexec/gcc/arm-linux-gnueabihf/13/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccyPudwC.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 -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu --as-needed -m armelf_linux_eabi -pie /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/Scrt1.o /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/13/crtbeginS.o -L/usr/lib/gcc/arm-linux-gnueabihf/13 -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf /tmp/ccamv2F4.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/arm-linux-gnueabihf/13/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/crtn.o | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mthumb' '-mabi=aapcs-linux' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arch/arm' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '-Os' '-mtune=cortex-a8' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -4384,10 +4420,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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 Apr 6 11:26 /dev/null -crw-rw-rw- 1 root root 5, 0 Apr 6 11:26 /dev/tty +crw-rw-rw- 1 root root 1, 3 Apr 4 09:45 /dev/null +crw-rw-rw- 1 root root 5, 0 Apr 4 09:45 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra> @@ -4399,11 +4435,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.856 2024/04/02 10:51:35 tg Exp $ on: $ uname -a >&2 -| Linux wbq0 6.1.0-18-armmp #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/02/01 on Linux 6.1.0-18-armmp... +| Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/02/01 on Linux 6.1.0-18-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ diet -v -Os gcc -E -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/diet/include -D__dietlibc__ -Os -fomit-frame-pointer [ ct="gcc" [ et="dietlibc" @@ -4418,7 +4454,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 13.2.0 (Debian 13.2.0-13) | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/arm-linux-gnueabihf/diet/lib-arm' '-L/usr/lib/diet/lib' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-gnueabihf/diet/include' '-D' '__dietlibc__' '-Os' '-fomit-frame-pointer' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a-' -| /usr/libexec/gcc/arm-linux-gnueabihf/13/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -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__ -isystem /usr/lib/arm-linux-gnueabihf/diet/include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mfloat-abi=hard -mtls-dialect=gnu -mthumb -mlibarch=armv7-a+fp -march=armv7-a+fp -g -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fomit-frame-pointer -o /tmp/ccRBpZvQ.s +| /usr/libexec/gcc/arm-linux-gnueabihf/13/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -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__ -isystem /usr/lib/arm-linux-gnueabihf/diet/include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mfloat-abi=hard -mtls-dialect=gnu -mthumb -mlibarch=armv7-a+fp -march=armv7-a+fp -g -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fomit-frame-pointer -o /tmp/cctULTYX.s | GNU C17 (Debian 13.2.0-13) version 13.2.0 (arm-linux-gnueabihf) | compiled by GNU C version 13.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP | @@ -4439,12 +4475,12 @@ | End of search list. | Compiler executable checksum: 0ea74a6719288f2d1f7341df6f349fae | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/arm-linux-gnueabihf/diet/lib-arm' '-L/usr/lib/diet/lib' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-gnueabihf/diet/include' '-D' '__dietlibc__' '-Os' '-fomit-frame-pointer' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a-' -| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccSDHExX.o /tmp/ccRBpZvQ.s +| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/cc61QM3U.o /tmp/cctULTYX.s | GNU assembler version 2.42 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Debian) 2.42 | COMPILER_PATH=/usr/libexec/gcc/arm-linux-gnueabihf/13/:/usr/libexec/gcc/arm-linux-gnueabihf/13/:/usr/libexec/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/13/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/13/:/usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/13/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/arm-linux-gnueabihf/diet/lib-arm' '-L/usr/lib/diet/lib' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-gnueabihf/diet/include' '-D' '__dietlibc__' '-Os' '-fomit-frame-pointer' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a.' -| /usr/libexec/gcc/arm-linux-gnueabihf/13/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccYFzNMv.res --build-id -Bstatic -X --hash-style=gnu --as-needed -m armelf_linux_eabi -L/usr/lib/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib -L/usr/lib/gcc/arm-linux-gnueabihf/13 -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -z relro -z now --as-needed /tmp/ccSDHExX.o /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a +| /usr/libexec/gcc/arm-linux-gnueabihf/13/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccxmjN2c.res --build-id -Bstatic -X --hash-style=gnu --as-needed -m armelf_linux_eabi -L/usr/lib/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib -L/usr/lib/gcc/arm-linux-gnueabihf/13 -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/13/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -z relro -z now --as-needed /tmp/cc61QM3U.o /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/arm-linux-gnueabihf/diet/lib-arm' '-L/usr/lib/diet/lib' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-gnueabihf/diet/include' '-D' '__dietlibc__' '-Os' '-fomit-frame-pointer' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -4459,7 +4495,7 @@ ... if the compiler does not fail correctly $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -] /usr/bin/ld: /tmp/ccMSyYYD.o: in function `main': +] /usr/bin/ld: /tmp/cchnfU4p.o: in function `main': ] ./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x16): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -4543,21 +4579,21 @@ ... if mksh will be built without job control $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -] /usr/bin/ld: /tmp/cc8dSnQX.o: in function `main': +] /usr/bin/ld: /tmp/ccsvemp3.o: in function `main': ] ./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -] /usr/bin/ld: /tmp/cc8Bmn3m.o: in function `main': +] /usr/bin/ld: /tmp/ccJdr27J.o: in function `main': ] ./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -] /usr/bin/ld: /tmp/ccsP5t1Q.o: in function `main': +] /usr/bin/ld: /tmp/ccsO7KdM.o: in function `main': ] ./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x16): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the default UTF-8 mode is specified... no @@ -4565,7 +4601,7 @@ ... if the MidnightBSD 0.1 ash compatibility mode is requested $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -] /usr/bin/ld: /tmp/ccwEcITV.o: in function `main': +] /usr/bin/ld: /tmp/ccJBQmob.o: in function `main': ] ./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x16): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -4739,7 +4775,7 @@ ... GNU strerrordesc_np() $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -D_FILE_OFFSET_BITS=64 -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/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -D_FILE_OFFSET_BITS=64 -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/arm-linux-gnueabihf/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -] /usr/bin/ld: /tmp/ccwMcSrW.o: in function `main': +] /usr/bin/ld: /tmp/ccf0V6sA.o: in function `main': ] ./builddir/static-dietlibc/conftest.c:9:(.text.startup+0x14): undefined reference to `strerrordesc_np' ] collect2: error: ld returned 1 exit status ==> GNU strerrordesc_np()... no @@ -4751,28 +4787,28 @@ ... GNU sigabbrev_np() $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -D_FILE_OFFSET_BITS=64 -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/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -D_FILE_OFFSET_BITS=64 -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/arm-linux-gnueabihf/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -] /usr/bin/ld: /tmp/cc8LocGm.o: in function `main': +] /usr/bin/ld: /tmp/ccAgIWf6.o: in function `main': ] ./builddir/static-dietlibc/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 $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -D_FILE_OFFSET_BITS=64 -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/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -D_FILE_OFFSET_BITS=64 -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/arm-linux-gnueabihf/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -] /usr/bin/ld: /tmp/ccT7pF46.o: in function `main': +] /usr/bin/ld: /tmp/ccPXoOaY.o: in function `main': ] ./builddir/static-dietlibc/conftest.c:10:(.text.startup+0x28): undefined reference to `sys_signame' ] collect2: error: ld returned 1 exit status ==> the sys_signame[] array... no ... the _sys_signame[] array $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -D_FILE_OFFSET_BITS=64 -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/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -D_FILE_OFFSET_BITS=64 -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/arm-linux-gnueabihf/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -] /usr/bin/ld: /tmp/ccfUm50u.o: in function `main': +] /usr/bin/ld: /tmp/ccSEThen.o: in function `main': ] ./builddir/static-dietlibc/conftest.c:10:(.text.startup+0x28): undefined reference to `_sys_signame' ] collect2: error: ld returned 1 exit status ==> the _sys_signame[] array... no ... GNU sigdescr_np() $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -D_FILE_OFFSET_BITS=64 -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/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -D_FILE_OFFSET_BITS=64 -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/arm-linux-gnueabihf/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -lgcc /usr/lib/arm-linux-gnueabihf/diet/lib-arm/libc.a -] /usr/bin/ld: /tmp/ccbO4491.o: in function `main': +] /usr/bin/ld: /tmp/cccATlnD.o: in function `main': ] ./builddir/static-dietlibc/conftest.c:9:(.text.startup+0x14): undefined reference to `sigdescr_np' ] collect2: error: ld returned 1 exit status ==> GNU sigdescr_np()... no @@ -6440,10 +6476,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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 Apr 6 11:26 /dev/null -crw-rw-rw- 1 root root 5, 0 Apr 6 11:26 /dev/tty +crw-rw-rw- 1 root root 1, 3 Apr 4 09:45 /dev/null +crw-rw-rw- 1 root root 5, 0 Apr 4 09:45 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-O2 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE> @@ -6455,11 +6491,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.856 2024/04/02 10:51:35 tg Exp $ on: $ uname -a >&2 -| Linux wbq0 6.1.0-18-armmp #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/02/01 on Linux 6.1.0-18-armmp... +| Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/02/01 on Linux 6.1.0-18-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ musl-gcc -E -O2 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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 @@ -6474,7 +6510,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 13.2.0 (Debian 13.2.0-13) | COLLECT_GCC_OPTIONS='-O2' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-musleabihf/musl-gcc.specs' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a-' -| /usr/libexec/gcc/arm-linux-gnueabihf/13/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -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/arm-linux-musleabihf -isystem /usr/lib/gcc/arm-linux-gnueabihf/13/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mfloat-abi=hard -mtls-dialect=gnu -mthumb -mlibarch=armv7-a+fp -march=armv7-a+fp -g -O2 -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -o /tmp/ccQG2aG1.s +| /usr/libexec/gcc/arm-linux-gnueabihf/13/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -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/arm-linux-musleabihf -isystem /usr/lib/gcc/arm-linux-gnueabihf/13/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mfloat-abi=hard -mtls-dialect=gnu -mthumb -mlibarch=armv7-a+fp -march=armv7-a+fp -g -O2 -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -o /tmp/ccmdmSqb.s | GNU C17 (Debian 13.2.0-13) version 13.2.0 (arm-linux-gnueabihf) | compiled by GNU C version 13.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP | @@ -6488,12 +6524,12 @@ | End of search list. | Compiler executable checksum: 0ea74a6719288f2d1f7341df6f349fae | COLLECT_GCC_OPTIONS='-O2' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-musleabihf/musl-gcc.specs' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a-' -| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccdAu8Re.o /tmp/ccQG2aG1.s +| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccm20Bal.o /tmp/ccmdmSqb.s | GNU assembler version 2.42 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Debian) 2.42 | COMPILER_PATH=/usr/libexec/gcc/arm-linux-gnueabihf/13/:/usr/libexec/gcc/arm-linux-gnueabihf/13/:/usr/libexec/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/13/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/13/:/usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/13/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ | COLLECT_GCC_OPTIONS='-O2' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-musleabihf/musl-gcc.specs' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a.' -| /usr/libexec/gcc/arm-linux-gnueabihf/13/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccZ8nTiL.res -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/13/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/13/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-armhf.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/arm-linux-musleabihf/rcrt1.o /usr/lib/arm-linux-musleabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/13/crtbeginS.o -L/usr/lib/arm-linux-musleabihf -L /usr/lib/gcc/arm-linux-gnueabihf/13/. -z relro -z now --as-needed -z text /tmp/ccdAu8Re.o --start-group /usr/lib/gcc/arm-linux-gnueabihf/13/libgcc.a /usr/lib/gcc/arm-linux-gnueabihf/13/libgcc_eh.a -lc --end-group /usr/lib/gcc/arm-linux-gnueabihf/13/crtendS.o /usr/lib/arm-linux-musleabihf/crtn.o +| /usr/libexec/gcc/arm-linux-gnueabihf/13/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccunfu07.res -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/13/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/13/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-armhf.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/arm-linux-musleabihf/rcrt1.o /usr/lib/arm-linux-musleabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/13/crtbeginS.o -L/usr/lib/arm-linux-musleabihf -L /usr/lib/gcc/arm-linux-gnueabihf/13/. -z relro -z now --as-needed -z text /tmp/ccm20Bal.o --start-group /usr/lib/gcc/arm-linux-gnueabihf/13/libgcc.a /usr/lib/gcc/arm-linux-gnueabihf/13/libgcc_eh.a -lc --end-group /usr/lib/gcc/arm-linux-gnueabihf/13/crtendS.o /usr/lib/arm-linux-musleabihf/crtn.o | COLLECT_GCC_OPTIONS='-O2' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-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/arm-linux-musleabihf/musl-gcc.specs' '-mfloat-abi=hard' '-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-a+fp' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -6504,7 +6540,7 @@ ==> if the compiler works... yes ... if the compiler does not fail correctly $ musl-gcc -O2 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccWoL3pX.o: in function `main': +] /usr/bin/ld: /tmp/ccmDKpbL.o: in function `main': ] ./builddir/legacy/conftest.c:15:(.text.startup+0x16): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -6561,7 +6597,7 @@ ==> for __attribute__((__used__))... yes ... if a reduced-feature mksh is requested $ musl-gcc -O2 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/cc2kXG3q.o: in function `main': +] /usr/bin/ld: /tmp/cc0OqeQg.o: in function `main': ] ./builddir/legacy/conftest.c:15:(.text.startup+0x16): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if a reduced-feature mksh is requested... no @@ -6570,26 +6606,26 @@ ==> if invoking as sh should be handled specially... yes ... if mksh will be built without job control $ musl-gcc -O2 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/cceQYfX7.o: in function `main': +] /usr/bin/ld: /tmp/ccCGEPqv.o: in function `main': ] ./builddir/legacy/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccfYShqu.o: in function `main': +] /usr/bin/ld: /tmp/ccYMCaNr.o: in function `main': ] ./builddir/legacy/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccwJoe2F.o: in function `main': +] /usr/bin/ld: /tmp/ccrxsJZH.o: in function `main': ] ./builddir/legacy/conftest.c:15:(.text.startup+0x16): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccS9FbXi.o: in function `main': +] /usr/bin/ld: /tmp/ccowxJaJ.o: in function `main': ] ./builddir/legacy/conftest.c:15:(.text.startup+0x16): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -6755,57 +6791,57 @@ ==> if the final link command may succeed... yes ... GNU strerrordesc_np() $ musl-gcc -O2 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccOGwiYm.o: in function `main': +] /usr/bin/ld: /tmp/ccnOR2MZ.o: in function `main': ] ./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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccksDtUF.o: in function `main': +] /usr/bin/ld: /tmp/ccX0Vjej.o: in function `main': ] ./builddir/legacy/conftest.c:11:(.text.startup+0x34): undefined reference to `sys_nerr' ] /usr/bin/ld: ./builddir/legacy/conftest.c:11:(.text.startup+0x38): undefined reference to `sys_errlist' ] collect2: error: ld returned 1 exit status ==> the sys_errlist[] array and sys_nerr... no ... the _sys_errlist[] array and _sys_nerr $ musl-gcc -O2 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccJPUzFa.o: in function `main': +] /usr/bin/ld: /tmp/ccfUoEyU.o: in function `main': ] ./builddir/legacy/conftest.c:11:(.text.startup+0x34): undefined reference to `_sys_nerr' ] /usr/bin/ld: ./builddir/legacy/conftest.c:11:(.text.startup+0x38): undefined reference to `_sys_errlist' ] collect2: error: ld returned 1 exit status ==> the _sys_errlist[] array and _sys_nerr... no ... GNU sigabbrev_np() $ musl-gcc -O2 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccTS2yRl.o: in function `main': +] /usr/bin/ld: /tmp/ccbv9lqz.o: in function `main': ] ./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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccwcaRLR.o: in function `main': +] /usr/bin/ld: /tmp/ccotYzGT.o: in function `main': ] ./builddir/legacy/conftest.c:10:(.text.startup+0x28): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/cclQqq2Y.o: in function `main': +] /usr/bin/ld: /tmp/ccljJKVS.o: in function `main': ] ./builddir/legacy/conftest.c:10:(.text.startup+0x28): undefined reference to `_sys_signame' ] collect2: error: ld returned 1 exit status ==> the _sys_signame[] array... no ... GNU sigdescr_np() $ musl-gcc -O2 -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/cctJoXEO.o: in function `main': +] /usr/bin/ld: /tmp/cc5SrJjX.o: in function `main': ] ./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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/cc0ibXgH.o: in function `main': +] /usr/bin/ld: /tmp/ccdzhpES.o: in function `main': ] ./builddir/legacy/conftest.c:10:(.text.startup+0x28): 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 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -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/ccC4HKal.o: in function `main': +] /usr/bin/ld: /tmp/cchZlGLi.o: in function `main': ] ./builddir/legacy/conftest.c:10:(.text.startup+0x28): undefined reference to `_sys_siglist' ] collect2: error: ld returned 1 exit status ==> the _sys_siglist[] array... no @@ -8127,10 +8163,10 @@ 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/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/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 dh_fixperms -O--buildsystem=none @@ -8150,23 +8186,23 @@ dh_strip -a -O--buildsystem=none dh_strip: warning: Could not find the BuildID in debian/mksh/usr/lib/arm-linux-musleabihf/bin/mksh strip --remove-section=.comment --remove-section=.note debian/mksh/usr/lib/arm-linux-musleabihf/bin/mksh - install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/ba - objcopy --only-keep-debug --compress-debug-sections debian/mksh/usr/lib/klibc/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/ba/4aa3570dcb4637e991fbb3f806ced86018aae9.debug - chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/ba/4aa3570dcb4637e991fbb3f806ced86018aae9.debug - strip --remove-section=.comment --remove-section=.note debian/mksh/usr/lib/klibc/bin/mksh - objcopy --add-gnu-debuglink debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/ba/4aa3570dcb4637e991fbb3f806ced86018aae9.debug debian/mksh/usr/lib/klibc/bin/mksh install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/51 objcopy --only-keep-debug --compress-debug-sections debian/mksh/usr/lib/diet/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/51/5ff4933ed99812251e4cebbbfefac3b42c459b.debug chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/51/5ff4933ed99812251e4cebbbfefac3b42c459b.debug strip --remove-section=.comment --remove-section=.note debian/mksh/usr/lib/diet/bin/mksh objcopy --add-gnu-debuglink debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/51/5ff4933ed99812251e4cebbbfefac3b42c459b.debug debian/mksh/usr/lib/diet/bin/mksh -dh_strip: warning: Could not find the BuildID in debian/mksh/bin/lksh - strip --remove-section=.comment --remove-section=.note debian/mksh/bin/lksh + install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/ba + objcopy --only-keep-debug --compress-debug-sections debian/mksh/usr/lib/klibc/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/ba/4aa3570dcb4637e991fbb3f806ced86018aae9.debug + chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/ba/4aa3570dcb4637e991fbb3f806ced86018aae9.debug + strip --remove-section=.comment --remove-section=.note debian/mksh/usr/lib/klibc/bin/mksh + objcopy --add-gnu-debuglink debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/ba/4aa3570dcb4637e991fbb3f806ced86018aae9.debug debian/mksh/usr/lib/klibc/bin/mksh install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/5f objcopy --only-keep-debug --compress-debug-sections debian/mksh/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/5f/99c31293825acf8b13faab29720dcd4dc50539.debug chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/5f/99c31293825acf8b13faab29720dcd4dc50539.debug strip --remove-section=.comment --remove-section=.note debian/mksh/bin/mksh objcopy --add-gnu-debuglink debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/5f/99c31293825acf8b13faab29720dcd4dc50539.debug debian/mksh/bin/mksh +dh_strip: warning: Could not find the BuildID in debian/mksh/bin/lksh + strip --remove-section=.comment --remove-section=.note debian/mksh/bin/lksh install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.dwz cp --reflink=auto -a debian/mksh/usr/lib/debug/.dwz/arm-linux-gnueabihf debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.dwz rm -fr debian/mksh/usr/lib/debug/.dwz @@ -8178,7 +8214,7 @@ rm -f debian/mksh/DEBIAN/shlibs dh_shlibdeps -a -O--buildsystem=none install -m0755 -d debian/mksh/DEBIAN - dpkg-shlibdeps -Tdebian/mksh.substvars debian/mksh/usr/lib/arm-linux-musleabihf/bin/mksh debian/mksh/bin/lksh debian/mksh/bin/mksh + dpkg-shlibdeps -Tdebian/mksh.substvars debian/mksh/usr/lib/arm-linux-musleabihf/bin/mksh debian/mksh/bin/mksh debian/mksh/bin/lksh dh_installdeb -O--buildsystem=none install -m0755 -d debian/mksh/DEBIAN cp -f debian/mksh.postinst debian/mksh/DEBIAN/postinst @@ -8210,9 +8246,9 @@ cd debian/.debhelper/mksh/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/DEBIAN/md5sums dh_builddeb -O--buildsystem=none - dpkg-deb --root-owner-group --build debian/mksh .. dpkg-deb --root-owner-group --build debian/.debhelper/mksh/dbgsym-root .. dpkg-deb: building package 'mksh-dbgsym' in '../mksh-dbgsym_59c-37_armhf.deb'. + dpkg-deb --root-owner-group --build debian/mksh .. dpkg-deb: building package 'mksh' in '../mksh_59c-37_armhf.deb'. debian/rules execute_after_dh_builddeb-arch make[1]: Entering directory '/build/reproducible-path/mksh-59c' @@ -8313,12 +8349,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/31101/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/31101/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/21068 and its subdirectories -I: Current time: Sun Apr 7 01:42:52 -12 2024 -I: pbuilder-time-stamp: 1712497372 +I: removing directory /srv/workspace/pbuilder/31101 and its subdirectories +I: Current time: Mon Apr 8 03:58:39 +14 2024 +I: pbuilder-time-stamp: 1712498319