From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by sourceware.org (Postfix) with ESMTPS id B21603858D28 for ; Wed, 12 Apr 2023 17:18:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B21603858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-1842df7cb53so14581787fac.10 for ; Wed, 12 Apr 2023 10:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681319908; x=1683911908; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FHWAQdgWWqCdwAOLq6xMES1GTpGzP67/5TfUTp1SpHA=; b=qY8YmDYm/mRwnA3U5APk0/ZmU0M1CjaGPYneSQ7IRCxs86gykM5gQEb9BblkwiFnK9 PH8bS/aHSRwHyMdl90lbCwW60QcwAajqSTxrNKYVBdSOg7pu7PJN3uKPGDCDJiyKUEN0 UTssAJxMB5VDF6dzXhuyhHgbqAq6ejXFI8he9czp396A8VC6+FvNKDKGPQ80RB1Z4oYg yXc7uytnGYyK9+dR43GdBKZtQvqqaJewwXXM/9MabILvMfdK7skZ7VkAvnXfOndVtI6N p/5yXqB8/78cd5PP33IsSODuBlBxR0nbboklMGDGlSh097mwezg50SLzHCvXdsaRvYhA KkWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681319908; x=1683911908; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FHWAQdgWWqCdwAOLq6xMES1GTpGzP67/5TfUTp1SpHA=; b=FrWOs6At21U2GZ8TeHgAb/yejGD1sQRbvzn6Oz3b83jVe3UQesw6TCvBxQNgh7ExNB PF+BwWbPuLRLKxf5+vg5VoBwqFJ3ZUezjxlSJF6w61+KYfNIWnTeiIa7sCDTcuApMuCf szne1gM/xT01BPPrjc+ajzU/p0VXtivdc6wj3vKFgPlbePpxp/iVP8zar+RtKiVwI3g9 TydecmoXxL6BlSXYSuTxcgMwpIufb1IKYxHra5AudFMYUZziRG16kNG/y6WxJiv77jCA kuP2u1Vqk7N4b3z+XptSTKXq8jU94zu9sDKHyFu/pyDYb6lWSFyTtYz47cSsJJ1SX5fD FdtQ== X-Gm-Message-State: AAQBX9cVeitoMBa5Q0eyo7bvjrJlSxPbxJf/OdZkzJtNJfwE3jfA0p2v VC1Jlx6S5L1VlqkohQNR0lAW9kO2//dKNSHSWXRtSFHs X-Google-Smtp-Source: AKy350bpfimD0GmChw/Bv6K3aLsMWkR5uzYSZIcf30BFLGDXVHXrKGgghvWl1nJDkU1OWaK9Fe0noD3h8l6AnmuN+0k= X-Received: by 2002:a05:6870:24a2:b0:177:ca1c:2cd5 with SMTP id s34-20020a05687024a200b00177ca1c2cd5mr6768737oaq.4.1681319908285; Wed, 12 Apr 2023 10:18:28 -0700 (PDT) MIME-Version: 1.0 References: <20230319151017.531737-1-bugaevc@gmail.com> <20230319151017.531737-25-bugaevc@gmail.com> <20230411185705.22jygrepjq4mhbvk@begin> <20230411212346.ligmclr5ph7gowl5@begin> <20230412090025.rjqbtx2zakk5r6yx@begin> <20230412104501.jyi3a6aawhvqcdzf@begin> In-Reply-To: <20230412104501.jyi3a6aawhvqcdzf@begin> From: Sergey Bugaev Date: Wed, 12 Apr 2023 20:18:16 +0300 Message-ID: Subject: Re: [RFC PATCH glibc 24/34] hurd: Only check for TLS initialization inside rtld or in static builds To: Samuel Thibault Cc: libc-alpha@sourceware.org, bug-hurd@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, Apr 12, 2023 at 1:45=E2=80=AFPM Samuel Thibault wrote: > > Sergey Bugaev, le mer. 12 avril 2023 13:42:50 +0300, a ecrit: > > > You can run on master to get the list of current expected failures. > > > > But that's the thing, I can not :| > > I meant after having fixed the tests that break your testing, by > disabling them as I hinted. Alright, after spending a day trying to make this work, I declare this a lost cause. I have disabled the two tests you suggested, and some more that seemed to behave particularly bad. It still always kills / hard-locks my system, at seemingly random places. This means fs corruption, each time, so I'm not willing to try doing this again and again. But anyway, the test you mentioned works here. All the tests in csu/ do: $ for test in $(find csu/ -executable -name test-\*); do echo running $test; ./testrun.sh $test && echo ok; done running csu/test-as-const-rtld-sizes ok running csu/test-as-const-tcb-offsets ok running csu/test-as-const-link-defines ok running csu/test-as-const-tlsdesc ok running csu/test-as-const-cpu-features-offsets ok $ Is there any other way for me to reproduce the crashes? If you can reproduce them, can you see what's going on, maybe enable LD_DEBUG and see if rtld is getting relocated early for some reason? Or maybe you could at least get a backtrace, and then we could try to stare at it and figure out what's going on together? Maybe you're building with some flags that affect this? I'm only doing ../configure. Sergey