You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/05/22 23:37:00 UTC
DO NOT REPLY [Bug 10648] -
IDDocumentImpl misaligned allocations on machines with a 64 bits 'long' type
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10648>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10648
IDDocumentImpl misaligned allocations on machines with a 64 bits 'long' type
------- Additional Comments From jberry@criticalpath.com 2003-05-22 21:36 -------
Earlier "fix" to this problem had been backed out in the code due to problems on IA64.
I believe code I just checked in to DOMDocumentImpl should resolve this issue. Pointers returned
by allocate in DOMDocumentImpl are now aligned to a default of the greater of sizeof(void*) and
sizeof(double). double should be at least 8 bytes, which means that this should resolve the
alignment issue on MIPS, unless double is something like 12 bytes there... ;)
Any further alignment tweaks should be acheived by defining
XML_PLATFORM_NEW_BLOCK_ALIGNMENT.
Please verify. -jdb
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org