From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4091 invoked from network); 30 Oct 2021 17:56:42 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 30 Oct 2021 17:56:42 -0000 Received: (qmail 6008 invoked by uid 550); 30 Oct 2021 17:56:40 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 5970 invoked from network); 30 Oct 2021 17:56:39 -0000 Date: Sat, 30 Oct 2021 13:56:26 -0400 From: Rich Felker To: musl@lists.openwall.com, Szabolcs Nagy , =?utf-8?B?w4lyaWNv?= Nogueira Message-ID: <20211030175616.GA7074@brightrain.aerifal.cx> References: <20211029210445.GT37904@port70.net> <20211030010040.GZ7074@brightrain.aerifal.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] Re: freeswitch and musl 1.2.x (time64 most likely) On Sat, Oct 30, 2021 at 12:57:05PM +0200, Sebastian Kemper wrote: > Am Fri, Oct 29, 2021 at 09:00:43PM -0400 schrieb Rich Felker: > > On Sat, Oct 30, 2021 at 12:44:05AM +0200, Sebastian Kemper wrote: > > > So OS time is correct. Something not working right with apr. > > > > Likely it is doing something bad bypassing the system headers and > > declaring gettimeofday (wrongly) itself... > > I looked at APR source but it doesn't seem to redefine gettimeofday. It > only uses it here: I said declare, not define, as in omitting sys/time.h and making its own declaration (or calling it without one). However AFAICT that doesn't seem to be the case, unless APR_HAVE_SYS_TIME_H is misdetected. You might check the disassembly of this file and see what's actually getting called. Rich