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>

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


> On 14 Jun 2023, at 11:12, Juraj Lutter <otis@FreeBSD.org> wrote:
>=20
>=20
>=20
>> 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.
>=20
> Build it with:
>=20
> WITH_DEBUG=3D1 DEBUG_FLAGS=3D=E2=80=9C-O3 -g3=E2=80=9D
>=20

Silly me.

Actually with:

WITH_DEBUG=3D1 DEBUG_FLAGS=3D=E2=80=9C-O0 -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?FBBAB011-1530-4497-B612-3D0F65EF704E>