Huge chunks of ice thrust ashore by strong winds have been forming walls up to 40ft high near Buffalo.