[Pdns-users] PowerDNS Recursor 4.0.0 Alpha 3 released

sthaug at nethelp.no sthaug at nethelp.no
Tue May 10 19:37:21 UTC 2016

> We are pleased to announce the release of the PowerDNS recursor 4.0.0 Alpha 3. This release features a great number of DNSSEC correctness fixes.

Hi Pieter,

I'm trying to get this up and running on a FreeBSD 10.3/x64 server.
Not entirely straightforward. 

- I'm trying to use gcc 5.3.0 and Boost libraries 1.55.0. Which
versions are you using for development?

- I ended up with the following compiler flags - particularly the
g++ part was tricky (I'm not a C++ expert). Do these flags make

CXXFLAGS "-g -std=c++11 -D_GLIBCXX_USE_C99"

- With the above flags I'm actually able to compile and link a
pdns_recursor binary - however, it dumps core right after startup
(when trying to produce the recursor.conf-dist file). The gdb
backtrace is as follows:

Reading symbols from pdns_recursor...done.
[New LWP 100108]
Core was generated by `pdns_recursor'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000000000 in ?? ()
(gdb) where
#0  0x0000000000000000 in ?? ()
#1  0x000000080114d3f9 in __cxxabiv1::__dynamic_cast (src_ptr=0x80144ba80 <(anonymous namespace)::ctype_c>,
    src_type=0x80143f780 <typeinfo for std::locale::facet>, dst_type=0x801440858 <typeinfo for std::ctype<char>>, src2dst=src2dst at entry=0)
    at ../../.././../gcc-5.3.0/libstdc++-v3/libsupc++/dyncast.cc:72
#2  0x00000008011cc610 in std::has_facet<std::ctype<char> > (__loc=...)
    at /wrkdirs/usr/ports/lang/gcc5/work/build/x86_64-portbld-freebsd10.1/libstdc++-v3/include/bits/locale_classes.tcc:110
#3  0x00000008011c0084 in std::basic_ios<char, std::char_traits<char> >::_M_cache_locale (this=this at entry=0x8bb5e8 <std::cout@@GLIBCXX_3.4+8>, __loc=...)
    at /wrkdirs/usr/ports/lang/gcc5/work/build/x86_64-portbld-freebsd10.1/libstdc++-v3/include/bits/basic_ios.tcc:159
#4  0x00000008011c01f0 in std::basic_ios<char, std::char_traits<char> >::init (this=this at entry=0x8bb5e8 <std::cout@@GLIBCXX_3.4+8>, __sb=
    0x80144a040 <__gnu_internal::buf_cout_sync>)
    at /wrkdirs/usr/ports/lang/gcc5/work/build/x86_64-portbld-freebsd10.1/libstdc++-v3/include/bits/basic_ios.tcc:132
#5  0x0000000801163ff1 in std::basic_ostream<char, std::char_traits<char> >::basic_ostream (__sb=<optimized out>, this=<optimized out>,
    __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /wrkdirs/usr/ports/lang/gcc5/work/build/x86_64-portbld-freebsd10.1/libstdc++-v3/include/ostream:85
#6  std::ios_base::Init::Init (this=<optimized out>) at ../../../.././../gcc-5.3.0/libstdc++-v3/src/c++98/ios_init.cc:91
#7  0x000000000040cbbe in __static_initialization_and_destruction_0 (__priority=65535, __initialize_p=1) at /usr/local/lib/gcc5/include/c++/iostream:74
#8  _GLOBAL__sub_I__ZN7ArgvMap5beginB5cxx11Ev () at arguments.cc:505
#9  0x00000008008b0d77 in ?? () from /libexec/ld-elf.so.1
#10 0x00000008008b028e in ?? () from /libexec/ld-elf.so.1
#11 0x00000008008ae449 in ?? () from /libexec/ld-elf.so.1
#12 0x0000000000000000 in ?? ()

I'd be very grateful for any help here.

Steinar Haug, AS2116

More information about the Pdns-users mailing list