Eight Lebanese soldiers have been killed in clashes with gunmen in eastern Lebanon, near the border with Syria, which erupted after a suspected jihadist was detained, the army said Sunday.