From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 2E02C385840A for ; Tue, 15 Aug 2023 11:46:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2E02C385840A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-6bca3588edbso3646243a34.0 for ; Tue, 15 Aug 2023 04:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692099966; x=1692704766; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=kSlRqaKbS2Z2y8Jc0uxf69HUf5VY1lnJR9Q1hgcCrZg=; b=LT3RLk/q33ZMOzYv4QDpAiyyXt/7N4ClMqtxEfuYDmj0/pplQz9mGojK1SLgUhOw+i odf73FHmpaeNsr2LomjWQAMw4/VdGS3aFlqP4x3tmzIe3jLP5XDtCKVAnqrQBgma9HRJ DjdC8vddLFgYEUSDb7hOCuCfny+zdlmXj1zuMVp+yYd6Bf+knJP9pPhJfwqq03sShzAv V819pAc8vvBbNUW3W6FW2LpKPzPvdQbBigJJd9uX4f39j9iQzPIDIWYW5rqdFjxDfEoK dY4ylDmiFk4h0Ih6Tnh6E6gHyg7QAXuQpxYi3LVceL5Tk9tIgW1JPXQG7bXYm5LK9cSm Tnvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692099966; x=1692704766; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kSlRqaKbS2Z2y8Jc0uxf69HUf5VY1lnJR9Q1hgcCrZg=; b=H7ouPWrPbzbOTTBPbPVVCQOQpnqiixPr/bbzPfaKsQB/kphEyxGrG6XjszWNn+ixkc I4sS6JxmoqNHy1YE9DgRwyk5sSmlm+eJoAL5IDDhO8e97iqA7fk6Wa7KqKK8+HONx7s7 4ulyQ3Aast8aUblQ2DFPH1XiE8jNBM5OFO8s+5LlTUl042iCu4+xcxysmMGnmx6nKdR8 LhLOx11gGluBh9znu19hUrqbzxRa4j/jWcZXRkgj6wc6MOmGipzTJvROhbesGuSXuaEi mGD1Z+aG+d7DECums7NpJlpNHDP43MJM387QX/2zb8sMfiQzzGMJx6TyqQehJ+vk9a24 YdmQ== X-Gm-Message-State: AOJu0YxOYnj8yaPZE6YD5w1jlAMC973rGSS5kAW3tfLCM+wMFvH26/VD fTyL5vnuwfMVJG0g+Yh3Yr7j+2ckJNaLFYipKZaD0w== X-Google-Smtp-Source: AGHT+IHxjMgm85gU5GqHNmw7B/18VkT9Bbk0bP7aZgwdjBSVdKLLcEGTbfvZ0OLlLlOYrXl4NpvUqQ== X-Received: by 2002:a9d:7516:0:b0:6bc:8632:e150 with SMTP id r22-20020a9d7516000000b006bc8632e150mr10196671otk.5.1692099966445; Tue, 15 Aug 2023 04:46:06 -0700 (PDT) Received: from ?IPV6:2804:1b3:a7c2:365b:9c82:894c:88da:f9ac? ([2804:1b3:a7c2:365b:9c82:894c:88da:f9ac]) by smtp.gmail.com with ESMTPSA id g17-20020a9d6191000000b006b93c6c97basm5226443otk.44.2023.08.15.04.46.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Aug 2023 04:46:05 -0700 (PDT) Message-ID: <26bd6001-6ff5-dcab-d233-9adb6b8efb6f@linaro.org> Date: Tue, 15 Aug 2023 08:46:02 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH] RISC-V: Enable static-pie. Content-Language: en-US To: "Wang, Yanzhang" , Palmer Dabbelt , "libc-alpha@sourceware.org" References: <20230810233348.1214955-1-yanzhang.wang@intel.com> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 13/08/23 09:20, Wang, Yanzhang via Libc-alpha wrote: > Hi Palmer, > > I have tested the commit(542b110585) with this patch. The results like below, > > Summary of test results: > 189 FAIL > 4328 PASS > 101 UNSUPPORTED > 16 XFAIL > 2 XPASS > > And the commit(542b110585)'s results like below, > > Summary of test results: > 189 FAIL > 4326 PASS > 101 UNSUPPORTED > 16 XFAIL > 2 XPASS > > The binutils's commit is 2db20b97f1d and gcc's commit is bf36656a14a. > > I use the command make check-glibc-linux in riscv-gnu-toolchain. Not sure is > that acceptable. The riscv reports for 2.38 release [1] list at maximum of 6 FAIL for all the ABI variants. The 189 failures you are reporting means that your environment is either missing some setup (for instance, copying the libgcc_s.so and libstd++.so on the build folder so C++ and tests that require pthread_cancel or backtrace works correctly) or it is not properly configured. Please sort this out first, since with that amount of failures is not straightforward to check whether static-pie is really working as intended.