I just downloaded the OPENBSD_3_7_BASE sources and tried building the kernel and userland. Everything *seemed* to work fine, but after a reboot, the c++ compiler no longer seemed to support exceptions.
A simple (~20 line) program with a single exception-throwing function failed to compile: [05.04.05 10:38:51 [EMAIL PROTECTED] scratch]$ g++ test.cpp /usr/lib/libstdc++.so.37.0: warning: strcpy() is almost always misused, please use strlcpy() /tmp//ccrb6626.o(.text+0xf): In function `test()': : undefined reference to `__gxx_personality_sj0' /tmp//ccrb6626.o(.text+0x22a): In function `main': : undefined reference to `__gxx_personality_sj0' /usr/lib/libstdc++.so.37.0: undefined reference to `_Unwind_Resume_or_Rethrow' /usr/lib/libstdc++.so.37.0: undefined reference to `_Unwind_Resume' /usr/lib/libstdc++.so.37.0: undefined reference to `_Unwind_RaiseException' collect2: ld returned 1 exit status Any suggestions as to what I might have done wrong? I realize that this sort of thing is probably unsupported; any help is appreciated. bc -- Benjamin A. Collins <[EMAIL PROTECTED]> http://people.cs.tamu.edu/bcollins/ #include <iostream> #include <stdexcept> int test(void) throw(std::runtime_error *) { throw new std::runtime_error("test message"); return 0; } int main(int argc, char **argv) { try { test(); } catch(std::runtime_error *re) { std::cout << re->what() << std::endl; } return 0; } [demime 1.01d removed an attachment of type application/pgp-signature]