https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127914
Steve Kargl <kargl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |blocker
Priority|P3 |P1
--- Comment #20 from Steve Kargl <kargl at gcc dot gnu.org> ---
Any chance that someone can commit the following patch.
This is from Jakub's comment #14.
diff --git a/include/libiberty.h b/include/libiberty.h
index 4ed783e6ef9..d983ac56835 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -223,7 +223,7 @@ extern int mkstemps(char *, int);
/* Make memrchr available on systems that do not have it. */
#if !defined (__GNU_LIBRARY__ ) && !defined (__linux__) && \
!defined (HAVE_MEMRCHR)
-extern void *memrchr(const void *, int, size_t);
+extern void *(memrchr)(const void *, int, size_t);
#endif
/* Get the working directory. The result is cached, so don't call