This is a bug in the dev environment, you can't build threading applications. I will fix it when get some time. Solution is to compile in Raspbian. Most probably executable will work in piCore.
Please note, it is an early test version, expected to have bugs like this. Apps with no threading can be build safely in piCore however.