From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E83B13858C33; Wed, 28 Jun 2023 17:15:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E83B13858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687972528; bh=LFR8HaY0Yzy6emMSvbsYcppYl7MgtLxuF7ghE6cBtT0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ATCQz4HN74AtgmzXNTd17O0N+cb2SdemDGTK1K7NKMoSHZNRRSPN0ORBVDoB+LXL3 EZlk+Lap8tna/JBsglBJfgCLAVtflGlY/abI2DtH8Z4Tei0MTwA4oqPQghTNDed5ew eZ5kpVJHu73Wbc2x/PM81xrTb7lR0i9biOTXcI8Q= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/110462] [14 regression] Build failure with musl-1.2.4 (filesystem/ops-common.h:377:5: error: 'off64_t' was not declared in this scope; did you mean 'off_t'?) Date: Wed, 28 Jun 2023 17:15:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110462 --- Comment #5 from Jonathan Wakely --- This would "fix" it, but only by disabling copy_file_range use with musl: --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -5160,7 +5160,7 @@ dnl linux*) GCC_TRY_COMPILE_OR_LINK( [#include ], - [copy_file_range(1, nullptr, 2, nullptr, 1, 0);], + [copy_file_range(1, (off64_t*)nullptr, 2, (off64_t*)nullptr, 1, 0= );], [glibcxx_cv_copy_file_range=3Dyes], [glibcxx_cv_copy_file_range=3Dno]) ;; It would be better to figure out how to use it.=