Hi, In the course of my recent VAX backend modernisation effort I originally tried the initial version of the VAX/NetBSD port that provided ELF file format support, specifically 1.6.2, which at least in theory we aim to support with the `vax-netbsdelf' target. That indeed turned out to be a theory as a couple of features we support is unconditionally enabled for NetBSD targets, however not really supported causing GCC compilation to fail in libgcc/ and libada/ respectively.
Now we may not care that much about old NetBSD versions and I have since switched to NetBSD 9, but fixes are trivial enough up to the point of being one-liners and might make someone's life easier, so I decided to offer them anyway. Compiler's functionality is limited with NetBSD 1.6.2 and gnatlib does not build anyway for the VAX port due to missing target bindings, but libgcc does and the resulting cross-compiler is functional enough to run the test suite on actual VAX hardware (although the NetBSD kernel that old turned out to miss a key feature needed by me to run testing in a feasible manner). And I imagine gnatlib can be built for other NetBSD ports (missing VAX/NetBSD bindings can be easily added). OK to apply then? Maciej