Aw: Re: segfault when calling time()

[email protected] Wed, 10 Jun 2015 22:25:34 +0200 (CEST)
Newsgroups gmane.linux.lib.dietlibc
Message-ID <1391384041.32917.1433967934397.JavaMail.ngmail@webmail09.arcor-online.net>
----- Original Nachricht ----
Von:     Felix von Leitner <[email protected]>
An:      [email protected]
Datum:   10.06.2015 19:27
Betreff: Re: segfault when calling time()

> Thus spake [email protected] ([email protected]):
> > I'm getting a segfault when running this simple program:
> 
> Works for me.
> 
> Is this maybe a really old kernel?
> 
> Oh I just noticed that the time implementation on amd64 looks a bit
> fishy. I'll replace it with a wrapper around gettimeofday.
> 
> Felix
> 

Hi,

works now, thanks.

I had problems both on a 'genuine' AMD quad core at work and with my
Via Nano at home.

The kernels I use are actually really new; I compile them myself from
the linux-stable git repo., maybe I disabled support for some feature
required by your old time() implementation.

giorgio


Giorgio, [email protected]