From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 633533847718; Wed, 3 Apr 2024 17:47:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 633533847718 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712166474; bh=qG6RrCubZz3ovPaPGCxBD9jQjgDCFpYlY+3XmxFh7Bg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XJdK8oMD8jj1lXTLvPPnG4eZNzAjH1Sq7X5agrX9O2xJasEwthTd+QRGzsO7rBpUY SbqpXOuQ0Zs8ciUEsupoNMCpZo75Na3XQY0/Sm8kidqGl2XXnmYvvOyixOoibCDe1p P/dtGvihkwe1SAcq62gD/KIEUXJQZBxO5SnH/Ofg= From: "nicolas at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs Date: Wed, 03 Apr 2024 17:47:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nicolas at debian dot org X-Bugzilla-Status: NEW 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=3D114065 --- Comment #7 from Nicolas Boulenguez --- Hello. The attached suggestions (based on gcc-13/13.2.0) might solve the current issue, or at least simplify the investigation, but they are so intrusive th= at I would like a quick review by experts before testing anything. For now, I h= ave not even tried a build. In principle, is there a chance that you accept such changes upstream, once= /if they are tested in Debian? The main suggestion is of course 'Define time_t ... in a single place'. The= n, ``` diff -u --color=3Dauto libgnarl/s-linux{,__x32}.ads diff -u --color=3Dauto libgnat/s-parame{,__posix2008}.ads diff -u --color=3Dauto libgnat/s-osprim__{unix,solaris}.adb diff -u --color=3Dauto libgnat/s-osprim__{rtems,darwin}.adb diff -u --color=3Dauto libgnat/s-osprim__{rtems,x32}.adb ``` should validate the removal and the last suggestion should be trivial. Thanks in advance.=