GNU bug report logs - #73835
Build failure with gcc 14 and musl on 32 bit

Previous Next

Package: guile;

Reported by: Natanael Copa <ncopa <at> alpinelinux.org>

Date: Wed, 16 Oct 2024 07:57:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Natanael Copa <ncopa <at> alpinelinux.org>
To: 73835 <at> 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
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




This bug report was last modified 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.