<errno.h>: Add ENOTRECOVERABLE and EOWNERDEAD. These errno constants are really for robust mutexes which we do not support. However, llvm seems to be abusing ENOTRECOVERABLE for other purposes, so just add them both. Reported-by: tuxillo
gcc: Fix the passing of LIBRARY_PATH to the linker. Don't define LINK_LIBGCC_SPEC as empty so that it will be the default %D, which adds the necessary -L's for the directories in LIBRARY_PATH to the linker command line. It also adds a duplicate, but I think harmless, -L /usr/lib/gcc80 which we add earlier already. This can be improved separately. Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2897>
sys.mk: Add the 's' modifier to our ARFLAGS. This allows us to remove most explicit executions of ranlib(1) and lorder(1)/tsort(1) during buildworld, although not all. Remaining are some 'ar -M' cases for static and profiling libstdc++ that still need ranlib(1). lorder(1)/tsort(1) are still used in the linking of shared libraries.
Remove local ar(1) operation code definitions and use ARFLAGS. Remove 'l' from ARFLAGS (serves no purpose) and add 'c' to silence archive creation warnings. Note that we do not need to care about 'D' because our binutils were configured with '--enable-deterministic-archives'. To be done later: Adding 's' and stop running lorder/ranlib explicitly.
libc/stdio: Add _unlocked() flavors of fflush, fputc, fputs, fread, fwrite. These are needed by some dports and can also be used in various things in base. Bump __DragonFly_version, too. Reported-by: zrj Taken-from: FreeBSD
gcc: Add clang's -Wno-c++11-narrowing where we have gcc's -Wno-narrowing. This fixes some clang buildworld issues. Not sure why it errors without this flag even though no -Werror is set.
Upgrade diffutils. 2/2 - update README.{DELETED,DRAGONFLY} - regenerate header files - adapt Makefile to vendor update
Upgrade grep(1). 2/2 Adapt master branch to vendor update: - update README.DELETED and README.DRAGONFLY - re-generate header files - adapt build - sync manpage grep.1 with vendor Reviewed by: Sascha Wildner
Remove patch(1) from the list of bootstrap tools. Now that we no longer ship patches in the tree, patch(1) is no longer needed during buildworld, buildkernel etc. The last patch was removed in d8d77baac2714febf36f4ac37afccbbbdcdc8857. While here, also remove our old bsd.patch.mk which was used in the old days to handle local changes to contrib/ code using patches we shipped. Since we have git, we use vendor branches which we merge and then just modify on master for this purpose.
binutils225: Unhook from the build. Remove makefiles and installed parts.