Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2023 11:14:13 +0200
From:      Juraj Lutter <otis@FreeBSD.org>
To:        garyj@gmx.de
Cc:        Alexander Chernikov <melifaro@FreeBSD.org>, current@freebsd.org
Subject:   Re: ifconfig dumps core and gdb uses an undefined symbol
Message-ID:  <FBBAB011-1530-4497-B612-3D0F65EF704E@FreeBSD.org>
In-Reply-To: <5822A2EB-F04E-4AAE-B6B4-E37918A161C5@FreeBSD.org>
References:  <20230614095956.26234554@ernst.home> <7A98AD66-35D3-447B-B808-2A52E9AD28F3@FreeBSD.org> <20230614110135.15b928db@ernst.home> <5822A2EB-F04E-4AAE-B6B4-E37918A161C5@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail



> 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



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FBBAB011-1530-4497-B612-3D0F65EF704E>