From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id 630AA38438B2 for ; Fri, 11 Nov 2022 20:46:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 630AA38438B2 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vrull.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrull.eu Received: by mail-pl1-x633.google.com with SMTP id u6so5090203plq.12 for ; Fri, 11 Nov 2022 12:46:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0tM79TRxvrjtB25fYxIMjabsXnzULEh3XnersPSFXfc=; b=gYhEcqJZMoU7UFOeZtYnoZAuwZ3qSivsecXvQw7dGtfJREqJF+LV7mnAKCzTtv+yZI LnXr3LOl9V0/c7r4wqwaFc1YyGZ2HJ8pjGBjny23r2Pf/WSWUiR4CJNlmxV4bRsGl1lG c5u4bC+h1m8LaGcncwYlOOklv1UPzTpSmsbAGiXoocC0JWg6KqFqaKgUt89mFSWYuDbw U1eGblZ2ndESEWqbnvGqQSrZ3aFqEBZenhKKK9qmjI7gAWCwQ3mrnr+rV95flRSlCPof Ats3QqoHpPdA2gMpYtnP6oxFQN74OXyFEXuSDF9T4G0K6EtvzfmXwaPqolicohuiOJOZ d7WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=0tM79TRxvrjtB25fYxIMjabsXnzULEh3XnersPSFXfc=; b=f2KSU7t5RiPv513yRRpZ0e9mUaK3yUvPXGL9LzNb7+SvLq0Uro3aEySx+kLTk8VRpo DYokqnFBjnx2bstLYAodbZUZm2zl6BrwZxIUbKKyLlrrQ1G3SIegjc9RC6I8pL67segl WX+tD01Hw9h9fuIYmRACI3Hvqm7GptrL4Nzjed24O0Jlofa7lMyUpVbPqyJT+oYf27kr 5cYaxVGcnMsRMDeJOiOgMeU9iFF9wuYCIvHnlii5hI5aI6qjAaF404Wua+XKX7PAS92o ZXt0HyhUbGlxwNqhaIhp4cG9Xp0hIWyyZIHOdWbYjxdQ84UIYgj6/P1uNexYj0kgcTs+ AIOA== X-Gm-Message-State: ANoB5pm/zvznqp5wt8ylfJ7dOVmb6+zDcL/9gAXaJXv/Y1KXo9clvDSa x5o/jxMtQSvMIPhyFSIz/YEhvX0jNBlFc+QFlAhOBQ== X-Google-Smtp-Source: AA0mqf6zEDFLB7PF5/edz1x0lhVkDYJlqD2tBMtxWPbP26JJf++tHZLfn4FVNIjJkxRUtzS/NX1NnutfLRpDdg1psHE= X-Received: by 2002:a17:90a:7084:b0:213:fbf3:fd with SMTP id g4-20020a17090a708400b00213fbf300fdmr3457181pjk.223.1668199587462; Fri, 11 Nov 2022 12:46:27 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Christoph_M=C3=BCllner?= Date: Fri, 11 Nov 2022 21:46:14 +0100 Message-ID: Subject: Re: riscv glibc testing To: Vineet Gupta Cc: Palmer Dabbelt , Darius Rad , Alistair Francis , Vincent Chen , Philipp Tomsich , libc-alpha@sourceware.org, sw-dev@groups.riscv.org Content-Type: multipart/alternative; boundary="000000000000d3576405ed37fbd7" X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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: --000000000000d3576405ed37fbd7 Content-Type: text/plain; charset="UTF-8" Hi Vineet, did you see my PR for improved testing capabilities for the riscv-gnu-toolchain repo: https://github.com/riscv-collab/riscv-gnu-toolchain/pull/1139 Among the changes is support for testing glibc. Tests run very long and produce incredibly much output (triggers an out-of-memory of tmux on my 32GiB machine). Executed everything on a Fedora machine. BR Christoph On Fri, Nov 11, 2022 at 8:48 PM Vineet Gupta wrote: > Hi, > > Trying to understand how folks working on riscv glibc run the testsuite. > > One could run native on Unmatched (but doesn't allow testing new > extensions) or native on qemu with linux (but that will likely be too > slow) specially the building part. > > My preferred solution would be to avoid linux altogether, do a host > cross-build and test with User mode qemu. And then wire it into > riscv-gnu-toolchain [1] just like it currently tests gcc dejagnu. > However glibc cross testing from my prior ARC work required linux+ssh etc. > > This email is to see if someone has such as setup already. > > Thx, > -Vineet > > [1] https://github.com/riscv-collab/riscv-gnu-toolchain > --000000000000d3576405ed37fbd7--