From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by sourceware.org (Postfix) with ESMTPS id C4E163858004 for ; Mon, 11 Sep 2023 13:34:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C4E163858004 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bluespec.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=bluespec.com Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-76f2843260bso272515985a.3 for ; Mon, 11 Sep 2023 06:34:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluespec-com.20230601.gappssmtp.com; s=20230601; t=1694439298; x=1695044098; darn=sourceware.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=vRHn46BZZ+YoYE43BpbQtroAgQQiOrt9AmjBIgf8Wzo=; b=09kp5GtkvySaU76uH1KtRs678WGySXwT/zQP52JxSyaP2KUccVNg2Pdgeu7OxFOBNG zFGb30ZE0TVFMs5V5Wy6NGMJeARsVXWs0ukHjzfCbhSs7m2Lw7SZbzZ1BWsiI26XSIjO VlT6sJjSrXWcXlMTxOpH7Ed+7jjMseoebbwDcW1HEVC8tiPExUTxCf7/OV8xdr3f3DVn s69yqs811uDHH//oRHSxf5YCcUO9UIn0df4hjOp2gasNPRlQbE2UHmgWgB+Awlkmyqh+ vUwYJIfs91e4SZP+x6DQMKl3buOBbFgqz3az28aI9G8JJ+tIOIpxLCUxwxU86DXnRdwQ h96Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694439298; x=1695044098; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vRHn46BZZ+YoYE43BpbQtroAgQQiOrt9AmjBIgf8Wzo=; b=Y6nQ9DHMd0Xr82hwkzNHvtZ/r1Gxmlc6C7orzQ+hFQl6ktbEGHGjt/Ot6B8Wqp4b3f mLoKjTmj1duECg/008DMgE8EqzJFV6dXzzbkQ2tSZK9s0AffizbA3SYrpNQp/zQY/oDO 12b900qIPG48SP5tp/vlTObqEXjTUo5LzekF4R0ZcBAYJuFxaZeRBwZMWygJVIdv+unQ R6SvKD/6dCIYo7lkVjMwMVxsALgH4ckEPKgQjF7L1SGHSc8dlLSSemaIe9MI00W6xW2R 6HheGcv7+cL0iWWclYggg+VjqR5CwBQLUabRQhIwKxnfij8QnwmDzBTcum/bKdcOudb0 hdNw== X-Gm-Message-State: AOJu0Yz87shPpnY4XRqARMo+0YACQ1Y9HcC8B2I9SslcwrR3bsPL12os INcdbrn6dh2dJbvPncCNj/75 X-Google-Smtp-Source: AGHT+IFJ8I+rsdDGnGNVtmnnbBEt66Y05CDwgqm2WjeTyi5fpzWYC4/AYSUmxgoCAVHA/9WvokKqgg== X-Received: by 2002:a05:620a:460d:b0:76c:caa5:4c1d with SMTP id br13-20020a05620a460d00b0076ccaa54c1dmr12553773qkb.26.1694439298177; Mon, 11 Sep 2023 06:34:58 -0700 (PDT) Received: from bruce.bluespec.com ([102.129.235.57]) by smtp.gmail.com with ESMTPSA id e18-20020a05620a12d200b007708082cdfdsm2511923qkl.123.2023.09.11.06.34.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 06:34:57 -0700 (PDT) Date: Mon, 11 Sep 2023 09:34:55 -0400 From: Darius Rad To: Palmer Dabbelt Cc: yanzhang.wang@intel.com, DJ Delorie , adhemerval.zanella@linaro.org, libc-alpha@sourceware.org Subject: Re: [PATCH] RISC-V: Enable static-pie. Message-ID: Mail-Followup-To: Palmer Dabbelt , yanzhang.wang@intel.com, DJ Delorie , adhemerval.zanella@linaro.org, libc-alpha@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NEUTRAL,TXREP autolearn=no 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 Fri, Sep 08, 2023 at 08:30:44PM -0700, Palmer Dabbelt wrote: > On Fri, 08 Sep 2023 20:17:16 PDT (-0700), yanzhang.wang@intel.com wrote: > > I took some time to test the master with binfmt_misc and qemu system mode. > > Both of them can't match the requirements (<= 6 failures). > > > > - most of cases with binfmt_misc fail with abort. > > QEMU user mode isn't a valid test suite target for glibc, there's lots of > failures due to the emulation. I know it's confusing that > riscv-gnu-toolchain uses it, that come up when support was added. > > > - most of cases with qemu system fail with timed out. > > You can set TIMEOUTFACTOR, qemu-system is a lot slower than hardware. > > > And also tested with my risc-v board and still fails 70+ cases and most of > > them are math accuracy issue. > > Which board are you running on? > > > So Adhemerval, do you know how to setup the environment to reproduce > > the <= 6 failures ? Maybe I lost some important steps. Thanks very much :). > > +DJ and Darius, who usually report test results. They've probably got the > best idea of how to set things up, but I don't remember this requiring > anything fancy. > Indeed, I don't really do anything unusual, but I do set TIMEOUTFACTOR to 10. I regularly run on qemu-system (not user) and the Microchip Icicle Kit board. I also use scripts/cross-test-ssh.sh for test-wrapper, even when testing locally (host is localhost), as that simplifies testing the various ABIs. // darius