Diff of the two buildlogs: -- --- b1/build.log 2024-10-08 05:24:46.304546340 +0000 +++ b2/build.log 2024-10-08 05:45:13.484329345 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Oct 7 17:14:17 -12 2024 -I: pbuilder-time-stamp: 1728364457 +I: Current time: Tue Oct 8 19:24:59 +14 2024 +I: pbuilder-time-stamp: 1728365099 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/10019/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/30691/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +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 Oct 8 05:25 /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/30691/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/30691/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]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' + 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='8366946857fb4f2782ac725ea31ad6bd' - 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='10019' - PS1='# ' - PS2='> ' + INVOCATION_ID=1b9ff1996bbd46e7b62d8c1d5da36389 + 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=30691 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.7020j0sp/pbuilderrc_TzxO --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.7020j0sp/b1 --logfile b1/build.log mksh_59c-39.dsc' - SUDO_GID='110' - SUDO_UID='103' - 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.7020j0sp/pbuilderrc_EV1i --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.7020j0sp/b2 --logfile b2/build.log mksh_59c-39.dsc' + SUDO_GID=114 + SUDO_UID=109 + 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 virt32z 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10019/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/30691/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -156,7 +188,7 @@ Get: 34 http://deb.debian.org/debian trixie/main armhf musl armhf 1.2.5-1.1 [400 kB] Get: 35 http://deb.debian.org/debian trixie/main armhf musl-dev armhf 1.2.5-1.1 [579 kB] Get: 36 http://deb.debian.org/debian trixie/main armhf musl-tools armhf 1.2.5-1.1 [41.6 kB] -Fetched 20.8 MB in 0s (83.1 MB/s) +Fetched 20.8 MB in 1s (35.2 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 ... 19508 files and directories currently installed.) @@ -317,7 +349,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mksh-59c/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mksh_59c-39_source.changes +I: user script /srv/workspace/pbuilder/30691/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/30691/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mksh-59c/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mksh_59c-39_source.changes dpkg-buildpackage: info: source package mksh dpkg-buildpackage: info: source version 59c-39 dpkg-buildpackage: info: source distribution unstable @@ -390,12 +426,12 @@ I: Values (not used) from environment: CFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS='-Wl,-z,relro' I: Using compiler: 'gcc' I: Values from dpkg-buildflags: CFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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-26-armmp-lpae' +I: building with klibc '2.0.13-4', testing on Linux '6.1.0-26-arm64' I: using static-pie in musl builds -N: main = 0xB6FCA4AD -N: main = 0xB6F434AD -N: main = 0xB6F0C4AD -N: main = 0xB6F3A4AD +N: main = 0xF7B354AD +N: main = 0xF7EBC4AD +N: main = 0xF7C644AD +N: main = 0xF77FE4AD 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 @@ -406,10 +442,10 @@ N: CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC='' LIBS='' -+ env CC=gcc CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC= LIBS= sh ../../Build.sh -r ++ env CC=gcc 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 Oct 7 11:24 /dev/null -crw-rw-rw- 1 root root 5, 0 Oct 7 11:24 /dev/tty +crw-rw-rw- 1 root root 1, 3 Oct 3 11:25 /dev/null +crw-rw-rw- 1 root root 5, 0 Oct 3 11:25 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra> @@ -421,11 +457,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.858 2024/08/17 23:33:47 tg Exp $ on: $ uname -a >&2 -| Linux virt32z 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-26-armmp-lpae... +| Linux i-capture-the-hostname 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-26-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ gcc -E -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ gcc -E -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -438,7 +474,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-3) | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/14/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -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 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -o /tmp/cc4KelzO.s +| /usr/libexec/gcc/arm-linux-gnueabihf/14/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -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 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -o /tmp/cccRKWPa.s | GNU C17 (Debian 14.2.0-3) version 14.2.0 (arm-linux-gnueabihf) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -458,12 +494,12 @@ | End of search list. | Compiler executable checksum: bc941fe8499922ae96f793083c1e54ac | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/ccRKNwHX.o /tmp/cc4KelzO.s +| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccohZfmP.o /tmp/cccRKWPa.s | GNU assembler version 2.43.1 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Debian) 2.43.1 | COMPILER_PATH=/usr/libexec/gcc/arm-linux-gnueabihf/14/:/usr/libexec/gcc/arm-linux-gnueabihf/14/:/usr/libexec/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/14/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/14/:/usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/14/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/14/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccElWlO8.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/14/../../../arm-linux-gnueabihf/Scrt1.o /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/14/crtbeginS.o -L/usr/lib/gcc/arm-linux-gnueabihf/14 -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -z relro -z now --as-needed /tmp/ccRKNwHX.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/14/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/crtn.o +| /usr/libexec/gcc/arm-linux-gnueabihf/14/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccwsK7kY.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/14/../../../arm-linux-gnueabihf/Scrt1.o /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/14/crtbeginS.o -L/usr/lib/gcc/arm-linux-gnueabihf/14 -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -z relro -z now --as-needed /tmp/ccohZfmP.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/14/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/crtn.o | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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\`" @@ -474,7 +510,7 @@ ==> if the compiler works... yes ... if the compiler does not fail correctly $ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/cczJKTfi.o: in function `main': +] /usr/bin/ld: /tmp/ccwMaEge.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 @@ -531,38 +567,38 @@ ==> for __attribute__((__used__))... yes ... if a reduced-feature mksh is requested $ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccc8b0ex.o: in function `main': +] /usr/bin/ld: /tmp/cccNnSmL.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccnXaxDi.o: in function `main': +] /usr/bin/ld: /tmp/ccK4x5q0.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/cciPMgLv.o: in function `main': +] /usr/bin/ld: /tmp/ccXQjcWx.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccm0zaPg.o: in function `main': +] /usr/bin/ld: /tmp/cc1rA5P3.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccOTYOxs.o: in function `main': +] /usr/bin/ld: /tmp/ccYAurb5.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccFgyzQT.o: in function `main': +] /usr/bin/ld: /tmp/cc3DLI9b.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 @@ -1484,10 +1520,10 @@ N: CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC='-static -static-pie -Wl,-z,text' LIBS='' -+ env CC=musl-gcc CFLAGS=-Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static -static-pie -Wl,-z,text LIBS= sh ../../Build.sh -r -c trace ++ env CC=musl-gcc 'CFLAGS=-Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 Oct 7 11:24 /dev/null -crw-rw-rw- 1 root root 5, 0 Oct 7 11:24 /dev/tty +crw-rw-rw- 1 root root 1, 3 Oct 3 11:25 /dev/null +crw-rw-rw- 1 root root 5, 0 Oct 3 11:25 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE> @@ -1499,11 +1535,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.858 2024/08/17 23:33:47 tg Exp $ on: $ uname -a >&2 -| Linux virt32z 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-26-armmp-lpae... +| Linux i-capture-the-hostname 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-26-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ musl-gcc -E -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ musl-gcc -E -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -1518,7 +1554,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-3) | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/14/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/arm-linux-musleabihf -isystem /usr/lib/gcc/arm-linux-gnueabihf/14/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 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -o /tmp/cceDBEJ2.s +| /usr/libexec/gcc/arm-linux-gnueabihf/14/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/arm-linux-musleabihf -isystem /usr/lib/gcc/arm-linux-gnueabihf/14/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 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -o /tmp/ccmCIKV8.s | GNU C17 (Debian 14.2.0-3) version 14.2.0 (arm-linux-gnueabihf) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -1532,12 +1568,12 @@ | End of search list. | Compiler executable checksum: bc941fe8499922ae96f793083c1e54ac | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/ccIzcISi.o /tmp/cceDBEJ2.s +| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccKxqwNd.o /tmp/ccmCIKV8.s | GNU assembler version 2.43.1 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Debian) 2.43.1 | COMPILER_PATH=/usr/libexec/gcc/arm-linux-gnueabihf/14/:/usr/libexec/gcc/arm-linux-gnueabihf/14/:/usr/libexec/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/14/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/14/:/usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/14/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/14/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccNmdGby.res -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/14/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/14/crtbeginS.o -L/usr/lib/arm-linux-musleabihf -L /usr/lib/gcc/arm-linux-gnueabihf/14/. -z relro -z now --as-needed -z text /tmp/ccIzcISi.o --start-group /usr/lib/gcc/arm-linux-gnueabihf/14/libgcc.a /usr/lib/gcc/arm-linux-gnueabihf/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/arm-linux-gnueabihf/14/crtendS.o /usr/lib/arm-linux-musleabihf/crtn.o +| /usr/libexec/gcc/arm-linux-gnueabihf/14/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccICBMRU.res -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/14/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/14/crtbeginS.o -L/usr/lib/arm-linux-musleabihf -L /usr/lib/gcc/arm-linux-gnueabihf/14/. -z relro -z now --as-needed -z text /tmp/ccKxqwNd.o --start-group /usr/lib/gcc/arm-linux-gnueabihf/14/libgcc.a /usr/lib/gcc/arm-linux-gnueabihf/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/arm-linux-gnueabihf/14/crtendS.o /usr/lib/arm-linux-musleabihf/crtn.o | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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\`" @@ -1548,7 +1584,7 @@ ==> if the compiler works... yes ... if the compiler does not fail correctly $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccSOXdOs.o: in function `main': +] /usr/bin/ld: /tmp/ccwOtZCh.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 @@ -1611,26 +1647,26 @@ ==> if invoking as sh should be handled specially... yes ... if mksh will be built without job control $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/cc4xCixb.o: in function `main': +] /usr/bin/ld: /tmp/ccR3LKw8.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccpA69OZ.o: in function `main': +] /usr/bin/ld: /tmp/ccviWhDd.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccd0ob5f.o: in function `main': +] /usr/bin/ld: /tmp/ccg2w5kK.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccYfvBRx.o: in function `main': +] /usr/bin/ld: /tmp/cctpVxUO.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 @@ -1796,57 +1832,57 @@ ==> if the final link command may succeed... yes ... GNU strerrordesc_np() $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccSnPSL4.o: in function `main': +] /usr/bin/ld: /tmp/ccBLFCQV.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/cc5miKce.o: in function `main': +] /usr/bin/ld: /tmp/ccF7SKRt.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/cch5GPue.o: in function `main': +] /usr/bin/ld: /tmp/cck5rPNG.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccrXP3RC.o: in function `main': +] /usr/bin/ld: /tmp/ccZV3LpZ.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccNsYZRh.o: in function `main': +] /usr/bin/ld: /tmp/ccjbmMO7.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccQ1pnXI.o: in function `main': +] /usr/bin/ld: /tmp/cc4uXeCd.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/cchN2nR9.o: in function `main': +] /usr/bin/ld: /tmp/ccFShFxR.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/cc64JSLC.o: in function `main': +] /usr/bin/ld: /tmp/cch6uVzD.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccpgZScL.o: in function `main': +] /usr/bin/ld: /tmp/cc4aECEl.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 @@ -2906,10 +2942,10 @@ N: CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 Oct 7 11:24 /dev/null -crw-rw-rw- 1 root root 5, 0 Oct 7 11:24 /dev/tty +crw-rw-rw- 1 root root 1, 3 Oct 3 11:25 /dev/null +crw-rw-rw- 1 root root 5, 0 Oct 3 11:25 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-Os -march=armv7-a+fp -mtune=cortex-a8 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra> @@ -2921,11 +2957,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.858 2024/08/17 23:33:47 tg Exp $ on: $ uname -a >&2 -| Linux virt32z 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-26-armmp-lpae... +| Linux i-capture-the-hostname 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-26-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -2938,7 +2974,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-3) | 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' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/14/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 _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -iwithprefix include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -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 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -fno-exceptions -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -o /tmp/ccrbzUDk.s +| /usr/libexec/gcc/arm-linux-gnueabihf/14/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 _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -iwithprefix include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -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 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -fno-exceptions -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -o /tmp/ccVN1x3C.s | GNU C17 (Debian 14.2.0-3) version 14.2.0 (arm-linux-gnueabihf) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -2954,12 +2990,12 @@ | End of search list. | Compiler executable checksum: bc941fe8499922ae96f793083c1e54ac | 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' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/ccfu5G1V.o /tmp/ccrbzUDk.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/ccR9nfxx.o /tmp/ccVN1x3C.s | GNU assembler version 2.43.1 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Debian) 2.43.1 | COMPILER_PATH=/usr/libexec/gcc/arm-linux-gnueabihf/14/:/usr/libexec/gcc/arm-linux-gnueabihf/14/:/usr/libexec/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/14/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/14/:/usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/14/../../../:/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' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/14/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccKwFZr8.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/14/../../../arm-linux-gnueabihf/Scrt1.o /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/14/crtbeginS.o -L/usr/lib/gcc/arm-linux-gnueabihf/14 -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf /tmp/ccfu5G1V.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/14/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/crtn.o +| /usr/libexec/gcc/arm-linux-gnueabihf/14/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccpdb1n2.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/14/../../../arm-linux-gnueabihf/Scrt1.o /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/14/crtbeginS.o -L/usr/lib/gcc/arm-linux-gnueabihf/14 -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf /tmp/ccR9nfxx.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/14/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/14/../../../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' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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\`" @@ -4366,10 +4402,10 @@ N: CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC=' ' LIBS='' -+ env CC=diet -v -Os gcc CFLAGS=-g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC= LIBS= sh ../../Build.sh -r -c trace ++ env 'CC=diet -v -Os gcc' 'CFLAGS=-g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 Oct 7 11:24 /dev/null -crw-rw-rw- 1 root root 5, 0 Oct 7 11:24 /dev/tty +crw-rw-rw- 1 root root 1, 3 Oct 3 11:25 /dev/null +crw-rw-rw- 1 root root 5, 0 Oct 3 11:25 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra> @@ -4381,11 +4417,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.858 2024/08/17 23:33:47 tg Exp $ on: $ uname -a >&2 -| Linux virt32z 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-26-armmp-lpae... +| Linux i-capture-the-hostname 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-26-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ diet -v -Os gcc -E -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ diet -v -Os gcc -E -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x ] gcc -E -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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__ -D_DISTRO_EVADE_TIME_BITS -Os -fomit-frame-pointer [ ct="gcc" [ et="dietlibc" @@ -4400,7 +4436,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-3) | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/arm-linux-gnueabihf/diet/lib-arm' '-L/usr/lib/diet/lib' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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__' '-D' '_DISTRO_EVADE_TIME_BITS' '-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/14/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -D __dietlibc__ -D _DISTRO_EVADE_TIME_BITS -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 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fomit-frame-pointer -o /tmp/cccfwUzy.s +| /usr/libexec/gcc/arm-linux-gnueabihf/14/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -D __dietlibc__ -D _DISTRO_EVADE_TIME_BITS -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 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fomit-frame-pointer -o /tmp/cc3gRNnV.s | GNU C17 (Debian 14.2.0-3) version 14.2.0 (arm-linux-gnueabihf) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -4421,12 +4457,12 @@ | End of search list. | Compiler executable checksum: bc941fe8499922ae96f793083c1e54ac | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/arm-linux-gnueabihf/diet/lib-arm' '-L/usr/lib/diet/lib' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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__' '-D' '_DISTRO_EVADE_TIME_BITS' '-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/ccdYTvYg.o /tmp/cccfwUzy.s +| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccUcDGbA.o /tmp/cc3gRNnV.s | GNU assembler version 2.43.1 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Debian) 2.43.1 | COMPILER_PATH=/usr/libexec/gcc/arm-linux-gnueabihf/14/:/usr/libexec/gcc/arm-linux-gnueabihf/14/:/usr/libexec/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/14/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/14/:/usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/14/../../../:/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' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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__' '-D' '_DISTRO_EVADE_TIME_BITS' '-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/14/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/14/lto-wrapper -plugin-opt=-fresolution=/tmp/cc4vswk0.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/14 -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../.. -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/ccdYTvYg.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/14/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccu3z8di.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/14 -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/14/../../.. -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/ccUcDGbA.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' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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__' '-D' '_DISTRO_EVADE_TIME_BITS' '-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\`" @@ -4441,7 +4477,7 @@ ... if the compiler does not fail correctly $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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__ -D_DISTRO_EVADE_TIME_BITS -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/ccoQxRKC.o: in function `main': +] /usr/bin/ld: /tmp/ccJly1ir.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 @@ -4525,21 +4561,21 @@ ... if mksh will be built without job control $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -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../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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__ -D_DISTRO_EVADE_TIME_BITS -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/ccEyNrPG.o: in function `main': +] /usr/bin/ld: /tmp/ccBTKKA4.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -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../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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__ -D_DISTRO_EVADE_TIME_BITS -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/ccC5sl6x.o: in function `main': +] /usr/bin/ld: /tmp/ccUkcaUD.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -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../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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__ -D_DISTRO_EVADE_TIME_BITS -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/cc3e6s41.o: in function `main': +] /usr/bin/ld: /tmp/ccxvKF6m.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 @@ -4547,7 +4583,7 @@ ... if the MidnightBSD 0.1 ash compatibility mode is requested $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -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../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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__ -D_DISTRO_EVADE_TIME_BITS -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/ccOSMWVP.o: in function `main': +] /usr/bin/ld: /tmp/ccYsBngw.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 @@ -4716,7 +4752,7 @@ ... GNU strerrordesc_np() $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -Werror=implicit-function-declaration -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../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/arm-linux-gnueabihf/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -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/ccwTF19H.o: in function `main': +] /usr/bin/ld: /tmp/ccvFAFH3.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 @@ -4728,28 +4764,28 @@ ... GNU sigabbrev_np() $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -Werror=implicit-function-declaration -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../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/arm-linux-gnueabihf/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -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/ccXstubC.o: in function `main': +] /usr/bin/ld: /tmp/ccmAYMAZ.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -Werror=implicit-function-declaration -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../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/arm-linux-gnueabihf/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -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/ccHod0TA.o: in function `main': +] /usr/bin/ld: /tmp/ccHER3Y0.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -Werror=implicit-function-declaration -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../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/arm-linux-gnueabihf/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -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/ccEuhXGU.o: in function `main': +] /usr/bin/ld: /tmp/cca233b2.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/arm-linux-gnueabihf/diet/lib-arm -L/usr/lib/diet/lib /usr/lib/arm-linux-gnueabihf/diet/lib-arm/start.o -g -Werror=implicit-function-declaration -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../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/arm-linux-gnueabihf/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -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/ccM3a2KJ.o: in function `main': +] /usr/bin/ld: /tmp/ccywem8x.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 @@ -6421,10 +6457,10 @@ N: CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC='-static -static-pie -Wl,-z,text' LIBS='' -+ env CC=musl-gcc CFLAGS=-O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static -static-pie -Wl,-z,text LIBS= sh ../../Build.sh -r -L -c trace ++ env CC=musl-gcc 'CFLAGS=-O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 Oct 7 11:24 /dev/null -crw-rw-rw- 1 root root 5, 0 Oct 7 11:24 /dev/tty +crw-rw-rw- 1 root root 1, 3 Oct 3 11:25 /dev/null +crw-rw-rw- 1 root root 5, 0 Oct 3 11:25 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE> @@ -6436,11 +6472,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.858 2024/08/17 23:33:47 tg Exp $ on: $ uname -a >&2 -| Linux virt32z 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-26-armmp-lpae... +| Linux i-capture-the-hostname 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-26-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ musl-gcc -E -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ musl-gcc -E -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -6455,7 +6491,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-3) | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/14/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_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/14/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 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -o /tmp/ccrBqA5d.s +| /usr/libexec/gcc/arm-linux-gnueabihf/14/cc1 -quiet -v -I . -I ../.. -imultilib . -imultiarch arm-linux-gnueabihf -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_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/14/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 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -fPIE -o /tmp/ccdP6fW2.s | GNU C17 (Debian 14.2.0-3) version 14.2.0 (arm-linux-gnueabihf) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -6469,12 +6505,12 @@ | End of search list. | Compiler executable checksum: bc941fe8499922ae96f793083c1e54ac | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/cclQeJ2Y.o /tmp/ccrBqA5d.s +| as -v -I . -I ../.. -march=armv7-a+fp -mfloat-abi=hard -meabi=5 -o /tmp/ccaq9THc.o /tmp/ccdP6fW2.s | GNU assembler version 2.43.1 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Debian) 2.43.1 | COMPILER_PATH=/usr/libexec/gcc/arm-linux-gnueabihf/14/:/usr/libexec/gcc/arm-linux-gnueabihf/14/:/usr/libexec/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/14/:/usr/lib/gcc/arm-linux-gnueabihf/ | LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/14/:/usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/14/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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/14/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/14/lto-wrapper -plugin-opt=-fresolution=/tmp/cclPs7mL.res -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/14/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/14/crtbeginS.o -L/usr/lib/arm-linux-musleabihf -L /usr/lib/gcc/arm-linux-gnueabihf/14/. -z relro -z now --as-needed -z text /tmp/cclQeJ2Y.o --start-group /usr/lib/gcc/arm-linux-gnueabihf/14/libgcc.a /usr/lib/gcc/arm-linux-gnueabihf/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/arm-linux-gnueabihf/14/crtendS.o /usr/lib/arm-linux-musleabihf/crtn.o +| /usr/libexec/gcc/arm-linux-gnueabihf/14/collect2 -plugin /usr/libexec/gcc/arm-linux-gnueabihf/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/arm-linux-gnueabihf/14/lto-wrapper -plugin-opt=-fresolution=/tmp/cc482Yvp.res -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/arm-linux-gnueabihf/14/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/14/crtbeginS.o -L/usr/lib/arm-linux-musleabihf -L /usr/lib/gcc/arm-linux-gnueabihf/14/. -z relro -z now --as-needed -z text /tmp/ccaq9THc.o --start-group /usr/lib/gcc/arm-linux-gnueabihf/14/libgcc.a /usr/lib/gcc/arm-linux-gnueabihf/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/arm-linux-gnueabihf/14/crtendS.o /usr/lib/arm-linux-musleabihf/crtn.o | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-clash-protection' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_TIME_BITS=64' '-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\`" @@ -6485,7 +6521,7 @@ ==> if the compiler works... yes ... if the compiler does not fail correctly $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccCaOZpQ.o: in function `main': +] /usr/bin/ld: /tmp/cckMr5zG.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 @@ -6542,7 +6578,7 @@ ==> for __attribute__((__used__))... yes ... if a reduced-feature mksh is requested $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/cc9n8jPR.o: in function `main': +] /usr/bin/ld: /tmp/ccFbGQBb.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 @@ -6551,26 +6587,26 @@ ==> if invoking as sh should be handled specially... yes ... if mksh will be built without job control $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccFKGTz5.o: in function `main': +] /usr/bin/ld: /tmp/cchZw1aS.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/cc4lD8zq.o: in function `main': +] /usr/bin/ld: /tmp/ccnts8mF.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/cc0Wuz04.o: in function `main': +] /usr/bin/ld: /tmp/cc0L7skg.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/cc6ZFzXu.o: in function `main': +] /usr/bin/ld: /tmp/ccUaR73Q.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 @@ -6736,57 +6772,57 @@ ==> if the final link command may succeed... yes ... GNU strerrordesc_np() $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccxLEQg2.o: in function `main': +] /usr/bin/ld: /tmp/ccNdvDR8.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccFeRvtw.o: in function `main': +] /usr/bin/ld: /tmp/cc83Vu5o.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccbgVoHG.o: in function `main': +] /usr/bin/ld: /tmp/ccMRfITZ.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccLTLdAl.o: in function `main': +] /usr/bin/ld: /tmp/ccWVfC2l.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccqwKMGq.o: in function `main': +] /usr/bin/ld: /tmp/cc2b2tw8.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccz9kxaM.o: in function `main': +] /usr/bin/ld: /tmp/ccZaBUVZ.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccNxdaES.o: in function `main': +] /usr/bin/ld: /tmp/ccGwuajQ.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccgywNIW.o: in function `main': +] /usr/bin/ld: /tmp/ccW72M3s.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 -Werror=implicit-function-declaration -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'../..' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/ccXSubeO.o: in function `main': +] /usr/bin/ld: /tmp/ccn49OvQ.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 @@ -8109,10 +8145,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/rmksh.1 debian/mksh/usr/share/man/man1/rmksh.1.gz - ln -s mksh.1.gz debian/mksh/usr/share/man/man1/rmksh.1.gz rm -f debian/mksh/usr/share/man/man1/mksh-static.1 debian/mksh/usr/share/man/man1/mksh-static.1.gz ln -s mksh.1.gz debian/mksh/usr/share/man/man1/mksh-static.1.gz + rm -f debian/mksh/usr/share/man/man1/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 dh_fixperms -O--buildsystem=none @@ -8130,25 +8166,25 @@ objcopy --compress-debug-sections debian/mksh/usr/lib/debug/.dwz/arm-linux-gnueabihf/mksh.debug chmod 0644 -- debian/mksh/usr/lib/debug/.dwz/arm-linux-gnueabihf/mksh.debug dh_strip -a -O--buildsystem=none - install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/67 - objcopy --only-keep-debug --compress-debug-sections debian/mksh/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/67/ddf96ebc0cce70c4e029c5af94884e3279234c.debug - chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/67/ddf96ebc0cce70c4e029c5af94884e3279234c.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/67/ddf96ebc0cce70c4e029c5af94884e3279234c.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/.build-id/16 - objcopy --only-keep-debug --compress-debug-sections debian/mksh/usr/lib/diet/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/16/d32371b2bc18bca3abc3ccacab0d39d16dafb8.debug - chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/16/d32371b2bc18bca3abc3ccacab0d39d16dafb8.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/16/d32371b2bc18bca3abc3ccacab0d39d16dafb8.debug debian/mksh/usr/lib/diet/bin/mksh install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/54 objcopy --only-keep-debug --compress-debug-sections debian/mksh/usr/lib/klibc/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/54/e3a06bd94d0377d06f92f039d277a162f2c669.debug chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/54/e3a06bd94d0377d06f92f039d277a162f2c669.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/54/e3a06bd94d0377d06f92f039d277a162f2c669.debug debian/mksh/usr/lib/klibc/bin/mksh + install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/16 + objcopy --only-keep-debug --compress-debug-sections debian/mksh/usr/lib/diet/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/16/d32371b2bc18bca3abc3ccacab0d39d16dafb8.debug + chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/16/d32371b2bc18bca3abc3ccacab0d39d16dafb8.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/16/d32371b2bc18bca3abc3ccacab0d39d16dafb8.debug debian/mksh/usr/lib/diet/bin/mksh 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 +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/67 + objcopy --only-keep-debug --compress-debug-sections debian/mksh/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/67/ddf96ebc0cce70c4e029c5af94884e3279234c.debug + chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/67/ddf96ebc0cce70c4e029c5af94884e3279234c.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/67/ddf96ebc0cce70c4e029c5af94884e3279234c.debug debian/mksh/bin/mksh 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 @@ -8160,7 +8196,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/bin/mksh debian/mksh/bin/lksh debian/mksh/usr/lib/arm-linux-musleabihf/bin/mksh + dpkg-shlibdeps -Tdebian/mksh.substvars debian/mksh/usr/lib/arm-linux-musleabihf/bin/mksh debian/mksh/bin/lksh debian/mksh/bin/mksh dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect @@ -8169,20 +8205,20 @@ make[1]: Entering directory '/build/reproducible-path/mksh-59c' if command -v dh_movetousr >/dev/null 2>&1; then dh_movetousr; fi install -m0755 -d debian/mksh/usr/bin - mv debian/mksh/bin/mksh debian/mksh/usr/bin/mksh - install -m0755 -d debian/mksh/usr/bin - rm -f debian/mksh/usr/bin/rlksh - ln -s lksh debian/mksh/usr/bin/rlksh - rm -f debian/mksh/bin/rlksh install -m0755 -d debian/mksh/usr/bin rm -f debian/mksh/usr/bin/rmksh ln -s mksh debian/mksh/usr/bin/rmksh rm -f debian/mksh/bin/rmksh install -m0755 -d debian/mksh/usr/bin + rm -f debian/mksh/usr/bin/rlksh + ln -s lksh debian/mksh/usr/bin/rlksh + rm -f debian/mksh/bin/rlksh + install -m0755 -d debian/mksh/usr/bin rm -f debian/mksh/usr/bin/mksh-static ln -s ../lib/arm-linux-musleabihf/bin/mksh debian/mksh/usr/bin/mksh-static rm -f debian/mksh/bin/mksh-static mv debian/mksh/bin/lksh debian/mksh/usr/bin/lksh + mv debian/mksh/bin/mksh debian/mksh/usr/bin/mksh chown --reference debian/mksh/bin debian/mksh/usr/bin chmod --reference debian/mksh/bin debian/mksh/usr/bin rmdir debian/mksh/bin @@ -8322,12 +8358,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/30691/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/30691/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/10019 and its subdirectories -I: Current time: Mon Oct 7 17:24:40 -12 2024 -I: pbuilder-time-stamp: 1728365080 +I: removing directory /srv/workspace/pbuilder/30691 and its subdirectories +I: Current time: Tue Oct 8 19:45:06 +14 2024 +I: pbuilder-time-stamp: 1728366306