media-libs/libofa-0.9.3 does not compile with gcc4. A patch with corresponding ebuild is available from the musicbrainz overlay at http://juffo.org/proj/musicbrainz-overlay/ This is required for Amarok with musicbrainz support under gcc4, amongst others.
Thanks David. About time that I switch to GCC 4.