Things are different with the new gcc. See if this will work:
env CFLAGS="-fcommon" pip install rpi.gpio