ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)