unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Natanael Copa <ncopa@alpinelinux.org>
To: 73835@debbugs.gnu.org
Subject: bug#73835: Build failure with gcc 14 and musl on 32 bit
Date: Wed, 16 Oct 2024 09:56:22 +0200	[thread overview]
Message-ID: <20241016095622.229673d2@ncopa-desktop> (raw)

Hi,

I get this error message when compiling guile 3.0.9 and 3.0.10 with gcc
14 / musl libc on 32 bit Alpine Linux:

filesys.c: In function 'scm_sendfile':
filesys.c:1405:16: error: assignment to 'off_t *' {aka 'long long int *'} from incompatible pointer type 'scm_t_off *' {aka 'long int *'} [-Wincompatible-pointer-types]
 1405 |     offset_ptr = SCM_UNBNDP (offset) ? NULL : &c_offset;
      |                ^

It looks like an assumption that off_t is 32 bit, which is not true on musl libc.

-nc





             reply	other threads:[~2024-10-16  7:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-16  7:56 Natanael Copa [this message]
2024-10-16  8:02 ` bug#73835: Build failure with gcc 14 and musl on 32 bit Natanael Copa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241016095622.229673d2@ncopa-desktop \
    --to=ncopa@alpinelinux.org \
    --cc=73835@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).