On 2008/08/01 19:07, Michael wrote:
> The issue with sparc64 and Berkeley-DB in general is described here:
> http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=4480

"64-bit assignment statements tend to cause bus errors if misaligned."
strict alignment architectures need strict alignment? who'da thought it.

> http://www.oracle.com/technology/documentation/berkeley-db/db/ref/am_misc/align.html

This just means that you have to take care how you access the
returned data. If it's done incorrectly, you'll get SIGBUS.

This is nothing particular to DB. Sucky unportable applications
will pay no attention to alignment, whether or not they use DB.

> There might also be more apps in the ports tree that are not working as 
> intended on sparc64...

Yep. And macppc. And amd64. And alpha. And [...]

We fix what we can.

Reply via email to