Revert "Revert "add linaro compiler checks and bump linaro to 4.7""

This reverts commit 4993b6b814c097eb55da6c342d0448c89d71b951.