[PATCH 0/6] libgloss: i386: fix compilation issues
Vincent Mailhol
mailhol@kernel.org
Wed Oct 29 06:58:25 GMT 2025
libgloss i386 build is currently broken because of some new constraint
violations implemented in the compiler. Note that I only tested with
GCC 14 and did not check from which version number the build is
broken.
A quick fix would be to disable the constraint violation checks, for
example by adding those flags to GCC:
-Wno-implicit-int
-Wno-implicit-function-declaration
-Wno-return-mismatch
Instead, this series fixes the root cause by addressing all the
compiler's errors.
Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
---
Vincent Mailhol (6):
libgloss: i386: cygmon-gmon.c: add missing libc headers
libgloss: i386: cygmon-gmon.c: add profil() prototype
libgloss: i386: cygmon-gmon.c: make moncontrol() visible to its users
libgloss: i386: move profil_write() from cygmon-salib.c to cygmon-gmon.c
libgloss: i386: cygmon-gmon.c: add functions return type
libgloss: i386: cygmon-gmon.c: fix _mcount() return type
libgloss/i386/cygmon-gmon.c | 84 +++++++++++++++++++++++++++++---------------
libgloss/i386/cygmon-salib.c | 19 ----------
2 files changed, 56 insertions(+), 47 deletions(-)
---
base-commit: c43ec5f5951c7f4b882a0f8e619601a45ae70a91
change-id: 20251028-fix-libgloss-i386-compile-issues-23661b6ca055
Best regards,
--
Vincent Mailhol <mailhol@kernel.org>
More information about the Newlib
mailing list