AMD64 bugs and patches
rra at stanford.edu
Sun May 16 20:53:42 UTC 2004
Jacek Konieczny <jajcus at bnet.pl> writes:
> My old news server broke and I decided to move it to my new 64-bit,
> Opteron based server. It starded, but crashed soon.
> Most crashes on AMD64 are caused because of "implicit function
> declaration" compiler warnings ignored, and bad integer/pointer
> conversions (these also generate compiler warnings on AMD64). So the
> first thing what I did was fixing those warnings. This is done by
> the "inn-kill_warnings.patch" (attached).
> Unfortunately this was not anough. After some time spent debugging
> I have found the problem and fixed it ("inn--64bit_pointers.patch",
> attached). Innd crashed because "int" type was assumed to be big enough
> to store pointer difference. This is not true on AMD64, where pointers
> are 64-bit. I have changed the type to "size_t".
> Now INN seems to work fine for me (it has not crashed for several hours
Thanks! These patches have now been applied to CVS and will be in INN
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-bugs