https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67415
--- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- Your GCC-4.9 is a Linaro build which contains some extensions of their own. It's possible that they've made some changes in the way search paths work. I'd start by asking them.