wilseypa / llamaOS

Low-LAtency Minimal Appliance Operating System
Other
4 stars 2 forks source link

__thread crash #87

Open wmagato opened 12 years ago

wmagato commented 12 years ago

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.