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

Jeff Johnston jjohnstn@redhat.com
Mon Nov 3 20:34:08 GMT 2025


Patches pushed.  Thanks.

-- Jeff J.

On Wed, Oct 29, 2025 at 3:00 AM Vincent Mailhol <mailhol@kernel.org> wrote:

> 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>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20251103/b21cd145/attachment-0001.htm>


More information about the Newlib mailing list