The ccache symlinks are ABI-independent and directories like /usr/lib32/ccache will never make sense. Plus the ebuild is modifying ccache to behave in non-standard way. Please make it use /usr/lib/ccache ('lib' like used by gcc, clang, boa, java, systemd...) like it's supposed to work.
should be all set now in the tree; thanks for the report! Commit message: Always use /usr/lib/ccache/bin/ http://sources.gentoo.org/dev-util/ccache/ccache-3.1.10-r1.ebuild?rev=1.1
This hasn't been correctly resolved. Either --libdir=/usr/lib needs to be use with configure, or the LIBDIR ccache-config should be set to /usr/$(get_libdir). Currently this does not on x32 due to --libdir=/usr/libx32 being passed to configure from the "default" configure which is *not* symlinked to /usr/lib.
Just to follow up, obviously the correct fix would be to use "econf --libdir=/usr/lib", I've done this in my x32 overlay and it works fine now.