aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc_update
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-12-17 05:57:13 -0800
committerNathan Sidwell <nathan@acm.org>2020-12-17 05:57:13 -0800
commit096164229a4c2d1efab9f259f50be1bdcdfc8abd (patch)
tree0b12ffe2253c9c39b900696978b1b86f09927d32 /contrib/gcc_update
parent5357b1620c547a6f2bd81e7868c800e2eee97e51 (diff)
downloadgcc-096164229a4c2d1efab9f259f50be1bdcdfc8abd.zip
gcc-096164229a4c2d1efab9f259f50be1bdcdfc8abd.tar.gz
gcc-096164229a4c2d1efab9f259f50be1bdcdfc8abd.tar.bz2
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.
Diffstat (limited to 'contrib/gcc_update')
-rwxr-xr-xcontrib/gcc_update4
1 files changed, 3 insertions, 1 deletions
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