GNU bug report logs - #8017
Error compiling coreutils

Previous Next

Package: coreutils;

Reported by: Toni Venters <toni.venters <at> gmail.com>

Date: Fri, 11 Feb 2011 16:48:01 UTC

Severity: normal

Tags: moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bruno Haible <bruno <at> clisp.org>
To: bug-gnulib <at> gnu.org
Cc: Toni Venters <toni.venters <at> gmail.com>, "fink-beginners <at> lists.sourceforge.net >> fink beginners mailing list" <fink-beginners <at> lists.sourceforge.net>, Eric Blake <eblake <at> redhat.com>, 8017 <at> debbugs.gnu.org
Subject: bug#8017: posixtm failure
Date: Fri, 11 Feb 2011 20:18:33 +0100
Hi Eric,

Eric Blake wrote:
> > FAIL: test-posixtm (exit: 1)
> > ============================
> > 
> > 000001010000.00 mismatch (-: actual; +:expected)
> > --62167132800
> > +-62167219200
> > 000012312359.59 return value mismatch: got 0, expected 1
> > 
> 
> This particular test comes from gnulib, so I've added bug-gnulib in case
> someone there has better ideas on how to troubleshoot if it is a
> weakness in the test or a bug in fink's implementation of posixtm() that
> gnulib should be working around.

There was no explicit mention of the platform, but from the word "fink" I
guess it's MacOS X. The report was then already half analyzed in this
thread:
<http://lists.gnu.org/archive/html/bug-gnulib/2010-04/msg00168.html>

The problem appears to be inside gnulib's __mktime_internal. It is still
present after Paul's recent patches: On MacOS X 10.5, after configuring
with CC="gcc -m64", I get:

  000001010000.00 mismatch (-: actual; +:expected)
  --62167132800
  +-62167219200
  000012312359.59 return value mismatch: got 0, expected 1
  FAIL: test-posixtm

Whereas with CC="gcc -m32", I get a different failure:

  skipping 000001010000.00: result is out of range of your time_t
  skipping 000012312359.59: result is out of range of your time_t
  skipping 000101010000.00: result is out of range of your time_t
  190112132045.51 return value mismatch: got 0, expected 1
  skipping 190112132045.52: result is out of range of your time_t
  skipping 203801190314.08: result is out of range of your time_t
  skipping 999912312359.59: result is out of range of your time_t
  skipping 6812131415.16: result is out of range of your time_t
  FAIL: test-posixtm

Bruno
-- 
In memoriam Rudolf Hilferding <http://en.wikipedia.org/wiki/Rudolf_Hilferding>




This bug report was last modified 6 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.