https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122924
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Kirill A. Korinsky from comment #6) > This might be related. > > When I bootstrap on machine without installed exact version of libstdc++ > from this sources, I can't bootstrap D because of: That looks like some other issue. normally gdc/gcc/cc1/d21 are all linked with -static-libstdc++ but it looks like that is not working for openbsd. I think fixing the support for -static-libstdc++ will allow you do the bootstrap I also thought there was code that sets LD_LIBRARY_PATH correctly but I can't find it right now or maybe it has got bitrotten because most use the default which is -static-libstdc++.
