A magnitude 7.4 earthquake rattled eastern Taiwan on Wednesday morning, killing at least seven people, a media report said.