gpsd-dev
[Top][All Lists]
Advanced

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

Re: ✘gpsd .23.2~rc1


From: Gary E. Miller
Subject: Re: ✘gpsd .23.2~rc1
Date: Wed, 13 Apr 2022 16:42:40 -0700

Yo Hal!

On Wed, 13 Apr 2022 16:04:40 -0700
Hal Murray <halmurray@sonic.net> wrote:

> > Can you point me to a failing distro so I can duplicate in
> > VirtualBox?   
> 
> 32 bit Debian.

Now I can clearly see the problem.

Take this simple test program:

    $ cat ../test1.c
    #include <float.h> 
    #include <stdio.h> 

    int r1; 
    double ten = 10.0; 

    int main(int c, char **v) 
    { 
        r1 = 0.1 == (1.0 / ten); 
        printf("FLT_EVAL_METHOD %d\n", FLT_EVAL_METHOD);
        printf("1=%d\n",  r1); 
    } 

Compile it, and run it on a "working" host:

    # cc test1.c -o test1
    # ./test1
    FLT_EVAL_METHOD 0
    1=1

Now compile and run on 32-bit Debian 11:

    # cc test1.c -o test1
    # ./test1
    FLT_EVAL_METHOD 2
    1=0

Gonna be hard to create a smaller test case than that.

So back to:

Why is 32-bit Debian not running ins standards conformance mode?

And is there a way to force it to run in standards conformance mode?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpxT92Fa9y1i.pgp
Description: OpenPGP digital signature


reply via email to

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