If you have this... CFLAGS="-O2 -pipe" in your make.conf then python-fchksum fails to build as it tries to pass CFLAGS to ld. Problem is that -pipe is unknown to ld. Reproducible: Always
Builds fine here. Please provide emerge --info, exact error output and reopen.