CMakeFiles/schema_validator.dir/serialization/schema_validator.cpp.o: In function `schema_validation::schema_validator::~schema_validator()': schema_validator.cpp:(.text+0x203): undefined reference to `operator delete(void*, unsigned long)' CMakeFiles/schema_validator.dir/serialization/schema_validator.cpp.o: In function `game::error::~error()': schema_validator.cpp:(.text._ZN4game5errorD0Ev[_ZN4game5errorD5Ev]+0x26): undefined reference to `operator delete(void*, unsigned long)' CMakeFiles/schema_validator.dir/serialization/schema_validator.cpp.o: In function `abstract_validator::error::~error()': schema_validator.cpp:(.text._ZN18abstract_validator5errorD0Ev[_ZN18abstract_validator5errorD5Ev]+0x26): undefined reference to `operator delete(void*, unsigned long)' CMakeFiles/schema_validator.dir/serialization/schema_validator.cpp.o: In function `std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_stringbuf()': schema_validator.cpp:(.text._ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED0Ev[_ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED5Ev]+0x26): undefined reference to `operator delete(void*, unsigned long)' CMakeFiles/schema_validator.dir/serialization/schema_validator.cpp.o: In function `boost::exception_detail::error_info_injector<std::invalid_argument>::~error_info_injector()': schema_validator.cpp:(.text._ZN5boost16exception_detail19error_info_injectorISt16invalid_argumentED0Ev[_ZN5boost16exception_detail19error_info_injectorISt16invalid_argumentED5Ev]+0x34): undefined reference to `operator delete(void*, unsigned long)' CMakeFiles/schema_validator.dir/serialization/schema_validator.cpp.o:schema_validator.cpp:(.text._ZN5boost16exception_detail19error_info_injectorISt11logic_errorED0Ev[_ZN5boost16exception_detail19error_info_injectorISt11logic_errorED5Ev]+0x34): more undefined references to `operator delete(void*, unsigned long)' follow collect2: error: ld returned 1 exit status http://package22.nyi.freebsd.org/data/103amd64-default-PR219275/2017-05-20_20h22m32s/logs/errors/wesnoth-1.12.6_3,1.log http://package23.nyi.freebsd.org/data/103i386-default-PR219275/2017-05-20_20h22m29s/logs/errors/wesnoth-1.12.6_3,1.log
A commit references this bug: Author: rakuco Date: Fri Aug 4 18:56:09 UTC 2017 New revision: 447354 URL: https://svnweb.freebsd.org/changeset/ports/447354 Log: Build with -std=gnu++11 when OPENMP is on. -std=gnu++11 is necessary on FreeBSD 10, whose libc++ does not have the `operator delete(void*, size_t)' overload from C++14. GCC 6 defaults to --std=gnu++14, which then breaks the build. PR: 219485 Changes: head/games/wesnoth/Makefile