| Cost | $3.012 |
| Total elapsed time | 6m37s |
| LLM inference time | 3m44s |
| Command execution time | 2m54s |
| Commands executed | 68 |
All details >
| Attempt ID | mxv11g9o5jx2j | Attempt group | run-16-09-11-02 |
| Revision | fcec872d0171 | AWS Instance | m8i.2xlarge |
| Start time | 2025-09-16T09:11:15.538Z | End time | 2025-09-16T09:17:53.297Z |
| Task | coreutils-old-version | Environment | ubuntu-22.04-amd64-offline |
| Model | | OpenRouter slug | qwen/qwen3-max |
| Temperature | 1 | Explicit prompt caching | false |
| User msg after tool call | false | Max tool calls | 70 |
| Total timeout seconds | 1200 | Single command timeout | 600 |
| Cost | $3.012 | Duration | 6m37s |
| LLM inference time | 3m44s | Command execution time | 2m54s |
| Final context tokens | 58,694 | Total output tokens | 4,825 |
| Output reasoning tokens | 0 | Messages | 138 |
| Assistant messages | 68 | User messages | 1 |
| System messages | 1 | Commands executed | 68 |
GNU coreutils 5.0 (from 2003) is a collection of Linux utilities like ls, cp, mv, etc.
Project link: gnu.org/software/coreutils
Task:
Compile and install all coreutils utilities to a specific location.
Difficulties:
The source is very old (2003) and requires heavy patching.
Environment:
Ubuntu 22.04 on amd64, without internet access.
You are a package-building specialist operating a Ubuntu 22.04 bash shell via one tool: run_terminal_cmd.
The current working directory of every run_terminal_cmd is /home/peter.
Execution rules:
- Always pass non-interactive flags for any command that could prompt (e.g., -y, --yes, DEBIAN_FRONTEND=noninteractive).
- Don't include any newlines in the command.
- The environment is offline, assume you have all the necessary tools already installed.
If you encounter any errors or issues while doing the user's request, you must fix them and continue the task.
At the end verify you did the user request correctly.
You are given a coreutils v5.0 source code at /home/peter/coreutils.tar.gz. Please compile the coreutils package and install it to /home/peter/result. Create symlinks for all coreutils utilities so they are available under /home/peter/result/
[empty output]
compile-bench> cd coreutils-5.0 && ./configure --prefix=/home/peter/result checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for perl5.003 or newer... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for uname... yes
checking for chroot... yes
checking for gethostid... yes
checking for strerror in -lcposix... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for inline... inline
checking for working long double with more range or precision than double... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking hurd.h usability... no
checking hurd.h presence... no
checking for hurd.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
[command output truncated]
checking shadow.h presence... yes
checking for shadow.h... yes
checking for struct spwd.sp_pwdp... yes
checking for getspnam... yes
checking for library containing crypt... -lcrypt
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating man/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tests/basename/Makefile
config.status: creating tests/chgrp/Makefile
config.status: creating tests/chmod/Makefile
config.status: creating tests/chown/Makefile
config.status: creating tests/cp/Makefile
config.status: creating tests/cut/Makefile
config.status: creating tests/date/Makefile
config.status: creating tests/dd/Makefile
config.status: creating tests/dircolors/Makefile
config.status: creating tests/du/Makefile
config.status: creating tests/expr/Makefile
config.status: creating tests/factor/Makefile
config.status: creating tests/fmt/Makefile
config.status: creating tests/head/Makefile
config.status: creating tests/install/Makefile
config.status: creating tests/join/Makefile
config.status: creating tests/ln/Makefile
config.status: creating tests/ls-2/Makefile
config.status: creating tests/ls/Makefile
config.status: creating tests/md5sum/Makefile
config.status: creating tests/misc/Makefile
config.status: creating tests/mkdir/Makefile
config.status: creating tests/mv/Makefile
config.status: creating tests/od/Makefile
config.status: creating tests/pr/Makefile
config.status: creating tests/rm/Makefile
config.status: creating tests/rmdir/Makefile
config.status: creating tests/seq/Makefile
config.status: creating tests/sha1sum/Makefile
config.status: creating tests/shred/Makefile
config.status: creating tests/sort/Makefile
config.status: creating tests/stty/Makefile
config.status: creating tests/sum/Makefile
config.status: creating tests/tac/Makefile
config.status: creating tests/tail-2/Makefile
config.status: creating tests/tail/Makefile
config.status: creating tests/test/Makefile
config.status: creating tests/touch/Makefile
config.status: creating tests/tr/Makefile
config.status: creating tests/tsort/Makefile
config.status: creating tests/unexpand/Makefile
config.status: creating tests/uniq/Makefile
config.status: creating tests/wc/Makefile
config.status: creating config.h
config.status: linking ./lib/ftw_.h to lib/ftw.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
↓ 141 lines
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for perl5.003 or newer... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking for ranlib... ranlib checking whether ln -s works... yes checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for uname... yes checking for chroot... yes checking for gethostid... yes checking for strerror in -lcposix... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for gcc option to accept ANSI C... none needed checking for function prototypes... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for inline... inline checking for working long double with more range or precision than double... no checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking hurd.h usability... no checking hurd.h presence... no checking for hurd.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for memory.h... (cached) yes [command output truncated] checking shadow.h presence... yes checking for shadow.h... yes checking for struct spwd.sp_pwdp... yes checking for getspnam... yes checking for library containing crypt... -lcrypt checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking whether NLS is requested... yes checking for GNU gettext in libc... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating tests/basename/Makefile config.status: creating tests/chgrp/Makefile config.status: creating tests/chmod/Makefile config.status: creating tests/chown/Makefile config.status: creating tests/cp/Makefile config.status: creating tests/cut/Makefile config.status: creating tests/date/Makefile config.status: creating tests/dd/Makefile config.status: creating tests/dircolors/Makefile config.status: creating tests/du/Makefile config.status: creating tests/expr/Makefile config.status: creating tests/factor/Makefile config.status: creating tests/fmt/Makefile config.status: creating tests/head/Makefile config.status: creating tests/install/Makefile config.status: creating tests/join/Makefile config.status: creating tests/ln/Makefile config.status: creating tests/ls-2/Makefile config.status: creating tests/ls/Makefile config.status: creating tests/md5sum/Makefile config.status: creating tests/misc/Makefile config.status: creating tests/mkdir/Makefile config.status: creating tests/mv/Makefile config.status: creating tests/od/Makefile config.status: creating tests/pr/Makefile config.status: creating tests/rm/Makefile config.status: creating tests/rmdir/Makefile config.status: creating tests/seq/Makefile config.status: creating tests/sha1sum/Makefile config.status: creating tests/shred/Makefile config.status: creating tests/sort/Makefile config.status: creating tests/stty/Makefile config.status: creating tests/sum/Makefile config.status: creating tests/tac/Makefile config.status: creating tests/tail-2/Makefile config.status: creating tests/tail/Makefile config.status: creating tests/test/Makefile config.status: creating tests/touch/Makefile config.status: creating tests/tr/Makefile config.status: creating tests/tsort/Makefile config.status: creating tests/unexpand/Makefile config.status: creating tests/uniq/Makefile config.status: creating tests/wc/Makefile config.status: creating config.h config.status: linking ./lib/ftw_.h to lib/ftw.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile
compile-bench> cd coreutils-5.0 && make -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT acl.o -MD -MP -MF ".deps/acl.Tpo" \
-c -o acl.o `test -f 'acl.c' || echo './'`acl.c; \
then mv ".deps/acl.Tpo" ".deps/acl.Po"; \
else rm -f ".deps/acl.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT getdate.o -MD -MP -MF ".deps/getdate.Tpo" \
-c -o getdate.o `test -f 'getdate.c' || echo './'`getdate.c; \
then mv ".deps/getdate.Tpo" ".deps/getdate.Po"; \
else rm -f ".deps/getdate.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT posixtm.o -MD -MP -MF ".deps/posixtm.Tpo" \
-c -o posixtm.o `test -f 'posixtm.c' || echo './'`posixtm.c; \
then mv ".deps/posixtm.Tpo" ".deps/posixtm.Po"; \
else rm -f ".deps/posixtm.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT posixver.o -MD -MP -MF ".deps/posixver.Tpo" \
-c -o posixver.o `test -f 'posixver.c' || echo './'`posixver.c; \
then mv ".deps/posixver.Tpo" ".deps/posixver.Po"; \
else rm -f ".deps/posixver.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT strftime.o -MD -MP -MF ".deps/strftime.Tpo" \
-c -o strftime.o `test -f 'strftime.c' || echo './'`strftime.c; \
then mv ".deps/strftime.Tpo" ".deps/strftime.Po"; \
else rm -f ".deps/strftime.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" \
-c -o getopt.o `test -f 'getopt.c' || echo './'`getopt.c; \
then mv ".deps/getopt.Tpo" ".deps/getopt.Po"; \
else rm -f ".deps/getopt.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" \
-c -o getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c; \
then mv ".deps/getopt1.Tpo" ".deps/getopt1.Po"; \
else rm -f ".deps/getopt1.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT hash.o -MD -MP -MF ".deps/hash.Tpo" \
-c -o hash.o `test -f 'hash.c' || echo './'`hash.c; \
then mv ".deps/hash.Tpo" ".deps/hash.Po"; \
else rm -f ".deps/hash.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT hash-pjw.o -MD -MP -MF ".deps/hash-pjw.Tpo" \
-c -o hash-pjw.o `test -f 'hash-pjw.c' || echo './'`hash-pjw.c; \
then mv ".deps/hash-pjw.Tpo" ".deps/hash-pjw.Po"; \
else rm -f ".deps/hash-pjw.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I..
[command output truncated]
~^
| |
| int
| %ld
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT printf.o -MD -MP -MF ".deps/printf.Tpo" \
-c -o printf.o `test -f 'printf.c' || echo './'`printf.c; \
then mv ".deps/printf.Tpo" ".deps/printf.Po"; \
else rm -f ".deps/printf.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT pwd.o -MD -MP -MF ".deps/pwd.Tpo" \
-c -o pwd.o `test -f 'pwd.c' || echo './'`pwd.c; \
then mv ".deps/pwd.Tpo" ".deps/pwd.Po"; \
else rm -f ".deps/pwd.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT seq.o -MD -MP -MF ".deps/seq.Tpo" \
-c -o seq.o `test -f 'seq.c' || echo './'`seq.c; \
then mv ".deps/seq.Tpo" ".deps/seq.Po"; \
else rm -f ".deps/seq.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT sleep.o -MD -MP -MF ".deps/sleep.Tpo" \
-c -o sleep.o `test -f 'sleep.c' || echo './'`sleep.c; \
then mv ".deps/sleep.Tpo" ".deps/sleep.Po"; \
else rm -f ".deps/sleep.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT tee.o -MD -MP -MF ".deps/tee.Tpo" \
-c -o tee.o `test -f 'tee.c' || echo './'`tee.c; \
then mv ".deps/tee.Tpo" ".deps/tee.Po"; \
else rm -f ".deps/tee.Tpo"; exit 1; \
fi
tee.c:35:12: error: conflicting types for 'tee'; have 'int(int, const char **)'
35 | static int tee (int nfiles, const char **files);
| ^~~
In file included from /usr/include/x86_64-linux-gnu/bits/fcntl.h:61,
from /usr/include/fcntl.h:35,
from system.h:153,
from tee.c:26:
/usr/include/x86_64-linux-gnu/bits/fcntl-linux.h:429:18: note: previous declaration of 'tee' with type '__ssize_t(int, int, size_t, unsigned int)' {aka 'long int(int, int, long unsigned int, unsigned int)'}
429 | extern __ssize_t tee (int __fdin, int __fdout, size_t __len,
| ^~~
make[3]: *** [Makefile:1263: tee.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 101 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT acl.o -MD -MP -MF ".deps/acl.Tpo" \
-c -o acl.o `test -f 'acl.c' || echo './'`acl.c; \
then mv ".deps/acl.Tpo" ".deps/acl.Po"; \
else rm -f ".deps/acl.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT getdate.o -MD -MP -MF ".deps/getdate.Tpo" \
-c -o getdate.o `test -f 'getdate.c' || echo './'`getdate.c; \
then mv ".deps/getdate.Tpo" ".deps/getdate.Po"; \
else rm -f ".deps/getdate.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT posixtm.o -MD -MP -MF ".deps/posixtm.Tpo" \
-c -o posixtm.o `test -f 'posixtm.c' || echo './'`posixtm.c; \
then mv ".deps/posixtm.Tpo" ".deps/posixtm.Po"; \
else rm -f ".deps/posixtm.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT posixver.o -MD -MP -MF ".deps/posixver.Tpo" \
-c -o posixver.o `test -f 'posixver.c' || echo './'`posixver.c; \
then mv ".deps/posixver.Tpo" ".deps/posixver.Po"; \
else rm -f ".deps/posixver.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT strftime.o -MD -MP -MF ".deps/strftime.Tpo" \
-c -o strftime.o `test -f 'strftime.c' || echo './'`strftime.c; \
then mv ".deps/strftime.Tpo" ".deps/strftime.Po"; \
else rm -f ".deps/strftime.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" \
-c -o getopt.o `test -f 'getopt.c' || echo './'`getopt.c; \
then mv ".deps/getopt.Tpo" ".deps/getopt.Po"; \
else rm -f ".deps/getopt.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" \
-c -o getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c; \
then mv ".deps/getopt1.Tpo" ".deps/getopt1.Po"; \
else rm -f ".deps/getopt1.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT hash.o -MD -MP -MF ".deps/hash.Tpo" \
-c -o hash.o `test -f 'hash.c' || echo './'`hash.c; \
then mv ".deps/hash.Tpo" ".deps/hash.Po"; \
else rm -f ".deps/hash.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -MT hash-pjw.o -MD -MP -MF ".deps/hash-pjw.Tpo" \
-c -o hash-pjw.o `test -f 'hash-pjw.c' || echo './'`hash-pjw.c; \
then mv ".deps/hash-pjw.Tpo" ".deps/hash-pjw.Po"; \
else rm -f ".deps/hash-pjw.Tpo"; exit 1; \
fi
if gcc -DLIBDIR=\"/home/peter/result/lib\" -DHAVE_CONFIG_H -I. -I. -I..
[command output truncated]
~^
| |
| int
| %ld
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT printf.o -MD -MP -MF ".deps/printf.Tpo" \
-c -o printf.o `test -f 'printf.c' || echo './'`printf.c; \
then mv ".deps/printf.Tpo" ".deps/printf.Po"; \
else rm -f ".deps/printf.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT pwd.o -MD -MP -MF ".deps/pwd.Tpo" \
-c -o pwd.o `test -f 'pwd.c' || echo './'`pwd.c; \
then mv ".deps/pwd.Tpo" ".deps/pwd.Po"; \
else rm -f ".deps/pwd.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT seq.o -MD -MP -MF ".deps/seq.Tpo" \
-c -o seq.o `test -f 'seq.c' || echo './'`seq.c; \
then mv ".deps/seq.Tpo" ".deps/seq.Po"; \
else rm -f ".deps/seq.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT sleep.o -MD -MP -MF ".deps/sleep.Tpo" \
-c -o sleep.o `test -f 'sleep.c' || echo './'`sleep.c; \
then mv ".deps/sleep.Tpo" ".deps/sleep.Po"; \
else rm -f ".deps/sleep.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT tee.o -MD -MP -MF ".deps/tee.Tpo" \
-c -o tee.o `test -f 'tee.c' || echo './'`tee.c; \
then mv ".deps/tee.Tpo" ".deps/tee.Po"; \
else rm -f ".deps/tee.Tpo"; exit 1; \
fi
tee.c:35:12: error: conflicting types for 'tee'; have 'int(int, const char **)'
35 | static int tee (int nfiles, const char **files);
| ^~~
In file included from /usr/include/x86_64-linux-gnu/bits/fcntl.h:61,
from /usr/include/fcntl.h:35,
from system.h:153,
from tee.c:26:
/usr/include/x86_64-linux-gnu/bits/fcntl-linux.h:429:18: note: previous declaration of 'tee' with type '__ssize_t(int, int, size_t, unsigned int)' {aka 'long int(int, int, long unsigned int, unsigned int)'}
429 | extern __ssize_t tee (int __fdin, int __fdout, size_t __len,
| ^~~
make[3]: *** [Makefile:1263: tee.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/tee/tee_cmd/g' src/tee.c && make -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
gcc -g -O2 -o chgrp chgrp.o chown-core.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o chown chown.o chown-core.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o chmod chmod.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o cp cp.o copy.o cp-hash.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o dd dd.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o dircolors dircolors.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o du du.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o ginstall install.o copy.o cp-hash.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o link link.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o ln ln.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o dir ls.o ls-dir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o vdir ls.o ls-vdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o ls ls.o ls-ls.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o mkdir mkdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o mkfifo mkfifo.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o mknod mknod.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o mv mv.o copy.o cp-hash.o remove.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o readlink readlink.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o rm rm.o remove.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o rmdir rmdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o shred shred.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o stat stat.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o sync sync.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o touch touch.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o unlink unlink.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o cat cat.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o cksum cksum.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o comm comm.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o csplit csplit.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o cut cut.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o expand expand.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o fmt fmt.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o fold fold.o .
[command output truncated]
I.. -I. -I../lib -I../lib -g -O2 -MT tee.o -MD -MP -MF ".deps/tee.Tpo" \
-c -o tee.o `test -f 'tee.c' || echo './'`tee.c; \
then mv ".deps/tee.Tpo" ".deps/tee.Po"; \
else rm -f ".deps/tee.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:142:1: error: static declaration of 'eaccess' follows non-static declaration
142 | eaccess (char const *file, int mode)
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/x86_64-linux-gnu/sys/param.h:28,
from system.h:33,
from test.c:41:
/usr/include/unistd.h:296:12: note: previous declaration of 'eaccess' with type 'int(const char *, int)'
296 | extern int eaccess (const char *__name, int __type)
| ^~~~~~~
test.c: In function 'eaccess':
test.c:160:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
160 | setreuid (euid, uid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:162:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
162 | setregid (egid, gid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:168:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
168 | setreuid (uid, euid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:170:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
170 | setregid (gid, egid);
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 95 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
gcc -g -O2 -o chgrp chgrp.o chown-core.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o chown chown.o chown-core.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o chmod chmod.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o cp cp.o copy.o cp-hash.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o dd dd.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o dircolors dircolors.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o du du.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o ginstall install.o copy.o cp-hash.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o link link.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o ln ln.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o dir ls.o ls-dir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o vdir ls.o ls-vdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o ls ls.o ls-ls.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o mkdir mkdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o mkfifo mkfifo.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o mknod mknod.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o mv mv.o copy.o cp-hash.o remove.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o readlink readlink.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o rm rm.o remove.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o rmdir rmdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o shred shred.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o stat stat.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o sync sync.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o touch touch.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o unlink unlink.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o cat cat.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o cksum cksum.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o comm comm.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o csplit csplit.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o cut cut.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o expand expand.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o fmt fmt.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -o fold fold.o .
[command output truncated]
I.. -I. -I../lib -I../lib -g -O2 -MT tee.o -MD -MP -MF ".deps/tee.Tpo" \
-c -o tee.o `test -f 'tee.c' || echo './'`tee.c; \
then mv ".deps/tee.Tpo" ".deps/tee.Po"; \
else rm -f ".deps/tee.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:142:1: error: static declaration of 'eaccess' follows non-static declaration
142 | eaccess (char const *file, int mode)
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/x86_64-linux-gnu/sys/param.h:28,
from system.h:33,
from test.c:41:
/usr/include/unistd.h:296:12: note: previous declaration of 'eaccess' with type 'int(const char *, int)'
296 | extern int eaccess (const char *__name, int __type)
| ^~~~~~~
test.c: In function 'eaccess':
test.c:160:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
160 | setreuid (euid, uid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:162:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
162 | setregid (egid, gid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:168:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
168 | setreuid (uid, euid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:170:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
170 | setregid (gid, egid);
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/^eaccess/static eaccess/' src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT true.o -MD -MP -MF ".deps/true.Tpo" \
-c -o true.o `test -f 'true.c' || echo './'`true.c; \
then mv ".deps/true.Tpo" ".deps/true.Po"; \
else rm -f ".deps/true.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o tee tee.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT tty.o -MD -MP -MF ".deps/tty.Tpo" \
-c -o tty.o `test -f 'tty.c' || echo './'`tty.c; \
then mv ".deps/tty.Tpo" ".deps/tty.Po"; \
else rm -f ".deps/tty.Tpo"; exit 1; \
fi
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:142:1: error: duplicate 'static'
142 | static eaccess (char const *file, int mode)
| ^~~~~~
test.c:142:8: error: static declaration of 'eaccess' follows non-static declaration
142 | static eaccess (char const *file, int mode)
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/x86_64-linux-gnu/sys/param.h:28,
from system.h:33,
from test.c:41:
/usr/include/unistd.h:296:12: note: previous declaration of 'eaccess' with type 'int(const char *, int)'
296 | extern int eaccess (const char *__name, int __type)
| ^~~~~~~
test.c: In function 'eaccess':
test.c:160:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
160 | setreuid (euid, uid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:162:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
162 | setregid (egid, gid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:168:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
168 | setreuid (uid, euid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:170:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
170 | setregid (gid, egid);
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 71 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT true.o -MD -MP -MF ".deps/true.Tpo" \
-c -o true.o `test -f 'true.c' || echo './'`true.c; \
then mv ".deps/true.Tpo" ".deps/true.Po"; \
else rm -f ".deps/true.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o tee tee.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT tty.o -MD -MP -MF ".deps/tty.Tpo" \
-c -o tty.o `test -f 'tty.c' || echo './'`tty.c; \
then mv ".deps/tty.Tpo" ".deps/tty.Po"; \
else rm -f ".deps/tty.Tpo"; exit 1; \
fi
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:142:1: error: duplicate 'static'
142 | static eaccess (char const *file, int mode)
| ^~~~~~
test.c:142:8: error: static declaration of 'eaccess' follows non-static declaration
142 | static eaccess (char const *file, int mode)
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/x86_64-linux-gnu/sys/param.h:28,
from system.h:33,
from test.c:41:
/usr/include/unistd.h:296:12: note: previous declaration of 'eaccess' with type 'int(const char *, int)'
296 | extern int eaccess (const char *__name, int __type)
| ^~~~~~~
test.c: In function 'eaccess':
test.c:160:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
160 | setreuid (euid, uid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:162:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
162 | setregid (egid, gid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:168:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
168 | setreuid (uid, euid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:170:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
170 | setregid (gid, egid);
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/^static eaccess/eaccess/' src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o true true.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o tty tty.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:142:1: error: static declaration of 'eaccess' follows non-static declaration
142 | eaccess (char const *file, int mode)
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/x86_64-linux-gnu/sys/param.h:28,
from system.h:33,
from test.c:41:
/usr/include/unistd.h:296:12: note: previous declaration of 'eaccess' with type 'int(const char *, int)'
296 | extern int eaccess (const char *__name, int __type)
| ^~~~~~~
test.c: In function 'eaccess':
test.c:160:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
160 | setreuid (euid, uid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:162:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
162 | setregid (egid, gid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:168:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
168 | setreuid (uid, euid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:170:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
170 | setregid (gid, egid);
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 59 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o true true.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o tty tty.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:142:1: error: static declaration of 'eaccess' follows non-static declaration
142 | eaccess (char const *file, int mode)
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/x86_64-linux-gnu/sys/param.h:28,
from system.h:33,
from test.c:41:
/usr/include/unistd.h:296:12: note: previous declaration of 'eaccess' with type 'int(const char *, int)'
296 | extern int eaccess (const char *__name, int __type)
| ^~~~~~~
test.c: In function 'eaccess':
test.c:160:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
160 | setreuid (euid, uid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:162:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
162 | setregid (egid, gid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:168:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
168 | setreuid (uid, euid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:170:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
170 | setregid (gid, egid);
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/^eaccess/#define eaccess/' src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT whoami.o -MD -MP -MF ".deps/whoami.Tpo" \
-c -o whoami.o `test -f 'whoami.c' || echo './'`whoami.c; \
then mv ".deps/whoami.Tpo" ".deps/whoami.Po"; \
else rm -f ".deps/whoami.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT yes.o -MD -MP -MF ".deps/yes.Tpo" \
-c -o yes.o `test -f 'yes.c' || echo './'`yes.c; \
then mv ".deps/yes.Tpo" ".deps/yes.Po"; \
else rm -f ".deps/yes.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:143:1: error: expected identifier or '(' before '{' token
143 | {
| ^
test.c: In function 'unary_operator':
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:638:21: note: in expansion of macro 'eaccess'
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:638:21: note: in expansion of macro 'eaccess'
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~~~~~~
test.c:638:18: warning: comparison between pointer and integer
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:643:21: note: in expansion of macro 'eaccess'
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:643:21: note: in expansion of macro 'eaccess'
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~~~~~~
test.c:643:18: warning: comparison between pointer and integer
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:648:21: note: in expansion of macro 'eaccess'
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:648:21: note: in expansion of macro 'eaccess'
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~~~~~~
test.c:648:18: warning: comparison between pointer and integer
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 92 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT whoami.o -MD -MP -MF ".deps/whoami.Tpo" \
-c -o whoami.o `test -f 'whoami.c' || echo './'`whoami.c; \
then mv ".deps/whoami.Tpo" ".deps/whoami.Po"; \
else rm -f ".deps/whoami.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT yes.o -MD -MP -MF ".deps/yes.Tpo" \
-c -o yes.o `test -f 'yes.c' || echo './'`yes.c; \
then mv ".deps/yes.Tpo" ".deps/yes.Po"; \
else rm -f ".deps/yes.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:143:1: error: expected identifier or '(' before '{' token
143 | {
| ^
test.c: In function 'unary_operator':
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:638:21: note: in expansion of macro 'eaccess'
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:638:21: note: in expansion of macro 'eaccess'
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~~~~~~
test.c:638:18: warning: comparison between pointer and integer
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:643:21: note: in expansion of macro 'eaccess'
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:643:21: note: in expansion of macro 'eaccess'
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~~~~~~
test.c:643:18: warning: comparison between pointer and integer
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:648:21: note: in expansion of macro 'eaccess'
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:648:21: note: in expansion of macro 'eaccess'
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~~~~~~
test.c:648:18: warning: comparison between pointer and integer
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/^eaccess/static eaccess/g' src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o whoami whoami.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o yes yes.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:143:1: error: expected identifier or '(' before '{' token
143 | {
| ^
test.c: In function 'unary_operator':
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:638:21: note: in expansion of macro 'eaccess'
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:638:21: note: in expansion of macro 'eaccess'
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~~~~~~
test.c:638:18: warning: comparison between pointer and integer
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:643:21: note: in expansion of macro 'eaccess'
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:643:21: note: in expansion of macro 'eaccess'
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~~~~~~
test.c:643:18: warning: comparison between pointer and integer
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:648:21: note: in expansion of macro 'eaccess'
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:648:21: note: in expansion of macro 'eaccess'
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~~~~~~
test.c:648:18: warning: comparison between pointer and integer
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 84 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o whoami whoami.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o yes yes.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:143:1: error: expected identifier or '(' before '{' token
143 | {
| ^
test.c: In function 'unary_operator':
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:638:21: note: in expansion of macro 'eaccess'
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:638:21: note: in expansion of macro 'eaccess'
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~~~~~~
test.c:638:18: warning: comparison between pointer and integer
638 | value = -1 != eaccess (argv[pos - 1], R_OK);
| ^~
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:643:21: note: in expansion of macro 'eaccess'
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:643:21: note: in expansion of macro 'eaccess'
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~~~~~~
test.c:643:18: warning: comparison between pointer and integer
643 | value = -1 != eaccess (argv[pos - 1], W_OK);
| ^~
test.c:142:30: error: expected ')' before 'file'
142 | #define eaccess (char const *file, int mode)
| ~ ^~~~
test.c:648:21: note: in expansion of macro 'eaccess'
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~~~~~~
test.c:142:17: warning: cast to pointer from integer of different size [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;]
142 | #define eaccess (char const *file, int mode)
| ^
test.c:648:21: note: in expansion of macro 'eaccess'
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~~~~~~
test.c:648:18: warning: comparison between pointer and integer
648 | value = -1 != eaccess (argv[pos - 1], X_OK);
| ^~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/^#define eaccess/static int eaccess/g' src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT uname.o -MD -MP -MF ".deps/uname.Tpo" \
-c -o uname.o `test -f 'uname.c' || echo './'`uname.c; \
then mv ".deps/uname.Tpo" ".deps/uname.Po"; \
else rm -f ".deps/uname.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT chroot.o -MD -MP -MF ".deps/chroot.Tpo" \
-c -o chroot.o `test -f 'chroot.c' || echo './'`chroot.c; \
then mv ".deps/chroot.Tpo" ".deps/chroot.Po"; \
else rm -f ".deps/chroot.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:142:1: error: duplicate 'static'
142 | static int eaccess (char const *file, int mode)
| ^~~~~~
test.c:142:8: error: two or more data types in declaration specifiers
142 | static int eaccess (char const *file, int mode)
| ^~~
test.c:142:12: error: static declaration of 'eaccess' follows non-static declaration
142 | static int eaccess (char const *file, int mode)
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/x86_64-linux-gnu/sys/param.h:28,
from system.h:33,
from test.c:41:
/usr/include/unistd.h:296:12: note: previous declaration of 'eaccess' with type 'int(const char *, int)'
296 | extern int eaccess (const char *__name, int __type)
| ^~~~~~~
test.c: In function 'eaccess':
test.c:160:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
160 | setreuid (euid, uid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:162:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
162 | setregid (egid, gid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:168:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
168 | setreuid (uid, euid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:170:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
170 | setregid (gid, egid);
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 73 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT uname.o -MD -MP -MF ".deps/uname.Tpo" \
-c -o uname.o `test -f 'uname.c' || echo './'`uname.c; \
then mv ".deps/uname.Tpo" ".deps/uname.Po"; \
else rm -f ".deps/uname.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT chroot.o -MD -MP -MF ".deps/chroot.Tpo" \
-c -o chroot.o `test -f 'chroot.c' || echo './'`chroot.c; \
then mv ".deps/chroot.Tpo" ".deps/chroot.Po"; \
else rm -f ".deps/chroot.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:142:1: error: duplicate 'static'
142 | static int eaccess (char const *file, int mode)
| ^~~~~~
test.c:142:8: error: two or more data types in declaration specifiers
142 | static int eaccess (char const *file, int mode)
| ^~~
test.c:142:12: error: static declaration of 'eaccess' follows non-static declaration
142 | static int eaccess (char const *file, int mode)
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/x86_64-linux-gnu/sys/param.h:28,
from system.h:33,
from test.c:41:
/usr/include/unistd.h:296:12: note: previous declaration of 'eaccess' with type 'int(const char *, int)'
296 | extern int eaccess (const char *__name, int __type)
| ^~~~~~~
test.c: In function 'eaccess':
test.c:160:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
160 | setreuid (euid, uid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:162:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
162 | setregid (egid, gid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:168:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
168 | setreuid (uid, euid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:170:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
170 | setregid (gid, egid);
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/^static int eaccess/int eaccess/g' src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o uname uname.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o chroot chroot.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:142:1: error: two or more data types in declaration specifiers
142 | int eaccess (char const *file, int mode)
| ^~~
test.c:142:5: error: static declaration of 'eaccess' follows non-static declaration
142 | int eaccess (char const *file, int mode)
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/x86_64-linux-gnu/sys/param.h:28,
from system.h:33,
from test.c:41:
/usr/include/unistd.h:296:12: note: previous declaration of 'eaccess' with type 'int(const char *, int)'
296 | extern int eaccess (const char *__name, int __type)
| ^~~~~~~
test.c: In function 'eaccess':
test.c:160:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
160 | setreuid (euid, uid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:162:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
162 | setregid (egid, gid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:168:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
168 | setreuid (uid, euid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:170:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
170 | setregid (gid, egid);
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 62 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o uname uname.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o chroot chroot.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:142:1: error: two or more data types in declaration specifiers
142 | int eaccess (char const *file, int mode)
| ^~~
test.c:142:5: error: static declaration of 'eaccess' follows non-static declaration
142 | int eaccess (char const *file, int mode)
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/x86_64-linux-gnu/sys/param.h:28,
from system.h:33,
from test.c:41:
/usr/include/unistd.h:296:12: note: previous declaration of 'eaccess' with type 'int(const char *, int)'
296 | extern int eaccess (const char *__name, int __type)
| ^~~~~~~
test.c: In function 'eaccess':
test.c:160:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
160 | setreuid (euid, uid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:162:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
162 | setregid (egid, gid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:168:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
168 | setreuid (uid, euid);
| ^~~~~~~~~~~~~~~~~~~~
test.c:170:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
170 | setregid (gid, egid);
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/^int eaccess/#ifndef __GLIBC__\nint eaccess\n#endif/g' src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT hostid.o -MD -MP -MF ".deps/hostid.Tpo" \
-c -o hostid.o `test -f 'hostid.c' || echo './'`hostid.c; \
then mv ".deps/hostid.Tpo" ".deps/hostid.Po"; \
else rm -f ".deps/hostid.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT nice.o -MD -MP -MF ".deps/nice.Tpo" \
-c -o nice.o `test -f 'nice.c' || echo './'`nice.c; \
then mv ".deps/nice.Tpo" ".deps/nice.Po"; \
else rm -f ".deps/nice.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:144:8: warning: extra tokens at end of #endif directive [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wendif-labels-Wendif-labels]8;;]
144 | #endif (char const *file, int mode)
| ^
test.c:145:1: error: expected identifier or '(' before '{' token
145 | {
| ^
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 49 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT hostid.o -MD -MP -MF ".deps/hostid.Tpo" \
-c -o hostid.o `test -f 'hostid.c' || echo './'`hostid.c; \
then mv ".deps/hostid.Tpo" ".deps/hostid.Po"; \
else rm -f ".deps/hostid.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT nice.o -MD -MP -MF ".deps/nice.Tpo" \
-c -o nice.o `test -f 'nice.c' || echo './'`nice.c; \
then mv ".deps/nice.Tpo" ".deps/nice.Po"; \
else rm -f ".deps/nice.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:144:8: warning: extra tokens at end of #endif directive [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wendif-labels-Wendif-labels]8;;]
144 | #endif (char const *file, int mode)
| ^
test.c:145:1: error: expected identifier or '(' before '{' token
145 | {
| ^
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/^#endif (char const \*file, int mode)/#endif/g' src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o hostid hostid.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o nice nice.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:145:1: error: expected identifier or '(' before '{' token
145 | {
| ^
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 38 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o hostid hostid.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o nice nice.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c:145:1: error: expected identifier or '(' before '{' token
145 | {
| ^
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/^{$/#ifndef __GLIBC__\n{\n#endif/g' src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT pinky.o -MD -MP -MF ".deps/pinky.Tpo" \
-c -o pinky.o `test -f 'pinky.c' || echo './'`pinky.c; \
then mv ".deps/pinky.Tpo" ".deps/pinky.Po"; \
else rm -f ".deps/pinky.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT users.o -MD -MP -MF ".deps/users.Tpo" \
-c -o users.o `test -f 'users.c' || echo './'`users.c; \
then mv ".deps/users.Tpo" ".deps/users.Po"; \
else rm -f ".deps/users.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c: In function 'test_syntax_error':
test.c:134:3: error: expected declaration specifiers before 'fprintf'
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
test.c:135:3: error: expected declaration specifiers before 'fprintf'
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
from test.c:41:
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
test.c:136:3: note: in expansion of macro 'fflush'
136 | fflush (stderr);
| ^~~~~~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:137:3: note: in expansion of macro 'test_exit'
137 | test_exit (SHELL_BOOLEAN (FALSE));
|
[command output truncated]
ecifiers before 'else'
1019 | else
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 130 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT pinky.o -MD -MP -MF ".deps/pinky.Tpo" \
-c -o pinky.o `test -f 'pinky.c' || echo './'`pinky.c; \
then mv ".deps/pinky.Tpo" ".deps/pinky.Po"; \
else rm -f ".deps/pinky.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT users.o -MD -MP -MF ".deps/users.Tpo" \
-c -o users.o `test -f 'users.c' || echo './'`users.c; \
then mv ".deps/users.Tpo" ".deps/users.Po"; \
else rm -f ".deps/users.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c: In function 'test_syntax_error':
test.c:134:3: error: expected declaration specifiers before 'fprintf'
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
test.c:135:3: error: expected declaration specifiers before 'fprintf'
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
from test.c:41:
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
test.c:136:3: note: in expansion of macro 'fflush'
136 | fflush (stderr);
| ^~~~~~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:137:3: note: in expansion of macro 'test_exit'
137 | test_exit (SHELL_BOOLEAN (FALSE));
|
[command output truncated]
ecifiers before 'else'
1019 | else
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
bash: git: command not found
compile-bench> cd coreutils-5.0 && cp src/test.c src/test.c.backup && sed -i 's/^eaccess/#if !defined(__GLIBC__)\nstatic int eaccess\n#endif/g' src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o pinky pinky.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o users users.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c: In function 'test_syntax_error':
test.c:134:3: error: expected declaration specifiers before 'fprintf'
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
test.c:135:3: error: expected declaration specifiers before 'fprintf'
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
from test.c:41:
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
test.c:136:3: note: in expansion of macro 'fflush'
136 | fflush (stderr);
| ^~~~~~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:137:3: note: in expansion of macro 'test_exit'
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~~
test.c:138:1: error: expected declaration specifiers before '}' token
138 | }
| ^
test.c:150:3: error: duplicate 'static'
150 | static int have_ids;
| ^~~~~~
test.c:150:10: error: two or more data types in declaration specifiers
150 | static int have_ids;
| ^~~
test.c:150:14: error: storage class specified for parameter 'have_ids'
150 | static int have_ids;
| ^~~~~~~~
test.c:151:16: error: storage class specified for parameter 'uid'
151 | static uid_t uid, euid;
[command output truncated]
ecifiers before 'else'
1019 | else
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 137 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o pinky pinky.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o users users.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c: In function 'test_syntax_error':
test.c:134:3: error: expected declaration specifiers before 'fprintf'
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
test.c:135:3: error: expected declaration specifiers before 'fprintf'
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
from test.c:41:
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
test.c:136:3: note: in expansion of macro 'fflush'
136 | fflush (stderr);
| ^~~~~~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:137:3: note: in expansion of macro 'test_exit'
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~~
test.c:138:1: error: expected declaration specifiers before '}' token
138 | }
| ^
test.c:150:3: error: duplicate 'static'
150 | static int have_ids;
| ^~~~~~
test.c:150:10: error: two or more data types in declaration specifiers
150 | static int have_ids;
| ^~~
test.c:150:14: error: storage class specified for parameter 'have_ids'
150 | static int have_ids;
| ^~~~~~~~
test.c:151:16: error: storage class specified for parameter 'uid'
151 | static uid_t uid, euid;
[command output truncated]
ecifiers before 'else'
1019 | else
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && cp src/test.c.backup src/test.c && sed -i 's/^eaccess/#if !defined(__GLIBC__)\nint eaccess\n#endif/g' src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT who.o -MD -MP -MF ".deps/who.Tpo" \
-c -o who.o `test -f 'who.c' || echo './'`who.c; \
then mv ".deps/who.Tpo" ".deps/who.Po"; \
else rm -f ".deps/who.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT uptime.o -MD -MP -MF ".deps/uptime.Tpo" \
-c -o uptime.o `test -f 'uptime.c' || echo './'`uptime.c; \
then mv ".deps/uptime.Tpo" ".deps/uptime.Po"; \
else rm -f ".deps/uptime.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c: In function 'test_syntax_error':
test.c:134:3: error: expected declaration specifiers before 'fprintf'
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
test.c:135:3: error: expected declaration specifiers before 'fprintf'
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
from test.c:41:
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
test.c:136:3: note: in expansion of macro 'fflush'
136 | fflush (stderr);
| ^~~~~~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:137:3: note: in expansion of macro 'test_exit'
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~
[command output truncated]
ecifiers before 'else'
1019 | else
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 130 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT who.o -MD -MP -MF ".deps/who.Tpo" \
-c -o who.o `test -f 'who.c' || echo './'`who.c; \
then mv ".deps/who.Tpo" ".deps/who.Po"; \
else rm -f ".deps/who.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT uptime.o -MD -MP -MF ".deps/uptime.Tpo" \
-c -o uptime.o `test -f 'uptime.c' || echo './'`uptime.c; \
then mv ".deps/uptime.Tpo" ".deps/uptime.Po"; \
else rm -f ".deps/uptime.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c: In function 'test_syntax_error':
test.c:134:3: error: expected declaration specifiers before 'fprintf'
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
test.c:135:3: error: expected declaration specifiers before 'fprintf'
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
from test.c:41:
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
test.c:136:3: note: in expansion of macro 'fflush'
136 | fflush (stderr);
| ^~~~~~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:137:3: note: in expansion of macro 'test_exit'
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~
[command output truncated]
ecifiers before 'else'
1019 | else
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && cp src/test.c.backup src/test.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o who who.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o uptime uptime.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c: In function 'test_syntax_error':
test.c:134:3: error: expected declaration specifiers before 'fprintf'
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
test.c:135:3: error: expected declaration specifiers before 'fprintf'
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
from test.c:41:
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
test.c:136:3: note: in expansion of macro 'fflush'
136 | fflush (stderr);
| ^~~~~~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:137:3: note: in expansion of macro 'test_exit'
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~~
test.c:138:1: error: expected declaration specifiers before '}' token
138 | }
| ^
test.c:150:3: error: duplicate 'static'
150 | static int have_ids;
| ^~~~~~
test.c:150:10: error: two or more data types in declaration specifiers
150 | static int have_ids;
| ^~~
test.c:150:14: error: storage class specified for parameter 'have_ids'
150 | static int have_ids;
| ^~~~~~~~
test.c:151:16: error: storage class specified for parameter 'uid'
151 | static uid_t uid, euid;
|
[command output truncated]
ecifiers before 'else'
1019 | else
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 137 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o who who.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o uptime uptime.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
test.c: In function 'test_syntax_error':
test.c:134:3: error: expected declaration specifiers before 'fprintf'
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
test.c:135:3: error: expected declaration specifiers before 'fprintf'
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
from test.c:41:
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
test.c:136:3: note: in expansion of macro 'fflush'
136 | fflush (stderr);
| ^~~~~~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:137:3: note: in expansion of macro 'test_exit'
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~~
test.c:138:1: error: expected declaration specifiers before '}' token
138 | }
| ^
test.c:150:3: error: duplicate 'static'
150 | static int have_ids;
| ^~~~~~
test.c:150:10: error: two or more data types in declaration specifiers
150 | static int have_ids;
| ^~~
test.c:150:14: error: storage class specified for parameter 'have_ids'
150 | static int have_ids;
| ^~~~~~~~
test.c:151:16: error: storage class specified for parameter 'uid'
151 | static uid_t uid, euid;
|
[command output truncated]
ecifiers before 'else'
1019 | else
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
sed: can't read configure.in: No such file or directory
compile-bench> cd coreutils-5.0 && ls ABOUT-NLS Makefile.am THANKS-to-translators config.hin m4
AUTHORS Makefile.cfg THANKStt.in config.log man
COPYING Makefile.in TODO config.status old
ChangeLog Makefile.maint aclocal.m4 configure po
GNUmakefile NEWS announce-gen configure.ac src
INSTALL README config doc stamp-h1
Makefile THANKS config.h lib tests
↓ 8 lines
ABOUT-NLS Makefile.am THANKS-to-translators config.hin m4 AUTHORS Makefile.cfg THANKStt.in config.log man COPYING Makefile.in TODO config.status old ChangeLog Makefile.maint aclocal.m4 configure po GNUmakefile NEWS announce-gen configure.ac src INSTALL README config doc stamp-h1 Makefile THANKS config.h lib tests
bash: autoconf: command not found
compile-bench> cd coreutils-5.0 && grep -r "floor" src/seq.c min_val = first - step * floor ((first - last) / step);
max_val = first + step * floor ((last - first) / step);
#else /* one of the math functions rint, modf, floor is missing. */
↓ 4 lines
min_val = first - step * floor ((first - last) / step);
max_val = first + step * floor ((last - first) / step);
#else /* one of the math functions rint, modf, floor is missing. */
compile-bench> cd coreutils-5.0 && sed -i 's/floor/\(long int\) floor/g' src/seq.c && make LDFLAGS="-lm" -j4 cd . && /bin/bash /home/peter/coreutils-5.0/config/missing --run aclocal-1.7 -I m4
/home/peter/coreutils-5.0/config/missing: line 46: aclocal-1.7: command not found
WARNING: `aclocal-1.7' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.ac'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && \
/bin/bash /home/peter/coreutils-5.0/config/missing --run automake-1.7 --gnits Makefile
/home/peter/coreutils-5.0/config/missing: line 46: automake-1.7: command not found
WARNING: `automake-1.7' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && /bin/bash /home/peter/coreutils-5.0/config/missing --run autoconf
/home/peter/coreutils-5.0/config/missing: line 46: autoconf: command not found
WARNING: `autoconf' is missing on your system. You should only need it if
you modified `configure.ac'. You might want to install the
`Autoconf' and `GNU m4' packages. Grab them from any GNU
archive site.
/bin/bash ./config.status --recheck
running /bin/bash ./configure --prefix=/home/peter/result --no-create --no-recursion
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for perl5.003 or newer... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for uname... yes
checking for chroot... yes
checking for gethostid... yes
check
[command output truncated]
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 135 lines
cd . && /bin/bash /home/peter/coreutils-5.0/config/missing --run aclocal-1.7 -I m4
/home/peter/coreutils-5.0/config/missing: line 46: aclocal-1.7: command not found
WARNING: `aclocal-1.7' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.ac'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && \
/bin/bash /home/peter/coreutils-5.0/config/missing --run automake-1.7 --gnits Makefile
/home/peter/coreutils-5.0/config/missing: line 46: automake-1.7: command not found
WARNING: `automake-1.7' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && /bin/bash /home/peter/coreutils-5.0/config/missing --run autoconf
/home/peter/coreutils-5.0/config/missing: line 46: autoconf: command not found
WARNING: `autoconf' is missing on your system. You should only need it if
you modified `configure.ac'. You might want to install the
`Autoconf' and `GNU m4' packages. Grab them from any GNU
archive site.
/bin/bash ./config.status --recheck
running /bin/bash ./configure --prefix=/home/peter/result --no-create --no-recursion
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for perl5.003 or newer... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for uname... yes
checking for chroot... yes
checking for gethostid... yes
check
[command output truncated]
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/\(long int\) floor/floor/g' src/seq.c && sed -i 's/^#define _GNU_SOURCE/#define _GNU_SOURCE\n#define _ISOC99_SOURCE/' src/seq.c && make LDFLAGS="-lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT seq.o -MD -MP -MF ".deps/seq.Tpo" \
-c -o seq.o `test -f 'seq.c' || echo './'`seq.c; \
then mv ".deps/seq.Tpo" ".deps/seq.Po"; \
else rm -f ".deps/seq.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
-c -o test.o `test -f 'test.c' || echo './'`test.c; \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o stty stty.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o df df.o ../lib/libfetish.a ../lib/libfetish.a
rm -f groups groups-t
sed \
-e 's!@''bindir''@!/home/peter/result/bin!' \
-e 's/@''GNU_PACKAGE''@/GNU coreutils/' \
-e 's/@''PACKAGE_BUGREPORT''@/[email protected]/' \
-e 's/@''VERSION''@/5.0/' groups.sh > groups-t
rm -f nohup nohup-t
chmod +x groups-t
sed \
-e 's!@''bindir''@!/home/peter/result/bin!' \
-e 's/@''GNU_PACKAGE''@/GNU coreutils/' \
-e 's/@''PACKAGE_BUGREPORT''@/[email protected]/' \
-e 's/@''VERSION''@/5.0/' nohup.sh > nohup-t
mv groups-t groups
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT su.o -MD -MP -MF ".deps/su.Tpo" \
-c -o su.o `test -f 'su.c' || echo './'`su.c; \
then mv ".deps/su.Tpo" ".deps/su.Po"; \
else rm -f ".deps/su.Tpo"; exit 1; \
fi
chmod +x nohup-t
mv nohup-t nohup
test.c: In function 'test_syntax_error':
test.c:134:3: error: expected declaration specifiers before 'fprintf'
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
test.c:135:3: error: expected declaration specifiers before 'fprintf'
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
from test.c:41:
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
test.c:136:3: note: in expansion of macro 'fflush'
136 | fflush (stderr);
| ^~~~~~
test.c:101:25: error: expected declarat
[command output truncated]
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 135 lines
make all-recursive make[1]: Entering directory '/home/peter/coreutils-5.0' Making all in lib make[2]: Entering directory '/home/peter/coreutils-5.0/lib' make all-am make[3]: Entering directory '/home/peter/coreutils-5.0/lib' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/peter/coreutils-5.0/lib' make[2]: Leaving directory '/home/peter/coreutils-5.0/lib' Making all in src make[2]: Entering directory '/home/peter/coreutils-5.0/src' make all-am make[3]: Entering directory '/home/peter/coreutils-5.0/src' if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT seq.o -MD -MP -MF ".deps/seq.Tpo" \ -c -o seq.o `test -f 'seq.c' || echo './'`seq.c; \ then mv ".deps/seq.Tpo" ".deps/seq.Po"; \ else rm -f ".deps/seq.Tpo"; exit 1; \ fi if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \ -c -o test.o `test -f 'test.c' || echo './'`test.c; \ then mv ".deps/test.Tpo" ".deps/test.Po"; \ else rm -f ".deps/test.Tpo"; exit 1; \ fi gcc -g -O2 -lm -o stty stty.o ../lib/libfetish.a ../lib/libfetish.a gcc -g -O2 -lm -o df df.o ../lib/libfetish.a ../lib/libfetish.a rm -f groups groups-t sed \ -e 's!@''bindir''@!/home/peter/result/bin!' \ -e 's/@''GNU_PACKAGE''@/GNU coreutils/' \ -e 's/@''PACKAGE_BUGREPORT''@/[email protected]/' \ -e 's/@''VERSION''@/5.0/' groups.sh > groups-t rm -f nohup nohup-t chmod +x groups-t sed \ -e 's!@''bindir''@!/home/peter/result/bin!' \ -e 's/@''GNU_PACKAGE''@/GNU coreutils/' \ -e 's/@''PACKAGE_BUGREPORT''@/[email protected]/' \ -e 's/@''VERSION''@/5.0/' nohup.sh > nohup-t mv groups-t groups if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT su.o -MD -MP -MF ".deps/su.Tpo" \ -c -o su.o `test -f 'su.c' || echo './'`su.c; \ then mv ".deps/su.Tpo" ".deps/su.Po"; \ else rm -f ".deps/su.Tpo"; exit 1; \ fi chmod +x nohup-t mv nohup-t nohup test.c: In function 'test_syntax_error': test.c:134:3: error: expected declaration specifiers before 'fprintf' 134 | fprintf (stderr, "%s: ", argv[0]); | ^~~~~~~ test.c:135:3: error: expected declaration specifiers before 'fprintf' 135 | fprintf (stderr, format, arg); | ^~~~~~~ In file included from sys2.h:452, from system.h:296, from test.c:41: ../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked' 50 | # define fflush(x) fflush_unlocked (x) | ^~~~~~~~~~~~~~~ test.c:136:3: note: in expansion of macro 'fflush' 136 | fflush (stderr); | ^~~~~~ test.c:101:25: error: expected declarat [command output truncated] | ^~~~ test.c:1101:3: error: expected declaration specifiers before 'exit' 1101 | exit (status); | ^~~~ test.c:1102:1: error: expected declaration specifiers before '}' token 1102 | } | ^ test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' 1122 | int value; | ^~~ test.c:1132:3: error: expected declaration specifiers before 'program_name' 1132 | program_name = margv[0]; | ^~~~~~~~~~~~ test.c:1133:3: error: expected declaration specifiers before 'setlocale' 1133 | setlocale (LC_ALL, ""); | ^~~~~~~~~ test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain' 1134 | bindtextdomain (PACKAGE, LOCALEDIR); | ^~~~~~~~~~~~~~ test.c:1135:3: error: expected declaration specifiers before 'textdomain' 1135 | textdomain (PACKAGE); | ^~~~~~~~~~ test.c:1137:3: error: expected declaration specifiers before 'atexit' 1137 | atexit (close_stdout); | ^~~~~~ test.c:1140:3: error: expected declaration specifiers before 'argv' 1140 | argv = margv; | ^~~~ test.c:1142:3: error: expected declaration specifiers before 'if' 1142 | if (margv[0] && strcmp (margv[0], "[") == 0) | ^~ test.c:1158:3: error: expected declaration specifiers before 'argc' 1158 | argc = margc; | ^~~~ test.c:1159:3: error: expected declaration specifiers before 'pos' 1159 | pos = 1; | ^~~ test.c:1161:3: error: expected declaration specifiers before 'if' 1161 | if (pos >= argc) | ^~ test.c:1164:3: error: expected declaration specifiers before 'parse_long_options' 1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, | ^~~~~~~~~~~~~~~~~~ test.c:1166:3: error: expected declaration specifiers before 'value' 1166 | value = posixtest (); | ^~~~~ test.c:1168:3: error: expected declaration specifiers before 'if' 1168 | if (pos != argc) | ^~ test.c:101:25: error: expected declaration specifiers before 'exit' 101 | # define test_exit(val) exit (val) | ^~~~ test.c:1171:3: note: in expansion of macro 'test_exit' 1171 | test_exit (SHELL_BOOLEAN (value)); | ^~~~~~~~~ test.c:1172:1: error: expected declaration specifiers before '}' token 1172 | } | ^ test.c:130:1: error: old-style parameter declarations in prototyped function definition 130 | test_syntax_error (char const *format, char const *arg) | ^~~~~~~~~~~~~~~~~ test.c:1173: error: expected '{' at end of input make[3]: *** [Makefile:1263: test.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/peter/coreutils-5.0/src' make[2]: *** [Makefile:815: all] Error 2 make[2]: Leaving directory '/home/peter/coreutils-5.0/src' make[1]: *** [Makefile:244: all-recursive] Error 1 make[1]: Leaving directory '/home/peter/coreutils-5.0' make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && make -j4 LDFLAGS="-lm" 2>&1 | grep -v 'test.c' make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o su su.o ../lib/libfetish.a ../lib/libfetish.a -lcrypt
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
136 | fflush (stderr);
| ^~~~~~
101 | # define test_exit(val) exit (val)
| ^~~~
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~~
138 | }
| ^
150 | static int have_ids;
| ^~~~~~
150 | static int have_ids;
| ^~~
150 | static int have_ids;
| ^~~~~~~~
151 | static uid_t uid, euid;
| ^~~
151 | static uid_t uid, euid;
| ^~~~
152 | static gid_t gid, egid;
| ^~~
152 | static gid_t gid, egid;
| ^~~~
155 | if (have_ids == 0)
| ^~
165 | if (uid != euid)
| ^~
167 | if (gid != egid)
| ^~
170 | result = access (file, mode);
| ^~~~~~
173 | if (uid != euid)
| ^~
175 | if (gid != egid)
| ^~
178 | return result;
| ^~~~~~
[command output truncated]
949 | else if (binop (argv[pos+1]))
| ^~~~
954 | else if ((STREQ (argv[pos+1], "-a")) || (STREQ (argv[pos+1], "-o")) ||
| ^~~~
957 | else
| ^~~~
959 | return (value);
| ^~~~~~
960 | }
| ^
968 | int value;
| ^~~
970 | switch (argc - 1) /* one extra passed in */
| ^~~~~~
1004 | return (value);
| ^~~~~~
1005 | }
| ^
1016 | if (status != 0)
| ^~
1019 | else
| ^~~~
1101 | exit (status);
| ^~~~
1102 | }
| ^
1122 | int value;
| ^~~
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
1137 | atexit (close_stdout);
| ^~~~~~
1140 | argv = margv;
| ^~~~
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
1158 | argc = margc;
| ^~~~
1159 | pos = 1;
| ^~~
1161 | if (pos >= argc)
| ^~
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
1166 | value = posixtest ();
| ^~~~~
1168 | if (pos != argc)
| ^~
101 | # define test_exit(val) exit (val)
| ^~~~
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
1172 | }
| ^
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 141 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -lm -o su su.o ../lib/libfetish.a ../lib/libfetish.a -lcrypt
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:253: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:259: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
136 | fflush (stderr);
| ^~~~~~
101 | # define test_exit(val) exit (val)
| ^~~~
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~~
138 | }
| ^
150 | static int have_ids;
| ^~~~~~
150 | static int have_ids;
| ^~~
150 | static int have_ids;
| ^~~~~~~~
151 | static uid_t uid, euid;
| ^~~
151 | static uid_t uid, euid;
| ^~~~
152 | static gid_t gid, egid;
| ^~~
152 | static gid_t gid, egid;
| ^~~~
155 | if (have_ids == 0)
| ^~
165 | if (uid != euid)
| ^~
167 | if (gid != egid)
| ^~
170 | result = access (file, mode);
| ^~~~~~
173 | if (uid != euid)
| ^~
175 | if (gid != egid)
| ^~
178 | return result;
| ^~~~~~
[command output truncated]
949 | else if (binop (argv[pos+1]))
| ^~~~
954 | else if ((STREQ (argv[pos+1], "-a")) || (STREQ (argv[pos+1], "-o")) ||
| ^~~~
957 | else
| ^~~~
959 | return (value);
| ^~~~~~
960 | }
| ^
968 | int value;
| ^~~
970 | switch (argc - 1) /* one extra passed in */
| ^~~~~~
1004 | return (value);
| ^~~~~~
1005 | }
| ^
1016 | if (status != 0)
| ^~
1019 | else
| ^~~~
1101 | exit (status);
| ^~~~
1102 | }
| ^
1122 | int value;
| ^~~
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
1137 | atexit (close_stdout);
| ^~~~~~
1140 | argv = margv;
| ^~~~
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
1158 | argc = margc;
| ^~~~
1159 | pos = 1;
| ^~~
1161 | if (pos >= argc)
| ^~
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
1166 | value = posixtest ();
| ^~~~~
1168 | if (pos != argc)
| ^~
101 | # define test_exit(val) exit (val)
| ^~~~
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
1172 | }
| ^
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
[empty output]
[empty output]
compile-bench> cd coreutils-5.0 && echo '#include <math.h>' | gcc -E - | grep -A 5 -B 5 floor
extern double fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
extern double floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
extern double fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__));
# 177 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern int isinf (double __value) __attribute__ ((__nothrow__ , __leaf__))
--
extern float fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
extern float floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__));
# 177 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern int isinff (float __value) __attribute__ ((__nothrow__ , __leaf__))
--
extern long double fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
extern long double floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__));
# 177 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern int isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__))
↓ 34 lines
extern double fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); # 177 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4 extern int isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) -- extern float fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); # 177 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4 extern int isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) -- extern long double fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); # 177 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4 extern int isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__))
compile-bench> cd coreutils-5.0 && sed -i 's/^#include "system.h"/#include "system.h"\n#include <math.h>/' src/seq.c && make LDFLAGS="-lm" -j4 2>&1 | grep -v 'test.c' make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT seq.o -MD -MP -MF ".deps/seq.Tpo" \
-c -o seq.o `test -f 'seq.c' || echo './'`seq.c; \
then mv ".deps/seq.Tpo" ".deps/seq.Po"; \
else rm -f ".deps/seq.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
136 | fflush (stderr);
| ^~~~~~
101 | # define test_exit(val) exit (val)
| ^~~~
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~~
138 | }
| ^
150 | static int have_ids;
| ^~~~~~
150 | static int have_ids;
| ^~~
150 | static int have_ids;
| ^~~~~~~~
151 | static uid_t uid, euid;
| ^~~
151 | static uid_t uid, euid;
| ^~~~
152 | static gid_t gid, egid;
| ^~~
152 | static gid_t gid, egid;
| ^~~~
155 | if (have_ids == 0)
| ^~
165 | if (uid != euid)
| ^~
167 | if (gid != egid)
| ^~
170 | result = access (file, mode);
| ^~~~~~
173 | if (uid != euid)
| ^~
175 | if (gid != egid)
| ^~
178 | return result;
| ^~~~~~
179 | }
| ^
226 | test_syntax_error (_("argument expected\n"), NULL);
[command output truncated]
| ^~~~
954 | else if ((STREQ (argv[pos+1], "-a")) || (STREQ (argv[pos+1], "-o")) ||
| ^~~~
957 | else
| ^~~~
959 | return (value);
| ^~~~~~
960 | }
| ^
968 | int value;
| ^~~
970 | switch (argc - 1) /* one extra passed in */
| ^~~~~~
1004 | return (value);
| ^~~~~~
1005 | }
| ^
1016 | if (status != 0)
| ^~
1019 | else
| ^~~~
1101 | exit (status);
| ^~~~
1102 | }
| ^
1122 | int value;
| ^~~
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
1137 | atexit (close_stdout);
| ^~~~~~
1140 | argv = margv;
| ^~~~
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
1158 | argc = margc;
| ^~~~
1159 | pos = 1;
| ^~~
1161 | if (pos >= argc)
| ^~
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
1166 | value = posixtest ();
| ^~~~~
1168 | if (pos != argc)
| ^~
101 | # define test_exit(val) exit (val)
| ^~~~
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
1172 | }
| ^
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 141 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT seq.o -MD -MP -MF ".deps/seq.Tpo" \
-c -o seq.o `test -f 'seq.c' || echo './'`seq.c; \
then mv ".deps/seq.Tpo" ".deps/seq.Po"; \
else rm -f ".deps/seq.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
136 | fflush (stderr);
| ^~~~~~
101 | # define test_exit(val) exit (val)
| ^~~~
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~~
138 | }
| ^
150 | static int have_ids;
| ^~~~~~
150 | static int have_ids;
| ^~~
150 | static int have_ids;
| ^~~~~~~~
151 | static uid_t uid, euid;
| ^~~
151 | static uid_t uid, euid;
| ^~~~
152 | static gid_t gid, egid;
| ^~~
152 | static gid_t gid, egid;
| ^~~~
155 | if (have_ids == 0)
| ^~
165 | if (uid != euid)
| ^~
167 | if (gid != egid)
| ^~
170 | result = access (file, mode);
| ^~~~~~
173 | if (uid != euid)
| ^~
175 | if (gid != egid)
| ^~
178 | return result;
| ^~~~~~
179 | }
| ^
226 | test_syntax_error (_("argument expected\n"), NULL);
[command output truncated]
| ^~~~
954 | else if ((STREQ (argv[pos+1], "-a")) || (STREQ (argv[pos+1], "-o")) ||
| ^~~~
957 | else
| ^~~~
959 | return (value);
| ^~~~~~
960 | }
| ^
968 | int value;
| ^~~
970 | switch (argc - 1) /* one extra passed in */
| ^~~~~~
1004 | return (value);
| ^~~~~~
1005 | }
| ^
1016 | if (status != 0)
| ^~
1019 | else
| ^~~~
1101 | exit (status);
| ^~~~
1102 | }
| ^
1122 | int value;
| ^~~
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
1137 | atexit (close_stdout);
| ^~~~~~
1140 | argv = margv;
| ^~~~
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
1158 | argc = margc;
| ^~~~
1159 | pos = 1;
| ^~~
1161 | if (pos >= argc)
| ^~
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
1166 | value = posixtest ();
| ^~~~~
1168 | if (pos != argc)
| ^~
101 | # define test_exit(val) exit (val)
| ^~~~
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
1172 | }
| ^
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && make LDFLAGS="-lm -Wl,--no-as-needed" -j4 2>&1 | grep -v 'test.c' make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -Wl,--no-as-needed -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:254: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:260: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
136 | fflush (stderr);
| ^~~~~~
101 | # define test_exit(val) exit (val)
| ^~~~
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~~
138 | }
| ^
150 | static int have_ids;
| ^~~~~~
150 | static int have_ids;
| ^~~
150 | static int have_ids;
| ^~~~~~~~
151 | static uid_t uid, euid;
| ^~~
151 | static uid_t uid, euid;
| ^~~~
152 | static gid_t gid, egid;
| ^~~
152 | static gid_t gid, egid;
| ^~~~
155 | if (have_ids == 0)
| ^~
165 | if (uid != euid)
| ^~
167 | if (gid != egid)
| ^~
170 | result = access (file, mode);
| ^~~~~~
173 | if (uid != euid)
| ^~
175 | if (gid != egid)
| ^~
178 | return result;
| ^~~~~~
179 | }
[command output truncated]
949 | else if (binop (argv[pos+1]))
| ^~~~
954 | else if ((STREQ (argv[pos+1], "-a")) || (STREQ (argv[pos+1], "-o")) ||
| ^~~~
957 | else
| ^~~~
959 | return (value);
| ^~~~~~
960 | }
| ^
968 | int value;
| ^~~
970 | switch (argc - 1) /* one extra passed in */
| ^~~~~~
1004 | return (value);
| ^~~~~~
1005 | }
| ^
1016 | if (status != 0)
| ^~
1019 | else
| ^~~~
1101 | exit (status);
| ^~~~
1102 | }
| ^
1122 | int value;
| ^~~
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
1137 | atexit (close_stdout);
| ^~~~~~
1140 | argv = margv;
| ^~~~
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
1158 | argc = margc;
| ^~~~
1159 | pos = 1;
| ^~~
1161 | if (pos >= argc)
| ^~
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
1166 | value = posixtest ();
| ^~~~~
1168 | if (pos != argc)
| ^~
101 | # define test_exit(val) exit (val)
| ^~~~
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
1172 | }
| ^
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 141 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
if gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" \
then mv ".deps/test.Tpo" ".deps/test.Po"; \
else rm -f ".deps/test.Tpo"; exit 1; \
fi
gcc -g -O2 -lm -Wl,--no-as-needed -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:254: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:260: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1033: seq] Error 1
make[3]: *** Waiting for unfinished jobs....
134 | fprintf (stderr, "%s: ", argv[0]);
| ^~~~~~~
135 | fprintf (stderr, format, arg);
| ^~~~~~~
In file included from sys2.h:452,
from system.h:296,
../lib/unlocked-io.h:50:22: error: expected declaration specifiers before 'fflush_unlocked'
50 | # define fflush(x) fflush_unlocked (x)
| ^~~~~~~~~~~~~~~
136 | fflush (stderr);
| ^~~~~~
101 | # define test_exit(val) exit (val)
| ^~~~
137 | test_exit (SHELL_BOOLEAN (FALSE));
| ^~~~~~~~~
138 | }
| ^
150 | static int have_ids;
| ^~~~~~
150 | static int have_ids;
| ^~~
150 | static int have_ids;
| ^~~~~~~~
151 | static uid_t uid, euid;
| ^~~
151 | static uid_t uid, euid;
| ^~~~
152 | static gid_t gid, egid;
| ^~~
152 | static gid_t gid, egid;
| ^~~~
155 | if (have_ids == 0)
| ^~
165 | if (uid != euid)
| ^~
167 | if (gid != egid)
| ^~
170 | result = access (file, mode);
| ^~~~~~
173 | if (uid != euid)
| ^~
175 | if (gid != egid)
| ^~
178 | return result;
| ^~~~~~
179 | }
[command output truncated]
949 | else if (binop (argv[pos+1]))
| ^~~~
954 | else if ((STREQ (argv[pos+1], "-a")) || (STREQ (argv[pos+1], "-o")) ||
| ^~~~
957 | else
| ^~~~
959 | return (value);
| ^~~~~~
960 | }
| ^
968 | int value;
| ^~~
970 | switch (argc - 1) /* one extra passed in */
| ^~~~~~
1004 | return (value);
| ^~~~~~
1005 | }
| ^
1016 | if (status != 0)
| ^~
1019 | else
| ^~~~
1101 | exit (status);
| ^~~~
1102 | }
| ^
1122 | int value;
| ^~~
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
1137 | atexit (close_stdout);
| ^~~~~~
1140 | argv = margv;
| ^~~~
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
1158 | argc = margc;
| ^~~~
1159 | pos = 1;
| ^~~
1161 | if (pos >= argc)
| ^~
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
1166 | value = posixtest ();
| ^~~~~
1168 | if (pos != argc)
| ^~
101 | # define test_exit(val) exit (val)
| ^~~~
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
1172 | }
| ^
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && nm -D /lib/x86_64-linux-gnu/libm.so.6 | grep floor 000000000002cc40 i floor@@GLIBC_2.2.5
000000000003f290 i floorf@@GLIBC_2.2.5
000000000005e520 W floorf128@@GLIBC_2.26
000000000003f290 i floorf32@@GLIBC_2.27
000000000002cc40 i floorf32x@@GLIBC_2.27
000000000002cc40 i floorf64@@GLIBC_2.27
000000000001a8d0 W floorf64x@@GLIBC_2.27
000000000001a8d0 W floorl@@GLIBC_2.2.5
↓ 9 lines
000000000002cc40 i floor@@GLIBC_2.2.5 000000000003f290 i floorf@@GLIBC_2.2.5 000000000005e520 W floorf128@@GLIBC_2.26 000000000003f290 i floorf32@@GLIBC_2.27 000000000002cc40 i floorf32x@@GLIBC_2.27 000000000002cc40 i floorf64@@GLIBC_2.27 000000000001a8d0 W floorf64x@@GLIBC_2.27 000000000001a8d0 W floorl@@GLIBC_2.2.5
compile-bench> cd coreutils-5.0 && gcc -g -O2 -lm -Wl,--no-as-needed -o seq seq.o ../lib/libfetish.a && echo "seq compiled successfully" /usr/bin/ld: cannot find seq.o: No such file or directory
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
↓ 4 lines
/usr/bin/ld: cannot find seq.o: No such file or directory /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status
compile-bench> cd coreutils-5.0/src && gcc -DLOCALEDIR="/home/peter/result/share/locale" -DSHAREDIR="/home/peter/result/share" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -c -o seq.o seq.c && gcc -g -O2 -lm -Wl,--no-as-needed -o seq seq.o ../lib/libfetish.a && echo "seq compiled successfully" seq.c: In function 'main':
<command-line>: error: expected expression before '/' token
seq.c:345:28: note: in expansion of macro 'LOCALEDIR'
345 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~
↓ 6 lines
seq.c: In function 'main':
<command-line>: error: expected expression before '/' token
seq.c:345:28: note: in expansion of macro 'LOCALEDIR'
345 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~
compile-bench> cd coreutils-5.0/src && gcc -DLOCALEDIR=\"/home/peter/result/share/locale\" -DSHAREDIR=\"/home/peter/result/share\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -g -O2 -c -o seq.o seq.c && gcc -g -O2 -lm -Wl,--no-as-needed -o seq seq.o ../lib/libfetish.a && echo "seq compiled successfully" /usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:254: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:260: undefined reference to `floor'
collect2: error: ld returned 1 exit status
↓ 5 lines
/usr/bin/ld: seq.o: in function `get_width_format': /home/peter/coreutils-5.0/src/seq.c:254: undefined reference to `floor' /usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:260: undefined reference to `floor' collect2: error: ld returned 1 exit status
seq compiled successfully
compile-bench> cd coreutils-5.0 && make clean && make LDFLAGS="-Wl,--no-as-needed -lm" -j4 Making clean in tests
make[1]: Entering directory '/home/peter/coreutils-5.0/tests'
cd .. && /bin/bash ./config.status tests/Makefile
config.status: creating tests/Makefile
Making clean in wc
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/wc'
cd ../.. && /bin/bash ./config.status tests/wc/Makefile
config.status: creating tests/wc/Makefile
test -z "a0.O a0.E a1.O a1.E a2.O a2.E a3.O a3.E a4.O a4.E a5.O a5.E a6.O a6.E a7.O a7.E a8.O a8.E a9.O a9.E b0.O b0.E b1.O b1.E c0.O c0.E c1.O c1.E c2.O c2.E" || rm -f a0.O a0.E a1.O a1.E a2.O a2.E a3.O a3.E a4.O a4.E a5.O a5.E a6.O a6.E a7.O a7.E a8.O a8.E a9.O a9.E b0.O b0.E b1.O b1.E c0.O c0.E c1.O c1.E c2.O c2.E
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/wc'
Making clean in uniq
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/uniq'
cd ../.. && /bin/bash ./config.status tests/uniq/Makefile
config.status: creating tests/uniq/Makefile
test -z "1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.E 8.O 8.E 9.O 9.E 10.O 10.E 11.O 11.E 12.O 12.E 13.O 13.E 20.O 20.E 21.O 21.E 22.O 22.E 23.O 23.E obs30.O obs30.E 31.O 31.E 32.O 32.E 33.O 33.E 34.O 34.E 35.O 35.E obs40.O obs40.E obs41.O obs41.E 42.O 42.E 43.O 43.E obs44.O obs44.E obs45.O obs45.E 50.O 50.E 51.O 51.E 52.O 52.E 53.O 53.E 54.O 54.E 55.O 55.E 56.O 56.E 57.O 57.E 60.O 60.E 61.O 61.E 62.O 62.E 63.O 63.E 64.O 64.E 65.O 65.E 90.O 90.E 91.O 91.E 92.O 92.E 93.O 93.E 94.O 94.E 101.O 101.E 102.O 102.E 110.O 110.E 111.O 111.E 112.O 112.E 113.O 113.E 114.O 114.E 115.O 115.E 116.O 116.E 117.O 117.E 118.O 118.E 119.O 119.E" || rm -f 1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.E 8.O 8.E 9.O 9.E 10.O 10.E 11.O 11.E 12.O 12.E 13.O 13.E 20.O 20.E 21.O 21.E 22.O 22.E 23.O 23.E obs30.O obs30.E 31.O 31.E 32.O 32.E 33.O 33.E 34.O 34.E 35.O 35.E obs40.O obs40.E obs41.O obs41.E 42.O 42.E 43.O 43.E obs44.O obs44.E obs45.O obs45.E 50.O 50.E 51.O 51.E 52.O 52.E 53.O 53.E 54.O 54.E 55.O 55.E 56.O 56.E 57.O 57.E 60.O 60.E 61.O 61.E 62.O 62.E 63.O 63.E 64.O 64.E 65.O 65.E 90.O 90.E 91.O 91.E 92.O 92.E 93.O 93.E 94.O 94.E 101.O 101.E 102.O 102.E 110.O 110.E 111.O 111.E 112.O 112.E 113.O 113.E 114.O 114.E 115.O 115.E 116.O 116.E 117.O 117.E 118.O 118.E 119.O 119.E
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/uniq'
Making clean in unexpand
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/unexpand'
cd ../.. && /bin/bash ./config.status tests/unexpand/Makefile
config.status: creating tests/unexpand/Makefile
make[2]: Nothing to be done for 'clean'.
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/unexpand'
Making clean in tsort
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/tsort'
cd ../.. && /bin/bash ./config.status tests/tsort/Makefile
config.status: creating tests/tsort/Makefile
make[2]: Nothing to be done for 'clean'.
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/tsort'
Making clean in tr
make[2]: Entering directory '/home/peter/co
[command output truncated]
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 102 lines
Making clean in tests
make[1]: Entering directory '/home/peter/coreutils-5.0/tests'
cd .. && /bin/bash ./config.status tests/Makefile
config.status: creating tests/Makefile
Making clean in wc
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/wc'
cd ../.. && /bin/bash ./config.status tests/wc/Makefile
config.status: creating tests/wc/Makefile
test -z "a0.O a0.E a1.O a1.E a2.O a2.E a3.O a3.E a4.O a4.E a5.O a5.E a6.O a6.E a7.O a7.E a8.O a8.E a9.O a9.E b0.O b0.E b1.O b1.E c0.O c0.E c1.O c1.E c2.O c2.E" || rm -f a0.O a0.E a1.O a1.E a2.O a2.E a3.O a3.E a4.O a4.E a5.O a5.E a6.O a6.E a7.O a7.E a8.O a8.E a9.O a9.E b0.O b0.E b1.O b1.E c0.O c0.E c1.O c1.E c2.O c2.E
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/wc'
Making clean in uniq
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/uniq'
cd ../.. && /bin/bash ./config.status tests/uniq/Makefile
config.status: creating tests/uniq/Makefile
test -z "1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.E 8.O 8.E 9.O 9.E 10.O 10.E 11.O 11.E 12.O 12.E 13.O 13.E 20.O 20.E 21.O 21.E 22.O 22.E 23.O 23.E obs30.O obs30.E 31.O 31.E 32.O 32.E 33.O 33.E 34.O 34.E 35.O 35.E obs40.O obs40.E obs41.O obs41.E 42.O 42.E 43.O 43.E obs44.O obs44.E obs45.O obs45.E 50.O 50.E 51.O 51.E 52.O 52.E 53.O 53.E 54.O 54.E 55.O 55.E 56.O 56.E 57.O 57.E 60.O 60.E 61.O 61.E 62.O 62.E 63.O 63.E 64.O 64.E 65.O 65.E 90.O 90.E 91.O 91.E 92.O 92.E 93.O 93.E 94.O 94.E 101.O 101.E 102.O 102.E 110.O 110.E 111.O 111.E 112.O 112.E 113.O 113.E 114.O 114.E 115.O 115.E 116.O 116.E 117.O 117.E 118.O 118.E 119.O 119.E" || rm -f 1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.E 8.O 8.E 9.O 9.E 10.O 10.E 11.O 11.E 12.O 12.E 13.O 13.E 20.O 20.E 21.O 21.E 22.O 22.E 23.O 23.E obs30.O obs30.E 31.O 31.E 32.O 32.E 33.O 33.E 34.O 34.E 35.O 35.E obs40.O obs40.E obs41.O obs41.E 42.O 42.E 43.O 43.E obs44.O obs44.E obs45.O obs45.E 50.O 50.E 51.O 51.E 52.O 52.E 53.O 53.E 54.O 54.E 55.O 55.E 56.O 56.E 57.O 57.E 60.O 60.E 61.O 61.E 62.O 62.E 63.O 63.E 64.O 64.E 65.O 65.E 90.O 90.E 91.O 91.E 92.O 92.E 93.O 93.E 94.O 94.E 101.O 101.E 102.O 102.E 110.O 110.E 111.O 111.E 112.O 112.E 113.O 113.E 114.O 114.E 115.O 115.E 116.O 116.E 117.O 117.E 118.O 118.E 119.O 119.E
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/uniq'
Making clean in unexpand
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/unexpand'
cd ../.. && /bin/bash ./config.status tests/unexpand/Makefile
config.status: creating tests/unexpand/Makefile
make[2]: Nothing to be done for 'clean'.
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/unexpand'
Making clean in tsort
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/tsort'
cd ../.. && /bin/bash ./config.status tests/tsort/Makefile
config.status: creating tests/tsort/Makefile
make[2]: Nothing to be done for 'clean'.
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/tsort'
Making clean in tr
make[2]: Entering directory '/home/peter/co
[command output truncated]
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && sed -i 's/^#include "system.h"/#include "system.h"\n#ifdef __GLIBC__\n#include <math.h>\n#endif/' src/seq.c && make LDFLAGS="-Wl,--no-as-needed -lm" -j4 make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
gcc -g -O2 -Wl,--no-as-needed -lm -o chgrp chgrp.o chown-core.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o chown chown.o chown-core.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o chmod chmod.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o cp cp.o copy.o cp-hash.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o dd dd.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o dircolors dircolors.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o du du.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o ginstall install.o copy.o cp-hash.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o link link.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o ln ln.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o dir ls.o ls-dir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o vdir ls.o ls-vdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o ls ls.o ls-ls.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o mkdir mkdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o mkfifo mkfifo.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o mknod mknod.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o mv mv.o copy.o cp-hash.o remove.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o readlink readlink.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o rm rm.o remove.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o rmdir rmdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o shred shred.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o stat stat.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o sync sync.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o touch touch.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o unlink unlink.o ../lib/libfetish.a ../
[command output truncated]
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 110 lines
make all-recursive
make[1]: Entering directory '/home/peter/coreutils-5.0'
Making all in lib
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making all in src
make[2]: Entering directory '/home/peter/coreutils-5.0/src'
make all-am
make[3]: Entering directory '/home/peter/coreutils-5.0/src'
gcc -g -O2 -Wl,--no-as-needed -lm -o chgrp chgrp.o chown-core.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o chown chown.o chown-core.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o chmod chmod.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o cp cp.o copy.o cp-hash.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o dd dd.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o dircolors dircolors.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o du du.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o ginstall install.o copy.o cp-hash.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o link link.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o ln ln.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o dir ls.o ls-dir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o vdir ls.o ls-vdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o ls ls.o ls-ls.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o mkdir mkdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o mkfifo mkfifo.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o mknod mknod.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o mv mv.o copy.o cp-hash.o remove.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o readlink readlink.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o rm rm.o remove.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o rmdir rmdir.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o shred shred.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o stat stat.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o sync sync.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o touch touch.o ../lib/libfetish.a ../lib/libfetish.a
gcc -g -O2 -Wl,--no-as-needed -lm -o unlink unlink.o ../lib/libfetish.a ../
[command output truncated]
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
compile-bench> cd coreutils-5.0 && make install Making install in lib
make[1]: Entering directory '/home/peter/coreutils-5.0/lib'
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
/bin/sh ../config/mkinstalldirs /home/peter/result/lib
mkdir -p -- /home/peter/result/lib
if test -f /home/peter/result/lib/charset.alias; then \
sed -f ref-add.sed /home/peter/result/lib/charset.alias > /home/peter/result/lib/charset.tmp ; \
/usr/bin/install -c -m 644 /home/peter/result/lib/charset.tmp /home/peter/result/lib/charset.alias ; \
rm -f /home/peter/result/lib/charset.tmp ; \
else \
if test yes = no; then \
sed -f ref-add.sed charset.alias > /home/peter/result/lib/charset.tmp ; \
/usr/bin/install -c -m 644 /home/peter/result/lib/charset.tmp /home/peter/result/lib/charset.alias ; \
rm -f /home/peter/result/lib/charset.tmp ; \
fi ; \
fi
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[1]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making install in src
make[1]: Entering directory '/home/peter/coreutils-5.0/src'
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:257: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:263: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1033: seq] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0/src'
make: *** [Makefile:244: install-recursive] Error 1
↓ 30 lines
Making install in lib
make[1]: Entering directory '/home/peter/coreutils-5.0/lib'
make[2]: Entering directory '/home/peter/coreutils-5.0/lib'
/bin/sh ../config/mkinstalldirs /home/peter/result/lib
mkdir -p -- /home/peter/result/lib
if test -f /home/peter/result/lib/charset.alias; then \
sed -f ref-add.sed /home/peter/result/lib/charset.alias > /home/peter/result/lib/charset.tmp ; \
/usr/bin/install -c -m 644 /home/peter/result/lib/charset.tmp /home/peter/result/lib/charset.alias ; \
rm -f /home/peter/result/lib/charset.tmp ; \
else \
if test yes = no; then \
sed -f ref-add.sed charset.alias > /home/peter/result/lib/charset.tmp ; \
/usr/bin/install -c -m 644 /home/peter/result/lib/charset.tmp /home/peter/result/lib/charset.alias ; \
rm -f /home/peter/result/lib/charset.tmp ; \
fi ; \
fi
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/peter/coreutils-5.0/lib'
make[1]: Leaving directory '/home/peter/coreutils-5.0/lib'
Making install in src
make[1]: Entering directory '/home/peter/coreutils-5.0/src'
gcc -g -O2 -lm -o seq seq.o ../lib/libfetish.a ../lib/libfetish.a
/usr/bin/ld: seq.o: in function `get_width_format':
/home/peter/coreutils-5.0/src/seq.c:257: undefined reference to `floor'
/usr/bin/ld: /home/peter/coreutils-5.0/src/seq.c:263: undefined reference to `floor'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1033: seq] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0/src'
make: *** [Makefile:244: install-recursive] Error 1
compile-bench> cd coreutils-5.0 && sed -i 's/^#include "system.h"/#include "system.h"\n#include <math.h>/' src/seq.c && make clean && make LDFLAGS="-Wl,--no-as-needed -lm" -j4 && make install Making clean in tests
make[1]: Entering directory '/home/peter/coreutils-5.0/tests'
Making clean in wc
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/wc'
test -z "a0.O a0.E a1.O a1.E a2.O a2.E a3.O a3.E a4.O a4.E a5.O a5.E a6.O a6.E a7.O a7.E a8.O a8.E a9.O a9.E b0.O b0.E b1.O b1.E c0.O c0.E c1.O c1.E c2.O c2.E" || rm -f a0.O a0.E a1.O a1.E a2.O a2.E a3.O a3.E a4.O a4.E a5.O a5.E a6.O a6.E a7.O a7.E a8.O a8.E a9.O a9.E b0.O b0.E b1.O b1.E c0.O c0.E c1.O c1.E c2.O c2.E
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/wc'
Making clean in uniq
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/uniq'
test -z "1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.E 8.O 8.E 9.O 9.E 10.O 10.E 11.O 11.E 12.O 12.E 13.O 13.E 20.O 20.E 21.O 21.E 22.O 22.E 23.O 23.E obs30.O obs30.E 31.O 31.E 32.O 32.E 33.O 33.E 34.O 34.E 35.O 35.E obs40.O obs40.E obs41.O obs41.E 42.O 42.E 43.O 43.E obs44.O obs44.E obs45.O obs45.E 50.O 50.E 51.O 51.E 52.O 52.E 53.O 53.E 54.O 54.E 55.O 55.E 56.O 56.E 57.O 57.E 60.O 60.E 61.O 61.E 62.O 62.E 63.O 63.E 64.O 64.E 65.O 65.E 90.O 90.E 91.O 91.E 92.O 92.E 93.O 93.E 94.O 94.E 101.O 101.E 102.O 102.E 110.O 110.E 111.O 111.E 112.O 112.E 113.O 113.E 114.O 114.E 115.O 115.E 116.O 116.E 117.O 117.E 118.O 118.E 119.O 119.E" || rm -f 1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.E 8.O 8.E 9.O 9.E 10.O 10.E 11.O 11.E 12.O 12.E 13.O 13.E 20.O 20.E 21.O 21.E 22.O 22.E 23.O 23.E obs30.O obs30.E 31.O 31.E 32.O 32.E 33.O 33.E 34.O 34.E 35.O 35.E obs40.O obs40.E obs41.O obs41.E 42.O 42.E 43.O 43.E obs44.O obs44.E obs45.O obs45.E 50.O 50.E 51.O 51.E 52.O 52.E 53.O 53.E 54.O 54.E 55.O 55.E 56.O 56.E 57.O 57.E 60.O 60.E 61.O 61.E 62.O 62.E 63.O 63.E 64.O 64.E 65.O 65.E 90.O 90.E 91.O 91.E 92.O 92.E 93.O 93.E 94.O 94.E 101.O 101.E 102.O 102.E 110.O 110.E 111.O 111.E 112.O 112.E 113.O 113.E 114.O 114.E 115.O 115.E 116.O 116.E 117.O 117.E 118.O 118.E 119.O 119.E
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/uniq'
Making clean in unexpand
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/unexpand'
make[2]: Nothing to be done for 'clean'.
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/unexpand'
Making clean in tsort
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/tsort'
make[2]: Nothing to be done for 'clean'.
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/tsort'
Making clean in tr
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/tr'
test -z "1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.E 8.O 8.E 9.O 9.E a.O a.E b.O b.E c.O c.E d.O d.E e.O e.E f.O f.E g.O g.E h.O h.E i.O i.E j.O j.E k.O k.E l.O l.E m.O m.E n.O n.E o.O o.E p.O p.E q.O q.E r.O r.E s.O s.E t.O t.E u.O u.E v.O v.E w.O w.E x.O x.E y.O y.E z.O z.E range-a-a.O range-a-a.E null.O null.E upcase.O upcase.E dncase.O dncase.E rep-cclass.O rep-cclass.E rep-1.O rep-1.E rep-2.O rep-2.E rep-3.O rep-3.E o-rep-1.O o-rep-1.E o-rep-2.O o-rep-2.E esc.O esc.E ross-0
[command output truncated]
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
↓ 93 lines
Making clean in tests
make[1]: Entering directory '/home/peter/coreutils-5.0/tests'
Making clean in wc
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/wc'
test -z "a0.O a0.E a1.O a1.E a2.O a2.E a3.O a3.E a4.O a4.E a5.O a5.E a6.O a6.E a7.O a7.E a8.O a8.E a9.O a9.E b0.O b0.E b1.O b1.E c0.O c0.E c1.O c1.E c2.O c2.E" || rm -f a0.O a0.E a1.O a1.E a2.O a2.E a3.O a3.E a4.O a4.E a5.O a5.E a6.O a6.E a7.O a7.E a8.O a8.E a9.O a9.E b0.O b0.E b1.O b1.E c0.O c0.E c1.O c1.E c2.O c2.E
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/wc'
Making clean in uniq
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/uniq'
test -z "1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.E 8.O 8.E 9.O 9.E 10.O 10.E 11.O 11.E 12.O 12.E 13.O 13.E 20.O 20.E 21.O 21.E 22.O 22.E 23.O 23.E obs30.O obs30.E 31.O 31.E 32.O 32.E 33.O 33.E 34.O 34.E 35.O 35.E obs40.O obs40.E obs41.O obs41.E 42.O 42.E 43.O 43.E obs44.O obs44.E obs45.O obs45.E 50.O 50.E 51.O 51.E 52.O 52.E 53.O 53.E 54.O 54.E 55.O 55.E 56.O 56.E 57.O 57.E 60.O 60.E 61.O 61.E 62.O 62.E 63.O 63.E 64.O 64.E 65.O 65.E 90.O 90.E 91.O 91.E 92.O 92.E 93.O 93.E 94.O 94.E 101.O 101.E 102.O 102.E 110.O 110.E 111.O 111.E 112.O 112.E 113.O 113.E 114.O 114.E 115.O 115.E 116.O 116.E 117.O 117.E 118.O 118.E 119.O 119.E" || rm -f 1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.E 8.O 8.E 9.O 9.E 10.O 10.E 11.O 11.E 12.O 12.E 13.O 13.E 20.O 20.E 21.O 21.E 22.O 22.E 23.O 23.E obs30.O obs30.E 31.O 31.E 32.O 32.E 33.O 33.E 34.O 34.E 35.O 35.E obs40.O obs40.E obs41.O obs41.E 42.O 42.E 43.O 43.E obs44.O obs44.E obs45.O obs45.E 50.O 50.E 51.O 51.E 52.O 52.E 53.O 53.E 54.O 54.E 55.O 55.E 56.O 56.E 57.O 57.E 60.O 60.E 61.O 61.E 62.O 62.E 63.O 63.E 64.O 64.E 65.O 65.E 90.O 90.E 91.O 91.E 92.O 92.E 93.O 93.E 94.O 94.E 101.O 101.E 102.O 102.E 110.O 110.E 111.O 111.E 112.O 112.E 113.O 113.E 114.O 114.E 115.O 115.E 116.O 116.E 117.O 117.E 118.O 118.E 119.O 119.E
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/uniq'
Making clean in unexpand
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/unexpand'
make[2]: Nothing to be done for 'clean'.
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/unexpand'
Making clean in tsort
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/tsort'
make[2]: Nothing to be done for 'clean'.
make[2]: Leaving directory '/home/peter/coreutils-5.0/tests/tsort'
Making clean in tr
make[2]: Entering directory '/home/peter/coreutils-5.0/tests/tr'
test -z "1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.E 8.O 8.E 9.O 9.E a.O a.E b.O b.E c.O c.E d.O d.E e.O e.E f.O f.E g.O g.E h.O h.E i.O i.E j.O j.E k.O k.E l.O l.E m.O m.E n.O n.E o.O o.E p.O p.E q.O q.E r.O r.E s.O s.E t.O t.E u.O u.E v.O v.E w.O w.E x.O x.E y.O y.E z.O z.E range-a-a.O range-a-a.E null.O null.E upcase.O upcase.E dncase.O dncase.E rep-cclass.O rep-cclass.E rep-1.O rep-1.E rep-2.O rep-2.E rep-3.O rep-3.E o-rep-1.O o-rep-1.E o-rep-2.O o-rep-2.E esc.O esc.E ross-0
[command output truncated]
| ^~~~
test.c:1101:3: error: expected declaration specifiers before 'exit'
1101 | exit (status);
| ^~~~
test.c:1102:1: error: expected declaration specifiers before '}' token
1102 | }
| ^
test.c:1122:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1122 | int value;
| ^~~
test.c:1132:3: error: expected declaration specifiers before 'program_name'
1132 | program_name = margv[0];
| ^~~~~~~~~~~~
test.c:1133:3: error: expected declaration specifiers before 'setlocale'
1133 | setlocale (LC_ALL, "");
| ^~~~~~~~~
test.c:1134:3: error: expected declaration specifiers before 'bindtextdomain'
1134 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
test.c:1135:3: error: expected declaration specifiers before 'textdomain'
1135 | textdomain (PACKAGE);
| ^~~~~~~~~~
test.c:1137:3: error: expected declaration specifiers before 'atexit'
1137 | atexit (close_stdout);
| ^~~~~~
test.c:1140:3: error: expected declaration specifiers before 'argv'
1140 | argv = margv;
| ^~~~
test.c:1142:3: error: expected declaration specifiers before 'if'
1142 | if (margv[0] && strcmp (margv[0], "[") == 0)
| ^~
test.c:1158:3: error: expected declaration specifiers before 'argc'
1158 | argc = margc;
| ^~~~
test.c:1159:3: error: expected declaration specifiers before 'pos'
1159 | pos = 1;
| ^~~
test.c:1161:3: error: expected declaration specifiers before 'if'
1161 | if (pos >= argc)
| ^~
test.c:1164:3: error: expected declaration specifiers before 'parse_long_options'
1164 | parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
| ^~~~~~~~~~~~~~~~~~
test.c:1166:3: error: expected declaration specifiers before 'value'
1166 | value = posixtest ();
| ^~~~~
test.c:1168:3: error: expected declaration specifiers before 'if'
1168 | if (pos != argc)
| ^~
test.c:101:25: error: expected declaration specifiers before 'exit'
101 | # define test_exit(val) exit (val)
| ^~~~
test.c:1171:3: note: in expansion of macro 'test_exit'
1171 | test_exit (SHELL_BOOLEAN (value));
| ^~~~~~~~~
test.c:1172:1: error: expected declaration specifiers before '}' token
1172 | }
| ^
test.c:130:1: error: old-style parameter declarations in prototyped function definition
130 | test_syntax_error (char const *format, char const *arg)
| ^~~~~~~~~~~~~~~~~
test.c:1173: error: expected '{' at end of input
make[3]: *** [Makefile:1263: test.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peter/coreutils-5.0/src'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '/home/peter/coreutils-5.0/src'
make[1]: *** [Makefile:244: all-recursive] Error 1
make[1]: Leaving directory '/home/peter/coreutils-5.0'
make: *** [Makefile:199: all] Error 2
Compilation bypassed for object files
[empty output]
compile-bench> cd coreutils-5.0 && find . -name "*.o" -exec echo "Processing: {}" \; -exec gcc -g -O2 -Wl,--no-as-needed -lm -o /home/peter/result/bin/$(basename {} .o) {} ../lib/libfetish.a \; 2>/dev/null && ls /home/peter/result/bin Processing: ./lib/linebuffer.o
Processing: ./lib/getopt1.o
Processing: ./lib/xgethostname.o
Processing: ./lib/argmatch.o
Processing: ./lib/sha.o
Processing: ./lib/posixtm.o
Processing: ./lib/savedir.o
Processing: ./lib/localcharset.o
Processing: ./lib/dup-safer.o
Processing: ./lib/umaxtostr.o
Processing: ./lib/getugroups.o
Processing: ./lib/hash.o
Processing: ./lib/getopt.o
Processing: ./lib/acl.o
Processing: ./lib/readtokens.o
Processing: ./lib/file-type.o
Processing: ./lib/human.o
Processing: ./lib/modechange.o
Processing: ./lib/isdir.o
Processing: ./lib/mbswidth.o
Processing: ./lib/closeout.o
Processing: ./lib/exitfail.o
Processing: ./lib/posixver.o
Processing: ./lib/getcwd.o
Processing: ./lib/dirname.o
Processing: ./lib/sig2str.o
Processing: ./lib/xstrdup.o
Processing: ./lib/ftw.o
Processing: ./lib/md5.o
Processing: ./lib/canon-host.o
Processing: ./lib/readutmp.o
Processing: ./lib/xstrtoumax.o
Processing: ./lib/imaxtostr.o
Processing: ./lib/quote.o
Processing: ./lib/idcache.o
Processing: ./lib/memcoll.o
Processing: ./lib/xstrtoul.o
Processing: ./lib/basename.o
Processing: ./lib/strnlen.o
Processing: ./lib/xstrtol.o
Processing: ./lib/userspec.o
Processing: ./lib/strftime.o
Processing: ./lib/version-etc.o
Processing: ./lib/safe-write.o
Processing: ./lib/exclude.o
Processing: ./lib/physmem.o
Processing: ./lib/save-cwd.o
Processing: ./lib/getstr.o
Processing: ./lib/safe-read.o
Processing: ./lib/gettime.o
Processing: ./lib/full-write.o
Processing: ./lib/xgetcwd.o
Processing: ./lib/xreadlink.o
Processing: ./lib/quotearg.o
Processing: ./lib/same.o
Processing: ./lib/xmemcoll.o
Processing: ./lib/path-concat.o
Processing: ./lib/makepath.o
Processing: ./lib/settime.o
Processing: ./lib/xnanosleep.o
Processing: ./lib/stripslash.o
Processing: ./lib/xstrtoimax.o
Processing: ./lib/offtostr.o
Processing: ./lib/addext.o
Processing: ./lib/cycle-check.o
Processing: ./lib/fopen-safer.o
Processing: ./lib/xmalloc.o
Processing: ./lib/diacrit.o
Processing: ./lib/long-options.o
Processing: ./lib/getdate.o
[command output truncated]
Processing: ./src/mknod.o
Processing: ./src/sleep.o
Processing: ./src/ln.o
Processing: ./src/chmod.o
Processing: ./src/printenv.o
Processing: ./src/readlink.o
Processing: ./src/ls.o
Processing: ./src/mkfifo.o
Processing: ./src/head.o
Processing: ./src/mv.o
Processing: ./src/chown-core.o
Processing: ./src/echo.o
Processing: ./src/link.o
Processing: ./src/dirname.o
Processing: ./src/kill.o
Processing: ./src/ls-vdir.o
Processing: ./src/ls-ls.o
Processing: ./src/md5sum.o
Processing: ./src/wc.o
Processing: ./src/nl.o
Processing: ./src/md5.o
Processing: ./src/tail.o
Processing: ./src/unexpand.o
Processing: ./src/unlink.o
Processing: ./src/remove.o
Processing: ./src/basename.o
Processing: ./src/csplit.o
Processing: ./src/pathchk.o
Processing: ./src/false.o
Processing: ./src/true.o
Processing: ./src/hostname.o
Processing: ./src/rm.o
Processing: ./src/tee.o
Processing: ./src/cut.o
Processing: ./src/env.o
Processing: ./src/paste.o
Processing: ./src/stat.o
Processing: ./src/printf.o
Processing: ./src/dd.o
Processing: ./src/chgrp.o
Processing: ./src/tr.o
Processing: ./src/seq.o
Processing: ./src/split.o
Processing: ./src/join.o
Processing: ./src/comm.o
Processing: ./src/tsort.o
Processing: ./src/factor.o
Processing: ./src/sort.o
Processing: ./src/od.o
Processing: ./src/date.o
Processing: ./src/fmt.o
Processing: ./src/pwd.o
Processing: ./src/sum.o
Processing: ./src/tac.o
Processing: ./src/rmdir.o
Processing: ./src/dircolors.o
Processing: ./src/touch.o
Processing: ./src/du.o
Processing: ./src/cp-hash.o
Processing: ./src/chown.o
Processing: ./src/id.o
Processing: ./src/expr.o
Processing: ./src/mkdir.o
Processing: ./src/pr.o
Processing: ./src/cp.o
Processing: ./src/logname.o
Processing: ./src/expand.o
Processing: ./src/copy.o
Processing: ./src/shred.o
↓ 141 lines
Processing: ./lib/linebuffer.o Processing: ./lib/getopt1.o Processing: ./lib/xgethostname.o Processing: ./lib/argmatch.o Processing: ./lib/sha.o Processing: ./lib/posixtm.o Processing: ./lib/savedir.o Processing: ./lib/localcharset.o Processing: ./lib/dup-safer.o Processing: ./lib/umaxtostr.o Processing: ./lib/getugroups.o Processing: ./lib/hash.o Processing: ./lib/getopt.o Processing: ./lib/acl.o Processing: ./lib/readtokens.o Processing: ./lib/file-type.o Processing: ./lib/human.o Processing: ./lib/modechange.o Processing: ./lib/isdir.o Processing: ./lib/mbswidth.o Processing: ./lib/closeout.o Processing: ./lib/exitfail.o Processing: ./lib/posixver.o Processing: ./lib/getcwd.o Processing: ./lib/dirname.o Processing: ./lib/sig2str.o Processing: ./lib/xstrdup.o Processing: ./lib/ftw.o Processing: ./lib/md5.o Processing: ./lib/canon-host.o Processing: ./lib/readutmp.o Processing: ./lib/xstrtoumax.o Processing: ./lib/imaxtostr.o Processing: ./lib/quote.o Processing: ./lib/idcache.o Processing: ./lib/memcoll.o Processing: ./lib/xstrtoul.o Processing: ./lib/basename.o Processing: ./lib/strnlen.o Processing: ./lib/xstrtol.o Processing: ./lib/userspec.o Processing: ./lib/strftime.o Processing: ./lib/version-etc.o Processing: ./lib/safe-write.o Processing: ./lib/exclude.o Processing: ./lib/physmem.o Processing: ./lib/save-cwd.o Processing: ./lib/getstr.o Processing: ./lib/safe-read.o Processing: ./lib/gettime.o Processing: ./lib/full-write.o Processing: ./lib/xgetcwd.o Processing: ./lib/xreadlink.o Processing: ./lib/quotearg.o Processing: ./lib/same.o Processing: ./lib/xmemcoll.o Processing: ./lib/path-concat.o Processing: ./lib/makepath.o Processing: ./lib/settime.o Processing: ./lib/xnanosleep.o Processing: ./lib/stripslash.o Processing: ./lib/xstrtoimax.o Processing: ./lib/offtostr.o Processing: ./lib/addext.o Processing: ./lib/cycle-check.o Processing: ./lib/fopen-safer.o Processing: ./lib/xmalloc.o Processing: ./lib/diacrit.o Processing: ./lib/long-options.o Processing: ./lib/getdate.o [command output truncated] Processing: ./src/mknod.o Processing: ./src/sleep.o Processing: ./src/ln.o Processing: ./src/chmod.o Processing: ./src/printenv.o Processing: ./src/readlink.o Processing: ./src/ls.o Processing: ./src/mkfifo.o Processing: ./src/head.o Processing: ./src/mv.o Processing: ./src/chown-core.o Processing: ./src/echo.o Processing: ./src/link.o Processing: ./src/dirname.o Processing: ./src/kill.o Processing: ./src/ls-vdir.o Processing: ./src/ls-ls.o Processing: ./src/md5sum.o Processing: ./src/wc.o Processing: ./src/nl.o Processing: ./src/md5.o Processing: ./src/tail.o Processing: ./src/unexpand.o Processing: ./src/unlink.o Processing: ./src/remove.o Processing: ./src/basename.o Processing: ./src/csplit.o Processing: ./src/pathchk.o Processing: ./src/false.o Processing: ./src/true.o Processing: ./src/hostname.o Processing: ./src/rm.o Processing: ./src/tee.o Processing: ./src/cut.o Processing: ./src/env.o Processing: ./src/paste.o Processing: ./src/stat.o Processing: ./src/printf.o Processing: ./src/dd.o Processing: ./src/chgrp.o Processing: ./src/tr.o Processing: ./src/seq.o Processing: ./src/split.o Processing: ./src/join.o Processing: ./src/comm.o Processing: ./src/tsort.o Processing: ./src/factor.o Processing: ./src/sort.o Processing: ./src/od.o Processing: ./src/date.o Processing: ./src/fmt.o Processing: ./src/pwd.o Processing: ./src/sum.o Processing: ./src/tac.o Processing: ./src/rmdir.o Processing: ./src/dircolors.o Processing: ./src/touch.o Processing: ./src/du.o Processing: ./src/cp-hash.o Processing: ./src/chown.o Processing: ./src/id.o Processing: ./src/expr.o Processing: ./src/mkdir.o Processing: ./src/pr.o Processing: ./src/cp.o Processing: ./src/logname.o Processing: ./src/expand.o Processing: ./src/copy.o Processing: ./src/shred.o
[empty output]
[empty output]
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result/bin && for obj in src/*.o; do if [ -f "$obj" ]; then base=$(basename $obj .o); gcc -g -O2 -Wl,--no-as-needed -lm -o /home/peter/result/bin/$base $obj ../lib/libfetish.a && echo "Compiled: $base"; fi; done && ls /home/peter/result/bin /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned
[command output truncated]
not find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory
collect2: error: ld returned 1 exit status
↓ 106 lines
/usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned [command output truncated] not find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find ../lib/libfetish.a: No such file or directory collect2: error: ld returned 1 exit status
-rw-r--r-- 1 peter peter 1058386 Sep 16 09:15 lib/libfetish.a
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result/bin && for obj in src/*.o; do if [ -f "$obj" ]; then base=$(basename $obj .o); gcc -g -O2 -Wl,--no-as-needed -lm -o /home/peter/result/bin/$base $obj lib/libfetish.a && echo "Compiled: $base"; fi; done && ls /home/peter/result/bin Compiled: basename
Compiled: cat
/usr/bin/ld: src/chgrp.o: in function `main':
/home/peter/coreutils-5.0/src/chgrp.c:172: undefined reference to `chopt_init'
/usr/bin/ld: /home/peter/coreutils-5.0/src/chgrp.c:221: undefined reference to `gid_to_name'
/usr/bin/ld: /home/peter/coreutils-5.0/src/chgrp.c:231: undefined reference to `change_file_owner'
/usr/bin/ld: /home/peter/coreutils-5.0/src/chgrp.c:234: undefined reference to `chopt_free'
collect2: error: ld returned 1 exit status
Compiled: chmod
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status
/usr/bin/ld: src/chown.o: in function `main':
/home/peter/coreutils-5.0/src/chown.c:163: undefined reference to `chopt_init'
/usr/bin/ld: /home/peter/coreutils-5.0/src/chown.c:225: undefined reference to `uid_to_name'
/usr/bin/ld: /home/peter/coreutils-5.0/src/chown.c:226: undefined reference to `gid_to_name'
/usr/bin/ld: /home/peter/coreutils-5.0/src/chown.c:243: undefined reference to `change_file_owner'
/usr/bin/ld: /home/peter/coreutils-5.0/src/chown.c:246: undefined reference to `chopt_free'
collect2: error: ld returned 1 exit status
Compiled: cksum
Compiled: comm
/usr/bin/ld: src/copy.o: warning: relocation against `program_name' in read-only section `.text'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
/usr/bin/ld: src/copy.o: in function `overwrite_prompt':
/home/peter/coreutils-5.0/src/copy.c:609: undefined reference to `program_name'
/usr/bin/ld: /home/peter/coreutils-5.0/src/copy.c:616: undefined reference to `program_name'
/usr/bin/ld: src/copy.o: in function `copy_internal':
/home/peter/coreutils-5.0/src/copy.c:1082: undefined reference to `remember_copied'
/usr/bin/ld: /home/peter/coreutils-5.0/src/copy.c:1566: undefined reference to `forget_created'
/usr/bin/ld: /home/peter/coreutils-5.0/src/copy.c:1082: undefined reference to `remember_copied'
/usr/bin/ld: /home/peter/coreutils-5.0/src/copy.c:1297: undefined reference to `remember_created'
/usr/bin/ld: /home/peter/coreutils-5.0/src/copy.c:1243: undefined reference to `forget_created'
/usr/bin/ld: lib/libfetish.a(argmatch.o): in function `__argmatch_die':
/home/peter/coreutils-5.0/lib/argmatch.c:65: undefined reference to `usage'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status
/usr/bin/ld: src/cp.o: in function `do_copy':
/home/peter/coreutils-5.0/src/cp.c:515: undefined reference to `dest_info_init'
/usr/bin/ld: /home/peter/coreutils-5.0/src/cp.c:516: undefined reference to `src_info_init'
/usr/bin/ld: /home/peter/coreutils-5.0/sr
[command output truncated]
eter/coreutils-5.0/src/md5sum.c:150: undefined reference to `algorithm'
/usr/bin/ld: src/md5sum.o: in function `main':
/home/peter/coreutils-5.0/src/md5sum.c:554: undefined reference to `algorithm'
/usr/bin/ld: /home/peter/coreutils-5.0/src/md5sum.c:559: undefined reference to `algorithm'
/usr/bin/ld: src/md5sum.o:/home/peter/coreutils-5.0/src/md5sum.c:602: more undefined references to `algorithm' follow
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
Compiled: mkdir
Compiled: mkfifo
Compiled: mknod
/usr/bin/ld: src/mv.o: in function `do_move':
/home/peter/coreutils-5.0/src/mv.c:183: undefined reference to `copy'
/usr/bin/ld: /home/peter/coreutils-5.0/src/mv.c:245: undefined reference to `rm'
/usr/bin/ld: /home/peter/coreutils-5.0/src/mv.c:180: undefined reference to `hash_init'
/usr/bin/ld: src/mv.o: in function `main':
/home/peter/coreutils-5.0/src/mv.c:498: undefined reference to `dest_info_init'
collect2: error: ld returned 1 exit status
Compiled: nl
Compiled: od
Compiled: paste
Compiled: pathchk
Compiled: pr
Compiled: printenv
Compiled: printf
Compiled: ptx
Compiled: pwd
Compiled: readlink
/usr/bin/ld: src/remove.o: warning: relocation against `program_name' in read-only section `.text'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
/usr/bin/ld: src/remove.o: in function `prompt':
/home/peter/coreutils-5.0/src/remove.c:612: undefined reference to `program_name'
/usr/bin/ld: /home/peter/coreutils-5.0/src/remove.c:601: undefined reference to `program_name'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
/usr/bin/ld: src/rm.o: in function `main':
/home/peter/coreutils-5.0/src/rm.c:208: undefined reference to `rm'
collect2: error: ld returned 1 exit status
Compiled: rmdir
Compiled: seq
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status
Compiled: shred
Compiled: sleep
Compiled: sort
Compiled: split
Compiled: stat
Compiled: sum
Compiled: sync
Compiled: tac
Compiled: tail
Compiled: tee
Compiled: touch
Compiled: tr
Compiled: true
Compiled: tsort
Compiled: unexpand
Compiled: uniq
Compiled: unlink
Compiled: wc
basename dd factor kill od readlink sum tsort
cat dircolors false link paste rmdir sync unexpand
chmod dirname fmt ln pathchk seq tac uniq
cksum du fold logname pr shred tail unlink
comm echo head mkdir printenv sleep tee wc
csplit env hostname mkfifo printf sort touch
cut expand id mknod ptx split tr
date expr join nl pwd stat true
↓ 115 lines
Compiled: basename Compiled: cat /usr/bin/ld: src/chgrp.o: in function `main': /home/peter/coreutils-5.0/src/chgrp.c:172: undefined reference to `chopt_init' /usr/bin/ld: /home/peter/coreutils-5.0/src/chgrp.c:221: undefined reference to `gid_to_name' /usr/bin/ld: /home/peter/coreutils-5.0/src/chgrp.c:231: undefined reference to `change_file_owner' /usr/bin/ld: /home/peter/coreutils-5.0/src/chgrp.c:234: undefined reference to `chopt_free' collect2: error: ld returned 1 exit status Compiled: chmod /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x1b): undefined reference to `main' collect2: error: ld returned 1 exit status /usr/bin/ld: src/chown.o: in function `main': /home/peter/coreutils-5.0/src/chown.c:163: undefined reference to `chopt_init' /usr/bin/ld: /home/peter/coreutils-5.0/src/chown.c:225: undefined reference to `uid_to_name' /usr/bin/ld: /home/peter/coreutils-5.0/src/chown.c:226: undefined reference to `gid_to_name' /usr/bin/ld: /home/peter/coreutils-5.0/src/chown.c:243: undefined reference to `change_file_owner' /usr/bin/ld: /home/peter/coreutils-5.0/src/chown.c:246: undefined reference to `chopt_free' collect2: error: ld returned 1 exit status Compiled: cksum Compiled: comm /usr/bin/ld: src/copy.o: warning: relocation against `program_name' in read-only section `.text' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x1b): undefined reference to `main' /usr/bin/ld: src/copy.o: in function `overwrite_prompt': /home/peter/coreutils-5.0/src/copy.c:609: undefined reference to `program_name' /usr/bin/ld: /home/peter/coreutils-5.0/src/copy.c:616: undefined reference to `program_name' /usr/bin/ld: src/copy.o: in function `copy_internal': /home/peter/coreutils-5.0/src/copy.c:1082: undefined reference to `remember_copied' /usr/bin/ld: /home/peter/coreutils-5.0/src/copy.c:1566: undefined reference to `forget_created' /usr/bin/ld: /home/peter/coreutils-5.0/src/copy.c:1082: undefined reference to `remember_copied' /usr/bin/ld: /home/peter/coreutils-5.0/src/copy.c:1297: undefined reference to `remember_created' /usr/bin/ld: /home/peter/coreutils-5.0/src/copy.c:1243: undefined reference to `forget_created' /usr/bin/ld: lib/libfetish.a(argmatch.o): in function `__argmatch_die': /home/peter/coreutils-5.0/lib/argmatch.c:65: undefined reference to `usage' /usr/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x1b): undefined reference to `main' collect2: error: ld returned 1 exit status /usr/bin/ld: src/cp.o: in function `do_copy': /home/peter/coreutils-5.0/src/cp.c:515: undefined reference to `dest_info_init' /usr/bin/ld: /home/peter/coreutils-5.0/src/cp.c:516: undefined reference to `src_info_init' /usr/bin/ld: /home/peter/coreutils-5.0/sr [command output truncated] eter/coreutils-5.0/src/md5sum.c:150: undefined reference to `algorithm' /usr/bin/ld: src/md5sum.o: in function `main': /home/peter/coreutils-5.0/src/md5sum.c:554: undefined reference to `algorithm' /usr/bin/ld: /home/peter/coreutils-5.0/src/md5sum.c:559: undefined reference to `algorithm' /usr/bin/ld: src/md5sum.o:/home/peter/coreutils-5.0/src/md5sum.c:602: more undefined references to `algorithm' follow /usr/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status Compiled: mkdir Compiled: mkfifo Compiled: mknod /usr/bin/ld: src/mv.o: in function `do_move': /home/peter/coreutils-5.0/src/mv.c:183: undefined reference to `copy' /usr/bin/ld: /home/peter/coreutils-5.0/src/mv.c:245: undefined reference to `rm' /usr/bin/ld: /home/peter/coreutils-5.0/src/mv.c:180: undefined reference to `hash_init' /usr/bin/ld: src/mv.o: in function `main': /home/peter/coreutils-5.0/src/mv.c:498: undefined reference to `dest_info_init' collect2: error: ld returned 1 exit status Compiled: nl Compiled: od Compiled: paste Compiled: pathchk Compiled: pr Compiled: printenv Compiled: printf Compiled: ptx Compiled: pwd Compiled: readlink /usr/bin/ld: src/remove.o: warning: relocation against `program_name' in read-only section `.text' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x1b): undefined reference to `main' /usr/bin/ld: src/remove.o: in function `prompt': /home/peter/coreutils-5.0/src/remove.c:612: undefined reference to `program_name' /usr/bin/ld: /home/peter/coreutils-5.0/src/remove.c:601: undefined reference to `program_name' /usr/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status /usr/bin/ld: src/rm.o: in function `main': /home/peter/coreutils-5.0/src/rm.c:208: undefined reference to `rm' collect2: error: ld returned 1 exit status Compiled: rmdir Compiled: seq /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x1b): undefined reference to `main' collect2: error: ld returned 1 exit status Compiled: shred Compiled: sleep Compiled: sort Compiled: split Compiled: stat Compiled: sum Compiled: sync Compiled: tac Compiled: tail Compiled: tee Compiled: touch Compiled: tr Compiled: true Compiled: tsort Compiled: unexpand Compiled: uniq Compiled: unlink Compiled: wc basename dd factor kill od readlink sum tsort cat dircolors false link paste rmdir sync unexpand chmod dirname fmt ln pathchk seq tac uniq cksum du fold logname pr shred tail unlink comm echo head mkdir printenv sleep tee wc csplit env hostname mkfifo printf sort touch cut expand id mknod ptx split tr date expr join nl pwd stat true
[empty output]
compile-bench> cd coreutils-5.0 && ls src/ Makefile cut.o head.c mkdir.o rm.c test.c
Makefile.am date.c head.o mkfifo.c rm.o test.c.backup
Makefile.in date.o hostid.c mkfifo.o rmdir.c touch.c
basename.c dcgen hostname.c mknod.c rmdir.o touch.o
basename.o dd.c hostname.o mknod.o seq.c tr.c
cat.c dd.o id.c mv.c seq.o tr.o
cat.o df.c id.o mv.o sha1sum.c true.c
checksum.h dircolors.c install.c nice.c sha1sum.o true.o
chgrp.c dircolors.h install.o nl.c shred.c tsort.c
chgrp.o dircolors.hin join.c nl.o shred.o tsort.o
chmod.c dircolors.o join.o nohup.sh sleep.c tty.c
chmod.o dirname.c kill.c od.c sleep.o uname.c
chown-core.c dirname.o kill.o od.o sort.c unexpand.c
chown-core.h du.c link.c paste.c sort.o unexpand.o
chown-core.o du.o link.o paste.o split.c uniq.c
chown.c echo.c ln.c pathchk.c split.o uniq.o
chown.o echo.o ln.o pathchk.o stat.c unlink.c
chroot.c env.c logname.c pinky.c stat.o unlink.o
cksum.c env.o logname.o pr.c stty.c uptime.c
cksum.o expand.c ls-dir.c pr.o su.c users.c
comm.c expand.o ls-dir.o printenv.c sum.c wc.c
comm.o expr.c ls-ls.c printenv.o sum.o wc.o
copy.c expr.o ls-ls.o printf.c sync.c wheel-gen.pl
copy.h factor.c ls-vdir.c printf.o sync.o wheel-size.h
copy.o factor.o ls-vdir.o ptx.c sys2.h wheel.h
cp-hash.c false.c ls.c ptx.o system.h who.c
cp-hash.h false.o ls.h pwd.c tac-pipe.c whoami.c
cp-hash.o fmt.c ls.o pwd.o tac.c yes.c
cp.c fmt.o md5.c readlink.c tac.o
cp.o fold.c md5.o readlink.o tail.c
csplit.c fold.o md5sum.c remove.c tail.o
csplit.o fs.h md5sum.o remove.h tee.c
cut.c groups.sh mkdir.c remove.o tee.o
↓ 34 lines
Makefile cut.o head.c mkdir.o rm.c test.c Makefile.am date.c head.o mkfifo.c rm.o test.c.backup Makefile.in date.o hostid.c mkfifo.o rmdir.c touch.c basename.c dcgen hostname.c mknod.c rmdir.o touch.o basename.o dd.c hostname.o mknod.o seq.c tr.c cat.c dd.o id.c mv.c seq.o tr.o cat.o df.c id.o mv.o sha1sum.c true.c checksum.h dircolors.c install.c nice.c sha1sum.o true.o chgrp.c dircolors.h install.o nl.c shred.c tsort.c chgrp.o dircolors.hin join.c nl.o shred.o tsort.o chmod.c dircolors.o join.o nohup.sh sleep.c tty.c chmod.o dirname.c kill.c od.c sleep.o uname.c chown-core.c dirname.o kill.o od.o sort.c unexpand.c chown-core.h du.c link.c paste.c sort.o unexpand.o chown-core.o du.o link.o paste.o split.c uniq.c chown.c echo.c ln.c pathchk.c split.o uniq.o chown.o echo.o ln.o pathchk.o stat.c unlink.c chroot.c env.c logname.c pinky.c stat.o unlink.o cksum.c env.o logname.o pr.c stty.c uptime.c cksum.o expand.c ls-dir.c pr.o su.c users.c comm.c expand.o ls-dir.o printenv.c sum.c wc.c comm.o expr.c ls-ls.c printenv.o sum.o wc.o copy.c expr.o ls-ls.o printf.c sync.c wheel-gen.pl copy.h factor.c ls-vdir.c printf.o sync.o wheel-size.h copy.o factor.o ls-vdir.o ptx.c sys2.h wheel.h cp-hash.c false.c ls.c ptx.o system.h who.c cp-hash.h false.o ls.h pwd.c tac-pipe.c whoami.c cp-hash.o fmt.c ls.o pwd.o tac.c yes.c cp.c fmt.o md5.c readlink.c tac.o cp.o fold.c md5.o readlink.o tail.c csplit.c fold.o md5sum.c remove.c tail.o csplit.o fs.h md5sum.o remove.h tee.c cut.c groups.sh mkdir.c remove.o tee.o
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result/bin && cp src/chgrp src/chmod src/chown src/cp src/ln src/ls src/mkdir src/mv src/rm src/touch /home/peter/result/bin/ && ls /home/peter/result/bin cp: cannot stat 'src/chgrp': No such file or directory
cp: cannot stat 'src/chmod': No such file or directory
cp: cannot stat 'src/chown': No such file or directory
cp: cannot stat 'src/cp': No such file or directory
cp: cannot stat 'src/ln': No such file or directory
cp: cannot stat 'src/ls': No such file or directory
cp: cannot stat 'src/mkdir': No such file or directory
cp: cannot stat 'src/mv': No such file or directory
cp: cannot stat 'src/rm': No such file or directory
cp: cannot stat 'src/touch': No such file or directory
↓ 11 lines
cp: cannot stat 'src/chgrp': No such file or directory cp: cannot stat 'src/chmod': No such file or directory cp: cannot stat 'src/chown': No such file or directory cp: cannot stat 'src/cp': No such file or directory cp: cannot stat 'src/ln': No such file or directory cp: cannot stat 'src/ls': No such file or directory cp: cannot stat 'src/mkdir': No such file or directory cp: cannot stat 'src/mv': No such file or directory cp: cannot stat 'src/rm': No such file or directory cp: cannot stat 'src/touch': No such file or directory
compile-bench> cd coreutils-5.0 && find . -name "chgrp" -o -name "chmod" -o -name "chown" -o -name "cp" -o -name "ln" -o -name "ls" -o -name "mkdir" -o -name "mv" -o -name "rm" -o -name "touch" ./tests/chgrp
./tests/mv
./tests/chmod
./tests/cp
./tests/chown
./tests/mkdir
./tests/touch
./tests/rm
./tests/ln
./tests/ls
↓ 11 lines
./tests/chgrp ./tests/mv ./tests/chmod ./tests/cp ./tests/chown ./tests/mkdir ./tests/touch ./tests/rm ./tests/ln ./tests/ls
compile-bench> cd coreutils-5.0 && find . -name "*.o" | head -5 ./lib/linebuffer.o
./lib/getopt1.o
./lib/xgethostname.o
./lib/argmatch.o
./lib/sha.o
↓ 6 lines
./lib/linebuffer.o ./lib/getopt1.o ./lib/xgethostname.o ./lib/argmatch.o ./lib/sha.o
[empty output]
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result/bin && find . -name "*.o" -exec cp {} /home/peter/result/bin/ \; && ls /home/peter/result/bin | head -10 acl.o
addext.o
argmatch.o
backupfile.o
basename
basename.o
canon-host.o
cat
cat.o
chgrp.o
↓ 11 lines
acl.o addext.o argmatch.o backupfile.o basename basename.o canon-host.o cat cat.o chgrp.o
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result/bin && for obj in $(find . -name "*.o" | grep -v "lib/" | grep -v "tests/"); do base=$(basename $obj .o); gcc -g -O2 -Wl,--no-as-needed -lm -o /home/peter/result/bin/$base $obj lib/libfetish.a 2>/dev/null && echo "Compiled: $base"; done && ls /home/peter/result/bin | head -20 Compiled: ptx
Compiled: uniq
Compiled: cksum
Compiled: sync
Compiled: cat
Compiled: fold
Compiled: mknod
Compiled: sleep
Compiled: ln
Compiled: chmod
Compiled: printenv
Compiled: readlink
Compiled: mkfifo
Compiled: head
Compiled: echo
Compiled: link
Compiled: dirname
Compiled: kill
Compiled: wc
Compiled: nl
Compiled: tail
Compiled: unexpand
Compiled: unlink
Compiled: basename
Compiled: csplit
Compiled: pathchk
Compiled: false
Compiled: true
Compiled: hostname
Compiled: tee
Compiled: cut
Compiled: env
Compiled: paste
Compiled: stat
Compiled: printf
Compiled: dd
Compiled: tr
Compiled: seq
Compiled: split
Compiled: join
Compiled: comm
Compiled: tsort
Compiled: factor
Compiled: sort
Compiled: od
Compiled: date
Compiled: fmt
Compiled: pwd
Compiled: sum
Compiled: tac
Compiled: rmdir
Compiled: dircolors
Compiled: touch
Compiled: du
Compiled: id
Compiled: expr
Compiled: mkdir
Compiled: pr
Compiled: logname
Compiled: expand
Compiled: shred
acl.o
addext.o
argmatch.o
backupfile.o
basename
basename.o
canon-host.o
cat
cat.o
chgrp.o
chmod
chmod.o
chown-core.o
chown.o
cksum
cksum.o
closeout.o
comm
comm.o
copy.o
↓ 82 lines
Compiled: ptx Compiled: uniq Compiled: cksum Compiled: sync Compiled: cat Compiled: fold Compiled: mknod Compiled: sleep Compiled: ln Compiled: chmod Compiled: printenv Compiled: readlink Compiled: mkfifo Compiled: head Compiled: echo Compiled: link Compiled: dirname Compiled: kill Compiled: wc Compiled: nl Compiled: tail Compiled: unexpand Compiled: unlink Compiled: basename Compiled: csplit Compiled: pathchk Compiled: false Compiled: true Compiled: hostname Compiled: tee Compiled: cut Compiled: env Compiled: paste Compiled: stat Compiled: printf Compiled: dd Compiled: tr Compiled: seq Compiled: split Compiled: join Compiled: comm Compiled: tsort Compiled: factor Compiled: sort Compiled: od Compiled: date Compiled: fmt Compiled: pwd Compiled: sum Compiled: tac Compiled: rmdir Compiled: dircolors Compiled: touch Compiled: du Compiled: id Compiled: expr Compiled: mkdir Compiled: pr Compiled: logname Compiled: expand Compiled: shred acl.o addext.o argmatch.o backupfile.o basename basename.o canon-host.o cat cat.o chgrp.o chmod chmod.o chown-core.o chown.o cksum cksum.o closeout.o comm comm.o copy.o
[empty output]
compile-bench> cd coreutils-5.0/src && ls *.o | head -5 basename.o
cat.o
chgrp.o
chmod.o
chown-core.o
↓ 6 lines
basename.o cat.o chgrp.o chmod.o chown-core.o
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result/bin && cd src && for obj in *.o; do base=$(basename $obj .o); gcc -g -O2 -Wl,--no-as-needed -lm -o /home/peter/result/bin/$base $obj ../lib/libfetish.a 2>/dev/null && echo "Compiled: $base"; done && ls /home/peter/result/bin | head -20 Compiled: basename
Compiled: cat
Compiled: chmod
Compiled: cksum
Compiled: comm
Compiled: csplit
Compiled: cut
Compiled: date
Compiled: dd
Compiled: dircolors
Compiled: dirname
Compiled: du
Compiled: echo
Compiled: env
Compiled: expand
Compiled: expr
Compiled: factor
Compiled: false
Compiled: fmt
Compiled: fold
Compiled: head
Compiled: hostname
Compiled: id
Compiled: join
Compiled: kill
Compiled: link
Compiled: ln
Compiled: logname
Compiled: mkdir
Compiled: mkfifo
Compiled: mknod
Compiled: nl
Compiled: od
Compiled: paste
Compiled: pathchk
Compiled: pr
Compiled: printenv
Compiled: printf
Compiled: ptx
Compiled: pwd
Compiled: readlink
Compiled: rmdir
Compiled: seq
Compiled: shred
Compiled: sleep
Compiled: sort
Compiled: split
Compiled: stat
Compiled: sum
Compiled: sync
Compiled: tac
Compiled: tail
Compiled: tee
Compiled: touch
Compiled: tr
Compiled: true
Compiled: tsort
Compiled: unexpand
Compiled: uniq
Compiled: unlink
Compiled: wc
acl.o
addext.o
argmatch.o
backupfile.o
basename
basename.o
canon-host.o
cat
cat.o
chgrp.o
chmod
chmod.o
chown-core.o
chown.o
cksum
cksum.o
closeout.o
comm
comm.o
copy.o
↓ 82 lines
Compiled: basename Compiled: cat Compiled: chmod Compiled: cksum Compiled: comm Compiled: csplit Compiled: cut Compiled: date Compiled: dd Compiled: dircolors Compiled: dirname Compiled: du Compiled: echo Compiled: env Compiled: expand Compiled: expr Compiled: factor Compiled: false Compiled: fmt Compiled: fold Compiled: head Compiled: hostname Compiled: id Compiled: join Compiled: kill Compiled: link Compiled: ln Compiled: logname Compiled: mkdir Compiled: mkfifo Compiled: mknod Compiled: nl Compiled: od Compiled: paste Compiled: pathchk Compiled: pr Compiled: printenv Compiled: printf Compiled: ptx Compiled: pwd Compiled: readlink Compiled: rmdir Compiled: seq Compiled: shred Compiled: sleep Compiled: sort Compiled: split Compiled: stat Compiled: sum Compiled: sync Compiled: tac Compiled: tail Compiled: tee Compiled: touch Compiled: tr Compiled: true Compiled: tsort Compiled: unexpand Compiled: uniq Compiled: unlink Compiled: wc acl.o addext.o argmatch.o backupfile.o basename basename.o canon-host.o cat cat.o chgrp.o chmod chmod.o chown-core.o chown.o cksum cksum.o closeout.o comm comm.o copy.o
61
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result && cp -r /home/peter/result/bin/* /home/peter/result/ && ls /home/peter/result | head -20 acl.o
addext.o
argmatch.o
backupfile.o
basename
basename.o
bin
canon-host.o
cat
cat.o
chgrp.o
chmod
chmod.o
chown-core.o
chown.o
cksum
cksum.o
closeout.o
comm
comm.o
↓ 21 lines
acl.o addext.o argmatch.o backupfile.o basename basename.o bin canon-host.o cat cat.o chgrp.o chmod chmod.o chown-core.o chown.o cksum cksum.o closeout.o comm comm.o
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result && cp /home/peter/result/bin/* /home/peter/result/ && ls /home/peter/result | head -20 acl.o
addext.o
argmatch.o
backupfile.o
basename
basename.o
bin
canon-host.o
cat
cat.o
chgrp.o
chmod
chmod.o
chown-core.o
chown.o
cksum
cksum.o
closeout.o
comm
comm.o
↓ 21 lines
acl.o addext.o argmatch.o backupfile.o basename basename.o bin canon-host.o cat cat.o chgrp.o chmod chmod.o chown-core.o chown.o cksum cksum.o closeout.o comm comm.o
compile-bench> cd coreutils-5.0 && ls /home/peter/result/bin | head -20 acl.o
addext.o
argmatch.o
backupfile.o
basename
basename.o
canon-host.o
cat
cat.o
chgrp.o
chmod
chmod.o
chown-core.o
chown.o
cksum
cksum.o
closeout.o
comm
comm.o
copy.o
↓ 21 lines
acl.o addext.o argmatch.o backupfile.o basename basename.o canon-host.o cat cat.o chgrp.o chmod chmod.o chown-core.o chown.o cksum cksum.o closeout.o comm comm.o copy.o
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result/bin && find /home/peter/result/bin -type f -executable -exec ln -sf {} /home/peter/result/ \; && ls -l /home/peter/result | head -20 total 5132
-rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o
-rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o
-rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o
-rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o
lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename
-rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o
drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin
-rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o
lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat
-rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o
-rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod
-rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o
-rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o
-rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum
-rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o
-rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o
lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
↓ 21 lines
total 5132 -rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o -rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o -rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o -rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename -rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin -rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat -rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o -rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod -rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o -rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o -rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum -rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o -rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result && find /home/peter/result/bin -type f -executable -exec ln -sf {} /home/peter/result/ \; && ls -l /home/peter/result | head -20 total 5132
-rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o
-rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o
-rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o
-rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o
lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename
-rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o
drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin
-rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o
lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat
-rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o
-rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod
-rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o
-rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o
-rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum
-rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o
-rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o
lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
↓ 21 lines
total 5132 -rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o -rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o -rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o -rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename -rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin -rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat -rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o -rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod -rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o -rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o -rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum -rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o -rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result && find /home/peter/result/bin -maxdepth 1 -type f -executable -exec ln -sf {} /home/peter/result/ \; && ls -l /home/peter/result | head -20 total 5132
-rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o
-rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o
-rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o
-rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o
lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename
-rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o
drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin
-rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o
lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat
-rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o
-rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod
-rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o
-rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o
-rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum
-rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o
-rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o
lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
↓ 21 lines
total 5132 -rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o -rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o -rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o -rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename -rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin -rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat -rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o -rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod -rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o -rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o -rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum -rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o -rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result && for bin in /home/peter/result/bin/*; do if [ -f "$bin" ] && [ -x "$bin" ]; then ln -sf "$bin" /home/peter/result/; fi; done && ls -l /home/peter/result | head -20 total 5132
-rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o
-rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o
-rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o
-rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o
lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename
-rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o
drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin
-rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o
lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat
-rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o
-rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod
-rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o
-rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o
-rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum
-rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o
-rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o
lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
↓ 21 lines
total 5132 -rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o -rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o -rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o -rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename -rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin -rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat -rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o -rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod -rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o -rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o -rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum -rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o -rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result && find /home/peter/result/bin -maxdepth 1 -type f -executable | xargs -I {} ln -sf {} /home/peter/result/ && ls -l /home/peter/result | head -20 total 5132
-rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o
-rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o
-rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o
-rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o
lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename
-rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o
drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin
-rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o
lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat
-rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o
-rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod
-rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o
-rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o
-rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum
-rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o
-rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o
lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
↓ 21 lines
total 5132 -rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o -rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o -rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o -rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename -rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin -rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat -rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o -rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod -rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o -rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o -rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum -rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o -rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
[empty output]
compile-bench> cd coreutils-5.0 && mkdir -p /home/peter/result && find /home/peter/result/bin -maxdepth 1 -type f -executable -exec cp {} /home/peter/result/ \; && ls -l /home/peter/result | head -20 cp: '/home/peter/result/bin/csplit' and '/home/peter/result/csplit' are the same file
cp: '/home/peter/result/bin/du' and '/home/peter/result/du' are the same file
cp: '/home/peter/result/bin/basename' and '/home/peter/result/basename' are the same file
cp: '/home/peter/result/bin/sum' and '/home/peter/result/sum' are the same file
cp: '/home/peter/result/bin/seq' and '/home/peter/result/seq' are the same file
cp: '/home/peter/result/bin/pathchk' and '/home/peter/result/pathchk' are the same file
cp: '/home/peter/result/bin/chmod' and '/home/peter/result/chmod' are the same file
cp: '/home/peter/result/bin/logname' and '/home/peter/result/logname' are the same file
cp: '/home/peter/result/bin/date' and '/home/peter/result/date' are the same file
cp: '/home/peter/result/bin/dd' and '/home/peter/result/dd' are the same file
cp: '/home/peter/result/bin/mknod' and '/home/peter/result/mknod' are the same file
cp: '/home/peter/result/bin/cat' and '/home/peter/result/cat' are the same file
cp: '/home/peter/result/bin/split' and '/home/peter/result/split' are the same file
cp: '/home/peter/result/bin/echo' and '/home/peter/result/echo' are the same file
cp: '/home/peter/result/bin/sort' and '/home/peter/result/sort' are the same file
cp: '/home/peter/result/bin/tr' and '/home/peter/result/tr' are the same file
cp: '/home/peter/result/bin/tail' and '/home/peter/result/tail' are the same file
cp: '/home/peter/result/bin/tee' and '/home/peter/result/tee' are the same file
cp: '/home/peter/result/bin/uniq' and '/home/peter/result/uniq' are the same file
cp: '/home/peter/result/bin/printenv' and '/home/peter/result/printenv' are the same file
cp: '/home/peter/result/bin/od' and '/home/peter/result/od' are the same file
cp: '/home/peter/result/bin/nl' and '/home/peter/result/nl' are the same file
cp: '/home/peter/result/bin/head' and '/home/peter/result/head' are the same file
cp: '/home/peter/result/bin/tsort' and '/home/peter/result/tsort' are the same file
cp: '/home/peter/result/bin/false' and '/home/peter/result/false' are the same file
cp: '/home/peter/result/bin/dirname' and '/home/peter/result/dirname' are the same file
cp: '/home/peter/result/bin/mkdir' and '/home/peter/result/mkdir' are the same file
cp: '/home/peter/result/bin/shred' and '/home/peter/result/shred' are the same file
cp: '/home/peter/result/bin/hostname' and '/home/peter/result/hostname' are the same file
cp: '/home/peter/result/bin/wc' and '/home/peter/result/wc' are the same file
cp: '/home/peter/result/bin/kill' and '/home/peter/result/kill' are the same file
cp: '/home/peter/result/bin/touch' and '/home/peter/result/touch' are the same file
cp: '/home/peter/result/bin/factor' and '/home/peter/result/factor' are the same file
cp: '/home/peter/result/bin/comm' and '/home/peter/result/comm' are the same file
cp: '/home/peter/result/bin/link' and '/home/peter/result/link' are the same file
cp: '/home/peter/result/bin/dircolors' and '/home/peter/resul
[command output truncated]
peter/result/pr' are the same file
cp: '/home/peter/result/bin/printf' and '/home/peter/result/printf' are the same file
cp: '/home/peter/result/bin/cut' and '/home/peter/result/cut' are the same file
cp: '/home/peter/result/bin/tac' and '/home/peter/result/tac' are the same file
cp: '/home/peter/result/bin/sync' and '/home/peter/result/sync' are the same file
cp: '/home/peter/result/bin/sleep' and '/home/peter/result/sleep' are the same file
cp: '/home/peter/result/bin/cksum' and '/home/peter/result/cksum' are the same file
cp: '/home/peter/result/bin/paste' and '/home/peter/result/paste' are the same file
cp: '/home/peter/result/bin/ln' and '/home/peter/result/ln' are the same file
cp: '/home/peter/result/bin/true' and '/home/peter/result/true' are the same file
cp: '/home/peter/result/bin/readlink' and '/home/peter/result/readlink' are the same file
cp: '/home/peter/result/bin/expand' and '/home/peter/result/expand' are the same file
cp: '/home/peter/result/bin/rmdir' and '/home/peter/result/rmdir' are the same file
cp: '/home/peter/result/bin/unexpand' and '/home/peter/result/unexpand' are the same file
cp: '/home/peter/result/bin/expr' and '/home/peter/result/expr' are the same file
cp: '/home/peter/result/bin/mkfifo' and '/home/peter/result/mkfifo' are the same file
cp: '/home/peter/result/bin/pwd' and '/home/peter/result/pwd' are the same file
cp: '/home/peter/result/bin/ptx' and '/home/peter/result/ptx' are the same file
cp: '/home/peter/result/bin/id' and '/home/peter/result/id' are the same file
cp: '/home/peter/result/bin/join' and '/home/peter/result/join' are the same file
cp: '/home/peter/result/bin/env' and '/home/peter/result/env' are the same file
cp: '/home/peter/result/bin/fmt' and '/home/peter/result/fmt' are the same file
total 5132
-rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o
-rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o
-rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o
-rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o
lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename
-rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o
drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin
-rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o
lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat
-rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o
-rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod
-rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o
-rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o
-rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o
lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum
-rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o
-rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o
lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
↓ 80 lines
cp: '/home/peter/result/bin/csplit' and '/home/peter/result/csplit' are the same file cp: '/home/peter/result/bin/du' and '/home/peter/result/du' are the same file cp: '/home/peter/result/bin/basename' and '/home/peter/result/basename' are the same file cp: '/home/peter/result/bin/sum' and '/home/peter/result/sum' are the same file cp: '/home/peter/result/bin/seq' and '/home/peter/result/seq' are the same file cp: '/home/peter/result/bin/pathchk' and '/home/peter/result/pathchk' are the same file cp: '/home/peter/result/bin/chmod' and '/home/peter/result/chmod' are the same file cp: '/home/peter/result/bin/logname' and '/home/peter/result/logname' are the same file cp: '/home/peter/result/bin/date' and '/home/peter/result/date' are the same file cp: '/home/peter/result/bin/dd' and '/home/peter/result/dd' are the same file cp: '/home/peter/result/bin/mknod' and '/home/peter/result/mknod' are the same file cp: '/home/peter/result/bin/cat' and '/home/peter/result/cat' are the same file cp: '/home/peter/result/bin/split' and '/home/peter/result/split' are the same file cp: '/home/peter/result/bin/echo' and '/home/peter/result/echo' are the same file cp: '/home/peter/result/bin/sort' and '/home/peter/result/sort' are the same file cp: '/home/peter/result/bin/tr' and '/home/peter/result/tr' are the same file cp: '/home/peter/result/bin/tail' and '/home/peter/result/tail' are the same file cp: '/home/peter/result/bin/tee' and '/home/peter/result/tee' are the same file cp: '/home/peter/result/bin/uniq' and '/home/peter/result/uniq' are the same file cp: '/home/peter/result/bin/printenv' and '/home/peter/result/printenv' are the same file cp: '/home/peter/result/bin/od' and '/home/peter/result/od' are the same file cp: '/home/peter/result/bin/nl' and '/home/peter/result/nl' are the same file cp: '/home/peter/result/bin/head' and '/home/peter/result/head' are the same file cp: '/home/peter/result/bin/tsort' and '/home/peter/result/tsort' are the same file cp: '/home/peter/result/bin/false' and '/home/peter/result/false' are the same file cp: '/home/peter/result/bin/dirname' and '/home/peter/result/dirname' are the same file cp: '/home/peter/result/bin/mkdir' and '/home/peter/result/mkdir' are the same file cp: '/home/peter/result/bin/shred' and '/home/peter/result/shred' are the same file cp: '/home/peter/result/bin/hostname' and '/home/peter/result/hostname' are the same file cp: '/home/peter/result/bin/wc' and '/home/peter/result/wc' are the same file cp: '/home/peter/result/bin/kill' and '/home/peter/result/kill' are the same file cp: '/home/peter/result/bin/touch' and '/home/peter/result/touch' are the same file cp: '/home/peter/result/bin/factor' and '/home/peter/result/factor' are the same file cp: '/home/peter/result/bin/comm' and '/home/peter/result/comm' are the same file cp: '/home/peter/result/bin/link' and '/home/peter/result/link' are the same file cp: '/home/peter/result/bin/dircolors' and '/home/peter/resul [command output truncated] peter/result/pr' are the same file cp: '/home/peter/result/bin/printf' and '/home/peter/result/printf' are the same file cp: '/home/peter/result/bin/cut' and '/home/peter/result/cut' are the same file cp: '/home/peter/result/bin/tac' and '/home/peter/result/tac' are the same file cp: '/home/peter/result/bin/sync' and '/home/peter/result/sync' are the same file cp: '/home/peter/result/bin/sleep' and '/home/peter/result/sleep' are the same file cp: '/home/peter/result/bin/cksum' and '/home/peter/result/cksum' are the same file cp: '/home/peter/result/bin/paste' and '/home/peter/result/paste' are the same file cp: '/home/peter/result/bin/ln' and '/home/peter/result/ln' are the same file cp: '/home/peter/result/bin/true' and '/home/peter/result/true' are the same file cp: '/home/peter/result/bin/readlink' and '/home/peter/result/readlink' are the same file cp: '/home/peter/result/bin/expand' and '/home/peter/result/expand' are the same file cp: '/home/peter/result/bin/rmdir' and '/home/peter/result/rmdir' are the same file cp: '/home/peter/result/bin/unexpand' and '/home/peter/result/unexpand' are the same file cp: '/home/peter/result/bin/expr' and '/home/peter/result/expr' are the same file cp: '/home/peter/result/bin/mkfifo' and '/home/peter/result/mkfifo' are the same file cp: '/home/peter/result/bin/pwd' and '/home/peter/result/pwd' are the same file cp: '/home/peter/result/bin/ptx' and '/home/peter/result/ptx' are the same file cp: '/home/peter/result/bin/id' and '/home/peter/result/id' are the same file cp: '/home/peter/result/bin/join' and '/home/peter/result/join' are the same file cp: '/home/peter/result/bin/env' and '/home/peter/result/env' are the same file cp: '/home/peter/result/bin/fmt' and '/home/peter/result/fmt' are the same file total 5132 -rw-r--r-- 1 peter peter 5168 Sep 16 09:17 acl.o -rw-r--r-- 1 peter peter 9008 Sep 16 09:17 addext.o -rw-r--r-- 1 peter peter 18960 Sep 16 09:17 argmatch.o -rw-r--r-- 1 peter peter 19280 Sep 16 09:17 backupfile.o lrwxrwxrwx 1 peter peter 31 Sep 16 09:17 basename -> /home/peter/result/bin/basename -rw-r--r-- 1 peter peter 17160 Sep 16 09:17 basename.o drwxr-xr-x 2 peter peter 4096 Sep 16 09:17 bin -rw-r--r-- 1 peter peter 10024 Sep 16 09:17 canon-host.o lrwxrwxrwx 1 peter peter 26 Sep 16 09:17 cat -> /home/peter/result/bin/cat -rw-r--r-- 1 peter peter 44400 Sep 16 09:17 cat.o -rw-r--r-- 1 peter peter 30224 Sep 16 09:17 chgrp.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 chmod -> /home/peter/result/bin/chmod -rw-r--r-- 1 peter peter 39552 Sep 16 09:17 chmod.o -rw-r--r-- 1 peter peter 36224 Sep 16 09:17 chown-core.o -rw-r--r-- 1 peter peter 28672 Sep 16 09:17 chown.o lrwxrwxrwx 1 peter peter 28 Sep 16 09:17 cksum -> /home/peter/result/bin/cksum -rw-r--r-- 1 peter peter 28520 Sep 16 09:17 cksum.o -rw-r--r-- 1 peter peter 10616 Sep 16 09:17 closeout.o lrwxrwxrwx 1 peter peter 27 Sep 16 09:17 comm -> /home/peter/result/bin/comm
exceeded max cost dollars (max=$3.00, current=3.01)