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

Re: Help needed [Was: Re: Bug#98913: lxdoom: SIGBUS on sparc...]



On Sun, May 27, 2001 at 05:05:50PM -0400, Joe Drew wrote:
> On Sun, May 27, 2001 at 09:34:13AM -0400, Ben Collins wrote:
> > Well, it looks like lxdoom is supposed to work on sparc, but when I ran
> > it, It got to R_LoadTrigTables and said "Endianess...corrected", and
> > then went to:
> > 
> > R_InitData: Textures Bus error
> > 
> > So there is some sort of alignment issue.
> 
> Unfortunately my first reaction to this is just not to build for sparc,
> and to refer you to prboom, which is actively maintained and has had
> some fixes for sparc recently. However, I would like to get lxdoom up
> and running properly, so I ask for help: it looks like lxdoom has alignment
> problems. If someone could refer me to documents about typical alignment
> issues and how to resolve them (particularly wrt sparc), or would look over
> lxdoom itself (it generates several alignment warnings on sparc when built),
> I'd be greatly indebted.

Yup, lxdoom thinks that all the world is a PC and therefore contains
quite some misaligned accesses. The same problem also shows on ARM
systems, when people wanted to run Doom on their Compaq iPaq.
Fortunately somebody fixed it, though I can't remember who (I think it
was Russ Nelson). Have a look at http://www.handhelds.org/ , IIRC the
solution is in the Wiki.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/



Reply to: