Stocks rally on Wall Street but still face 6th weekly loss