http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48019
--- Comment #4 from Ian Lance Taylor <ian at airs dot com> 2011-03-09 18:21:44 UTC --- Come to think of it, the code sets SA_RESTART when it calls sigaction. Is SA_RESTART defined on Solaris? Do I have to #define any special macros to get it to be defined?