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>

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


> 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.
>=20
> -O0 -g3 removes too much and gdb shows no useful information.

Build it with:

WITH_DEBUG=3D1 DEBUG_FLAGS=3D=E2=80=9C-O3 -g3=E2=80=9D

otis

=E2=80=94
Juraj Lutter
otis@FreeBSD.org




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