Jurij Smakov napsal(a):
Hi,

This crash happens because the buf2 buffer declared on line 656 of eeprom.c ends up not aligned on a 4-bit boundary. One simple solution is to declare it as

int buf2[1024];

then compiler enforces the alignment and it does not crash anymore.

Eric, if you don't have access to a sparc workstation, perhaps you would be willing to accept me as a comaintainer?

Best regards,

Jurij Smakov                                        [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC


This fix works for me. Sorry but I don't understand how it works. How Can I declare char buf2[4096] to be aligned to 4-bit boundary ? Is it gcc bug on sparc or is possible use some gcc option to do this ?


                        Regards
                                        Dan


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to