From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id 25234386101D for ; Mon, 3 Aug 2020 18:37:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 25234386101D Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-332-PBlAiX0HNa2T-2rW1g1ZSQ-1; Mon, 03 Aug 2020 14:37:25 -0400 X-MC-Unique: PBlAiX0HNa2T-2rW1g1ZSQ-1 Received: by mail-qv1-f72.google.com with SMTP id y7so23877835qvj.11 for ; Mon, 03 Aug 2020 11:37:25 -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:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=qabR8x+tKvOeE6wBePGk7jM92N8P9Dgri73h4mL1Yc0=; b=IIutCJlynua8o946zMa/kqVvQQTMZOgmMG6GXR7+2glFc+IRGRlDyBPgMq8a/9JQQw Ci6rZodl+rFdNXZqXqXTNZSxpxF83gyryCCw56UyfH3QKJHPWSF0VIqyflMNDxF4nDjB j++s7gW7k+ctjAZZ7Y70Qm1DjEZsNmIut4mkiFTuV3Ev+9Y6uF3qfgUy5UWYy2cMDjMt qpb8dWbxyMv+DD9Exd9pHRXeyozYE8VdjMfB9TAXMRocb6dEO27m32UTlUqEBA/OZ40b faMxRJzbumUWv/caHhQYLX2mKNjEoaFNn2eFFWLeeWEjH5wLEIg13BCT+YrVQqoelhf3 xdWA== X-Gm-Message-State: AOAM532oU0nK/E3jG3F4RMOC6hZ2QMpCX2FJK2tArh7TGrj8hQi2xxjQ BFbJTfoWcsDojGsWeb0mlT092N9F+KmXFcjOxmh6gDPWz/nUbYpi3kVAADd+TW672S2oqEMJz3l Mxqq4hQKOvGfnam9Gzq6B X-Received: by 2002:a05:620a:13c9:: with SMTP id g9mr10207557qkl.436.1596479844684; Mon, 03 Aug 2020 11:37:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXxtVslsqJskz1ovfoileMvrSrvY5RxjIwDMRfteOsgATLwXejhR2g1wC8sjS9zq5G9XdtMw== X-Received: by 2002:a05:620a:13c9:: with SMTP id g9mr10207546qkl.436.1596479844487; Mon, 03 Aug 2020 11:37:24 -0700 (PDT) Received: from [192.168.1.16] (198-84-214-74.cpe.teksavvy.com. [198.84.214.74]) by smtp.gmail.com with ESMTPSA id e2sm16369714qki.22.2020.08.03.11.37.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Aug 2020 11:37:23 -0700 (PDT) Subject: Re: [PATCH] elf: Sort only uninitialized objects in _dl_map_object_deps() To: Xiaoming Ni , cltang@codesourcery.com, libc-alpha@sourceware.org, brooks@gcc.gnu.org, ppluzhnikov@google.com, neleai@seznam.cz, marat@slonopotamus.org Cc: wangle6@huawei.com References: <20200725105205.103328-1-nixiaoming@huawei.com> <8a15102b-c461-23e2-21d4-f2f7b2b78682@redhat.com> <0e390002-1363-1c4a-fd55-cb5f12affd71@huawei.com> From: Carlos O'Donell Organization: Red Hat Message-ID: Date: Mon, 3 Aug 2020 14:37:22 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <0e390002-1363-1c4a-fd55-cb5f12affd71@huawei.com> Content-Language: en-US X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=unavailable 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: Mon, 03 Aug 2020 18:37:28 -0000 On 7/29/20 9:56 AM, Xiaoming Ni wrote: > I'm trying to automate my test cases, but it's going to take a while. Thank you for doing this. My reminder to everyone is that writing tests is one of the most important things we can do as systems developers. The systems we are building are expected to be very reliable and we need to write tests that encode our expectations and intent. Chung-Lin's patches provide an automated way to write such test cases for the loader. Please try applying the patches and seeing if you can use the special DSL to write a test that matches what you were previously testing. -- Cheers, Carlos.