[Bug libbacktrace/95012] [mingw/gcc10.1] mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012 Ian Lance Taylor changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #5 from Ian Lance Taylor --- Thanks, should be fixed on master.
[Bug libbacktrace/95012] [mingw/gcc10.1] mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012 --- Comment #4 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:47f4703c33c4936fd423c2a1180b2de144115d3d commit r11-280-g47f4703c33c4936fd423c2a1180b2de144115d3d Author: Ian Lance Taylor Date: Mon May 11 10:51:21 2020 -0700 libbacktrace: declare getpagesize if necessary libbacktrace/ PR libbacktrace/95012 * configure.ac: Check for getpagesize declaration. * mmap.c: Declare getpagesize if necessary. * mmapio.c: Likewise.
[Bug libbacktrace/95012] [mingw/gcc10.1] mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012 --- Comment #3 from xantares09 at hotmail dot com --- mingw does not define getpagesize as far as I can tell with: $ grep -nr getpagesize /usr/i686-w64-mingw32/include/ but gcc seems to detect it (9.x and 10.x): checking for getpagesize... (cached) yes maybe it relies on its own provided getpagesize function: gcc/system.h:479:#if defined (HAVE_DECL_GETPAGESIZE) && !HAVE_DECL_GETPAGESIZE gcc/system.h:480:extern int getpagesize (void);
[Bug libbacktrace/95012] [mingw/gcc10.1] mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #2 from Ian Lance Taylor --- Thanks for the bug report. I can't see any relevant change in libbacktrace. As far as I can tell the call to getpagesize has been there for a while, and the use of -Werror has been there for a while. Does mingw-w64-gcc have a getpagesize function? What header file declares it? Normally it is declared in , but mmapio.c does #include that file.
[Bug libbacktrace/95012] [mingw/gcc10.1] mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012 --- Comment #1 from xantares09 at hotmail dot com --- the full compilation script can be seen here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mingw-w64-gcc