in reply to Unable to install Data::Dumper module
cc1: error: unrecognized command line option "-fstack-protector"
I saw the same error reported on the cygwin mailing list (albeit, for a different module) - to which Reini Urban replied "You have for sure only gcc-3 but you need gcc-4".
Cheers,
Rob