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

help with porting texmacs to mips ?



Hi, the texmacs package does not compile on mips[el]. The autobuilders
bail out with message

/tmp/ccQouOpD.s: Assembler messages:
/tmp/ccQouOpD.s:2744: Error: Branch out of range
/tmp/ccQouOpD.s:3563: Error: Branch out of range

A complete build log can be found at

http://buildd.debian.org/fetch.php?&pkg=texmacs&ver=1.0.0.17-5&arch=mips&stamp=1035698277&file=log&as=raw

When I asked for help on this list earlier this year, someone suggested
to me to try gcc>=3.0. However, upstream told me that this is currently not
an option sine on gcc3.2 optimization would have to be disabled.

David Allouche, one of the upstream developers, wrote to me about this
problem:

> > Personal guess:
> > 
> > g++-2.95.4 assembler on mipsel has a limitation on the maximum
> > length of jumps inside a give subroutine, and this limit is
> > exceeded in (one or both of) edit_env_rep::exec (tree)
> > edit_env_rep::exec_until (tree, path).
> >
> > Even if all cases end in return, an internal jump may be generated
> > to properly destroy local objects.
> > 
> > We may try splitting edit_env_rep::exec into subroutines of
> > reasonable size, then if it still does not work, try splitting
> > edit_env_rep::exec_until.

Does this make sense to you? Can anyone of this list give me an advice
what to do?

Thanks in advance -Ralf.

PS: please reply directly to me as I am not subscribed to this list.
-- 



Reply to: