bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] localtime-buffer: Prevent rpl_gmtime and rpl_localtime from


From: Bruno Haible
Subject: Re: [PATCH] localtime-buffer: Prevent rpl_gmtime and rpl_localtime from calling themselves
Date: Fri, 07 Jul 2017 09:50:29 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-83-generic; KDE/5.18.0; x86_64; ; )

Hi,

Akash Rawal wrote:
> I found this issue when building for MinGW. rpl_gmtime is
> calling itself unconditionally.

localtime-buffer.{o.obj} is expected to be empty on native Windows platforms:

  $ i686-w64-mingw32-objdump --disassemble localtime-buffer.obj

  localtime-buffer.obj:     file format pe-i386

You are having a problem with autoconfiguration.
GETTIMEOFDAY_CLOBBERS_LOCALTIME should be 1 only on Mac OS X.
(See doc/posix-functions/gettimeofday.texi.)
TZSET_CLOBBERS_LOCALTIME should be 1 only on Solaris.
(See doc/posix-functions/tzset.texi.)

What is the environment that you are using?
What are the arguments that you pass to configure?
Whar are the values of CC, CFLAGS, CPPFLAGS, LDFLAGS that you pass to configure?

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]