[Bro-Dev] enable-debug doesn't work on FreeBSD

Robin Sommer robin at icir.org
Fri Aug 5 11:51:16 PDT 2011

On Thu, Aug 04, 2011 at 10:44 -0500, you wrote:

> I think I understand why they did it -- it makes it easier for port
> maintainers to arrest full control of compile flags without patching
> upstream sources of projects that use build profiles.

FreeBSD can be a pain in this regard. For the autotools, they used to
have their own version for the ports, which however didn't work well
for external software. As a work-around they offered an additional
port gnu-autotools that would install an unmodified version into
/usr/local/gnu/bin/ ... Sigh.

This seems to be along the same lines: optimizing for the ports, but
not considering external software using the same tools.

That said, I think it would be good for us to work around this. While
it's easy to fix once one knows what's going on, it's of these little
things that will be annoying every single time; and everybody on
recent FreeBSD will have that problem.

Can we just generally add a "-g" to debug builds if it's not there yet
(or even if it may be, if we can't check easily?). Seem there's not
much harm to that?


Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org

More information about the bro-dev mailing list