The problem is not gcc but eglibc-2.17: /usr/include/time.h contains the following lines # ifdef __USE_ISOC11 /* Time base values for timespec_get. */ # define TIME_UTC 1 # endif That define causes the problem. Reinhard