From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id KMaNH8MnAWLVNAAAWB0awg (envelope-from ) for ; Mon, 07 Feb 2022 09:08:03 -0500 Received: by simark.ca (Postfix, from userid 112) id 7E9DB1F3C6; Mon, 7 Feb 2022 09:08:03 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 0C1FB1F0BB for ; Mon, 7 Feb 2022 09:08:03 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 380F03858431 for ; Mon, 7 Feb 2022 14:08:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 380F03858431 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1644242882; bh=WxzVEjfjfDzm/e/dKgg/DhjQMW9YCBJwNZ5iJw2+ZOI=; h=To:Subject:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=C17+u53an2PkNe+vRdGf84DGfGwCywm9n+wk01cwAnGJYeBp2LIQ7oaF5s2mxITLx E3Xkt5k2EBinqSZ2f4tGfkdmy7zVi/xd+7Fuo6l/+W5S6hadAdKeeq9o/8dfl6/NT7 dlSTq7RFEY1I4qCd7/ZO3ajs0hKljmXYRnHE1/w4= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 3BA323858D20 for ; Mon, 7 Feb 2022 14:07:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3BA323858D20 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-542-C0oJM8qrMmWq5gsOWtD_Cg-1; Mon, 07 Feb 2022 09:07:32 -0500 X-MC-Unique: C0oJM8qrMmWq5gsOWtD_Cg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BACC7100CD41; Mon, 7 Feb 2022 14:07:28 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.193.205]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A09865BC3D; Mon, 7 Feb 2022 14:07:27 +0000 (UTC) To: Jacob Kroon Subject: Re: Debugging ld.so in gdb References: <29e0ef71-4706-9b0f-2a68-e12c54120d8e@gmail.com> <8735kypwcd.fsf@oldenburg.str.redhat.com> <87y22qognw.fsf@oldenburg.str.redhat.com> <87h79eobq1.fsf@oldenburg.str.redhat.com> <87czk2o967.fsf@oldenburg.str.redhat.com> <06f726f4-855e-239b-fd2c-8d0d57f45131@gmail.com> <878ruqo8o2.fsf@oldenburg.str.redhat.com> <8d9d02de-1a59-1f4d-dbcf-050b65abef29@gmail.com> <93cd41d6-e333-f31e-96bb-2f34a88f164f@gmail.com> <875ypqc2ma.fsf@oldenburg.str.redhat.com> <3e08e7c7-05f5-16f2-50cb-036687386997@gmail.com> <87wni6amk5.fsf@oldenburg.str.redhat.com> <4ea94b1b-71f5-3fbe-e18d-dff61ba3d835@gmail.com> Date: Mon, 07 Feb 2022 15:07:25 +0100 In-Reply-To: (Jacob Kroon's message of "Mon, 7 Feb 2022 14:39:47 +0100") Message-ID: <87zgn293du.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.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Florian Weimer via Gdb Reply-To: Florian Weimer Cc: Jacob Kroon via Gdb , adhemerval.zanella@linaro.org Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" * Jacob Kroon: > I managed to build glibc master, and yes it also crashes. Reverting the > suspicious commit: > > commit 15a0c5730d1d5aeb95f50c9ec7470640084feae8 > Author: Chung-Lin Tang > Date: Thu Oct 21 21:41:22 2021 +0800 > > elf: Fix slow DSO sorting behavior in dynamic loader (BZ #17645) > > fixes the crash. Adding a couple of more people. Sorry, that is completely expected because this is where the faulty code was added. I plan to stare at _dl_map_object_deps a bit, to figure out where the discrepancy between l_initfini for the main program and the loaded objects comes from. Thanks, Florian