Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2023 11:12:22 +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:  <5822A2EB-F04E-4AAE-B6B4-E37918A161C5@FreeBSD.org>
In-Reply-To: <20230614110135.15b928db@ernst.home>
References:  <20230614095956.26234554@ernst.home> <7A98AD66-35D3-447B-B808-2A52E9AD28F3@FreeBSD.org> <20230614110135.15b928db@ernst.home>

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



> 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



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5822A2EB-F04E-4AAE-B6B4-E37918A161C5>