This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc 2.21 - Master is frozen solid at -26 degC.


> nptl-init.c: In function  sighandler_setxid :
> nptl-init.c:242:1: error: optimization may eliminate reads and/or writes to register variables [-Werror=volatile-register-var]
> nptl-init.c:242:1: error: optimization may eliminate reads and/or writes to register variables [-Werror=volatile-register-var]
> 
> I get these all over the NPTL code, and every instance points to the
> function's declaration rather than at any code within the function, which
> makes tracking down what it's unhappy about not so easy.
> 
> I'll keep digging into this.

In the GCC source, that message is only for global register variables
declared as volatile AFAIK.  I expect it's for the __thread_self global in
sysdeps/sparc/nptl/tls.h but there is no volatile there, so I don't know
how it would come about.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]