✘Build failure

Fred Wright fw at fwright.net
Fri Sep 1 21:39:13 UTC 2017


On Fri, 1 Sep 2017, Eric S. Raymond via devel wrote:
> Gary E. Miller via devel <devel at ntpsec.org>:
> > Yo Eric!
> >
> > On Thu, 31 Aug 2017 23:35:03 -0400
> > "Eric S. Raymond via devel" <devel at ntpsec.org> wrote:
> >
> > > > Expected 3486372600 Was 104913720
> >
> > Sure looks like integer overflow.
> >
> > > Something about the expression "(int32_t)*yearstart + tmp" is
> > > computing differently under MacOS than elsewhere.  Anyone got any
> > > ideas?
> >
> > yearstart is uint32_t, and our expected result will not fir in a
> > uint32_t (3486372600 == 0xCFCDD2F8).
> >
> > So the compiler is not changing uint32_t to int32_t where we need it to.
>
> It's a good thing the Mac balked. There was a bug in the way I was
> passing out the computation result.  Embarrassing.
>
> Fred, do you still get this error with xurrebt head?

The failure is gone at the current master (8e7e0677d).

I assume that "xurrebt" is a bottom-row-shifted version of "current". :-)

Fred Wright


More information about the devel mailing list