[PATCH 0/6] libgloss: i386: fix compilation issues

Vincent Mailhol <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <20251029-fix-libgloss-i386-compile-issues-v1-0-26edcb02f69c@kernel.org>
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 <[email protected]>

---
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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.