I have disabled savedconfig flag recently and with upgrade emerge wanted to rebuild surf. Then I got this:
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
Makefile:28: recipe for target 'surf' failed
make: *** [surf] Error 1
Here's emerge --info: http://bpaste.net/show/156956/
And here's full build log: http://bpaste.net/show/156957/
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
emerge --info: http://bpaste.net/show/156956/
Sorry, my emerge --info is too long to post it.
(In reply to eregus from comment #3)
> Sorry, my emerge --info is too long to post it.
I don't believe that for a second, but attach it if you have to.
Created attachment 365068 [details]
Created attachment 365070 [details]
emerge --info '=www-client/surf-0.6-r1'
While I believe you may have found an actual bug, I can't help you fix Funtoo.
It's from Gentoo repos.