From 096164229a4c2d1efab9f259f50be1bdcdfc8abd Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 17 Dec 2020 05:57:13 -0800 Subject: bootstrap: Fix some windows issues [PR 98300] When breaking out the sample server from the gcc/cp directory, it lost its check for mmap, and the sample resolver just assumed it was there. Fixed thusly. The non-mapping paths in module.cc weren't (recently) excercised, and led to a signedness warning. Finally I'd missed c++tools's config.h.in in the gcc_update script. There I took the opportunity of adding a 'tools' segment of the dependency lists. PR bootstrap/98300 contrib/ * gcc_update: Add c++tools/config.h.in. c++tools/ * configure.ac: Check for sys/mman.h. * resolver.cc: Don't assume mmap, O_CLOEXEC are available. Use xmalloc. * config.h.in: Regenerated. * configure: Regenerated. gcc/cp/ * module.cc: Fix ::read, ::write result signedness comparisons. --- contrib/gcc_update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contrib/gcc_update') diff --git a/contrib/gcc_update b/contrib/gcc_update index 28e2f37..43d284d 100755 --- a/contrib/gcc_update +++ b/contrib/gcc_update @@ -76,7 +76,6 @@ intl/plural-config.h: intl/plural.y intl/configure: intl/configure.ac intl/aclocal.m4 intl/config.h.in: intl/configure.ac intl/aclocal.m4 # Now, proceed to gcc automatically generated files -c++tools/configure: c++tools/configure.ac gcc/configure: gcc/configure.ac gcc/cstamp-h.in: gcc/configure.ac gcc/config.in: gcc/cstamp-h.in @@ -103,6 +102,9 @@ gcc/testsuite/gcc.dg/cpp/direct2s.c: gcc/testsuite/gcc.dg/cpp/direct2.c # lto-plugin lto-plugin/configure: lto-plugin/configure.ac lto-plugin/aclocal.m4 lto-plugin/Makefile.in: lto-plugin/Makefile.am lto-plugin/aclocal.m4 +# tools +c++tools/configure: c++tools/configure.ac +c++tools/config.h.in: c++tools/configure.ac # And libraries, at last libbanshee/configure: libbanshee/configure.ac libmudflap/configure: libmudflap/configure.ac -- cgit v1.1