C++ code in a kernel module?

Fred Gilham gilham at csl.sri.com
Tue Sep 9 09:59:02 PDT 2003




> I don't know about __gxx_personaility_v0, but your best bet is to
> look at the .o's and find where it is referenced.  Then back track
> it to what function, then to what construct and go from there.

The __gxx_personality_v0 stuff is actually related to distinguishing
between C++ and Java exceptions.  At least that's what I remember from
my encounters with the same problem.  I haven't been able to retrieve
the documentation that explains it, though.

It seems to come up when you try to link C++ code with the C linking
convention.

-- 
Fred Gilham                                   gilham at csl.sri.com
Lisp has jokingly been called "the most intelligent way to misuse a
computer". I think that description is a great compliment because it
transmits the full flavor of liberation: it has assisted a number of
our most gifted fellow humans in thinking previously impossible
thoughts.   E. Dijkstra


More information about the freebsd-hackers mailing list