From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=E7tsILeX; spf=pass (domain: linaro.org, ip: 209.85.128.66, mailfrom: leif.lindholm@linaro.org) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by groups.io with SMTP; Tue, 17 Sep 2019 07:26:09 -0700 Received: by mail-wm1-f66.google.com with SMTP id i16so1552923wmd.3 for ; Tue, 17 Sep 2019 07:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yXUnZHhGTeeCbVi11Pd9LnEPDRpzKuQlk3QjPnDS8mo=; b=E7tsILeXWrHl3T44Bk5Szw+BSbnQ58KqfywX0vAkPqGHgpkWr+r9rz5xKKHG9+NJdp +iHs2r7vAWqZ0nKTbsYXpbSeIzYHmadgpTDrN/Gb5+v3AfBMUTCKTAXrzRN/eile4ngy 81EgbMDWmpM5lDZ+kSrwRWnsQIeb25NAgoUg6sUeiENMGUPxHyapTa9NX6+nUQUFVuYB QrIpCNVGq7QY41opnF1W/IbMFS91GB7l9EsCKCgHrcRW1PNRKKJo6vDNfUyb0RuDsFDM XOYO2U4OuTizh0MS82hfAm9TlddJIr1LF2v99Oy6oDswzLNYZRFrZG18U+O//EpiNJUh aTzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yXUnZHhGTeeCbVi11Pd9LnEPDRpzKuQlk3QjPnDS8mo=; b=Xh5hACxL7TIJy4ZmyGvm/x0GqBq0HS4Y8Cc67q09aoyw9hcYb0SAs2UmrojkuBtM+j FeflzubkkQTQCz2UN398fVtR48P8FGUWATD3ePmkJmSl2W6SPBrFkLPI7+AQeNZ4Fyov 53BEhWqhBNzMt5t7ZpZtUzO0/J12/SG51W59UiSGwzxE5rrHKOsFnLMTq7B4e41KKEz3 q1abG8YNGiBdiuBmDqIxNv/jLa5HH14ONuoNJ192XOds3Ay1TIJm+m0Sj0UmyE1gv6TD +QJTJoqx1gaY6h1BmkJ9g34O6doSKdK7OtC68+Bm8xz6b5sN13SI1XLOKhkq6NLsubgI ZUqg== X-Gm-Message-State: APjAAAXDO5MPefu0Uvfe3oxE2DtH+ZKxJRrBlo2iU/XPAMxkWkfxG4ZD PLU3kZpgX42bQyfg8h3S9IfGttYgZ5w= X-Google-Smtp-Source: APXvYqyCUIsGtkoCB2+CZROd9kbmm6FRxts2i3WCTrQ9ck15dXZKcNUo5/Vvj3kyCiecjYRjtDrc2Q== X-Received: by 2002:a1c:1f89:: with SMTP id f131mr1389194wmf.72.1568730367364; Tue, 17 Sep 2019 07:26:07 -0700 (PDT) Return-Path: Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id z4sm2510519wrh.93.2019.09.17.07.26.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2019 07:26:06 -0700 (PDT) Date: Tue, 17 Sep 2019 15:26:04 +0100 From: "Leif Lindholm" To: devel@edk2.groups.io, abner.chang@hpe.com Subject: Re: [edk2-devel] [edk2-staging/RISC-V-V2 PATCH v1 11/22]: BaseTools: BaseTools changes for RISC-V platform. Message-ID: <20190917142604.GK28454@bivouac.eciton.net> References: <1567593797-26216-1-git-send-email-abner.chang@hpe.com> <1567593797-26216-12-git-send-email-abner.chang@hpe.com> <20190909113648.GD16218@bivouac.eciton.net> <20190917130853.GC28454@bivouac.eciton.net> MIME-Version: 1.0 In-Reply-To: <20190917130853.GC28454@bivouac.eciton.net> User-Agent: Mutt/1.10.1 (2018-07-13) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Sep 17, 2019 at 02:08:53PM +0100, Leif Lindholm wrote: > > > Please add the requisite support to the GCC5 profile instead. (Which > > > is not actually for gcc 5, but is effectively GCC5+ - we are still > > > successfully using it with gcc 9.) > > > > I can try to use GCC5 profile but the toolchain still has to be > > stick on https://github.com/riscv/riscv-gnu-toolchain @64879b24. We > > got problem on the version higher than this, system hangs at SEC to > > PEI transition if use GCC version higher than @64879b24. > > > > We will figure it out later. > > I suppose this is fine as long as this is specifically on the > edk2-staging branch. We will need to resolve it before we bring the > port to edk2 master. > > I would still like this support to be tweaked to the point where I can > build with either the Fedora or the Debian packaged cross compiler. > > > So how can I mention this restrictions in tool_def? > > I would suggest the following: > - The above information in the top-level Readme.md on the staging branch. > - A single line in the "GCC5 RISCV64 definitions" comment block. > - Adding the above to the commit message. Oh, and please add information to that Readme.md on which toolchains have successfully built this toolchain. Debian's gcc8 fails. Best Regards, Leif