From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 0AD7F3846012 for ; Fri, 16 Apr 2021 18:35:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0AD7F3846012 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-514-Mc7gTfGfMe2E9Kg5UuJ3NQ-1; Fri, 16 Apr 2021 14:35:06 -0400 X-MC-Unique: Mc7gTfGfMe2E9Kg5UuJ3NQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EA8C519611A2; Fri, 16 Apr 2021 18:35:04 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-113-139.ams2.redhat.com [10.36.113.139]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2ED4F10023B0; Fri, 16 Apr 2021 18:35:03 +0000 (UTC) From: Florian Weimer To: Simon Marchi Cc: Pedro Alves , libc-alpha@sourceware.org, gdb-patches@sourceware.org, Emil Velikov , Kevin Buettner Subject: Re: [PATCH glibc] nptl_db: different libpthread/ld.so load orders (bug 27744) 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> <83364527-b4aa-b7cc-928b-10d20c4338a3@polymtl.ca> <78edaf4c-e2f2-8d4e-0950-98ba24367921@polymtl.ca> Date: Fri, 16 Apr 2021 20:35:21 +0200 In-Reply-To: <78edaf4c-e2f2-8d4e-0950-98ba24367921@polymtl.ca> (Simon Marchi's message of "Fri, 16 Apr 2021 13:33:26 -0400") Message-ID: <87h7k6m61i.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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 18:35:13 -0000 * Simon Marchi: > Is it possible to have a completely static executable that doesn't use > ld.so but uses pthreads? Absolutely, the new nptl/tst-pthread-gdb-attach-static shows that TLS is already supported in GDB. (In v2 of the patch, the test will actually run =E2=80=A6) Thanks, Florian