U.S. homebuilding rises as S&P 500 sets new high