Re: ifconfig dumps core and gdb uses an undefined symbol

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Wed, 14 Jun 2023 09:12:22 UTC

> On 14 Jun 2023, at 11:01, Gary Jennejohn <garyj@gmx.de> wrote:
> I compiled gbd under /usr/ports and it now works, although it's emitting
> some weird errors.
> 
> -O0 -g3 removes too much and gdb shows no useful information.

Build it with:

WITH_DEBUG=1 DEBUG_FLAGS=“-O3 -g3”

otis

—
Juraj Lutter
otis@FreeBSD.org