Boeing posted a narrower loss and bigger sales than analysts expected. The company generated $2.6 billion of free cash flow in the quarter, ahead of analyst forecasts. Boeing's defense, space and security unit reported a loss of $527 million for the quarter, compared with an operating profit of $71 million a year ago.