3849 implement __cxa_atexit/__cxa_finalize
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Albert Lee <trisk@nexenta.com>
3853 __cplusplus change and headers incompatipility with clang
Reviewed by: Albert Lee <trisk@nexenta.com>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Cedric Blancher <cedric.blancher@googlemail.com>
Reviewed by: Ian Collins <ian@ianshome.com>
Reviewed by: Don Cragun <dcragun@sonic.net>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Dan McDonald <danmcd@nexenta.com>
3893 lvm: incorrect flag handling
Reviewed by: Theo Schlossnagle <jesus@omniti.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Dan McDonald <danmcd@nexenta.com>
	[illumos-gate merge]

commit 3e7c6556c4272555ed6c5ecdbca2bf8a56df6ff5
    3893 lvm: incorrect flag handling
commit 5bc7ce93aca1e9026e3243221a9a0b1a3bc9a32e
    3853 __cplusplus change and headers incompatipility with clang
commit 5c069a6c4b95a7360294695998bf1d3b12473abf
    3849 implement __cxa_atexit/__cxa_finalize