FreeBSD 11.2 php7.1.27 ソースコンパイル

./configure --enable-intl で以下エラー

/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only handles version 2 information.
ext/intl/msgformat/.libs/msgformat_helpers.o: In function `std::vector<icu::Formattable, std::allocator<icu::Formattable> >::_M_default_append(unsigned long)':
msgformat_helpers.cpp:(.text._ZNSt6vectorIN3icu11FormattableESaIS1_EE17_M_default_appendEm[_ZNSt6vectorIN3icu11FormattableESaIS1_EE17_M_default_appendEm]+0x1a9): undefined reference to `std::__throw_length_error(char const*)'
ext/intl/msgformat/.libs/msgformat_helpers.o: In function `std::vector<icu::UnicodeString, std::allocator<icu::UnicodeString> >::_M_default_append(unsigned long)':
msgformat_helpers.cpp:(.text._ZNSt6vectorIN3icu13UnicodeStringESaIS1_EE17_M_default_appendEm[_ZNSt6vectorIN3icu13UnicodeStringESaIS1_EE17_M_default_appendEm]+0x192): undefined reference to `std::__throw_length_error(char const*)'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

./configure --enable-intl CC='/usr/local/bin/gcc'

で解消