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

Bug#342704: ocaml: FTBFS on hppa: "Error: Field out of range [-262144..262143] (-267528)."



* Julien Cristau:

> ocaml FTBFS on hppa with the following error (from the build log):
> ../../ocamlcompopt.sh -warn-error Ay -I ../camlp4 -I ../boot -c -impl pa_o_fast.ppo
> [...]
> /tmp/camlasm6f9a2e.s: Assembler messages:
> /tmp/camlasm6f9a2e.s:97621: Error: Field out of range [-262144..262143]
> (-267528).
> Assembler error, input left in file /tmp/camlasm6f9a2e.s
> make[3]: *** [pa_o_fast.cmx] Error 2

This looks indeed like a GAS bug (or a miscompilation of GAS).  The
branch target is only a few hundred instructions away, so it should be
reachable using a BL instruction.  The number given in parentheses is
way off.  I'm going to produce a test case.



Reply to: