From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id CC5DD1F463 for ; Thu, 26 Dec 2019 20:21:59 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=mpX3xZRIUoiEogX53Sjw+pmV9He03WGAjnYKKO/K3lq lAxaxApWnPqHUiW4UDZj50gRCUswE7CzA7lLYC/M5I90b72RuVGnk9Tn6/Hewlpq TG8anCP0OfGLeLXtdJ4RrhbnHOUTJ7pZCoGNf0+8B7KwR6Ak++HaR49ho/YtLIXY = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; s=default; bh=I7/ycxWM78O2HECDuNoWYwnONy4=; b=XYJBD+YXJs2TqFuFc KH9qbvOX6IsKriqkcDWHg2rTMwa8sCRVyJgs7pNqvraw1UCiS6SiYqaURkbLIHEJ gTv6JZ0hL34aAKh3sg1xGpotE0Wj3r4T7FTEDXgvm9L7r0DszxL6Fl4S6vdGFfde hFyhTheDu0lwujKplGYHAjFRsU= Received: (qmail 117626 invoked by alias); 26 Dec 2019 20:21:56 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 117609 invoked by uid 89); 26 Dec 2019 20:21:56 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: smtpout1.mo803.mail-out.ovh.net Date: Thu, 26 Dec 2019 17:21:38 -0300 From: "Gabriel F. T. Gomes" To: Carlos O'Donell CC: DJ Delorie , libc-alpha , Gdb , Gary Benson , Florian Weimer Subject: Re: Debugging containerized glibc tests with gdb (a developer use case for outside-of-container debugging). Message-ID: <20191226172138.5a6a4151@tereshkova> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 1612007192099475049 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvddviedgudefhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkjghfofggtgfgihesthejredtredtvdenucfhrhhomhepfdfirggsrhhivghlucfhrdcuvfdrucfiohhmvghsfdcuoehgrggsrhhivghlsehinhgtohhnshhtrghnthgvrdhnvghtrdgsrheqnecukfhppedtrddtrddtrddtpddujeejrddvtdehrdefuddrheeinecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopefgigegrdgvmhhprdhlohgtrghlpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehgrggsrhhivghlsehinhgtohhnshhtrghnthgvrdgvthhirdgsrhdprhgtphhtthhopehffigvihhmvghrsehrvgguhhgrthdrtghomhenucevlhhushhtvghrufhiiigvpedt Hi, Carlos, I tried this on several systems (varying archs and distros), but I wasn't able to reproduce it (with elf/tst-ldconfig-bad-aux-cache)... On Fri, 20 Dec 2019, Carlos O'Donell wrote: >GNU gdb (GDB) Fedora 8.3-7.fc30 > [...] >This GDB was configured as "x86_64-redhat-linux-gnu". ... even on Fedora 30 for x86_64, so I'm wondering if there's anything in your configure options that I should try and mimic (I already tried some combinations of --enable-profile --enable-addons --enable-multi-arch --enable-tunables --enable-stack-protector=all, but I only tried that with the system compiler (gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1)). >warning: Could not load shared library symbols for /home/carlos/build/glibc-gr-localedef/elf/ld.so. I never got this. >warning: Unable to find dynamic linker breakpoint function. Nor this. >warning: Target and debugger are in different PID namespaces; thread lists and other data are likely unreliable. Connect to gdbserver inside the container. But this one, I got, too.