In sysdeps/unix/sysv/linux/sparc/bits/shm.h SHMLBA is defined as the pagesize. This is incorrect and does not match include/asm-sparc/shmparam.h. It causes the LTP tests for shmat01, shmt09 and mmap01 to fail. Unfortunately the vac_cache_size used in the kernel is derived from the CPU settings in openprom. The largest size we can encounter here is 256KB (for ROSS HyperSparc CPUs), so I suggest to use that. If I patch bits/shm.h with 256*1024 the shmat01 test above succeeds. The other LTP tests need additional fixes.
Should be fixed in git.