Re: CVS commit: src/share/mk

2016-09-10 Thread Christos Zoulas
On Sep 10, 10:14pm, co...@sdf.org (co...@sdf.org) wrote:
-- Subject: Re: CVS commit: src/share/mk

| > a reduced case which shows the failure I had with pkgsrc (even with
| > gcc 4.8.5) is:
| >   awk 'BEGIN { print x++; }'
| > 
| > it prints 2.22507e-308 on gxemul-emulated pmax with gcc 4.8.5.
| > it might be a gxemul bug, too.
| > 
| > I didn't know all numbers in awk are doubles.
| 
| it's a gxemul bug (flxd doesn't see it on real hardware :) sorry for the
| noise.

NP, thanks for verifying.

christos


Re: CVS commit: src/share/mk

2016-09-10 Thread coypu
On Fri, Sep 09, 2016 at 09:26:40PM +, co...@sdf.org wrote:
> On Fri, Sep 09, 2016 at 04:02:18PM +, co...@sdf.org wrote:
> > On Thu, Sep 08, 2016 at 09:37:25PM -0400, Christos Zoulas wrote:
> > > On Sep 8,  8:40pm, co...@sdf.org (co...@sdf.org) wrote:
> > > -- Subject: Re: CVS commit: src/share/mk
> > > 
> > > | I think we need to revert this commit. I see issues with awk on pmax
> > > | too.
> > > | I don't have a nice hardfloat case like martin in PR 51026 but
> > > | attempting to build anything from pkgsrc will fail on checksum compare.
> > > 
> > > Can you make a unit test?
> > > 
> > > christos
> > 
> > Sorry, my problem seems unrelated. I just assumed because it's awk + bad
> > results. I'll try to dig more.
> 
> a reduced case which shows the failure I had with pkgsrc (even with
> gcc 4.8.5) is:
>   awk 'BEGIN { print x++; }'
> 
> it prints 2.22507e-308 on gxemul-emulated pmax with gcc 4.8.5.
> it might be a gxemul bug, too.
> 
> I didn't know all numbers in awk are doubles.

it's a gxemul bug (flxd doesn't see it on real hardware :) sorry for the
noise.