From nobody Wed Jun 14 09:25:12 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qh0QL0XkQz4d7Nm for ; Wed, 14 Jun 2023 09:25:30 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qh0QK38fxz3rvT; Wed, 14 Jun 2023 09:25:29 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1686734728; x=1687339528; i=garyj@gmx.de; bh=BQ5NvE6s7FMPzX62z9EUUoe6HRIluFzjG/LrB/Je5Ko=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References:Reply- To; b=TMT5BzGFMjrMt48xyA0FK/osjFtW4NTVkf1Bn+OWLrko+wNrClDnGoM9ip9Eg9GOR+4fDjf TZhQGy5wpG7xo53AYsMg7QOmfEN4YwAHFlMX6llIJdbaQ+OI9BGHEQrrojWWKaOLetR/l5w/f 8Awh8Umny3GlXgAtULeC+mJVsLuEJcPE3OfCMX0ZkdJZEWG1UxU+X4nRgqwQrw7n80HJAU/Dr rE5X8qP5XTvu1T/EWDK/WKFUTY+xJCwLiEfYy1vurjcwMyLJCJbeiRfdeiyGjAWLqdWC6zHhF /dGzik01EFDkkkb456DjKLDFjTI8D3+9mDUexCHolU50LM/JzuuA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.239.189]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MqaxU-1pnHUd42Jk-00mZiQ; Wed, 14 Jun 2023 11:25:28 +0200 Date: Wed, 14 Jun 2023 09:25:12 +0000 From: Gary Jennejohn To: Juraj Lutter Cc: Alexander Chernikov , current@freebsd.org Subject: Re: ifconfig dumps core and gdb uses an undefined symbol Message-ID: <20230614112512.43b5ce0f@ernst.home> In-Reply-To: References: <20230614095956.26234554@ernst.home> <7A98AD66-35D3-447B-B808-2A52E9AD28F3@FreeBSD.org> <20230614110135.15b928db@ernst.home> <5822A2EB-F04E-4AAE-B6B4-E37918A161C5@FreeBSD.org> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:a3ztoVpd+uEXc0j0YScxnUMnWWQl+IeMofkIW1UH5Q0/MpUj7cr qbAS3h6k7SiGkd3s9XbO5kP3N6NGpH/DTKbVR7w6BJMzixQ+jDMjxYeGuzBhPoSn+iF6FTX f01bCxrLn4Wh1zcfqZq+brS4ZyyKBW2R+DAv0rlKXh/EITvB6cPbZPVHKObcgi9FNc+VQbW CJ1e+/sFKKBqBcXfV7DrA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:TcFLM2JApJE=;1vYNC25pv8lo+WpzGyD7aXxUYhT OQnDHSpOSz37W1ucbGFb26xiCOZF52Li1nNv12FnREAmDT9/a6SclYi8cdS+XdNZ7LgId6toO rgfn+DrJi2SE6izrZnz7bSUV4g3GNYzsVDXbPmVtCz3TD4mPy2xxsH/BFMN0CQBGhtULONSE6 C7GI+f793W/zPJa0OLvmkL76XSEn/tmf0ApKTA4z+Zk5Iqx5PAigl1BXwhZuRWQ9JEaaLB9mY YfK9aAYcf/WPjg/Su0Pl+5bM27LRE9qwzjkZ8HSIox8izUkBZ2cNYJB/qrvpSZCd8aaZ6Hi5l rZ4eZ8OaRPcjG/5rLGRu23FwfhXnupI3zHvPnMLjQnzoa3rCpjw5Nz/2RHQMyCcZR0tKiFvf7 ysDctHX0q7pipkNkKPgPNAYJrS7gDScYG1V034eI6Zy9t2OYhjXn/Hv8BWXtqyrLSgkbi+S2k rFfo4SotkF8OlV1wuQ9fdgWFy2ipxPGX6Rn0jkI9Ek2JioUS2PawTGOmiwNez0AVH9AJCk0+c y6goBKGM6Cz2Hwk70jtIJJ/lg1Oi3t3kp7VK+JTnebhPrt7eDmghsPbas4yhMZ10cSYQgh4hR xLOMY7fvHQeDNm2+wdXPbD9hbzaJFf8SrOZvtvRL+H9KE3lx7KguxI4wi01k6jdnRGQXZimVn 5WSupB7gF4iPiY1oe7aVRZlXxnkn8jXpL5XMvOPzj92cfsAK3DlQ4kxMKOJkr69a7K0zBGV7/ 27gBbAoWBYjCBRspXwFG+QZFtDoLoewDeifok2ugY9x4SK/KE8zfuA1wOKcHPGYlYKAkdkozk DAXrdamTg4lYmgzt2auZYQL02aGdoZmbWeEcwn298fLWG5MolQNTyBE/rGsoJcXWEtnjuDnL5 Hku0+RqIj88IKCokPKfPDMwa5Kg0H61bNsDox7orJSvpVvBXs8uDTxe9vzuZq+76OIFBCigeM PKhhTlL0l0H1Uv4mT/U7Zx96+e4= X-Rspamd-Queue-Id: 4Qh0QK38fxz3rvT X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Wed, 14 Jun 2023 11:14:13 +0200 Juraj Lutter wrote: > > On 14 Jun 2023, at 11:12, Juraj Lutter wrote: > > > > > > > >> On 14 Jun 2023, at 11:01, Gary Jennejohn wrote: > >> I compiled gbd under /usr/ports and it now works, although it's emitt= ing > >> some weird errors. > >> > >> -O0 -g3 removes too much and gdb shows no useful information. > > > > Build it with: > > > > WITH_DEBUG=3D1 DEBUG_FLAGS=3D"-O3 -g3" > > > > Silly me. > > Actually with: > > WITH_DEBUG=3D1 DEBUG_FLAGS=3D"-O0 -g3" > Thanks, but doesn't work: #0 0x00002efcf61186c8 in ?? () (gdb) bt #0 0x00002efcf61186c8 in ?? () #1 0x00002f051a2fe000 in ?? () #2 0x0000000000000000 in ?? () (gdb) I've been a UNIX developer since 1984, so I have some experience using gdb. =2D- Gary Jennejohn