Bug #1348
closedRuntime and compilation error on FreeBSD 10.0 (latest)
100%
Description
Everything got compiled, but I'm getting a runtime error. I tried to compile with gcc-4.2.1 and clang 3.0
[cawka@mavericks NFD (master)]$ sudo NFD_LOG=all ./build/nfd
DEBUG: [NameTree] lookup /
DEBUG: [NameTree] insert /
DEBUG: [NameTree] Name / hash value = 2654435816 location = 488
DEBUG: [NameTree] Did not find /, need to insert it to the table
INFO: [StrategyChoice] setDefaultStrategy(/localhost/nfd/strategy/best-route) new entry
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
what(): resolve: Invalid argument
Something wrong with the resolver. Failed in resolver.hpp after trying
typename resolver::iterator remoteEndpoint = resolver.m_resolver.resolve(query);
The compilation got also broken since commit:248d6bd6. daemon/core/network-interface.cpp
allows only two platforms---Linux and Apple, and emits error for any other platform. FreeBSD uses the same BSD header files and actually works here.
Updated by Alex Afanasyev over 10 years ago
After removing resolver::query::all_matching
flag from code started to work. I guess, we should remove it (it doesn't really make sense to have it), but this will impact unit tests on some jenkins vms
Updated by Junxiao Shi over 10 years ago
This bug should be rejected.
- FreeBSD 9.0-RELEASE has reached End-Of-Life
- It's also not a supported platform
Updated by Alex Afanasyev over 10 years ago
- Subject changed from Runtime error on FreeBSD 9.0 to Runtime error on FreeBSD 10.0 (latest)
- Status changed from New to Code review
- % Done changed from 0 to 100
Updated by Alex Afanasyev over 10 years ago
I know that it is unsupported, but this is the platform I'm having easy access to and will plan to use in testing (I don't have many free Linux and OSX machines, but have several underutilized FreeBSD processing boxes).
Updated by Alex Afanasyev over 10 years ago
- Subject changed from Runtime error on FreeBSD 10.0 (latest) to Runtime and compilation error on FreeBSD 10.0 (latest)
- Description updated (diff)
Updated by Alex Afanasyev over 10 years ago
- Status changed from Code review to Closed