Stocks suffered a fifth straight weekly loss as oil prices climbed and mixed signals on Iran raised fears about inflation and growth.