| Message ID | 20251029-fix-libgloss-i386-compile-issues-v1-0-26edcb02f69c@kernel.org |
|---|---|
| Headers |
Return-Path: <newlib-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 698AC3858C54 for <patchwork@sourceware.org>; Wed, 29 Oct 2025 07:01:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 698AC3858C54 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=ZovtXLfX X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by sourceware.org (Postfix) with ESMTPS id 722093858D20 for <newlib@sourceware.org>; Wed, 29 Oct 2025 06:58:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 722093858D20 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 722093858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=172.234.252.31 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1761721134; cv=none; b=cwzFGRfoJ0S5eImg1alxWP7zxnAF9ylcdgXv6ANNIw3IZ56KeufWzE888xhBmnjs2QvJwulUCC63kdrZQ8OpDQXg4ZvGtGyXZKy3kKE2OfG4NfcHYlzCJGO5HdvPo3auXmcmqtBY28tlUslMPZRcPDlw9wbOhToasd7dGmVMvpE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1761721134; c=relaxed/simple; bh=/9nec0vnbXzIom9NoNOvaC/lJsFNwaKL5rdExH+cGlY=; h=DKIM-Signature:From:Subject:Date:Message-Id:MIME-Version:To; b=n0hBLNX0g5YEc0tBVpPMXNpdmoW/Pt2kYmS4wgIy20meAMn6e0fBvjPxBrWtoUNJkKbx//PU7u9aoV1UHcQKK9T5BJSDtGz+4lZHPhwe0SkCUdaJA/M1PRzBOb2rLCGa1v/bplLTuYQc7Yr/iWqZLMPcr/ElGJJJkRbTJVy5vWU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 722093858D20 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 85B82442EF for <newlib@sourceware.org>; Wed, 29 Oct 2025 06:58:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6A0CC4CEF7; Wed, 29 Oct 2025 06:58:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761721133; bh=/9nec0vnbXzIom9NoNOvaC/lJsFNwaKL5rdExH+cGlY=; h=From:Subject:Date:To:Cc:From; b=ZovtXLfXqD4u5mz5cxO7gvz9BxoFTZUi03hNn2FQbhij9JJ2ukNU7kQ9Yd/uFSa4w CLOAhKXiRFoYYRq/Be33hAOmwXxyTDHJdb0lwTFP2tnDNRwK5mUgDjerqeoOnK3t2f UePpJ4Q0yDIwgv3avT5DEjiApX+bAU6HyCF7mUfphtUtxGrnnQZlGEsfGEdBpsaCJB oJqEppquxhI4IY07DpUxcfdsfcRvfRC8xTA6KNOob9ThUzHSrthUw1C7vGK8Xnw1D0 YkQUThy8FxyaW7hPeCWzM6sBr9Z6fxf8HhacZCoTUtsoqnqXNLVxSF4rtAkpzOwau+ 0Nfoq/8Yri7Lg== From: Vincent Mailhol <mailhol@kernel.org> Subject: [PATCH 0/6] libgloss: i386: fix compilation issues Date: Wed, 29 Oct 2025 07:58:25 +0100 Message-Id: <20251029-fix-libgloss-i386-compile-issues-v1-0-26edcb02f69c@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIABG7AWkC/x2NQQqEMAxFryJZG2grLeJVxIXWjBOoVhqUgeLdJ 7h88N9/FYQKk8DQVCh0s3A+FGzbQPzOx0bIqzI447w1rscP/zDxsqUsgtz1AWPeT046FLlI0HU h2CXE2XgPenMWUudNjNPz/AHImN31cgAAAA== X-Change-ID: 20251028-fix-libgloss-i386-compile-issues-23661b6ca055 To: newlib@sourceware.org Cc: Vincent Mailhol <mailhol@kernel.org> X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1362; i=mailhol@kernel.org; h=from:subject:message-id; bh=/9nec0vnbXzIom9NoNOvaC/lJsFNwaKL5rdExH+cGlY=; b=owGbwMvMwCV2McXO4Xp97WbG02pJDJmMu8X65jOmsV9JmlcjlXvo5PHO3T33W50Mb1/dYzT57 g/G1JIfHaUsDGJcDLJiiizLyjm5FToKvcMO/bWEmcPKBDKEgYtTACbCZMDI8H3S8/93r/nYsK6N tt6q/W/lK5loox2HGhY1LJvR6/wm/zDDX5lNXIv9J0X9fbjhr8f1ttnTS38K3JovGnMudeLsnc8 mV7MAAA== X-Developer-Key: i=mailhol@kernel.org; a=openpgp; fpr=ED8F700574E67F20E574E8E2AB5FEB886DBB99C2 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Newlib mailing list <newlib.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/newlib>, <mailto:newlib-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/newlib/> List-Post: <mailto:newlib@sourceware.org> List-Help: <mailto:newlib-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/newlib>, <mailto:newlib-request@sourceware.org?subject=subscribe> Errors-To: newlib-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
libgloss: i386: fix compilation issues
|
|
Message
Vincent Mailhol
Oct. 29, 2025, 6:58 a.m. UTC
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,
Comments
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> > >