Thanks Jakub. This was exactly the problem. The link used -nostdlib, to avoid including the standard libc, but omitted -lgcc. I added -lgcc to LIBS and my problem was fixed. Cheers, Shaun > This means that newlib was built incorrectly (-lgcc was not linked > into that shared library). > > Jakub