Compiling sys-libs/db-3.2.9-r1 fails on sparc64 during configure:
checking for int32_t... yes
checking for largest integral type... unsigned long long
checking for integral type equal to pointer size... configure: error: can not
run test program while cross compiling
This was due to a broken gcc / glibc installation. Sorry for the noise.