On Sunday 12 June 2005 00:26, Dave Miller wrote:
> From "make", I'm getting "branch offset out of 1-byte range".
>
> The errors occur four times, during:
>
> ./bigforth -e ": $(if [ "$(ldd bigforth | grep libc | cut -f2 | cut
> -f1 -d' ')" = libc.so.5 ]; then echo -n libc5; else echo -n glibc;
> fi) ; include forth.fb save-target forthker cr bye"
>
> They occur sometime in blk 4 of forth.fb.  Two of them occur in
> target.fb.

These are not errors, these are warnings. I use the branch resolve 
functions for the peephole optimization tables. The branch resolve 
function warns when the branch byte (signed) doesn't fit into one byte. 
In the case of the peephole optimization tables, the length is encoded 
as unsigned byte, so it works despite of the warning.

Simply don't worry about it.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/

Attachment: pgpfhGJl98av7.pgp
Description: PGP signature

Reply via email to