Markus Malkusch wrote:
>>ERROR: dev-libs/libgpg-error-1.0 failed
>
>
> I had the same problem. There was a USE Flag which make portage not to
> install libgpg-error. But I could install it when I altered my CFLAGS to a
> simple "-pipe -march=pentium4".
OK I got it too

these CFLAGS worked for me:
CFLAGS="-march=athlon-xp -pipe -O2"
thanks Marcus