From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7B1453858D37; Wed, 28 Jun 2023 17:15:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B1453858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687972524; bh=a9YEqKLZXQnhUi04FSlmCm9Ly9kK0DXC1N0ZApqNHzg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sXi4p0rcJea/O82z76YpMryKkccIWrKEKjbrNn70hePZ7z0neHkcdATso5zSpRJ18 jvXbPSyVOEz8yky2+GAxHYgHYyn/cZdiuuAKyNgsMaWWTxauIGpeMyPI/5PocCVUez qFqEnCGBpUGNBQ96UQhaGuSGeIgCx9GuckE334sM= From: "sjames 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:24 +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: sjames 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 #4 from Sam James --- (In reply to Jonathan Wakely from comment #2) > The system call is defined in terms of off64_t. What type does musl use f= or > copy_file_range(2)? /usr/include/unistd.h:197:ssize_t copy_file_range(int, off_t *, int, off_t = *, size_t, unsigned); On musl, off_t and friends are always 64-bit (i.e. it's natively LFS, no ne= ed for largefile source functions/types). In musl-1.2.4, they dropped the typedefs.=