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 ESMTPS id 560D23858D38 for ; Fri, 28 Oct 2022 21:37:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 560D23858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666993074; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=StaNGbswd3Y0zKSGZQnA/aOx6vGMNOk02zLIS3Ft4RU=; b=OYxCsc5YkUw9z+sUgDIlKwpaXy9MnZGeWO4OJ9z3KNpqxTstyqIrEoDIkKZCtKTXH+9sRk hG6081IM/eVwo29QD7w0H9ulU5TyH3GnthH0E8F7dWUQ/gO+yG7JIfhbfCed21WucFXKH5 a2BkPHNm3DoSkFvKiR0xevSiRH+38DQ= Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-74-9Iq8lBY1PRKx8VUw7ubnng-1; Fri, 28 Oct 2022 17:37:53 -0400 X-MC-Unique: 9Iq8lBY1PRKx8VUw7ubnng-1 Received: by mail-il1-f197.google.com with SMTP id d6-20020a056e02214600b002fa23a188ebso5951469ilv.6 for ; Fri, 28 Oct 2022 14:37:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:organization:subject:from:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=StaNGbswd3Y0zKSGZQnA/aOx6vGMNOk02zLIS3Ft4RU=; b=o8X0PhLm3qpIs1cIEZal+Z+KUVkgtkUDoE8GfoUzIK4p2pFJUerh22c6p0y3lU+fFJ ZrRpcVahm/4XN6Hg7wls5c8X37muSalOflFe8AuIL3rubijMzqZvSsVYicdyWbBymjnn a2o9zKVf8cb43MzmkrtRAZ5YIBd64IDpFaw2sB1XUg7BTYzz/eUDkv9uuvHPpxay2joe qxDNr54+hqN5tnDKEHi4159rUXjLwhuUQIKn7+QhfbZN0CBezlkXO3GGp4rCfF8O+4dC AQNyX81Y0wGNEJIN9eQgnFNZxSF4k+13IOSMP+IH7+WLMmvNMFSITuzCo3mOiKP9IEmw KOBg== X-Gm-Message-State: ACrzQf2oxFB4aN3SyYYAnazmdrDBohJ5grCCNP6Byuou7ZUp+6JySKEJ oV+IQhatpHHkFyw+NbyxMJs+1eewh+fkIOo4oq9gSYbbwYOb6AXAO9erqj2Bz1jWiorbdPXYjCb CQnt3jdqyV+419ykDCsKCnsrfW3foFYHBdZ1LMXCyWXR2wTjR0QNMh2LhtzcYHsZfsrnW4g== X-Received: by 2002:a05:6e02:1b81:b0:300:61f8:c81b with SMTP id h1-20020a056e021b8100b0030061f8c81bmr717232ili.268.1666993072096; Fri, 28 Oct 2022 14:37:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM49Q6x0x0hFmDlEreea3IoME3D1AyWVolDwEpDeiLWxKs1Ps4CfPORGpwiqf3/2WMgcbffHzA== X-Received: by 2002:a05:6e02:1b81:b0:300:61f8:c81b with SMTP id h1-20020a056e021b8100b0030061f8c81bmr717217ili.268.1666993071794; Fri, 28 Oct 2022 14:37:51 -0700 (PDT) Received: from [192.168.0.241] (192-0-145-146.cpe.teksavvy.com. [192.0.145.146]) by smtp.gmail.com with ESMTPSA id d95-20020a0285e8000000b00374601c5f73sm2062548jai.131.2022.10.28.14.37.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Oct 2022 14:37:51 -0700 (PDT) Message-ID: Date: Fri, 28 Oct 2022 17:37:50 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 To: libc-alpha , "H.J. Lu" , Fangrui Song From: Carlos O'Donell Subject: Failing DT_RELR tests and --enable-hardcoded-path-in-tests? Organization: Red Hat X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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: HJ, In my testing on the recently about to be released Fedora 37 I noted the following two failures: tests.sum:FAIL: elf/tst-relr3 tests.sum:FAIL: elf/tst-relr4 cat elf/tst-relr3.test-result FAIL: elf/tst-relr3 original exit status 127 env GCONV_PATH=/home/carlos/build/glibc-review/iconvdata LOCPATH=/home/carlos/build/glibc-review/localedata LC_ALL=C /home/carlos/build/glibc-review/elf/tst-relr3 > /home/carlos/build/glibc-review/elf/tst-relr3.out; \ ../scripts/evaluate-test.sh elf/tst-relr3 $? false false > /home/carlos/build/glibc-review/elf/tst-relr3.test-result ... /home/carlos/build/glibc-review/elf/tst-relr3: error while loading shared libraries: tst-relr-mod3b.so: cannot open shared object file: No such file or directory In the hardcoded path mode we do not add any additional paths to search for tst-relr-mod3b.so that is depended upon by tst-relr-mod3a.so. Under Fedora we have DT_RUNPATH only: 0x000000000000001d (RUNPATH) Library runpath: [/home/carlos/build/glibc-review:/home/carlos/build/glibc-review/math:/home/carlos/build/glibc-review/elf:/home/carlos/build/glibc-review/dlfcn:/home/carlos/build/glibc-review/nss:/home/carlos/build/glibc-review/nis:/home/carlos/build/glibc-review/rt:/home/carlos/build/glibc-review/resolv:/home/carlos/build/glibc-review/mathvec:/home/carlos/build/glibc-review/support:/home/carlos/build/glibc-review/crypt:/home/carlos/build/glibc-review/nptl] Do we need to add some rpath usage here when building the module? Suggestions? -- Cheers, Carlos.