As you all know, the base of FreeBSD 10.x and FreeBSD 11 has /lib/libcxxrt.so.1 which seems to interact badly with libstdc++.so.6. You get segmentation faults such as
vtable for __cxxabiv1::__si_class_type_info () from /lib/libcxxrt.so.1. Assuming you REALLY want to compile something with gcc instead of clang, how do you force libstdc++so.6 or an earlier version of this library from getting linked with libcxxrt.so.1? Is there any way to either prevent libstdc++so.6 from getting linked with libcxxrt.so.1 or force it to be linked with some other library that interacts better with libstdc++so.6?