LWN.net Logo

Clang builds a working 2.6.36 Kernel

Clang builds a working 2.6.36 Kernel

Posted Oct 27, 2010 5:28 UTC (Wed) by dterei (guest, #45237)
Parent article: Clang builds a working 2.6.36 Kernel

I'm curious as to what has been done to handle the GNU Global Register Variables extension? I know clang didn't use to support this (or at least not with the same semantics as GCC, the registers weren't actually reserved for exclusive use by the variable). Does the linux kernel just not make use of this extension?


(Log in to post comments)

Clang builds a working 2.6.36 Kernel

Posted Oct 27, 2010 6:58 UTC (Wed) by wash (guest, #70825) [Link]

It doesn't. But also, I have a patch to make clang support GNU-style explicit register variables.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds