After updating to glibc-2.16.0 and gcc-4.7.1 with some llamaOS logic cleanup, nothing seemed to run. After debugging, a crash seemed to happen at random but consistent places. This usually indicated stack problems but this time it was TLS issues. Using the latest library, __thread is called out for a few variables. Unless the TLS is implemented for llamaOS, everywhere this is used will crash. I changed the errno logic to avoid it. Looks like anything with locales may also be trouble.
After updating to glibc-2.16.0 and gcc-4.7.1 with some llamaOS logic cleanup, nothing seemed to run. After debugging, a crash seemed to happen at random but consistent places. This usually indicated stack problems but this time it was TLS issues. Using the latest library, __thread is called out for a few variables. Unless the TLS is implemented for llamaOS, everywhere this is used will crash. I changed the errno logic to avoid it. Looks like anything with locales may also be trouble.