[Unbound-users] Unbound 1.4.9 & ./configure --enable-debug
W.C.A. Wijngaards
wouter at NLnetLabs.nl
Sun Apr 10 07:36:28 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Ken-ichi,
On 04/09/2011 03:12 PM, TANABE Ken-ichi wrote:
> Hi,
> I'm writing a package unbound-1.4.9 for Gentoo Linux.
>
> I find that compilation errors occur with debugging options enabled.
>
> $ ./configure --enable-debug --enable-lock-checks
> --enable-alloc-checks --enable-alloc-lite --enable-alloc-nonregional
> $ make
> ...(snip)...
> undefined reference to `unbound_stat_free_log'
> collect2: ld returned 1 exit status
> make: *** [unbound-anchor] Error 1
>
> I remove '--enable-alloc-lite', '--enable-alloc-checks' from
> configure, then the error messages go away.
> but 'make test' fails.
> assertion failure testcode/unitregional.c:82
> make: *** [test] Error 1
>
> Any help would be appriciated.
> Thanks,
For packaging, --enable-debug is the option to use (you get assertions).
The other options are really for development, and to enable one at a
time if you want to find specific bugs. The other options are likely
very slow too. Thanks for the report, I should check out that error.
Best regards,
Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iEYEARECAAYFAk2hXfwACgkQkDLqNwOhpPh5cACeIx1wFrVFqVojs3QMD2YNBcyU
vNcAn2I6lpe2SN/GUtWrvVL71vZMT2KY
=tD8E
-----END PGP SIGNATURE-----
More information about the Unbound-users
mailing list