The quake struck 8 miles southwest of General Santos city, with potential tsunami waves up to 10 feet high for the Philippines.