I'm not aware of any such issues specifically with the linux 4.2.5 compiler.
Is it the exact same binary (.out file) that is being loaded to target from a Windows machine and a Linux machine? Or if they're projects being built on the Windows and Linux machines I wonder if there is some build setting/option that is different.