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=-4.0 required=3.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 D08171F463 for ; Fri, 27 Dec 2019 12:13:46 +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:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=BFORDlVTV9E7b9cx 192KAzczuVC2cRdLsgZWmysAQhx7964wMBTHJChMUwWadZpsmM3EEoABZ/fkg/T1 +smdAdBdBGoPXzbkmC4K8caLl6NilWGAEaZ7KTywbeCm7keSW5wLepmd93w92Juu hpLkRXSmsFOsaXKCVEhKmtgGMnU= 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:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=+1Y1b4xZXe/GfiBGN1yq2e wT+RU=; b=J/escuxPz5p6JZ6cB6h5r3d7tys5f2YhVhhjgD7TuD2P1odcShJs7m PNZeBHGXjaIFuGxbe4YqwWqqNu8ZqERNInFzfoYDZcPWpo1UkNvBw0FNL3Qiu0qu RSWpjWNfBaErlct1ks6DO33c4GUabpI5Kqec94AFOrUJdgfpRZzZI= Received: (qmail 57222 invoked by alias); 27 Dec 2019 12:13:44 -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 57214 invoked by uid 89); 27 Dec 2019 12:13:43 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: us-smtp-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1577448820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U0vMrB1s4JotBnOlccWjF7ec1SpPQAZRTq0c3RKfKhQ=; b=FZQIT/uyRXvF/7SyWSV8/7j9F1ZSJQeJ56O2zKcIeB759yVBNwOIDK7eFU7jA7pXOUpCQd cYbbKt9ARqa5z8h7lVLkp4Z/F+8OzddE27uQhl1N4A7uDa3gTjooBajnLqq3ucwbbU1OyT 7jflJB6SRuINC0Sh2es8Xa3OywT4u6s= Subject: Re: Debugging containerized glibc tests with gdb (a developer use case for outside-of-container debugging). To: "Gabriel F. T. Gomes" Cc: DJ Delorie , libc-alpha , Gdb , Gary Benson , Florian Weimer References: <20191226172138.5a6a4151@tereshkova> From: Carlos O'Donell Message-ID: Date: Fri, 27 Dec 2019 07:13:36 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20191226172138.5a6a4151@tereshkova> X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 12/26/19 3:21 PM, Gabriel F. T. Gomes wrote: > 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. Did you try --enable-hardcoded-path-in-tests? >> 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. > -- Cheers, Carlos.