On Thu, 19 Nov 2020 22:07:33 +0000, Roderick wrote: > g++, gcc and gcov in /bin are from Apr 13, 2019. The rest are from > Oct 5, 2020.
That explains your problem. The upgrade would have removed any obsolete /usr/lib/gcc-lib/amd64-unknown-openbsd* directory which the old gcc binaries require. There should now be a /usr/lib/gcc-lib/amd64-unknown-openbsd6.8 directory for use by the updated gcc/g++ but for some reason you don't have those updated gcc binaries. Perhaps you ran out of space in /usr or some other problem prevented the sysupgrade from finishing. Nick's advice is good. There are obsolete file removal instructions in the Upgrade Guide, e.g. http://www.openbsd.org/faq/upgrade68.html#RmFiles http://www.openbsd.org/faq/upgrade67.html#RmFiles Once you have the obsolete files removed, do a manual upgrade from the 6.8 bsd.rd and it should fix things. - todd