The solution provided by sb@openoffice.org is to put the problem assembler "cas" instruction by hand into machine code .word 0xD5E21009 !cas [%o0], %o1, %o2 This will build OK for v8 and runs on my sparc64 machine using sparc32 to return sparc from uname -m. Complete patches dated 13 july are at http://qa.openoffice.org/issues/show_bug.cgi?id=30774 thanks jim