> Anyway, first build attempt, link fails with dozens hundreds of missing > symbols. Build with clang 7.0 s/libnssutil3.dylib > /opt/local/lib/nss/libnss3.dylib /opt/local/lib/nspr/libplds4.dylib > /opt/local/lib/nspr/libplc4.dylib /opt/local/lib/nspr/libnspr4.dylib -lm > Undefined symbols for architecture i386: > "std::__codecvt_utf16_base<wchar_t>::do_unshift(__mbstate_t&, char*, char*, > char*&) const", referenced from:
when you see a large number of errors like this, especially referencing stdlibrary symbols, it usually means some basic switch is flipped the wrong way. In this case, most likely clang is trying to link against the wrong std c++ library, and not finding the expected symbols there. gcc7 defaults to c++11 and a compatible std c++ library, so that's a clue. Different OS versions helpfully (:>) change clang's defaults to different things, so that is often what needs to be tweaked. usually, you fix this by asking macports to set things up properly like this : compiler.cxx_standard 2011 If no happiness with that, it might require an actual ticket to see what is going sour. K
