I've started looking into the cxa_atexit/dso_handle mess we're having trying to move to gcc4 -Werrors, and found the following page which people might find useful in understanding what the limitations of C++ in a kernel are, in particular with regards to g++. http://www.mega-tokyo.com/osfaq/Doing%20a%20kernel%20in%20C++ -Patrick