Diff of the two buildlogs: -- --- b1/build.log 2024-12-11 01:22:48.588062000 +0000 +++ b2/build.log 2024-12-11 01:35:09.926373656 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 12 19:38:13 -12 2026 -I: pbuilder-time-stamp: 1768289893 +I: Current time: Wed Dec 11 15:22:53 +14 2024 +I: pbuilder-time-stamp: 1733880173 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,53 +28,86 @@ dpkg-source: info: applying debian-changes I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/12250/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/55514/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 11 01:23 /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/55514/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/55514/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='77c4934584be4bb6a2cf73ca2414207f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='12250' - PS1='# ' - PS2='> ' + INVOCATION_ID=739b0a3796e24724a22683f4d4de43bd + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=55514 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.nTgBhMKD/pbuilderrc_eDIG --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.nTgBhMKD/b1 --logfile b1/build.log mksh_59c-39.dsc' - SUDO_GID='111' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.nTgBhMKD/pbuilderrc_wWqv --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.nTgBhMKD/b2 --logfile b2/build.log mksh_59c-39.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux infom08-i386 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/12250/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/55514/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -158,7 +191,7 @@ Get: 34 http://deb.debian.org/debian trixie/main i386 musl i386 1.2.5-1.1 [426 kB] Get: 35 http://deb.debian.org/debian trixie/main i386 musl-dev i386 1.2.5-1.1 [618 kB] Get: 36 http://deb.debian.org/debian trixie/main i386 musl-tools i386 1.2.5-1.1 [41.6 kB] -Fetched 21.9 MB in 1s (22.0 MB/s) +Fetched 21.9 MB in 2s (13.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 ... 19952 files and directories currently installed.) @@ -319,7 +352,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/55514/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/55514/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mksh-59c/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mksh_59c-39_source.changes dpkg-buildpackage: info: source package mksh dpkg-buildpackage: info: source version 59c-39 dpkg-buildpackage: info: source distribution unstable @@ -392,12 +429,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 -Wformat -Werror=format-security' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS='-Wl,-z,relro' I: Using compiler: 'gcc' I: Values from dpkg-buildflags: CFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS='-Wl,-z,relro -Wl,-z,now' -I: building with klibc '2.0.13-4', testing on Linux '6.11.5+bpo-amd64' +I: building with klibc '2.0.13-4', testing on Linux '6.1.0-28-amd64' I: using static-pie in musl builds -N: main = 0xF7F3C419 -N: main = 0xF7FD4419 -N: main = 0xF7F6C419 -N: main = 0xF7FA5419 +N: main = 0xF7EF3419 +N: main = 0xF7F83419 +N: main = 0xF7F23419 +N: main = 0xF7F93419 N: 1 N: t.exe: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), static-pie linked, with debug_info, not stripped N: 1 @@ -408,10 +445,10 @@ N: CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC='' LIBS='' -+ env CC=gcc CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC= LIBS= sh ../../Build.sh -r ++ env CC=gcc 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC= LIBS= sh ../../Build.sh -r For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jan 12 17:47 /dev/null -crw-rw-rw- 1 root root 5, 0 Jan 12 17:47 /dev/tty +crw-rw-rw- 1 root root 1, 3 Dec 10 11:24 /dev/null +crw-rw-rw- 1 root root 5, 0 Dec 10 11:24 /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 -Wformat -Werror=format-security -Wall -Wextra> @@ -423,11 +460,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 infom08-i386 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.11.5+bpo-amd64... +| Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-28-amd64... 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 -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ gcc -E -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -v conftest.c @@ -440,7 +477,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-8) | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mtune=generic' '-march=i686' '-dumpdir' 'a-' -| /usr/libexec/gcc/i686-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch i386-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mtune=generic -march=i686 -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 -fasynchronous-unwind-tables -o /tmp/ccsHxQaE.s +| /usr/libexec/gcc/i686-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch i386-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mtune=generic -march=i686 -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 -fasynchronous-unwind-tables -o /tmp/cc93EQhY.s | GNU C17 (Debian 14.2.0-8) version 14.2.0 (i686-linux-gnu) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -460,12 +497,12 @@ | End of search list. | Compiler executable checksum: cba0c584f39602a6c49c821c5af1c36c | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mtune=generic' '-march=i686' '-dumpdir' 'a-' -| as -v -I . -I ../.. --gdwarf-5 --32 -o /tmp/ccsOc0l0.o /tmp/ccsHxQaE.s +| as -v -I . -I ../.. --gdwarf-5 --32 -o /tmp/ccaPQFZa.o /tmp/cc93EQhY.s | GNU assembler version 2.43.50 (i686-linux-gnu) using BFD version (GNU Binutils for Debian) 2.43.50.20241204 | COMPILER_PATH=/usr/libexec/gcc/i686-linux-gnu/14/:/usr/libexec/gcc/i686-linux-gnu/14/:/usr/libexec/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/14/:/usr/lib/gcc/i686-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/14/:/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/14/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/14/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mtune=generic' '-march=i686' '-dumpdir' 'a.' -| /usr/libexec/gcc/i686-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/i686-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i686-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccs9LWl4.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 -m elf_i386 --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux.so.2 -pie /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/14/crtbeginS.o -L/usr/lib/gcc/i686-linux-gnu/14 -L/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/14/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/14/../../.. -z relro -z now --as-needed /tmp/ccsOc0l0.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/i686-linux-gnu/14/crtendS.o /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/crtn.o +| /usr/libexec/gcc/i686-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/i686-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i686-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccsr5y7n.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 -m elf_i386 --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux.so.2 -pie /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/14/crtbeginS.o -L/usr/lib/gcc/i686-linux-gnu/14 -L/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/14/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/14/../../.. -z relro -z now --as-needed /tmp/ccaPQFZa.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/i686-linux-gnu/14/crtendS.o /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/crtn.o | COLLECT_GCC_OPTIONS='-g' '-O2' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mtune=generic' '-march=i686' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -476,7 +513,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 -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccZ59jXO.o: in function `main': +] /usr/bin/ld: /tmp/cciU6kPU.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x28): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -532,38 +569,38 @@ ==> for __attribute__((__used__))... yes ... if a reduced-feature mksh is requested $ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccCbTzen.o: in function `main': +] /usr/bin/ld: /tmp/ccnW6bk6.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x28): 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 -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cccqXgYB.o: in function `main': +] /usr/bin/ld: /tmp/ccQWLghZ.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x28): 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 -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccVhxAWQ.o: in function `main': +] /usr/bin/ld: /tmp/cc2XSLWq.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x28): 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 -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc0AKhxj.o: in function `main': +] /usr/bin/ld: /tmp/ccGtWs0S.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x28): 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 -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc3FPGa6.o: in function `main': +] /usr/bin/ld: /tmp/ccsDJNul.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x28): 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 -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc4mP3M4.o: in function `main': +] /usr/bin/ld: /tmp/ccvrV3VK.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15:(.text.startup+0x28): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -1489,10 +1526,10 @@ N: CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC='-static -static-pie -Wl,-z,text' LIBS='' -+ env CC=musl-gcc CFLAGS=-Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fPIE CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static -static-pie -Wl,-z,text LIBS= sh ../../Build.sh -r -c trace ++ env CC=musl-gcc 'CFLAGS=-Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fPIE' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'LDSTATIC=-static -static-pie -Wl,-z,text' LIBS= sh ../../Build.sh -r -c trace For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jan 12 17:47 /dev/null -crw-rw-rw- 1 root root 5, 0 Jan 13 07:39 /dev/tty +crw-rw-rw- 1 root root 1, 3 Dec 10 11:24 /dev/null +crw-rw-rw- 1 root root 5, 0 Dec 10 11:24 /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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE> @@ -1504,11 +1541,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 infom08-i386 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.11.5+bpo-amd64... +| Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-28-amd64... 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ musl-gcc -E -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ musl-gcc -Os -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -v conftest.c @@ -1523,7 +1560,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-8) | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/i386-linux-musl/musl-gcc.specs' '-mtune=generic' '-march=i686' '-dumpdir' 'a-' -| /usr/libexec/gcc/i686-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch i386-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/i386-linux-musl -isystem /usr/lib/gcc/i686-linux-gnu/14/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mtune=generic -march=i686 -g -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fPIE -fasynchronous-unwind-tables -o /tmp/ccoxZDd6.s +| /usr/libexec/gcc/i686-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch i386-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/i386-linux-musl -isystem /usr/lib/gcc/i686-linux-gnu/14/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mtune=generic -march=i686 -g -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fPIE -fasynchronous-unwind-tables -o /tmp/ccfIZOii.s | GNU C17 (Debian 14.2.0-8) version 14.2.0 (i686-linux-gnu) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -1537,12 +1574,12 @@ | End of search list. | Compiler executable checksum: cba0c584f39602a6c49c821c5af1c36c | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/i386-linux-musl/musl-gcc.specs' '-mtune=generic' '-march=i686' '-dumpdir' 'a-' -| as -v -I . -I ../.. --gdwarf-5 --32 -o /tmp/cc0kLcnj.o /tmp/ccoxZDd6.s +| as -v -I . -I ../.. --gdwarf-5 --32 -o /tmp/cciAUZ9K.o /tmp/ccfIZOii.s | GNU assembler version 2.43.50 (i686-linux-gnu) using BFD version (GNU Binutils for Debian) 2.43.50.20241204 | COMPILER_PATH=/usr/libexec/gcc/i686-linux-gnu/14/:/usr/libexec/gcc/i686-linux-gnu/14/:/usr/libexec/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/14/:/usr/lib/gcc/i686-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/14/:/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/14/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/14/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/i386-linux-musl/musl-gcc.specs' '-mtune=generic' '-march=i686' '-dumpdir' 'a.' -| /usr/libexec/gcc/i686-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/i686-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i686-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccbIb8PQ.res -plugin-opt=-pass-through=/usr/lib/gcc/i686-linux-gnu/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/i686-linux-gnu/14/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-i386.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/i386-linux-musl/rcrt1.o /usr/lib/i386-linux-musl/crti.o /usr/lib/gcc/i686-linux-gnu/14/crtbeginS.o -L/usr/lib/i386-linux-musl -L /usr/lib/gcc/i686-linux-gnu/14/. -z relro -z now --as-needed -z text /tmp/cc0kLcnj.o --start-group /usr/lib/gcc/i686-linux-gnu/14/libgcc.a /usr/lib/gcc/i686-linux-gnu/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/i686-linux-gnu/14/crtendS.o /usr/lib/i386-linux-musl/crtn.o +| /usr/libexec/gcc/i686-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/i686-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i686-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/cc8sZWlg.res -plugin-opt=-pass-through=/usr/lib/gcc/i686-linux-gnu/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/i686-linux-gnu/14/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-i386.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/i386-linux-musl/rcrt1.o /usr/lib/i386-linux-musl/crti.o /usr/lib/gcc/i686-linux-gnu/14/crtbeginS.o -L/usr/lib/i386-linux-musl -L /usr/lib/gcc/i686-linux-gnu/14/. -z relro -z now --as-needed -z text /tmp/cciAUZ9K.o --start-group /usr/lib/gcc/i686-linux-gnu/14/libgcc.a /usr/lib/gcc/i686-linux-gnu/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/i686-linux-gnu/14/crtendS.o /usr/lib/i386-linux-musl/crtn.o | COLLECT_GCC_OPTIONS='-Os' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/i386-linux-musl/musl-gcc.specs' '-mtune=generic' '-march=i686' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -1553,7 +1590,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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc2E7d9j.o: in function `main': +] /usr/bin/ld: /tmp/ccAUHMeD.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15:(.text.startup+0x28): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -1615,26 +1652,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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccY4dDjE.o: in function `main': +] /usr/bin/ld: /tmp/ccybzm8j.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15:(.text.startup+0x28): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc43mO1O.o: in function `main': +] /usr/bin/ld: /tmp/ccPL4kZT.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15:(.text.startup+0x28): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc8WzGE4.o: in function `main': +] /usr/bin/ld: /tmp/cchGCUtM.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15:(.text.startup+0x28): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccAtCCef.o: in function `main': +] /usr/bin/ld: /tmp/cci7BC0L.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15:(.text.startup+0x28): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -1792,57 +1829,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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cctPu49Z.o: in function `main': +] /usr/bin/ld: /tmp/ccOUjHCY.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:9:(.text.startup+0x2a): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccCA7cdk.o: in function `main': +] /usr/bin/ld: /tmp/ccUIxe3E.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:11:(.text.startup+0x20): undefined reference to `sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:11:(.text.startup+0x26): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccxcXMY8.o: in function `main': +] /usr/bin/ld: /tmp/ccBP0NNi.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:11:(.text.startup+0x20): undefined reference to `_sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:11:(.text.startup+0x26): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccWTAQzD.o: in function `main': +] /usr/bin/ld: /tmp/cc9q7Cwu.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:9:(.text.startup+0x2a): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccta6MOh.o: in function `main': +] /usr/bin/ld: /tmp/ccbJwSpy.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x20): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc9GZB4Q.o: in function `main': +] /usr/bin/ld: /tmp/ccIAlyVJ.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x20): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccKgBc1P.o: in function `main': +] /usr/bin/ld: /tmp/ccISEKka.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:9:(.text.startup+0x2a): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -DHAVE_SIGDESCR_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccAjT7nT.o: in function `main': +] /usr/bin/ld: /tmp/ccaaKTPM.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x20): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -DHAVE_SIGDESCR_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccH6chcY.o: in function `main': +] /usr/bin/ld: /tmp/ccFVM9kh.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10:(.text.startup+0x20): undefined reference to `_sys_siglist' ] collect2: error: ld returned 1 exit status ==> the _sys_siglist[] array... no @@ -2899,10 +2936,10 @@ N: CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC='-static' LIBS='' -+ env CC=klcc CFLAGS=-march=i386 -Os -g -fomit-frame-pointer -falign-functions=0 -falign-jumps=0 -falign-loops=0 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static LIBS= sh ../../Build.sh -r -c trace ++ env CC=klcc 'CFLAGS=-march=i386 -Os -g -fomit-frame-pointer -falign-functions=0 -falign-jumps=0 -falign-loops=0 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC=-static LIBS= sh ../../Build.sh -r -c trace For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jan 12 17:47 /dev/null -crw-rw-rw- 1 root root 5, 0 Jan 13 07:40 /dev/tty +crw-rw-rw- 1 root root 1, 3 Dec 10 11:24 /dev/null +crw-rw-rw- 1 root root 5, 0 Dec 10 11:24 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-march=i386 -Os -g -fomit-frame-pointer -falign-functions=0 -falign-jumps=0 -falign-loops=0 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra> @@ -2914,11 +2951,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 infom08-i386 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.11.5+bpo-amd64... +| Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-28-amd64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ klcc -E -march=i386 -Os -g -fomit-frame-pointer -falign-functions=0 -falign-jumps=0 -falign-loops=0 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ klcc -E -march=i386 -Os -g -fomit-frame-pointer -falign-functions=0 -falign-jumps=0 -falign-loops=0 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="klibc" $ klcc -march=i386 -Os -g -fomit-frame-pointer -falign-functions=0 -falign-jumps=0 -falign-loops=0 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -v conftest.c @@ -2931,7 +2968,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-8) | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-mregparm=3' '-D' '_REGPARM=3' '-m32' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arch/i386' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '-march=i386' '-Os' '-g' '-fomit-frame-pointer' '-falign-functions=0' '-falign-jumps=0' '-falign-loops=0' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-dumpdir' 'a-' -| /usr/libexec/gcc/i686-linux-gnu/14/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arch/i386 -I /usr/lib/klibc/include/bits32 -I /usr/lib/klibc/include -I . -I ../.. -imultiarch i386-linux-gnu -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D _REGPARM=3 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -iwithprefix include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mregparm=3 -m32 -march=i386 -ggdb -g -g -O -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -fomit-frame-pointer -falign-functions=0 -falign-jumps=0 -falign-loops=0 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fasynchronous-unwind-tables -o /tmp/ccA3jY9c.s +| /usr/libexec/gcc/i686-linux-gnu/14/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arch/i386 -I /usr/lib/klibc/include/bits32 -I /usr/lib/klibc/include -I . -I ../.. -imultiarch i386-linux-gnu -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D _REGPARM=3 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=32 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -iwithprefix include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mregparm=3 -m32 -march=i386 -ggdb -g -g -O -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -fomit-frame-pointer -falign-functions=0 -falign-jumps=0 -falign-loops=0 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fasynchronous-unwind-tables -o /tmp/ccWkCgun.s | GNU C17 (Debian 14.2.0-8) version 14.2.0 (i686-linux-gnu) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -2947,13 +2984,13 @@ | End of search list. | Compiler executable checksum: cba0c584f39602a6c49c821c5af1c36c | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-mregparm=3' '-D' '_REGPARM=3' '-m32' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arch/i386' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '-march=i386' '-Os' '-g' '-fomit-frame-pointer' '-falign-functions=0' '-falign-jumps=0' '-falign-loops=0' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-dumpdir' 'a-' -| as -v -I /usr/lib/klibc/include/arch/i386 -I /usr/lib/klibc/include/bits32 -I /usr/lib/klibc/include -I . -I ../.. --gdwarf-5 --32 -o /tmp/cczh9e5I.o /tmp/ccA3jY9c.s +| as -v -I /usr/lib/klibc/include/arch/i386 -I /usr/lib/klibc/include/bits32 -I /usr/lib/klibc/include -I . -I ../.. --gdwarf-5 --32 -o /tmp/cczOsvzu.o /tmp/ccWkCgun.s | GNU assembler version 2.43.50 (i686-linux-gnu) using BFD version (GNU Binutils for Debian) 2.43.50.20241204 | COMPILER_PATH=/usr/libexec/gcc/i686-linux-gnu/14/:/usr/libexec/gcc/i686-linux-gnu/14/:/usr/libexec/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/14/:/usr/lib/gcc/i686-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/14/:/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/14/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/14/../../../:/lib/:/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' '-mregparm=3' '-D' '_REGPARM=3' '-m32' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arch/i386' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '-march=i386' '-Os' '-g' '-fomit-frame-pointer' '-falign-functions=0' '-falign-jumps=0' '-falign-loops=0' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-dumpdir' 'a.' -| /usr/libexec/gcc/i686-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/i686-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i686-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/cckshRPN.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 -m elf_i386 --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux.so.2 -pie /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/14/crtbeginS.o -L/usr/lib/gcc/i686-linux-gnu/14 -L/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/14/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/14/../../.. /tmp/cczh9e5I.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/i686-linux-gnu/14/crtendS.o /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/crtn.o -| /usr/bin/ld: /tmp/cczh9e5I.o: warning: relocation against `isatty@@GLIBC_2.0' in read-only section `.text.startup' +| /usr/libexec/gcc/i686-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/i686-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i686-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7suVB1.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 -m elf_i386 --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux.so.2 -pie /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/14/crtbeginS.o -L/usr/lib/gcc/i686-linux-gnu/14 -L/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/14/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/14/../../.. /tmp/cczOsvzu.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/i686-linux-gnu/14/crtendS.o /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/crtn.o +| /usr/bin/ld: /tmp/cczOsvzu.o: warning: relocation against `isatty@@GLIBC_2.0' in read-only section `.text.startup' | /usr/bin/ld: warning: creating DT_TEXTREL in a PIE | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-mregparm=3' '-D' '_REGPARM=3' '-m32' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=32' '-I' '/usr/lib/klibc/include/arch/i386' '-I' '/usr/lib/klibc/include/bits32' '-I' '/usr/lib/klibc/include' '-O' '-march=i386' '-Os' '-g' '-fomit-frame-pointer' '-falign-functions=0' '-falign-jumps=0' '-falign-loops=0' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ @@ -4352,10 +4389,10 @@ N: CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC=' ' LIBS='' -+ env CC=diet -v -Os gcc CFLAGS=-g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC= LIBS= sh ../../Build.sh -r -c trace ++ env 'CC=diet -v -Os gcc' 'CFLAGS=-g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'LDSTATIC= ' LIBS= sh ../../Build.sh -r -c trace For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jan 12 17:47 /dev/null -crw-rw-rw- 1 root root 5, 0 Jan 13 07:42 /dev/tty +crw-rw-rw- 1 root root 1, 3 Dec 10 11:24 /dev/null +crw-rw-rw- 1 root root 5, 0 Dec 10 11:24 /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=. -Wformat -Werror=format-security -Wall -Wextra> @@ -4367,11 +4404,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 infom08-i386 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.11.5+bpo-amd64... +| Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-28-amd64... 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=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ diet -v -Os gcc -E -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x ] gcc -E -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -isystem /usr/lib/i386-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -mpreferred-stack-boundary=4 -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer [ ct="gcc" [ et="dietlibc" @@ -4386,7 +4423,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-8) | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/i386-linux-gnu/diet/lib-i386' '-L/usr/lib/diet/lib' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/i386-linux-gnu/diet/include' '-D' '__dietlibc__' '-D' '_DISTRO_EVADE_TIME_BITS' '-Os' '-mpreferred-stack-boundary=4' '-falign-functions=1' '-falign-jumps=1' '-falign-loops=1' '-fomit-frame-pointer' '-mtune=generic' '-march=i686' '-dumpdir' 'a-' -| /usr/libexec/gcc/i686-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch i386-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -D __dietlibc__ -D _DISTRO_EVADE_TIME_BITS -isystem /usr/lib/i386-linux-gnu/diet/include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mpreferred-stack-boundary=4 -mtune=generic -march=i686 -g -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer -fasynchronous-unwind-tables -o /tmp/ccT0r4bx.s +| /usr/libexec/gcc/i686-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch i386-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -D __dietlibc__ -D _DISTRO_EVADE_TIME_BITS -isystem /usr/lib/i386-linux-gnu/diet/include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mpreferred-stack-boundary=4 -mtune=generic -march=i686 -g -Os -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer -fasynchronous-unwind-tables -o /tmp/ccTl9HAt.s | GNU C17 (Debian 14.2.0-8) version 14.2.0 (i686-linux-gnu) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -4407,12 +4444,12 @@ | End of search list. | Compiler executable checksum: cba0c584f39602a6c49c821c5af1c36c | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/i386-linux-gnu/diet/lib-i386' '-L/usr/lib/diet/lib' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/i386-linux-gnu/diet/include' '-D' '__dietlibc__' '-D' '_DISTRO_EVADE_TIME_BITS' '-Os' '-mpreferred-stack-boundary=4' '-falign-functions=1' '-falign-jumps=1' '-falign-loops=1' '-fomit-frame-pointer' '-mtune=generic' '-march=i686' '-dumpdir' 'a-' -| as -v -I . -I ../.. --gdwarf-5 --32 -o /tmp/cc1v002R.o /tmp/ccT0r4bx.s +| as -v -I . -I ../.. --gdwarf-5 --32 -o /tmp/cc1Rz1Ur.o /tmp/ccTl9HAt.s | GNU assembler version 2.43.50 (i686-linux-gnu) using BFD version (GNU Binutils for Debian) 2.43.50.20241204 | COMPILER_PATH=/usr/libexec/gcc/i686-linux-gnu/14/:/usr/libexec/gcc/i686-linux-gnu/14/:/usr/libexec/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/14/:/usr/lib/gcc/i686-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/14/:/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/14/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/14/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/i386-linux-gnu/diet/lib-i386' '-L/usr/lib/diet/lib' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/i386-linux-gnu/diet/include' '-D' '__dietlibc__' '-D' '_DISTRO_EVADE_TIME_BITS' '-Os' '-mpreferred-stack-boundary=4' '-falign-functions=1' '-falign-jumps=1' '-falign-loops=1' '-fomit-frame-pointer' '-mtune=generic' '-march=i686' '-dumpdir' 'a.' -| /usr/libexec/gcc/i686-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/i686-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i686-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/cczElNN7.res --build-id -m elf_i386 --hash-style=gnu --as-needed -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib -L/usr/lib/gcc/i686-linux-gnu/14 -L/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/14/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/14/../../.. /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -z relro -z now --as-needed /tmp/cc1v002R.o /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc +| /usr/libexec/gcc/i686-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/i686-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i686-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccGDomdh.res --build-id -m elf_i386 --hash-style=gnu --as-needed -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib -L/usr/lib/gcc/i686-linux-gnu/14 -L/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/14/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/14/../../.. /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -z relro -z now --as-needed /tmp/cc1Rz1Ur.o /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/i386-linux-gnu/diet/lib-i386' '-L/usr/lib/diet/lib' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/i386-linux-gnu/diet/include' '-D' '__dietlibc__' '-D' '_DISTRO_EVADE_TIME_BITS' '-Os' '-mpreferred-stack-boundary=4' '-falign-functions=1' '-falign-jumps=1' '-falign-loops=1' '-fomit-frame-pointer' '-mtune=generic' '-march=i686' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -4427,7 +4464,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=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c -isystem /usr/lib/i386-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -mpreferred-stack-boundary=4 -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc -] /usr/bin/ld: /tmp/ccnwu8FQ.o: in function `main': +] /usr/bin/ld: /tmp/ccHwKt5O.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x28): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -4510,21 +4547,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=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/i386-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -mpreferred-stack-boundary=4 -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc -] /usr/bin/ld: /tmp/ccgR5mbX.o: in function `main': +] /usr/bin/ld: /tmp/ccgi7ook.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x28): 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=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/i386-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -mpreferred-stack-boundary=4 -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc -] /usr/bin/ld: /tmp/ccVNFDLD.o: in function `main': +] /usr/bin/ld: /tmp/ccxSfERr.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x28): 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=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/i386-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -mpreferred-stack-boundary=4 -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc -] /usr/bin/ld: /tmp/ccITvjC5.o: in function `main': +] /usr/bin/ld: /tmp/ccv1pykD.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x28): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the default UTF-8 mode is specified... no @@ -4532,7 +4569,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=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/i386-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -mpreferred-stack-boundary=4 -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc -] /usr/bin/ld: /tmp/ccPclHNy.o: in function `main': +] /usr/bin/ld: /tmp/ccPe85cL.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15:(.text.startup+0x28): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -4705,7 +4742,7 @@ ... GNU strerrordesc_np() $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/i386-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -mpreferred-stack-boundary=4 -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc -] /usr/bin/ld: /tmp/cceZpuQp.o: in function `main': +] /usr/bin/ld: /tmp/ccbjeQHf.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:9:(.text.startup+0x2a): undefined reference to `strerrordesc_np' ] collect2: error: ld returned 1 exit status ==> GNU strerrordesc_np()... no @@ -4717,28 +4754,28 @@ ... GNU sigabbrev_np() $ diet -v -Os gcc -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/i386-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -mpreferred-stack-boundary=4 -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc -] /usr/bin/ld: /tmp/ccvdpDPK.o: in function `main': +] /usr/bin/ld: /tmp/ccOKMJwV.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:9:(.text.startup+0x2a): 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=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/i386-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -mpreferred-stack-boundary=4 -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc -] /usr/bin/ld: /tmp/ccbcrFsa.o: in function `main': +] /usr/bin/ld: /tmp/ccFXk2Po.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:10:(.text.startup+0x20): 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=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/i386-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -mpreferred-stack-boundary=4 -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc -] /usr/bin/ld: /tmp/cc3AGNcC.o: in function `main': +] /usr/bin/ld: /tmp/ccyQdNzA.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:10:(.text.startup+0x20): 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=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/i386-linux-gnu/diet/lib-i386 -L/usr/lib/diet/lib /usr/lib/i386-linux-gnu/diet/lib-i386/start.o -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/i386-linux-gnu/diet/include -D__dietlibc__ -D_DISTRO_EVADE_TIME_BITS -Os -mpreferred-stack-boundary=4 -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer /usr/lib/i386-linux-gnu/diet/lib-i386/libc.a -lgcc -] /usr/bin/ld: /tmp/ccva7vTE.o: in function `main': +] /usr/bin/ld: /tmp/ccOO3xxc.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:9:(.text.startup+0x2a): undefined reference to `sigdescr_np' ] collect2: error: ld returned 1 exit status ==> GNU sigdescr_np()... no @@ -6407,10 +6444,10 @@ N: CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED' N: LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' N: LDSTATIC='-static -static-pie -Wl,-z,text' LIBS='' -+ env CC=musl-gcc CFLAGS=-O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fPIE CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static -static-pie -Wl,-z,text LIBS= sh ../../Build.sh -r -L -c trace ++ env CC=musl-gcc 'CFLAGS=-O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fPIE' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'LDSTATIC=-static -static-pie -Wl,-z,text' LIBS= sh ../../Build.sh -r -L -c trace For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jan 12 17:47 /dev/null -crw-rw-rw- 1 root root 5, 0 Jan 13 07:43 /dev/tty +crw-rw-rw- 1 root root 1, 3 Dec 10 11:24 /dev/null +crw-rw-rw- 1 root root 5, 0 Dec 10 11:24 /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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE> @@ -6422,11 +6459,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 infom08-i386 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux -Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.11.5+bpo-amd64... +| Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux +Build.sh: Building The MirBSD Korn Shell (mksh) R59 2024/07/26 on Linux 6.1.0-28-amd64... 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ musl-gcc -E -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ musl-gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -v conftest.c @@ -6441,7 +6478,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 14.2.0 (Debian 14.2.0-8) | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/i386-linux-musl/musl-gcc.specs' '-mtune=generic' '-march=i686' '-dumpdir' 'a-' -| /usr/libexec/gcc/i686-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch i386-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_BUILDSH=1 -D MKSH_LEGACY_MODE=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/i386-linux-musl -isystem /usr/lib/gcc/i686-linux-gnu/14/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mtune=generic -march=i686 -g -O2 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fPIE -fasynchronous-unwind-tables -o /tmp/cc5yRAHB.s +| /usr/libexec/gcc/i686-linux-gnu/14/cc1 -quiet -v -I . -I ../.. -imultiarch i386-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_BUILDSH=1 -D MKSH_LEGACY_MODE=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/i386-linux-musl -isystem /usr/lib/gcc/i686-linux-gnu/14/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mtune=generic -march=i686 -g -O2 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fPIE -fasynchronous-unwind-tables -o /tmp/ccLhi2Ek.s | GNU C17 (Debian 14.2.0-8) version 14.2.0 (i686-linux-gnu) | compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.27-GMP | @@ -6455,12 +6492,12 @@ | End of search list. | Compiler executable checksum: cba0c584f39602a6c49c821c5af1c36c | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/i386-linux-musl/musl-gcc.specs' '-mtune=generic' '-march=i686' '-dumpdir' 'a-' -| as -v -I . -I ../.. --gdwarf-5 --32 -o /tmp/ccdv5wHM.o /tmp/cc5yRAHB.s +| as -v -I . -I ../.. --gdwarf-5 --32 -o /tmp/cc2UQv7t.o /tmp/ccLhi2Ek.s | GNU assembler version 2.43.50 (i686-linux-gnu) using BFD version (GNU Binutils for Debian) 2.43.50.20241204 | COMPILER_PATH=/usr/libexec/gcc/i686-linux-gnu/14/:/usr/libexec/gcc/i686-linux-gnu/14/:/usr/libexec/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/14/:/usr/lib/gcc/i686-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/14/:/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/14/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/14/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/i386-linux-musl/musl-gcc.specs' '-mtune=generic' '-march=i686' '-dumpdir' 'a.' -| /usr/libexec/gcc/i686-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/i686-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i686-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccB16LoK.res -plugin-opt=-pass-through=/usr/lib/gcc/i686-linux-gnu/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/i686-linux-gnu/14/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-i386.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/i386-linux-musl/rcrt1.o /usr/lib/i386-linux-musl/crti.o /usr/lib/gcc/i686-linux-gnu/14/crtbeginS.o -L/usr/lib/i386-linux-musl -L /usr/lib/gcc/i686-linux-gnu/14/. -z relro -z now --as-needed -z text /tmp/ccdv5wHM.o --start-group /usr/lib/gcc/i686-linux-gnu/14/libgcc.a /usr/lib/gcc/i686-linux-gnu/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/i686-linux-gnu/14/crtendS.o /usr/lib/i386-linux-musl/crtn.o +| /usr/libexec/gcc/i686-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/i686-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i686-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccCBIqgr.res -plugin-opt=-pass-through=/usr/lib/gcc/i686-linux-gnu/14/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/i686-linux-gnu/14/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-i386.so.1 -nostdlib -static -static -pie --no-dynamic-linker /usr/lib/i386-linux-musl/rcrt1.o /usr/lib/i386-linux-musl/crti.o /usr/lib/gcc/i686-linux-gnu/14/crtbeginS.o -L/usr/lib/i386-linux-musl -L /usr/lib/gcc/i686-linux-gnu/14/. -z relro -z now --as-needed -z text /tmp/cc2UQv7t.o --start-group /usr/lib/gcc/i686-linux-gnu/14/libgcc.a /usr/lib/gcc/i686-linux-gnu/14/libgcc_eh.a -lc --end-group /usr/lib/gcc/i686-linux-gnu/14/crtendS.o /usr/lib/i386-linux-musl/crtn.o | COLLECT_GCC_OPTIONS='-O2' '-g' '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-fPIE' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-static-pie' '-v' '-specs=/usr/lib/i386-linux-musl/musl-gcc.specs' '-mtune=generic' '-march=i686' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -6471,7 +6508,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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccZoqmh8.o: in function `main': +] /usr/bin/ld: /tmp/ccBvLNq9.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x28): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -6527,7 +6564,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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccTNHe9H.o: in function `main': +] /usr/bin/ld: /tmp/ccareyvy.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x28): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if a reduced-feature mksh is requested... no @@ -6536,26 +6573,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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cciYd5Qi.o: in function `main': +] /usr/bin/ld: /tmp/ccAgPi7m.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x28): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccJxqopD.o: in function `main': +] /usr/bin/ld: /tmp/ccFLhBMk.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x28): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccktMeOR.o: in function `main': +] /usr/bin/ld: /tmp/ccQpQ7qu.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x28): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccA4pxF6.o: in function `main': +] /usr/bin/ld: /tmp/cc1aomBG.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:15:(.text.startup+0x28): undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -6713,57 +6750,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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccZENig8.o: in function `main': +] /usr/bin/ld: /tmp/ccEA3Khn.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:9:(.text.startup+0x2a): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccWkgDoh.o: in function `main': +] /usr/bin/ld: /tmp/ccAG51ld.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:11:(.text.startup+0x20): undefined reference to `sys_nerr' ] /usr/bin/ld: ./builddir/legacy/./builddir/legacy/conftest.c:11:(.text.startup+0x26): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccdafVwn.o: in function `main': +] /usr/bin/ld: /tmp/ccRaHACg.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:11:(.text.startup+0x20): undefined reference to `_sys_nerr' ] /usr/bin/ld: ./builddir/legacy/./builddir/legacy/conftest.c:11:(.text.startup+0x26): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccL3adGP.o: in function `main': +] /usr/bin/ld: /tmp/ccVraAL5.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:9:(.text.startup+0x2a): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccIR3VzT.o: in function `main': +] /usr/bin/ld: /tmp/ccZ3f8vJ.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x20): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccCFJVXR.o: in function `main': +] /usr/bin/ld: /tmp/ccsnbqR9.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x20): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccm3ULB3.o: in function `main': +] /usr/bin/ld: /tmp/cc7s2pfB.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:9:(.text.startup+0x2a): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -DHAVE_SIGDESCR_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc38lqjT.o: in function `main': +] /usr/bin/ld: /tmp/ccFoKOnI.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x20): 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=. -Wformat -Werror=format-security -Wall -Wextra -fPIE -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -malign-data=abi -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -DHAVE_SIGDESCR_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -static-pie -Wl,-z,text -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cctaiTph.o: in function `main': +] /usr/bin/ld: /tmp/ccvIgUOY.o: in function `main': ] ./builddir/legacy/./builddir/legacy/conftest.c:10:(.text.startup+0x20): undefined reference to `_sys_siglist' ] collect2: error: ld returned 1 exit status ==> the _sys_siglist[] array... no @@ -8104,6 +8141,11 @@ objcopy --compress-debug-sections debian/mksh/usr/lib/debug/.dwz/i386-linux-gnu/mksh.debug chmod 0644 -- debian/mksh/usr/lib/debug/.dwz/i386-linux-gnu/mksh.debug dh_strip -a -O--buildsystem=none + install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/a3 + objcopy --only-keep-debug --compress-debug-sections debian/mksh/usr/lib/diet/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/a3/6bf2911da1b5041231b4b5bff74f7e4198e57a.debug + chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/a3/6bf2911da1b5041231b4b5bff74f7e4198e57a.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/a3/6bf2911da1b5041231b4b5bff74f7e4198e57a.debug debian/mksh/usr/lib/diet/bin/mksh install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/9b objcopy --only-keep-debug --compress-debug-sections debian/mksh/usr/lib/klibc/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/9b/5ea68b52c6ce22afdeb6101e12f209bff5ab98.debug chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/9b/5ea68b52c6ce22afdeb6101e12f209bff5ab98.debug @@ -8111,11 +8153,6 @@ objcopy --add-gnu-debuglink debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/9b/5ea68b52c6ce22afdeb6101e12f209bff5ab98.debug debian/mksh/usr/lib/klibc/bin/mksh dh_strip: warning: Could not find the BuildID in debian/mksh/usr/lib/i386-linux-musl/bin/mksh strip --remove-section=.comment --remove-section=.note debian/mksh/usr/lib/i386-linux-musl/bin/mksh - install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/a3 - objcopy --only-keep-debug --compress-debug-sections debian/mksh/usr/lib/diet/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/a3/6bf2911da1b5041231b4b5bff74f7e4198e57a.debug - chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/a3/6bf2911da1b5041231b4b5bff74f7e4198e57a.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/a3/6bf2911da1b5041231b4b5bff74f7e4198e57a.debug debian/mksh/usr/lib/diet/bin/mksh install -m0755 -d debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/2f objcopy --only-keep-debug --compress-debug-sections debian/mksh/bin/mksh debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/2f/b075678fd7ba0e13f5a2e5fc7dcdc9966af46e.debug chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/usr/lib/debug/.build-id/2f/b075678fd7ba0e13f5a2e5fc7dcdc9966af46e.debug @@ -8141,19 +8178,19 @@ 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/mksh-static ln -s ../lib/i386-linux-musl/bin/mksh debian/mksh/usr/bin/mksh-static rm -f debian/mksh/bin/mksh-static 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 + mv debian/mksh/bin/mksh debian/mksh/usr/bin/mksh + 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 mv debian/mksh/bin/lksh debian/mksh/usr/bin/lksh chown --reference debian/mksh/bin debian/mksh/usr/bin chmod --reference debian/mksh/bin debian/mksh/usr/bin @@ -8192,8 +8229,8 @@ dh_builddeb -O--buildsystem=none dpkg-deb --root-owner-group --build debian/mksh .. dpkg-deb --root-owner-group --build debian/.debhelper/mksh/dbgsym-root .. -dpkg-deb: building package 'mksh' in '../mksh_59c-39_i386.deb'. dpkg-deb: building package 'mksh-dbgsym' in '../mksh-dbgsym_59c-39_i386.deb'. +dpkg-deb: building package 'mksh' in '../mksh_59c-39_i386.deb'. rm -f debian/mksh.debhelper.log debian/rules execute_after_dh_builddeb-arch make[1]: Entering directory '/build/reproducible-path/mksh-59c' @@ -8294,12 +8331,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/55514/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/55514/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/12250 and its subdirectories -I: Current time: Mon Jan 12 19:45:46 -12 2026 -I: pbuilder-time-stamp: 1768290346 +I: removing directory /srv/workspace/pbuilder/55514 and its subdirectories +I: Current time: Wed Dec 11 15:35:08 +14 2024 +I: pbuilder-time-stamp: 1733880908