[Top][All Lists]

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

Re: [groff] 1.22.4.rc4 - Final RC before official 1.22.4

From: Bertrand Garrigues
Subject: Re: [groff] 1.22.4.rc4 - Final RC before official 1.22.4
Date: Thu, 06 Dec 2018 23:47:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi Ingo,

On Thu, Dec 06 2018 at 09:45:31 PM, Ingo Schwarze <address@hidden> wrote:
> i found out more about why the mom test is failing on Solaris 11.
> It turns out not just the test is broken, but there is likely a
> portability issue in gropdf(1).
> I see this in the build log:
>     GROFF    contrib/mom/examples/typesetting.pdf
>   Negative length at /home/schwarze/groff-1.22.4.rc4p1.solaris11/build/gropdf
> I guess the length is supposed to be 176 + 2 * 256 = 688 (little endian)
> but is instead calculated as 176 * 256^3 + 6 * 256^2 = 2953183232
> (big endian).
> Frankly, that looks like an endianness bug.  Did anybody ever test
> gropdf(1) on a big-endian platform?

No, never. So the test server farm you are using gives you access to a
real SPARC station?

I've just installed a Solaris 11 image in a virtual machine, with your
workaround 'export groff_cv_decl_needed_hypot=no' I have no build issue,
'make check' passes and the mom pdf examples are correcly generated.  So
you are probably right, it should be an endianness issue.

> Not sure what to do about it, though, since i don't really understand
> the code in the GetChunk() function...

I let Deri answer to that...



reply via email to

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