From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117624 invoked by alias); 26 Dec 2019 20:21:56 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 117609 invoked by uid 89); 26 Dec 2019 20:21:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-12.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=connect, HX-Envelope-From:sk:gabriel, H*RU:sk:smtpout, HX-Spam-Relays-External:sk:smtpout X-HELO: smtpout1.mo803.mail-out.ovh.net Received: from smtpout1.mo803.mail-out.ovh.net (HELO smtpout1.mo803.mail-out.ovh.net) (79.137.123.219) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Dec 2019 20:21:54 +0000 Received: from EX4.emp.local (unknown [10.108.54.141]) by mo803.mail-out.ovh.net (Postfix) with ESMTPS id 0EC3A3C7DAB0; Thu, 26 Dec 2019 21:21:50 +0100 (CET) Received: from tereshkova (177.205.31.56) by EX4.emp.local (172.16.2.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1847.3; Thu, 26 Dec 2019 21:21:46 +0100 Date: Thu, 26 Dec 2019 20:21:00 -0000 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 X-SW-Source: 2019-12/txt/msg00054.txt.bz2 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.