From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63332 invoked by alias); 8 Jan 2019 19:28:19 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 63319 invoked by uid 89); 8 Jan 2019 19:28:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=supplement, boot, U*mark, images X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mail-vk1-f193.google.com Received: from mail-vk1-f193.google.com (HELO mail-vk1-f193.google.com) (209.85.221.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 08 Jan 2019 19:28:16 +0000 Received: by mail-vk1-f193.google.com with SMTP id d201so1139440vka.0 for ; Tue, 08 Jan 2019 11:28:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=REwwm27qEPk97XZbvWK8PuTQFQZc0qqgxVvUMGa//Sw=; b=P1PbkEnIYGqWMRnOpgiZVUx6L8C23bhiXQCwi5cpw8izZnjIRFxyMBnIzrmNHgczdW VXEDfUPtQnVdYzqm2erA96gbfuaKUIGuRTvm39hJBa21cKXuGgxXtDHN7qEuE/wg75Iw XfuANSRgJHh3xTDhhXrOG3DE387hgawBOX6LyrVK1dGdu+281T6tM3ekUX8tAjf2W0qN JgAiGo+LpgOMC5Wv44G1k9g8huWdlk9mwZM/1A8OMFly35f7C+Odk7SiiGUzN/k0t20O JUZdgY0JZnFZOw/52QKRl1vXSGgBHrTF2wUXznWmppwW48m0lujlslECRd/IwwPOayxq af1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=REwwm27qEPk97XZbvWK8PuTQFQZc0qqgxVvUMGa//Sw=; b=B/QAoh6xiwknxDCtG3kYnnhmu2ilowBZadWnQNxrZIlRWGMs50YuDZX/GGSIMq+enC bvIt7svCmzTPCAPLedfZNqC0S496t2MLz6AwjKnmg9QopReByMt4YBoOjDHIiEI8SGZ9 BYAR5SG8QcUal7041n39nawaEf0n9xgH76SYsiYo6kj7sqd7mpv2sJCOX8U3Ncf7MlR3 kEYfhduixEc6qyjLFUj6KypajZcDJOXVR6muPeqZhG/xsMOm2BvCmktNgB7PRLh2Abey bUths9m/Q1usoDMrxTJ28O5Kj2ZL4Y96UWiq8IZB9eMBnsv+TTiMlLqA72rPU2WNoB5+ wpVA== X-Gm-Message-State: AJcUukcBlH8bcpagLB5ERdZP5cuvIVo/WpalW9jcyoodzKpAK8u6Kj1V ZnudjHmFKC8/aq0J2Am1iFHcml9oP9KzwPTCaFeIpg== X-Google-Smtp-Source: ALg8bN6BaMk0ZucwX7hZhgVobE1si9Zo4qZzSWwgflxfX2+h+EATObTKjGA/XvKPZN3NqPRCfyURQOVOCT/VK4ffPbE= X-Received: by 2002:a1f:9f0d:: with SMTP id i13mr1161728vke.6.1546975694848; Tue, 08 Jan 2019 11:28:14 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jim Wilson Date: Tue, 08 Jan 2019 19:28:00 -0000 Message-ID: Subject: Re: RISC-V support To: Mark Wielaard Cc: elfutils-devel@sourceware.org, Karsten Merker Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-q1/txt/msg00009.txt.bz2 On Tue, Jan 8, 2019 at 5:52 AM Mark Wielaard wrote: > The _start one seems to be: > https://sourceware.org/bugzilla/show_bug.cgi?id=23125 > So that is fixed with glibc 2.29. > > Do you have a bug for the second issue with __thread_start? https://sourceware.org/bugzilla/show_bug.cgi?id=24040 I plan to write a patch for it, if Andreas Schwab doesn't get to it first, but the Fedora koji package server was down for a few weeks which prevented me from installing the packages I needed to do this work. It is back up and I am looking at this now. > It would be nice to have some riscv setup for our buildbot. Do you > happen to have recommendations for something like that? Any distro that > gets regular toolchain updates? Is a libvirt/qemu setup reliable enough > or would you recommend trying to get real hardware? I've been using Fedora, but Debian and OpenSuse are both usable too. Fedora is just a little more convenient for me as they have images I can download and boot, and a git tree for building a kernel with NBD support which makes the HiFive Unleashed much more stable than when using the SDcard for the root file system. Plus I used to work for Cygnus/Red Hat so maybe I am a little biased. QEMU works too. There are some known bugs in the RISC-V qemu FP support, I wouldn't use it for numerical work. If you stress the system you might find some bugs, but overall it is certainly usable. I used qemu for my gdb work, because it was easier to try kernel patches that way, and I didn't want to risk trying untested kernel patches on my main RISC-V development system. The linux distro folks are using qemu for builds also, to supplement the builds on hardware, as they have limited numbers of boards at present. There is only one ASIC option for running linux that I know of at this time, and that is the SiFive HiFive Unleashed. It is faster than qemu running on a fast x86_64 machine. It is stable if you don't use the SDcard for anything other than booting. I've hit 60 days of uptime on my board, running a patched 4.15 kernel. There are also FPGA options, but these are more complicated and probably more expensive than using the HiFive Unleashed. I expect that more hardware options will be available in the future. Jim