[rtems commit] Reject incompatible tool chains

Sebastian Huber sebh at rtems.org
Thu Nov 9 12:39:46 UTC 2017


Module:    rtems
Branch:    master
Commit:    b225aa1fc1b8a4c86444bfe8be41985338162a4f
Changeset: http://git.rtems.org/rtems/commit/?id=b225aa1fc1b8a4c86444bfe8be41985338162a4f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Nov  9 13:39:03 2017 +0100

Reject incompatible tool chains

Update #3185.

---

 cpukit/configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cpukit/configure.ac b/cpukit/configure.ac
index 427b649..09ca74a 100644
--- a/cpukit/configure.ac
+++ b/cpukit/configure.ac
@@ -341,6 +341,9 @@ AC_CHECK_DECLS([utime],,,[#include <sys/types.h>
 ## Check if libc provides decl of utimes
 AC_CHECK_DECLS([utimes],,,[#include <sys/time.h>])
 
+# Ensure that Newlib does not provide things now in <machine/_timecounter.h>
+AC_CHECK_DECLS([_Timecounter_Time_second],[RTEMS_TOOL_CHAIN_ERROR],,[#include <sys/time.h>])
+
 # ... far too many conditionals ...
 AM_CONDITIONAL(LIBRPC,[test x"$rtems_cv_HAS_NETWORKING" = x"yes"])
 AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes")



More information about the vc mailing list