U.S. stocks capped their strongest month since November by shrugging off woes at two of the biggest companies in the stock market, Apple and Amazon.com .
Both companies warned investors Thursday afternoon that ongoing supply-chain disruptions were affecting their operations. Apple said the snarls were hindering the manufacturing of iPhones and other products and would bring increased difficulties during the holiday-shopping season. Amazon, meanwhile, posted lower-than-expected third-quarter sales and signaled that a tight labor market and supply-chain issues would weigh on fourth-quarter earnings.