The crash happens because LTO during linker phase. The cause is likely some problem into GCC itself how ever it is caused by the following line in vectors.c:
void Reset_Handler(void) attribute((weak, alias("_unhandled_exception")));
By removing the attribute the compilation succeeds.
void Reset_Handler(void);
Will be fixed in 3.0.6 and 16.1.4.