Turkey has been massing troops near the Iraqi border .