Re: ifconfig dumps core and gdb uses an undefined symbol

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

> On 14 Jun 2023, at 11:12, Juraj Lutter <otis@FreeBSD.org> wrote:
> 
> 
> 
>> 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”
> 

Silly me.

Actually with:

WITH_DEBUG=1 DEBUG_FLAGS=“-O0 -g3”

otis

—
Juraj Lutter
otis@FreeBSD.org