From nobody Sun Sep 26 17:02:56 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ACA617EA451 for ; Sun, 26 Sep 2021 17:03:05 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2n.ore.mailhop.org (outbound2n.ore.mailhop.org [54.186.218.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HHXCD703Fz4jft for ; Sun, 26 Sep 2021 17:03:04 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1632675779; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=eiEpG90PYW54aCc/O89O6G5y4zSiBftbsBfuHz9Z6PZhoRGmPnzlaitUv158/2HOtlPY6ib77/18q miQmpweutBJW5JTqZJVlAJgrurIRJfUEDVxrutWp50LGRi68RqVrqgBpdhwEEPf49HmL5wjMs5hn4a QoXT4fuxUfV/4UAi5PNeiJJtRHdIzCIKStQkNjychm8m8E4tUqT5C8WBvOhANZtW3F2WY+gcyRibIW cO3NT4QOc24qMlEsG2suq88/gmyFk7Jchu56wROS7ADQv0uI3kZYiMOFQTvTDGsU34/GuvFV94n7bu JgbSCoR6Bz5UzIimq0hoIUoqdnX/0jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=2jDkP5yZs/ytannxDi1Ugq/e7ozY2QzM0pnFWj0qEo4=; b=uq5MNXuOVcA44wYOyVhvdP+djp6vmM+xfnhAwhswhaRRVvuzQkohkrGCtUSKl4ddisjQEWmqK4aTL D4B8Pu8yto682onLE6AUWbbRJt5jJEc6Hr7rMItfAYMO1UcVFAPebzblMoxzNcxSGnPCP03hNQ9K5d OzllyeRkjUhcNqZtA/Pz05A/jlXNnq63g5fw0uiPPEbTAtO9O7EDLPF1xZrmC6cS54Qmkq6umOoJKL ahkMBTfPr5nzo/slWY2B9zG9vpFSS+NReyq2UYq5Zv95Ubi3mEv5gmqZPL1p+zoJVlKGZqbMcSUfUl +RkxvtEqTCCfi6Ps2SOeLOKbT2JU4QA== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=24.8.225.114; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=2jDkP5yZs/ytannxDi1Ugq/e7ozY2QzM0pnFWj0qEo4=; b=ToiADhACie3a8dc6hWtqwobQp+YcEAMgqVctNjlPQVmqcp5TD8Q0pYEhc97kwKKeO0C9DBGrmMDzg nyoD8TRvzuU3xh/MGvVYxCAJL6Apjs55HmfG8Vv6twEJrnkX8Zw3wiOQ7ITkQ8ct0xiV//wxZ0u3xs CvusCiTPMfr/Wg8LPIugFEVX8M3OHkyuqoxnlKTTROO+YVwgy9YIOamNSLYLjGvZESxBAQ9aXNCEEw 3sz57bZLoqCcASwmA+e+/2tMtTbMWtNUN3DbKw2KWU2IvbnxEOE02vifY2Gb9Gdk/lBCeaIHaHZmDc rzwYNwUnQxkTGWMCPsWhIpeqqzXGnjA== X-Originating-IP: 24.8.225.114 X-MHO-RoutePath: aGlwcGll X-MHO-User: 98cf2fa7-1eeb-11ec-a67c-89389772cfc7 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (c-24-8-225-114.hsd1.co.comcast.net [24.8.225.114]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 98cf2fa7-1eeb-11ec-a67c-89389772cfc7; Sun, 26 Sep 2021 17:02:58 +0000 (UTC) Received: from [172.22.42.84] (rev2.hippie.lan [172.22.42.84]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 18QH2udn073865; Sun, 26 Sep 2021 11:02:56 -0600 (MDT) (envelope-from ian@freebsd.org) X-Authentication-Warning: paranoia.hippie.lan: Host rev2.hippie.lan [172.22.42.84] claimed to be [172.22.42.84] Message-ID: Subject: Re: I get odd time reports from poudriere on armv7 system, under a (non-debug) main [so: 14] FreeBSD. From: Ian Lepore To: marklmi@yahoo.com, freebsd-ports@freebsd.org, Bryan Drewery Cc: freebsd-current , Free BSD Date: Sun, 26 Sep 2021 11:02:56 -0600 In-Reply-To: <187B69AF-9465-41DE-BFD0-A4AA0F7F9068@yahoo.com> References: <187B69AF-9465-41DE-BFD0-A4AA0F7F9068@yahoo.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.3 FreeBSD GNOME Team List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4HHXCD703Fz4jft X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 2021-09-26 at 02:27 -0700, Mark Millard via freebsd-current wrote: > On 2021-Sep-25, at 23:25, Mark Millard wrote: > > > [...] >         if (argc == 3 && strcmp(argv[2], "-nsec") == 0) >                 printf("%ld.%ld\n", ts.tv_sec, ts.tv_nsec); There are two problems with this, both the seconds and nanos are printed incorrectly. The correct incantation would be printf("%jd.%09ld\n", (intmax_t)ts.tv_sec, ts.tv_nsec); -- Ian