From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by sourceware.org (Postfix) with ESMTPS id B770A3857816; Fri, 16 Apr 2021 17:43:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B770A3857816 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=alves.ped@gmail.com Received: by mail-wm1-f48.google.com with SMTP id k128so14730747wmk.4; Fri, 16 Apr 2021 10:43:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ozf6/5+7NHvLndbK0Q/e/XaYcwzwfEJ62ubXKXgcIXU=; b=ef5hsx9qsxGmZ1REzT6Jz5HMuqvllRrWdt6wCSNZkXcR+L4bu1T1lOqTGkv1QkTfq8 ktsmnjGEn5FvZTlRYP2q8imDomMxa1i24izdOdHOIq53jZYTEC+7o3VfkRCT9tsZ+5a2 LrbzyomKtGw1oxhFIfdKa5SJFMnLQQSuUkYxWyD3i+YoVl3rGzE0VF0oFibzB+6rSBpI sWIjWG33ZJH0NpKew4rPinUsMbAZMoPqt50lSzUcYp0EiS4sDab3zP35vGWdAEpvEcyf jjWkswb/YRI14bQUiNkDV2771cn4uROQNK0vvPngqcoBdcpdEVSfd51HhIN84wThIcLQ NI/A== X-Gm-Message-State: AOAM531mf/6MrXXnzKNWXyFHHHYHOEbpfsutq/YOMxTNMThVXQMoeBcl iKiLttIFr0k/dobkG7HNea4= X-Google-Smtp-Source: ABdhPJybOsl+Cmx6XxVHYMC/LlTM+JG9+n9AZNKOBuk2KIhgwp1HpQXfQsIAOZ0npdIDSNP8rKJaHg== X-Received: by 2002:a1c:f715:: with SMTP id v21mr9528505wmh.187.1618595035816; Fri, 16 Apr 2021 10:43:55 -0700 (PDT) Received: from ?IPv6:2001:8a0:f932:6a00:6b6e:c7b6:c5a7:aac3? ([2001:8a0:f932:6a00:6b6e:c7b6:c5a7:aac3]) by smtp.gmail.com with ESMTPSA id v7sm11718187wrs.2.2021.04.16.10.43.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Apr 2021 10:43:54 -0700 (PDT) Subject: Re: [PATCH glibc] nptl_db: different libpthread/ld.so load orders (bug 27744) From: Pedro Alves To: Florian Weimer Cc: Simon Marchi , libc-alpha@sourceware.org, gdb-patches@sourceware.org, Emil Velikov , Kevin Buettner References: <87sg3qnrz3.fsf@oldenburg.str.redhat.com> <73b32cc6-e201-8bac-e442-e3dddcc01e0d@polymtl.ca> <625ec5fe-bd09-860a-f617-745042b94011@redhat.com> <87fszqnqi3.fsf@oldenburg.str.redhat.com> <87blaenprw.fsf@oldenburg.str.redhat.com> <87tuo6m957.fsf@oldenburg.str.redhat.com> Message-ID: <8285fcc7-aabd-48db-d256-1531e7b6f11b@palves.net> Date: Fri, 16 Apr 2021 18:43:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: <87tuo6m957.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2021 17:43:59 -0000 On 16/04/21 18:28, Florian Weimer wrote: > * Pedro Alves: > >>> +/* This test runs GDB against a forked copy of itself, to check >>> + whether libthreaddb can be loaded, and that access to thread-local >> >> libthreaddb -> libthread_db >> >>> +/* This function implements the subprocess un der test. It creates a >> >> "un der" -> "under" > > Thanks. Any suggestions what to do about the GDB assertion failure > mentioned in the comment? I have tried to produce a small reproducer, > but failed. Even without reducing, it is possible to make the program that triggers the assertion be a standalone program? Any reason you're using "add-symbol-file" in the first place, instead of "file"?