aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/ChangeLog5
-rw-r--r--config/futex.m42
-rw-r--r--libgomp/ChangeLog4
-rwxr-xr-xlibgomp/configure2
-rw-r--r--libitm/ChangeLog4
-rw-r--r--libitm/configure2
-rw-r--r--libstdc++-v3/ChangeLog4
-rwxr-xr-xlibstdc++-v3/configure2
8 files changed, 25 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 5a06cde..2e7b8c2 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2019-09-06 Florian Weimer <fweimer@redhat.com>
+
+ * futex.m4 (GCC_LINUX_FUTEX): Include <unistd.h> for the syscall
+ function.
+
2019-07-08 Richard Sandiford <richard.sandiford@arm.com>
* bootstrap-Og.mk: New file.
diff --git a/config/futex.m4 b/config/futex.m4
index e95144d..1b43829 100644
--- a/config/futex.m4
+++ b/config/futex.m4
@@ -22,6 +22,7 @@ case "$target" in
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[#include <sys/syscall.h>
+ #include <unistd.h>
int lk;],
[syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);])],
[save_LIBS="$LIBS"
@@ -48,6 +49,7 @@ If so, please configure with --disable-linux-futex])
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[#include <sys/syscall.h>
+ #include <unistd.h>
int lk;],
[syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);])],[],
[AC_MSG_ERROR([SYS_gettid and SYS_futex required for --enable-linux-futex])])
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index a627bc22..d1e4dc3 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,7 @@
+2019-09-06 Florian Weimer <fweimer@redhat.com>
+
+ * configure: Regenerate.
+
2019-09-03 Chung-Lin Tang <cltang@codesourcery.com>
PR other/79543
diff --git a/libgomp/configure b/libgomp/configure
index c5797ea..c58d6a0 100755
--- a/libgomp/configure
+++ b/libgomp/configure
@@ -15888,6 +15888,7 @@ case "$target" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/syscall.h>
+ #include <unistd.h>
int lk;
int
main ()
@@ -15940,6 +15941,7 @@ rm -f core conftest.err conftest.$ac_objext \
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/syscall.h>
+ #include <unistd.h>
int lk;
int
main ()
diff --git a/libitm/ChangeLog b/libitm/ChangeLog
index 76d6def..567c1d0 100644
--- a/libitm/ChangeLog
+++ b/libitm/ChangeLog
@@ -1,3 +1,7 @@
+2019-09-06 Florian Weimer <fweimer@redhat.com>
+
+ * configure: Regenerate.
+
2019-09-03 Chung-Lin Tang <cltang@codesourcery.com>
PR other/79543
diff --git a/libitm/configure b/libitm/configure
index bdc5148..c466ae0 100644
--- a/libitm/configure
+++ b/libitm/configure
@@ -16481,6 +16481,7 @@ case "$target" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/syscall.h>
+ #include <unistd.h>
int lk;
int
main ()
@@ -16533,6 +16534,7 @@ rm -f core conftest.err conftest.$ac_objext \
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/syscall.h>
+ #include <unistd.h>
int lk;
int
main ()
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 2ea0fe4..ad96489 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2019-09-06 Florian Weimer <fweimer@redhat.com>
+
+ * configure: Regenerate.
+
2019-09-05 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/status_cxx2020.xml: Update status for P0122R7 and
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index f2f5098..4e714e5 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -72670,6 +72670,7 @@ fi
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/syscall.h>
+ #include <unistd.h>
int lk;
int
main ()
@@ -72728,6 +72729,7 @@ fi
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/syscall.h>
+ #include <unistd.h>
int lk;
int
main ()