For anyone else: The issue was arm-none-eabi-gcc --version… mine was 5.4, however i had to downgrade to make it work.