From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6890 invoked from network); 15 Feb 2022 17:00:18 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 15 Feb 2022 17:00:18 -0000 Received: (qmail 28511 invoked by uid 550); 15 Feb 2022 17:00:16 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 28478 invoked from network); 15 Feb 2022 17:00:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fLLoxCgGojI2ceOQ0hMWdXytAeoBaGCeopupJCjySIw=; b=MbdX6eV+8xnzBMVlVLnaEk6hZplVa7GCs8bla+PvQ25EN6nj4B47LYKw15P9MCBxzK dpD85Z/xLxSm101Mo7JdGgsxaVYQ4ZhZCcsiPSv5ZULJVRvQVQIB+56Ow5/rdLad0uf6 MVaT1V1On7PI9TeFZnTEjIdqVt3hJLLMxlRns722hZOucj6fNnKEs2+RT7IU/TncGosi W61rW6ShREP64VAW4gDY+u+muqCeXhAC6Zx5Ni/VqQ4IcdnHq6a4sDsEmzoVHX5gudbB QeWYK/Op9lcF5k0sRv4dCEZVnjN9UsdMOEtNpeQ/MAENlf4kZqCvUjrNtrMB8smr+R7x nDhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fLLoxCgGojI2ceOQ0hMWdXytAeoBaGCeopupJCjySIw=; b=1CgrIiF70dThUQJA47nFbDghoGkbOx6464/+KR+kWACcXBpwKUCT6qDvGh5mPMi+LZ U2BuVB5sox8J2gi0X5wXC+wX/za/dhHdr5GtdPJlZ2RCZVvWhgATKWNLYiSo+mQGFgwH gczepSj8CXfNuGHQvuBNmU17NqsK69/SRUJATEmmz5u4XOWkeMP9FIME8755dZ1D/qjq XIMfW9V6gL8dwCKw9GmWKgMa6eyfZlb49VbiXrVKSS5hBXFR2VKc96nsAr90je9QSAQ7 5jrSQzQL3XTCSeTdobHSai/6+U0YdCMFDMafOtHmWkRYC6AbHFWpIvbF+mET1US+RCXB 1EUQ== X-Gm-Message-State: AOAM530TufiSySdMC/K/NM38JUYP/wEG2kVDlMIHDLSuZyJCPhDapZXZ z79RNLh2wcFwjIKttaX00MyFzJHHehZDq0Y16nt2dUJW6pc= X-Google-Smtp-Source: ABdhPJz/QYcx4SpI3pxCW5CWk3Q/2aPXqLBtnSXDWwjcHX2MFk+dUXl+RUoXg+C5Hv0eaM4z6k0jdBSbBlJuu2cMhng= X-Received: by 2002:ac2:4e8c:: with SMTP id o12mr21845lfr.38.1644944403811; Tue, 15 Feb 2022 09:00:03 -0800 (PST) MIME-Version: 1.0 References: <20220206213032.GU7074@brightrain.aerifal.cx> <20220206234405.GW7074@brightrain.aerifal.cx> <20220207024056.GY7074@brightrain.aerifal.cx> <20220207210223.GZ7074@brightrain.aerifal.cx> <20220214182952.GI7074@brightrain.aerifal.cx> <20220214220043.GK7074@brightrain.aerifal.cx> In-Reply-To: <20220214220043.GK7074@brightrain.aerifal.cx> From: Satadru Pramanik Date: Tue, 15 Feb 2022 11:59:52 -0500 Message-ID: To: Rich Felker Cc: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="000000000000dd53b005d8117699" Subject: Re: [musl] Re: musl getaddr info breakage on older kernels --000000000000dd53b005d8117699 Content-Type: text/plain; charset="UTF-8" On Mon, Feb 14, 2022 at 5:00 PM Rich Felker wrote: > Note: you dropped the list from CC in your last reply; I've re-added > it and bounced your message to the list. > > Mea culpa! > > > When I ran that, I got this: > > .../musl_getaddrinfo_test google.com > > AF_INET: 142.250.80.46 > > AF_INET6: 2607:f8b0:4006:80b::200e > > Are you saying it works (resolves correctly) with the above command > line? If so that's indicative of buggy Docker seccomp. > > I am saying it resolves correctly with the above command line. Suggestions on what command line I should be using? > > > Is there a static build of i686 gdb built against musl someone has > > available which might be helpful here? > > gdb should not need to be built against musl to debug programs built > against musl. Maybe you're just missing debug info? > > This is entirely possible. I'm building a musl toolchain with this: https://git.zv.io/toolchains/musl-cross-make.git (which is itself a variant of your https://github.com/richfelker/musl-cross-make ) My config.mak is generated inside here: https://github.com/satmandu/chromebrew/blob/musl_testing/packages/musl_native_toolchain.rb Is there a way to get the debug info for gdb saved into the musl libc, or should I open an issue just for that on https://github.com/richfelker/musl-cross-make ? When I package the musl toolchain, I don't see a debug or .debug folder being kept in the $(OUTPUT) folder. Thanks, Satadru --000000000000dd53b005d8117699 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Feb 14, 2022 at 5:00 PM Rich = Felker <dalias@aerifal.cx> w= rote:
Note: you = dropped the list from CC in your last reply; I've re-added
it and bounced your message to the list.

Mea culpa!
=C2=A0

> When I ran that, I got this:
> .../musl_getaddrinfo_test=C2=A0 google.com
> AF_INET: 142.250.80.46
> AF_INET6: 2607:f8b0:4006:80b::200e

Are you saying it works (resolves correctly) with the above command
line? If so that's indicative of buggy Docker seccomp.

I am saying it resolves correctly with the above comm= and line.=C2=A0

Suggestions on what command line I= should be using?
=C2=A0

> Is there a static build of i686 gdb built against musl someone has
> available which might be helpful here?

gdb should not need to be built against musl to debug programs built
against musl. Maybe you're just missing debug info?

This is entirely possible.
I'm building= a musl toolchain with this:=C2=A0https://git.zv.io/toolchains/musl-cross-make.git (w= hich is itself a variant of your=C2=A0https://github.com/richfelker/musl-cross-make )

Is there a way to get th= e debug info for gdb saved into the musl libc, or should I open an issue ju= st for that on=C2=A0https://github.com/richfelker/musl-cross-make ?

=
When I package the musl toolchain, I don't see a debug or .debug f= older being kept in the=C2=A0$(OUTPUT) folder.

Tha= nks,

Satadru
=C2=A0
--000000000000dd53b005d8117699--