From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Natanael Copa Newsgroups: gmane.lisp.guile.bugs Subject: bug#73835: Build failure with gcc 14 and musl on 32 bit Date: Wed, 16 Oct 2024 09:56:22 +0200 Message-ID: <20241016095622.229673d2@ncopa-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24922"; mail-complaints-to="usenet@ciao.gmane.io" To: 73835@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Oct 16 09:57:13 2024 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t0yu9-0006Hd-4E for guile-bugs@m.gmane-mx.org; Wed, 16 Oct 2024 09:57:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0ytj-0003Uw-EO; Wed, 16 Oct 2024 03:56:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0ytf-0003UY-Rf for bug-guile@gnu.org; Wed, 16 Oct 2024 03:56:43 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t0ytf-0000fw-J5 for bug-guile@gnu.org; Wed, 16 Oct 2024 03:56:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=tQmGSengGDQrOjauZE1SKtFhmqFh2+hBoG5y7CPqPUA=; b=hN9oJWr3GpX7SUVMfDc32JtY4Pgr3odVJ5Drl+XAgVudmVF/YGvZa6S2wkrZUpxLZeEsxJ0IXXlxA3FCXOGLGWRPKBfJL7kChsYi80AELQ04W+RNJQzPi48XyAZzCA73/7YEiNoA9i8+a9rr4DNVvCbI5cS6PhUNUPqx8hVMmLmvU++UdcQhCD1iprF1zEdvBdYrUz5Jiqv7VSY+73JzFm6HX8efpThpzK7D3MuGgtM5OUDww3NAWBibfwsUGrSZ+O4KtRaF7KSiryxGVbCylRaBmG8OSKUPsMMX2dMqQ88uuRB7WftDrUc+mmxdvXOdIwzGiolu4DE4vWGSqjWg8Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t0yty-0002E1-51 for bug-guile@gnu.org; Wed, 16 Oct 2024 03:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Natanael Copa Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 16 Oct 2024 07:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73835 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17290654178541 (code B ref -1); Wed, 16 Oct 2024 07:57:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Oct 2024 07:56:57 +0000 Original-Received: from localhost ([127.0.0.1]:58381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0ytt-0002Dh-4b for submit@debbugs.gnu.org; Wed, 16 Oct 2024 03:56:57 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0ytr-0002DZ-Nf for submit@debbugs.gnu.org; Wed, 16 Oct 2024 03:56:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0ytX-0003U5-0C for bug-guile@gnu.org; Wed, 16 Oct 2024 03:56:35 -0400 Original-Received: from gbr-app-1.alpinelinux.org ([213.219.36.190]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0ytV-0000fQ-Fa for bug-guile@gnu.org; Wed, 16 Oct 2024 03:56:34 -0400 Original-Received: from ncopa-desktop (unknown [IPv6:2001:4646:fb05:0:78a3:551:2e7c:311b]) (Authenticated sender: ncopa@alpinelinux.org) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPSA id 75CB92240A0 for ; Wed, 16 Oct 2024 07:56:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org; s=smtp; t=1729065387; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tQmGSengGDQrOjauZE1SKtFhmqFh2+hBoG5y7CPqPUA=; b=j2B9V93y5GwI3Z1AnLm+1lOJCak1677I0omYkzOB8Gi7ek+UYFFTiGrRb+V9heAKrqxN6a Az6ViQI2i5/yUuxr6YlYmaUTSy4BCgWAAHARLfOzy5eqCrC36hd/Io7CuutkA+cgTsVXNy C727ju0QFYQ3jnjrIvnomKgpuHc3j+Y= X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-alpine-linux-musl) Received-SPF: pass client-ip=213.219.36.190; envelope-from=ncopa@alpinelinux.org; helo=gbr-app-1.alpinelinux.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:11040 Archived-At: 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