From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 01CC73865C27; Wed, 29 May 2024 13:38:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01CC73865C27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716989883; bh=1pabErTBiSRVy53mHEP1dJfg4pSOeUTClPbW7kdnqCg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=B27++YxhZOoO+SqVxwisZ2+xhho+2vsLyjTGq2aCVqHWI8UpO6xBqbue3NOXenUgP 0nWt5qD+NXC2nGjpfdASHOIZNoKmx/stAglIDw1i2UuU1lqx75cSG7HvMW1VKQbTVW VtMyJcw9xf+YIb6+4BBFGcCO557ARqWgtqvoY+/A= From: "gaius at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/115276] libgm2 wraptime.InitTM returns NIL Date: Wed, 29 May 2024 13:38:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gaius at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed cf_reconfirmed_on bug_status 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=3D115276 Gaius Mulley changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-05-29 Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Gaius Mulley --- Confirmed - it appears that wraptime.InitTM returns NIL causing gettimeofda= y to fail. It seems to me that libgm2/libm2iso/wraptime.cc:InitTM should use the macro HAVE_SYS_TIME_H from re-reading the autoconf documentation: https://www.gnu.org/software/autoconf/manual/autoconf-2.60/autoconf.html=