From nobody Tue Dec 7 15:34:04 2021 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8CDB918C236A for ; Tue, 7 Dec 2021 15:34:06 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J7kqL32C1z3j4P; Tue, 7 Dec 2021 15:34:06 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from [192.168.1.106] (host-173-212-69-198.public.eastlink.ca [173.212.69.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id 0F43129451; Tue, 7 Dec 2021 15:34:06 +0000 (UTC) (envelope-from mhorne@freebsd.org) Message-ID: <316c505a-5f92-d216-849c-af94e3340284@freebsd.org> Date: Tue, 7 Dec 2021 11:34:04 -0400 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: Problem building world Content-Language: en-CA To: tuexen@freebsd.org, freebsd-riscv References: Cc: jrtc27@freebsd.org From: Mitchell Horne In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638891246; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7BDM5ZkRx3EFEaBxHHlq8yaCv5rWEutG1uwKZ0lsAKg=; b=kXFPQSXweyGCTjMT7NUOlhnEwu2dUtrYsOP87daU4l+fAFYTzS+y+BzW2MddjhgG5ZSRyt 8NIRrcMoRkaApjv1pcHXXetUZVolutfrpsOjnfQh/LsG0xRrlUNiu71eizJpGKMICf1Zac WYCxpMcNcxkdGETb5lSorzfP6aG9DQ3bUWlkzuQ90RaXNv6Erb/MHPS5xNvgMZ5SJy+8IP 9/Vmz5A3qdXm9TAb6ZpsEl0tYRtfKlWGgBVn4jQI1jW/dDF9Uq5dREvOJVe0CgmHCgKpf3 fUvvgpoB070BnsZPyh54hJEaSfNSynZyAYi1wqYvTqkJvCgXISuJ0oNj/h/ooA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638891246; a=rsa-sha256; cv=none; b=QGFyYS0YphuZ0Hfyg4zz0FnH9e8917+VN3J6UnDIDPZHOkTwb2EMlOgBLfCS314ZZQ/NPa vbLkoojGKYBqoK5O5tbdGnJEyisXoZUSnmi2nrHEcm+tbbtdd+Ensv8pp6otC5nXjo12Wd f+7Bf+q6qvbTAKt1YIZ4DJMzCXWbGmeWAgaXS72Q+DTX1GU1gmS1YsNgCjowxO2H1EnKFV zia8HcstH5gT3eDBK0ozRc7KmWwb0+z/gAKP1rK2TYqlgO5MXG1PiKPZW7STX/l+6JGzKs 46+Ahj7ZFREPdOrblG1AQDEuIj/9/T4LLUE8EZHGp6sg54xqr2PptHL2MyAYig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N DQoNCk9uIDExLzI4LzIxIDEwOjUyLCB0dWV4ZW5AZnJlZWJzZC5vcmcgd3JvdGU6DQo+IERl YXIgYWxsLA0KPg0KPiB3aGVuIHRyeWluZyB0byBidWlsZCB3b3JsZCBhcyBvZiB0b2RheSwg dGhlIGZvbGxvd2luZyBoYXBwZW5zOg0KPg0KPj4+PiBzdGFnZSAzOiBjcm9zcyB0b29scw0K PiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLQ0KPiBjZCAvdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjOyB0aW1lIGVu diBJTlNUQUxMPSJzaCAvdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Rvb2xzL2luc3Rh bGwuc2giICBUT09MU19QUkVGSVg9L3Vzci9vYmovdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qt c3JjL3Jpc2N2LnJpc2N2NjQvdG1wICBQQVRIPS91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9m cmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9sZWdhY3kvdXNyL3NiaW46L3Vzci9vYmov dXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Jpc2N2LnJpc2N2NjQvdG1wL2xlZ2FjeS91 c3IvYmluOi91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNj djY0L3RtcC9sZWdhY3kvYmluOi91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNy Yy9yaXNjdi5yaXNjdjY0L3RtcC9sZWdhY3kvdXNyL2xpYmV4ZWM6L3NiaW46L2JpbjovdXNy L3NiaW46L3Vzci9iaW4gIFdPUkxEVE1QPS91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVl YnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcCAgTUFLRUZMQUdTPSItbSAvdXNyL2hvbWUvdHVl eGVuL2ZyZWVic2Qtc3JjL3Rvb2xzL2J1aWxkL21rICAtaiA0IC1KIDE1LDE2IC1tIC91c3Iv aG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvc2hhcmUvbWsiIG1ha2UgIC1mIE1ha2VmaWxlLmlu YzEgIERFU1RESVI9ICBPQkpUT1A9Jy91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNk LXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMnICBPQkpST09UPScke09CSlRPUH0v JyAgTUFLRU9CSkRJUlBSRUZJWD0gIEJPT1RTVFJBUFBJTkc9MTQwMDAyOSAgQldQSEFTRT1j cm9zcy10b29scyAgLUROT19DUFVfQ0ZMQUdTICAtRE5PX0xJTlQgIC1ETk9fUElDICAtRE5P X1NIQVJFRCAgTUtfQVNBTj1ubyAgTUtfQ1RGPW5vICBNS19DTEFOR19FWFRSQVM9bm8gIE1L X0NMQU5HX0ZPUk1BVD1ubyAgTUtfQ0xBTkdfRlVMTD1ubyAgTUtfSFRNTD1ubyAgTUtfTUFO PW5vICBNS19QUk9GSUxFPW5vICBNS19SRVRQT0xJTkU9bm8gIE1LX1NTUD1ubyAgTUtfVEVT VFM9bm8gIE1LX1VCU0FOPW5vICBNS19XRVJST1I9bm8gIE1LX0lOQ0xVREVTPXllcyAgTUtf TUFOX1VUSUxTPXllcyBNS19MTFZNX1RBUkdFVF9BTEw9bm8gIFRBUkdFVD1yaXNjdiBUQVJH RVRfQVJDSD1yaXNjdjY0ICBNS19DTEFOR19JU19DQz15ZXMgIE1LX0xMREI9bm8gIE1LX0xM Vk1fQklOVVRJTFM9bm8gIE1LX1RFU1RTPW5vIGNyb3NzLXRvb2xzDQo+IC0tLSBjcm9zcy10 b29scyAtLS0NCj4gPT09PiBsaWIvY2xhbmcgKG9iaixhbGwsaW5zdGFsbCkNCj4gLS0tIGFs bF9zdWJkaXJfbGliL2NsYW5nL2xpYmxsdm0gLS0tDQo+ID09PT4gbGliL2NsYW5nL2xpYmxs dm0gKGFsbCkNCj4gW0NyZWF0aW5nIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4v ZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJs bHZtLi4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90 dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFu Zy9saWJsbHZtL0FuYWx5c2lzLi4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRpciAvdXNy L29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2Jq LXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL0FzbVBhcnNlci4uLl0NCj4gW0NyZWF0aW5nIG5l c3RlZCBvYmpkaXIgL3Vzci9vYmovdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Jpc2N2 LnJpc2N2NjQvdG1wL29iai10b29scy9saWIvY2xhbmcvbGlibGx2bS9CaW5hcnlGb3JtYXQu Li5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21lL3R1ZXhl bi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2NsYW5nL2xp Ymxsdm0vQml0Y29kZS9SZWFkZXIuLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91 c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9v YmotdG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vQml0Y29kZS9Xcml0ZXIuLi5dDQo+IFtDcmVh dGluZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNy Yy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vQml0c3Ry ZWFtL1JlYWRlci4uLl0NCj4gW0NyZWF0aW5nIG5lc3RlZCBvYmpkaXIgL3Vzci9vYmovdXNy L2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Jpc2N2LnJpc2N2NjQvdG1wL29iai10b29scy9s aWIvY2xhbmcvbGlibGx2bS9Db2RlR2VuLi4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRp ciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90 bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL0NvZGVHZW4vQXNtUHJpbnRlci4uLl0N Cj4gW0NyZWF0aW5nIG5lc3RlZCBvYmpkaXIgL3Vzci9vYmovdXNyL2hvbWUvdHVleGVuL2Zy ZWVic2Qtc3JjL3Jpc2N2LnJpc2N2NjQvdG1wL29iai10b29scy9saWIvY2xhbmcvbGlibGx2 bS9Db2RlR2VuL0dsb2JhbElTZWwuLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91 c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9v YmotdG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vQ29kZUdlbi9MaXZlRGVidWdWYWx1ZXMuLi5d DQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9m cmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2NsYW5nL2xpYmxs dm0vQ29kZUdlbi9TZWxlY3Rpb25EQUcuLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGly IC91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3Rt cC9vYmotdG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vRGVidWdJbmZvL0NvZGVWaWV3Li4uXQ0K PiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJl ZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZt L0RlYnVnSW5mby9EV0FSRi4uLl0NCj4gW0NyZWF0aW5nIG5lc3RlZCBvYmpkaXIgL3Vzci9v YmovdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Jpc2N2LnJpc2N2NjQvdG1wL29iai10 b29scy9saWIvY2xhbmcvbGlibGx2bS9EZWJ1Z0luZm8vTVNGLi4uXQ0KPiBbQ3JlYXRpbmcg bmVzdGVkIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlz Y3YucmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL0RlYnVnSW5mby9T eW1ib2xpemUuLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9o b21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGli L2NsYW5nL2xpYmxsdm0vRGVtYW5nbGUuLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGly IC91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3Rt cC9vYmotdG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vRnJvbnRlbmQvT3Blbk1QLi4uXQ0KPiBb Q3JlYXRpbmcgbmVzdGVkIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJz ZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL0lS Li4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4 ZW4vZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9s aWJsbHZtL0lSUmVhZGVyLi4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRpciAvdXNyL29i ai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRv b2xzL2xpYi9jbGFuZy9saWJsbHZtL0xUTy4uLl0NCj4gW0NyZWF0aW5nIG5lc3RlZCBvYmpk aXIgL3Vzci9vYmovdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Jpc2N2LnJpc2N2NjQv dG1wL29iai10b29scy9saWIvY2xhbmcvbGlibGx2bS9MaW5rZXIuLi5dDQo+IFtDcmVhdGlu ZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9y aXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vTUMuLi5dDQo+ IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVl YnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2NsYW5nL2xpYmxsdm0v TUMvTUNEaXNhc3NlbWJsZXIuLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91c3Iv b2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmot dG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vTUMvTUNQYXJzZXIuLi5dDQo+IFtDcmVhdGluZyBu ZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNj di5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vT2JqZWN0Li4uXQ0K PiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJl ZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZt L09iamVjdFlBTUwuLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vz ci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMv bGliL2NsYW5nL2xpYmxsdm0vT3B0aW9uLi4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRp ciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90 bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL1Bhc3Nlcy4uLl0NCj4gW0NyZWF0aW5n IG5lc3RlZCBvYmpkaXIgL3Vzci9vYmovdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Jp c2N2LnJpc2N2NjQvdG1wL29iai10b29scy9saWIvY2xhbmcvbGlibGx2bS9Qcm9maWxlRGF0 YS4uLl0NCj4gW0NyZWF0aW5nIG5lc3RlZCBvYmpkaXIgL3Vzci9vYmovdXNyL2hvbWUvdHVl eGVuL2ZyZWVic2Qtc3JjL3Jpc2N2LnJpc2N2NjQvdG1wL29iai10b29scy9saWIvY2xhbmcv bGlibGx2bS9Qcm9maWxlRGF0YS9Db3ZlcmFnZS4uLl0NCj4gW0NyZWF0aW5nIG5lc3RlZCBv YmpkaXIgL3Vzci9vYmovdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Jpc2N2LnJpc2N2 NjQvdG1wL29iai10b29scy9saWIvY2xhbmcvbGlibGx2bS9SZW1hcmtzLi4uXQ0KPiBbQ3Jl YXRpbmcgbmVzdGVkIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1z cmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL1N1cHBv cnQuLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21lL3R1 ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2NsYW5n L2xpYmxsdm0vVGFibGVHZW4uLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91c3Iv b2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmot dG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vVGFyZ2V0Li4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVk IG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3Yucmlz Y3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL1RhcmdldC9SSVNDVi4uLl0N Cj4gW0NyZWF0aW5nIG5lc3RlZCBvYmpkaXIgL3Vzci9vYmovdXNyL2hvbWUvdHVleGVuL2Zy ZWVic2Qtc3JjL3Jpc2N2LnJpc2N2NjQvdG1wL29iai10b29scy9saWIvY2xhbmcvbGlibGx2 bS9UYXJnZXQvUklTQ1YvQXNtUGFyc2VyLi4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRp ciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90 bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL1RhcmdldC9SSVNDVi9EaXNhc3NlbWJs ZXIuLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21lL3R1 ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2NsYW5n L2xpYmxsdm0vVGFyZ2V0L1JJU0NWL01DVGFyZ2V0RGVzYy4uLl0NCj4gW0NyZWF0aW5nIG5l c3RlZCBvYmpkaXIgL3Vzci9vYmovdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Jpc2N2 LnJpc2N2NjQvdG1wL29iai10b29scy9saWIvY2xhbmcvbGlibGx2bS9UYXJnZXQvUklTQ1Yv VGFyZ2V0SW5mby4uLl0NCj4gW0NyZWF0aW5nIG5lc3RlZCBvYmpkaXIgL3Vzci9vYmovdXNy L2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Jpc2N2LnJpc2N2NjQvdG1wL29iai10b29scy9s aWIvY2xhbmcvbGlibGx2bS9UZXh0QVBJLi4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRp ciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90 bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL1Rvb2xEcml2ZXJzL2xsdm0tZGxsdG9v bC4uLl0NCj4gW0NyZWF0aW5nIG5lc3RlZCBvYmpkaXIgL3Vzci9vYmovdXNyL2hvbWUvdHVl eGVuL2ZyZWVic2Qtc3JjL3Jpc2N2LnJpc2N2NjQvdG1wL29iai10b29scy9saWIvY2xhbmcv bGlibGx2bS9Ub29sRHJpdmVycy9sbHZtLWxpYi4uLl0NCj4gW0NyZWF0aW5nIG5lc3RlZCBv YmpkaXIgL3Vzci9vYmovdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Jpc2N2LnJpc2N2 NjQvdG1wL29iai10b29scy9saWIvY2xhbmcvbGlibGx2bS9UcmFuc2Zvcm1zL0FnZ3Jlc3Np dmVJbnN0Q29tYmluZS4uLl0NCj4gW0NyZWF0aW5nIG5lc3RlZCBvYmpkaXIgL3Vzci9vYmov dXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL3Jpc2N2LnJpc2N2NjQvdG1wL29iai10b29s cy9saWIvY2xhbmcvbGlibGx2bS9UcmFuc2Zvcm1zL0NGR3VhcmQuLi5dDQo+IFtDcmVhdGlu ZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9y aXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vVHJhbnNmb3Jt cy9Db3JvdXRpbmVzLi4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRpciAvdXNyL29iai91 c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xz L2xpYi9jbGFuZy9saWJsbHZtL1RyYW5zZm9ybXMvSVBPLi4uXQ0KPiBbQ3JlYXRpbmcgbmVz dGVkIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3Yu cmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL1RyYW5zZm9ybXMvSW5z dENvbWJpbmUuLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9o b21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGli L2NsYW5nL2xpYmxsdm0vVHJhbnNmb3Jtcy9JbnN0cnVtZW50YXRpb24uLi5dDQo+IFtDcmVh dGluZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNy Yy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vVHJhbnNm b3Jtcy9PYmpDQVJDLi4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRpciAvdXNyL29iai91 c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xz L2xpYi9jbGFuZy9saWJsbHZtL1RyYW5zZm9ybXMvU2NhbGFyLi4uXQ0KPiBbQ3JlYXRpbmcg bmVzdGVkIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlz Y3YucmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL1RyYW5zZm9ybXMv VXRpbHMuLi5dDQo+IFtDcmVhdGluZyBuZXN0ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21l L3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5yaXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2Ns YW5nL2xpYmxsdm0vVHJhbnNmb3Jtcy9WZWN0b3JpemUuLi5dDQo+IFtDcmVhdGluZyBuZXN0 ZWQgb2JqZGlyIC91c3Ivb2JqL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9yaXNjdi5y aXNjdjY0L3RtcC9vYmotdG9vbHMvbGliL2NsYW5nL2xpYmxsdm0vbGx2bS1kbGx0b29sLi4u XQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4v ZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJs bHZtL2xsdm0tbGliLi4uXQ0KPiBbQ3JlYXRpbmcgbmVzdGVkIG9iamRpciAvdXNyL29iai91 c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvcmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xz L2xpYi9jbGFuZy9saWJsbHZtL2xsdm0vRnJvbnRlbmQvT3Blbk1QLi4uXQ0KPiBbQ3JlYXRp bmcgbmVzdGVkIG9iamRpciAvdXNyL29iai91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMv cmlzY3YucmlzY3Y2NC90bXAvb2JqLXRvb2xzL2xpYi9jbGFuZy9saWJsbHZtL2xsdm0vSVIu Li5dDQo+IC0tLSBsbHZtL0Zyb250ZW5kL09wZW5NUC9PTVAuaC5pbmMgLS0tDQo+IC0tLSBs bHZtL0Zyb250ZW5kL09wZW5NUC9PTVAuaW5jIC0tLQ0KPiAtLS0gbGx2bS9JUi9JbnRyaW5z aWNJbXBsLmluYyAtLS0NCj4gLS0tIGxsdm0vSVIvSW50cmluc2ljc0FBcmNoNjQuaCAtLS0N Cj4gLS0tIGxsdm0vRnJvbnRlbmQvT3Blbk1QL09NUC5oLmluYyAtLS0NCj4gbGx2bS10Ymxn ZW4gLS1nZW4tZGlyZWN0aXZlLWRlY2wgIC1JIC91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1z cmMvY29udHJpYi9sbHZtLXByb2plY3QvbGx2bS9pbmNsdWRlIC1kIGxsdm0vRnJvbnRlbmQv T3Blbk1QL09NUC5oLmluYy5kIC1vIGxsdm0vRnJvbnRlbmQvT3Blbk1QL09NUC5oLmluYyAg L3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9jb250cmliL2xsdm0tcHJvamVjdC9sbHZt L2luY2x1ZGUvbGx2bS9Gcm9udGVuZC9PcGVuTVAvT01QLnRkDQo+IEVMRiBiaW5hcnkgdHlw ZSAiMCIgbm90IGtub3duLg0KPiAtLS0gbGx2bS9Gcm9udGVuZC9PcGVuTVAvT01QLmluYyAt LS0NCj4gbGx2bS10YmxnZW4gLS1nZW4tZGlyZWN0aXZlLWltcGwgIC1JIC91c3IvaG9tZS90 dWV4ZW4vZnJlZWJzZC1zcmMvY29udHJpYi9sbHZtLXByb2plY3QvbGx2bS9pbmNsdWRlIC1k IGxsdm0vRnJvbnRlbmQvT3Blbk1QL09NUC5pbmMuZCAtbyBsbHZtL0Zyb250ZW5kL09wZW5N UC9PTVAuaW5jICAvdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL2NvbnRyaWIvbGx2bS1w cm9qZWN0L2xsdm0vaW5jbHVkZS9sbHZtL0Zyb250ZW5kL09wZW5NUC9PTVAudGQNCj4gLS0t IGxsdm0vSVIvSW50cmluc2ljSW1wbC5pbmMgLS0tDQo+IGxsdm0tdGJsZ2VuIC1nZW4taW50 cmluc2ljLWltcGwgIC1JIC91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvY29udHJpYi9s bHZtLXByb2plY3QvbGx2bS9pbmNsdWRlIC1kIGxsdm0vSVIvSW50cmluc2ljSW1wbC5pbmMu ZCAtbyBsbHZtL0lSL0ludHJpbnNpY0ltcGwuaW5jICAvdXNyL2hvbWUvdHVleGVuL2ZyZWVi c2Qtc3JjL2NvbnRyaWIvbGx2bS1wcm9qZWN0L2xsdm0vaW5jbHVkZS9sbHZtL0lSL0ludHJp bnNpY3MudGQNCj4gLS0tIGxsdm0vSVIvSW50cmluc2ljc0FBcmNoNjQuaCAtLS0NCj4gbGx2 bS10YmxnZW4gLWdlbi1pbnRyaW5zaWMtZW51bXMgLWludHJpbnNpYy1wcmVmaXg9YWFyY2g2 NCAgLUkgL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYy9jb250cmliL2xsdm0tcHJvamVj dC9sbHZtL2luY2x1ZGUgLWQgbGx2bS9JUi9JbnRyaW5zaWNzQUFyY2g2NC5oLmQgLW8gbGx2 bS9JUi9JbnRyaW5zaWNzQUFyY2g2NC5oICAvdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3Jj L2NvbnRyaWIvbGx2bS1wcm9qZWN0L2xsdm0vaW5jbHVkZS9sbHZtL0lSL0ludHJpbnNpY3Mu dGQNCj4gRUxGIGJpbmFyeSB0eXBlICIwIiBub3Qga25vd24uDQo+IC0tLSBsbHZtL0lSL0lu dHJpbnNpY0ltcGwuaW5jIC0tLQ0KPiBzaDogbGx2bS10YmxnZW46IEV4ZWMgZm9ybWF0IGVy cm9yDQo+IEVMRiBiaW5hcnkgdHlwZSAiMCIgbm90IGtub3duLg0KPiAtLS0gbGx2bS9Gcm9u dGVuZC9PcGVuTVAvT01QLmluYyAtLS0NCj4gc2g6IGxsdm0tdGJsZ2VuOiBFeGVjIGZvcm1h dCBlcnJvcg0KPiAtLS0gbGx2bS9JUi9JbnRyaW5zaWNzQUFyY2g2NC5oIC0tLQ0KPiBzaDog bGx2bS10YmxnZW46IEV4ZWMgZm9ybWF0IGVycm9yDQo+IEVMRiBiaW5hcnkgdHlwZSAiMCIg bm90IGtub3duLg0KPiAtLS0gbGx2bS9JUi9JbnRyaW5zaWNJbXBsLmluYyAtLS0NCj4gKioq IFtsbHZtL0lSL0ludHJpbnNpY0ltcGwuaW5jXSBFcnJvciBjb2RlIDEyNg0KPg0KPiBtYWtl WzRdOiBzdG9wcGVkIGluIC91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvbGliL2NsYW5n L2xpYmxsdm0NCj4gLS0tIGxsdm0vRnJvbnRlbmQvT3Blbk1QL09NUC5pbmMgLS0tDQo+ICoq KiBbbGx2bS9Gcm9udGVuZC9PcGVuTVAvT01QLmluY10gRXJyb3IgY29kZSAxMjYNCj4NCj4g bWFrZVs0XTogc3RvcHBlZCBpbiAvdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL2xpYi9j bGFuZy9saWJsbHZtDQo+IC0tLSBsbHZtL0lSL0ludHJpbnNpY3NBQXJjaDY0LmggLS0tDQo+ ICoqKiBbbGx2bS9JUi9JbnRyaW5zaWNzQUFyY2g2NC5oXSBFcnJvciBjb2RlIDEyNg0KPg0K PiBtYWtlWzRdOiBzdG9wcGVkIGluIC91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvbGli L2NsYW5nL2xpYmxsdm0NCj4gLS0tIGxsdm0vRnJvbnRlbmQvT3Blbk1QL09NUC5oLmluYyAt LS0NCj4gc2g6IGxsdm0tdGJsZ2VuOiBFeGVjIGZvcm1hdCBlcnJvcg0KPiAqKiogW2xsdm0v RnJvbnRlbmQvT3Blbk1QL09NUC5oLmluY10gRXJyb3IgY29kZSAxMjYNCj4NCj4gbWFrZVs0 XTogc3RvcHBlZCBpbiAvdXNyL2hvbWUvdHVleGVuL2ZyZWVic2Qtc3JjL2xpYi9jbGFuZy9s aWJsbHZtDQo+IDQgZXJyb3JzDQo+DQo+IG1ha2VbNF06IHN0b3BwZWQgaW4gL3Vzci9ob21l L3R1ZXhlbi9mcmVlYnNkLXNyYy9saWIvY2xhbmcvbGlibGx2bQ0KPg0KPiBtYWtlWzNdOiBz dG9wcGVkIGluIC91c3IvaG9tZS90dWV4ZW4vZnJlZWJzZC1zcmMvbGliL2NsYW5nDQo+DQo+ IG1ha2VbMl06IHN0b3BwZWQgaW4gL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYw0KPiAg ICAgICAgMTIuODkgcmVhbCAgICAgICAgMTEuODYgdXNlciAgICAgICAgIDEuMTQgc3lzDQo+ DQo+IG1ha2VbMV06IHN0b3BwZWQgaW4gL3Vzci9ob21lL3R1ZXhlbi9mcmVlYnNkLXNyYw0K Pg0KPiBBbnkgaWRlYSB3aGF0IGlzIGdvaW5nIHdyb25nPw0KSGkgTWljaGFlbCwNCg0KSSBi ZWxpZXZlIHRoZSBmb2xsb3dpbmcgZGlmZiB3aWxsIGZ1bmN0aW9uIGFzIGEgd29ya2Fyb3Vu ZCBmb3IgdGhpcyANCmlzc3VlICh1bnRlc3RlZCBieSBtZSk6DQoNCmRpZmYgLS1naXQgYS9s aWIvY2xhbmcvbGx2bS5idWlsZC5tayBiL2xpYi9jbGFuZy9sbHZtLmJ1aWxkLm1rDQppbmRl eCA1YWZmNzA4MWZiNzYuLjczMGIxMTMxMDY4ZSAxMDA2NDQNCi0tLSBhL2xpYi9jbGFuZy9s bHZtLmJ1aWxkLm1rDQorKysgYi9saWIvY2xhbmcvbGx2bS5idWlsZC5taw0KQEAgLTEwNCw3 ICsxMDQsNyBAQCBDRkxBR1MrPSDCoMKgwqAtZmRhdGEtc2VjdGlvbnMNCi5pZiAke0xJTktF Ul9UWVBFfSA9PSAibWFjIg0KTERGTEFHUys9IMKgwqDCoMKgwqAtV2wsLWRlYWRfc3RyaXAN Ci5lbHNlDQotTERGTEFHUys9IMKgwqDCoMKgwqAtV2wsLS1nYy1zZWN0aW9ucw0KK0xERkxB R1MrPSDCoMKgwqDCoMKgLVdsLC0tZ2Mtc2VjdGlvbnMsLW0sZWxmNjRscmlzY3ZfZmJzZA0K LmVuZGlmDQoNCkNYWFNURD89IMKgwqDCoMKgwqDCoGMrKzE0DQoNCkNDJ2luZyBKZXNzLCB3 aG8ga25vd3MgdGhlIGZ1bGwgc3RvcnkgaGVyZS4NCg0KQ2hlZXJzLA0KTWl0Y2hlbGwNCg0K Pg0KPiBCZXN0IHJlZ2FyZHMNCj4gTWljaGFlbA0KPg0KPg0KDQo= From nobody Tue Dec 7 15:43:32 2021 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E9C1F18C4A2D for ; Tue, 7 Dec 2021 15:43:40 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J7l2N5y1Jz3kq7 for ; Tue, 7 Dec 2021 15:43:40 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: by mail-wr1-f52.google.com with SMTP id d9so30379225wrw.4 for ; Tue, 07 Dec 2021 07:43:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=RFrpv+4P0+Hy23f7mazVrhH9rbbEJ/BE4BvImrP78Hg=; b=ilfhc8RIOl9iJjhLwpP8v3mwDOhbJLPuaNtkQ6Bm3gIYqsVgJ00VShVf/VCkHH/qAg d/Rr7Uao2iAGSfuMPph77izynmg4e5rU2aRoNnFfo/yCpOxZi3Uj9nFKBukvVv9fd/un NE0/Ino38Ks0ds/xebhOf/L1ZRPPOdOg0EfK1pPjPMu32wSZh6ElZijem4GBnXi6Ui9s gP6GM+aqAec7//XgjDAhzO1ZXXj2nrb+OH5YoxtwnI67LxHjBCCicwl6sNN9OFB9uXW5 HyVXuWdSKjbDFFmNR46uBrxNJAWYcBSvtJW+Hgoeg+f5z8oY3h7G9d7CaOwFRAUSQDA5 7Z7Q== X-Gm-Message-State: AOAM530cc/8hbRwYIN6wSbQpBpDiCvMDsodf//GposI0Uf7cNfo+m1Qe o7Al587qTwVmjdCvdtH09wPU0C/Ye0sLCA== X-Google-Smtp-Source: ABdhPJwSLUAv53E6FcRntJuaeL30QKnBsEo25Ise8GTqNBdZ+QJn3IPmTFc3Q3v3nz/VH38G5TiRMQ== X-Received: by 2002:a5d:680b:: with SMTP id w11mr51905907wru.345.1638891814108; Tue, 07 Dec 2021 07:43:34 -0800 (PST) Received: from smtpclient.apple (global-5-141.nat-2.net.cam.ac.uk. [131.111.5.141]) by smtp.gmail.com with ESMTPSA id o4sm3594433wmq.31.2021.12.07.07.43.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Dec 2021 07:43:33 -0800 (PST) Content-Type: text/plain; charset=us-ascii List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Problem building world From: Jessica Clarke In-Reply-To: <316c505a-5f92-d216-849c-af94e3340284@freebsd.org> Date: Tue, 7 Dec 2021 15:43:32 +0000 Cc: tuexen@freebsd.org, freebsd-riscv Content-Transfer-Encoding: quoted-printable Message-Id: <825F61F0-5C23-492C-92F5-C08215C7BDA1@freebsd.org> References: <316c505a-5f92-d216-849c-af94e3340284@freebsd.org> To: Mitchell Horne X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4J7l2N5y1Jz3kq7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 7 Dec 2021, at 15:34, Mitchell Horne wrote: > On 11/28/21 10:52, tuexen@freebsd.org wrote: >> Dear all, >>=20 >> when trying to build world as of today, the following happens: >>=20 >>>>> stage 3: cross tools >> -------------------------------------------------------------- >> cd /usr/home/tuexen/freebsd-src; time env INSTALL=3D"sh = /usr/home/tuexen/freebsd-src/tools/install.sh" = TOOLS_PREFIX=3D/usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp = PATH=3D/usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/legacy/usr/s= bin:/usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/legacy/usr/bin:= /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/legacy/bin:/usr/obj= /usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/legacy/usr/libexec:/sbin:/b= in:/usr/sbin:/usr/bin = WORLDTMP=3D/usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp = MAKEFLAGS=3D"-m /usr/home/tuexen/freebsd-src/tools/build/mk -j 4 -J = 15,16 -m /usr/home/tuexen/freebsd-src/share/mk" make -f Makefile.inc1 = DESTDIR=3D = OBJTOP=3D'/usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools= ' OBJROOT=3D'${OBJTOP}/' MAKEOBJDIRPREFIX=3D BOOTSTRAPPING=3D1400029 = BWPHASE=3Dcross-tools -DNO_CPU_CFLAGS -DNO_LINT -DNO_PIC -DNO_SHARED = MK_ASAN=3Dno MK_CTF=3Dno MK_CLANG_EXTRAS=3Dno MK_CLANG_FORMAT=3Dno = MK_CLANG_FULL=3Dno MK_HTML=3Dno MK_MAN=3Dno MK_PROFILE=3Dno = MK_RETPOLINE=3Dno MK_SSP=3Dno MK_TESTS=3Dno MK_UBSAN=3Dno = MK_WERROR=3Dno MK_INCLUDES=3Dyes MK_MAN_UTILS=3Dyes = MK_LLVM_TARGET_ALL=3Dno TARGET=3Driscv TARGET_ARCH=3Driscv64 = MK_CLANG_IS_CC=3Dyes MK_LLDB=3Dno MK_LLVM_BINUTILS=3Dno MK_TESTS=3Dno = cross-tools >> --- cross-tools --- >> =3D=3D=3D> lib/clang (obj,all,install) >> --- all_subdir_lib/clang/libllvm --- >> =3D=3D=3D> lib/clang/libllvm (all) >> [Creating objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Analysis...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/AsmParser...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/BinaryFormat...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Bitcode/Reader...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Bitcode/Writer...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Bitstream/Reader...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/CodeGen...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/CodeGen/AsmPrinter...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/CodeGen/GlobalISel...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/CodeGen/LiveDebugValues...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/CodeGen/SelectionDAG...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/DebugInfo/CodeView...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/DebugInfo/DWARF...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/DebugInfo/MSF...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/DebugInfo/Symbolize...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Demangle...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Frontend/OpenMP...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/IR...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/IRReader...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/LTO...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Linker...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/MC...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/MC/MCDisassembler...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/MC/MCParser...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Object...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/ObjectYAML...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Option...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Passes...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/ProfileData...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/ProfileData/Coverage...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Remarks...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Support...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/TableGen...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Target...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Target/RISCV...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Target/RISCV/AsmParser...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Target/RISCV/Disassembler...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Target/RISCV/MCTargetDesc...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Target/RISCV/TargetInfo...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/TextAPI...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/ToolDrivers/llvm-dlltool...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/ToolDrivers/llvm-lib...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Transforms/AggressiveInstCombine...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Transforms/CFGuard...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Transforms/Coroutines...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Transforms/IPO...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Transforms/InstCombine...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Transforms/Instrumentation...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Transforms/ObjCARC...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Transforms/Scalar...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Transforms/Utils...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/Transforms/Vectorize...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/llvm-dlltool...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/llvm-lib...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/llvm/Frontend/OpenMP...] >> [Creating nested objdir = /usr/obj/usr/home/tuexen/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang= /libllvm/llvm/IR...] >> --- llvm/Frontend/OpenMP/OMP.h.inc --- >> --- llvm/Frontend/OpenMP/OMP.inc --- >> --- llvm/IR/IntrinsicImpl.inc --- >> --- llvm/IR/IntrinsicsAArch64.h --- >> --- llvm/Frontend/OpenMP/OMP.h.inc --- >> llvm-tblgen --gen-directive-decl -I = /usr/home/tuexen/freebsd-src/contrib/llvm-project/llvm/include -d = llvm/Frontend/OpenMP/OMP.h.inc.d -o llvm/Frontend/OpenMP/OMP.h.inc = /usr/home/tuexen/freebsd-src/contrib/llvm-project/llvm/include/llvm/Fronte= nd/OpenMP/OMP.td >> ELF binary type "0" not known. >> --- llvm/Frontend/OpenMP/OMP.inc --- >> llvm-tblgen --gen-directive-impl -I = /usr/home/tuexen/freebsd-src/contrib/llvm-project/llvm/include -d = llvm/Frontend/OpenMP/OMP.inc.d -o llvm/Frontend/OpenMP/OMP.inc = /usr/home/tuexen/freebsd-src/contrib/llvm-project/llvm/include/llvm/Fronte= nd/OpenMP/OMP.td >> --- llvm/IR/IntrinsicImpl.inc --- >> llvm-tblgen -gen-intrinsic-impl -I = /usr/home/tuexen/freebsd-src/contrib/llvm-project/llvm/include -d = llvm/IR/IntrinsicImpl.inc.d -o llvm/IR/IntrinsicImpl.inc = /usr/home/tuexen/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/Int= rinsics.td >> --- llvm/IR/IntrinsicsAArch64.h --- >> llvm-tblgen -gen-intrinsic-enums -intrinsic-prefix=3Daarch64 -I = /usr/home/tuexen/freebsd-src/contrib/llvm-project/llvm/include -d = llvm/IR/IntrinsicsAArch64.h.d -o llvm/IR/IntrinsicsAArch64.h = /usr/home/tuexen/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/Int= rinsics.td >> ELF binary type "0" not known. >> --- llvm/IR/IntrinsicImpl.inc --- >> sh: llvm-tblgen: Exec format error >> ELF binary type "0" not known. >> --- llvm/Frontend/OpenMP/OMP.inc --- >> sh: llvm-tblgen: Exec format error >> --- llvm/IR/IntrinsicsAArch64.h --- >> sh: llvm-tblgen: Exec format error >> ELF binary type "0" not known. >> --- llvm/IR/IntrinsicImpl.inc --- >> *** [llvm/IR/IntrinsicImpl.inc] Error code 126 >>=20 >> make[4]: stopped in /usr/home/tuexen/freebsd-src/lib/clang/libllvm >> --- llvm/Frontend/OpenMP/OMP.inc --- >> *** [llvm/Frontend/OpenMP/OMP.inc] Error code 126 >>=20 >> make[4]: stopped in /usr/home/tuexen/freebsd-src/lib/clang/libllvm >> --- llvm/IR/IntrinsicsAArch64.h --- >> *** [llvm/IR/IntrinsicsAArch64.h] Error code 126 >>=20 >> make[4]: stopped in /usr/home/tuexen/freebsd-src/lib/clang/libllvm >> --- llvm/Frontend/OpenMP/OMP.h.inc --- >> sh: llvm-tblgen: Exec format error >> *** [llvm/Frontend/OpenMP/OMP.h.inc] Error code 126 >>=20 >> make[4]: stopped in /usr/home/tuexen/freebsd-src/lib/clang/libllvm >> 4 errors >>=20 >> make[4]: stopped in /usr/home/tuexen/freebsd-src/lib/clang/libllvm >>=20 >> make[3]: stopped in /usr/home/tuexen/freebsd-src/lib/clang >>=20 >> make[2]: stopped in /usr/home/tuexen/freebsd-src >> 12.89 real 11.86 user 1.14 sys >>=20 >> make[1]: stopped in /usr/home/tuexen/freebsd-src >>=20 >> Any idea what is going wrong? > Hi Michael, >=20 > I believe the following diff will function as a workaround for this = issue (untested by me): >=20 > diff --git a/lib/clang/llvm.build.mk b/lib/clang/llvm.build.mk > index 5aff7081fb76..730b1131068e 100644 > --- a/lib/clang/llvm.build.mk > +++ b/lib/clang/llvm.build.mk > @@ -104,7 +104,7 @@ CFLAGS+=3D -fdata-sections > .if ${LINKER_TYPE} =3D=3D "mac" > LDFLAGS+=3D -Wl,-dead_strip > .else > -LDFLAGS+=3D -Wl,--gc-sections > +LDFLAGS+=3D -Wl,--gc-sections,-m,elf64lriscv_fbsd > .endif >=20 > CXXSTD?=3D c++14 >=20 > CC'ing Jess, who knows the full story here. Yes; see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258358#c4 Jess From nobody Tue Jan 11 13:30:58 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D26B2194EA96 for ; Tue, 11 Jan 2022 13:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JYBR64Qjyz4T5N for ; Tue, 11 Jan 2022 13:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 74BF519BD5 for ; Tue, 11 Jan 2022 13:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20BDUwUd030647 for ; Tue, 11 Jan 2022 13:30:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20BDUwhx030646 for riscv@FreeBSD.org; Tue, 11 Jan 2022 13:30:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261106] devel/llvm90: enable COMPILER_RT on riscv64 Date: Tue, 11 Jan 2022 13:30:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641907858; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uDc+35AEBwuGXDxtz8uCihTOxkK5ZvXjT1OKmQNFz8Y=; b=SlcO0mh33Jv3U+FvoGxcrW9zlI9BTDBQhCCPtuFZ2lWObjqnEmcDyWcsQLsLC5EUZ7Hkpg 9+F5mufqsmNLqHjeVOpwHuTxpo1fUHg7ytwiyIA20wPVTs8nb30y1uU+DBwNAWJrKEyS5G /x+UrnVicbo7KDsEUJGyy/TTSGgVwvBNEi4nMzArk49PF/eEJOGOHAWxc3FCIOxgvKF2tt pGC4XoDzNU+d+rLnGNZucgQbBrf/4ys1H53zbSx3ivlIKo8YspdEYGCD7jfP1oHn4T8Jcs ZcrHkhcs3rQUI+aZmap90XH5TDHFuWfvFjHibyim8qOK9Cw4xM/tqKyK7WI97g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641907858; a=rsa-sha256; cv=none; b=rZCtu8k9EPlNSZGxGv6/RG0tOGEBeCmbYEPp6aJB6yYWEcR2jiBzdtOpCCzzcByaO4xp4n DOSD7P1jXUdgSe41coHHLtHUCTB9/tvutYmu/+KyGHnW7N97dd1F4G05wsr7dto5ThVfr1 U/cOvfvI7h7hFhyb4dZDbsSJCbZv3n0f/9aVLRrVQB/uI7Uo1Fqc2r5hx6ZSG6p8BSaI/B G1p8JkatJM7gYjUZVsNkisGOLetT1GiPqD7b/BLUW35bAWfIIPIoRwlb61oSppcUz2IlzL m8h7D38mB/31bHl5Aymor8wpvuovA4iDFOm0cv56lIoQl1kqL9jz2cV6H5Giww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261106 Bug ID: 261106 Summary: devel/llvm90: enable COMPILER_RT on riscv64 Product: Ports & Packages Version: Latest Hardware: riscv OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: pkubaj@FreeBSD.org CC: riscv@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) CC: riscv@FreeBSD.org Assignee: brooks@FreeBSD.org Created attachment 230903 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230903&action= =3Dedit patch 1. COMPILER_RT builds libclang_rt.builtins-riscv64.a library, but not cfi_blacklist.txt, so _COMPILER_RT_BLACKLISTS needs to be put into amd64 and i386 cases. 2. Instead of: .if ${ARCH} .endif .if {ARCH} Do: .if ${ARCH} .elseif ${ARCH} 3. Remove whitespace at the end of line. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Jan 11 17:23:36 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 81EAB194A1F4 for ; Tue, 11 Jan 2022 17:23:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JYHbX1gr3z3q2F for ; Tue, 11 Jan 2022 17:23:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 19F761D4AA for ; Tue, 11 Jan 2022 17:23:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20BHNaID052710 for ; Tue, 11 Jan 2022 17:23:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20BHNaMc052709 for riscv@FreeBSD.org; Tue, 11 Jan 2022 17:23:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261106] devel/llvm90: enable COMPILER_RT on riscv64 Date: Tue, 11 Jan 2022 17:23:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641921816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=F40sRP76LvbzMMy6tcFwg+3tGrbOAP/UiOeO3IZKF48=; b=ns+XmWeNuQFuo1nfkG1VEyPFN/zxuy/DeCZ+RmmlGXaexK1CZs/6ZrlJP/C9F3WKXsPcnU bgLVyfe+gBvG7TUGZvkk8hqDjIO7ZzmaQk50LxbEBEWNlXA3l/TuMEFnbUn55eCwFUXYNw WOjTJCqHDmO8fin8RDEsq9o44GVKHvPB3E8GiraHhRMXlCASuxcwZBwBfLNoCoKm0bLcoU 56r66J0l/syMYOr1sZvvamP2BJRorTu2PgWgg0fRIs23A6CohN+BRv6y3Rl6g00gAjdH4/ CS7/ntm69jCmvF+U/Uc706QYReoEbPLw7yCYsP6usL7Fd/5tOJVNbeRLxOjNmg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641921816; a=rsa-sha256; cv=none; b=YZO7ymcuamWypwcZtyYX9qCBi68A0aNbAnu7eDfuhhN7AtCB9DbRzeAecgICu1rhd4rFaT A6Ifd5k03tLRFG09DUk8c0ZnrXPB04HaxGy6J852Jo2XZHP2JxzzRrZ2LpzpSGiNB5vZo3 6r3VciR7b9Mlla9UCJ/UJBgQIboAzxKohxKhpPlNl/O/n/CzGaUmaF/X+fq8VZxp6SRrtV 69Qojj7clbC1cuBudysOsZSv9XEzByb87BDhc0cpCuSYEDe6uG5xKeBhTRR9ARC+sONbpb naLiJoelEXkpSU6U2CChY7lP7VDYB5euAHn8RM4kA+D7xMYcT+FG2WVRNzs2+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261106 --- Comment #1 from Brooks Davis --- Looks good to me, please commit. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Jan 11 23:10:05 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B22121956FD8 for ; Tue, 11 Jan 2022 23:10:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JYRHK05Dmz4vZp for ; Tue, 11 Jan 2022 23:10:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C159121D40 for ; Tue, 11 Jan 2022 23:10:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20BNA4Iq031001 for ; Tue, 11 Jan 2022 23:10:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20BNA4bT031000 for riscv@FreeBSD.org; Tue, 11 Jan 2022 23:10:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261106] devel/llvm90: enable COMPILER_RT on riscv64 Date: Tue, 11 Jan 2022 23:10:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641942605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=N4LIpt0jrQLScKfW6Tin6AxHzNST6aYo+BD6qrCtgKs=; b=lOg2PamGmQFbYKCbY1M7t1rzxYqFZOKI5/crHvXxQ/Wksp69r+lqxRW+U7ufWVReOe/YTZ DZvfZVAdPf5Lj5xCk8YtTT34roGlLnCrupjpgfc92SjrviKH+diMvsAZ7BevWI7cLeYWz0 XaM0j+Ev03rW42Ts0P+gR5WWv5WEO7K2aI07e3OkUQ1WygA2ANpxwP7OrRFC8cY8x9njDs 9NRswUaWksuciufP9V393JLlzLiExcoGaR0cV34NJNoGyT+/p/R7zr9ojddiLi/hALK/MC 1V68INcGhpCg8cP8c2wnWkGGDtmE+3wT+wII7yrtXQ5DdIa/uk3C62BLvtstKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641942605; a=rsa-sha256; cv=none; b=iQehKFo2+0OCkz3AUvvMjcaDnfLrAB/N1+ARLH+S1Xpkq7c1MwcSvU/hkDF/4fX2RpBIsG tJ51EuPaVWl3+KHNjcy8yQSUYzZ+dwKcP+rjmDOR/KoC6ZuFkhLyqnKXXyknoah/o20L1O bKRqlIINCFfkyDAhJ8YQd1MD/rgy5ECLLJ3DqQQ4qVRJixiykKI/abxWT6rhp/Z4V9WEWy KBbMhisFWSuqZBPqfzzwwSSm0cDNjFe4XZmEkp8W1a6EmBS4kKwd0hCHXL0Gtm4n8y2iUN GAStoJm67g3bfWBdGM2uUN70mo7RuyOYrg4iLR5GLnLoD4wZueYcp4WnNWpvAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261106 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Jan 11 23:10:28 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8CCB11957994 for ; Tue, 11 Jan 2022 23:10:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JYRHm2p4Zz4vwK for ; Tue, 11 Jan 2022 23:10:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4156622121 for ; Tue, 11 Jan 2022 23:10:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20BNASZ9031083 for ; Tue, 11 Jan 2022 23:10:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20BNASZt031082 for riscv@FreeBSD.org; Tue, 11 Jan 2022 23:10:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261106] devel/llvm90: enable COMPILER_RT on riscv64 Date: Tue, 11 Jan 2022 23:10:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641942628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MNUEOwDoOcFM1eWuDEYfIguFncuY8Sp80lDwCtlVJYg=; b=Rv6iz9kCCW7Nr81PVIucqqtrTUkhfdHGZS3EqbelbMgzQ4wjwsQNI4aZr42nxoHenF5pPd 5gEX7Lq0rQuNdE/FAN5hyE6IEWdkWZ2vnbdK0oEfcOZd4kQTbMFqLFgbMC6oyOKtcMIOnL BbYC1FoCFTcvUXR0JTzwiI5FtSsm3poBhCj6SnazYqGbYodQ34kPilukCL5TPNS42ClXxi 8jBVRe9AshxNHuyE9nj4cQmEEeSKc3DTMcW5ud8F/If48F/UI7iyecaXn11ToLXb/IcibU brpeG5leF8//Oq3MQxyIzYogGYDKuIE34s9j7wmq+1x/hfocdAXvTTQh8U0ytw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641942628; a=rsa-sha256; cv=none; b=T6E2E05jXWb1ZuCxgHHIQSn2sHzNCbZHqcheRedkpW0vc3Q5Xi1SBwQ+xFI/vBoDviGVCt 3noQT7oV3S0faYTJRX+ha4gxg8Lvh/TpFaFBxhQjcCBZIhQk2ZHTlpylO5hmG5i6ImBdd9 rRaNo1vV3CDdrKNHWklngc9dNSdlzxNuOVw8RGuwadWBQw64/F9BYRQMTr7GnqqpDuBqpK BLSY0mJBU3yLiXGJOeO/IQAlPiS54B4cdp2zV4WQIauDEMX6xGcdwDvhcyzG2oKn0SlHTW uI+BB7SRwAIaaZDCpzfSQQ0oKsbATzwwbYo3HUD9CryBU+ghKz3YR0HX7OIuoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261106 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D89ba74caeafbef6ed418cc07c392f99= 0347095c9 commit 89ba74caeafbef6ed418cc07c392f990347095c9 Author: Piotr Kubaj AuthorDate: 2022-01-11 23:07:43 +0000 Commit: Piotr Kubaj CommitDate: 2022-01-11 23:07:43 +0000 devel/llvm90: enable COMPILER_RT on riscv64 1. COMPILER_RT builds libclang_rt.builtins-riscv64.a library, but not cfi_blacklist.txt, so _COMPILER_RT_BLACKLISTS needs to be put into amd64 and i386 cases. 2. Instead of: .if ${ARCH} .endif .if {ARCH} Do: .if ${ARCH} .elseif ${ARCH} 3. Remove whitespace at the end of line. PR: 261106 Approved by: brooks (maintainer) devel/llvm90/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Jan 17 15:36:25 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5E9C4196F5E0 for ; Mon, 17 Jan 2022 15:36:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jcwx508FTz4dW2 for ; Mon, 17 Jan 2022 15:36:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CAC4410868 for ; Mon, 17 Jan 2022 15:36:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20HFaOmG024360 for ; Mon, 17 Jan 2022 15:36:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20HFaOc9024359 for riscv@FreeBSD.org; Mon, 17 Jan 2022 15:36:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 259160] x11-servers/xorg-server: fix build on riscv64 Date: Mon, 17 Jan 2022 15:36:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642433785; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OCyUHwdS9uDQMAT6TXQmQ7Ruh3hRNOHabYq4Hk/xiYM=; b=xlPVQtA9vjV+JkydT4so/JnYLVWCx8f1+FpjHd7Wsn7FNCJEpkGB+oNEsmNSMo769obfF2 9nturDJPs4AX2RXKt5kn316FqU9+dpSsdDP8XB6Xn63wvxnifBjMR3vynr5Q8/wt0G4Vr4 SAwcSsYXOY+FfqovCInt+hz6v9dxk7j6rBdJCKYXTHAkKNZgs5J3aTkcueL7U9lAbvHx3L 27A1KXqwD8kVDLHB/sA2h2LdUBT0WKE655eeRKyzDim8XdFH3FntxcskgQFFlPZYHK+rPg SLQv88ZzUllN4/zf2zbVd4R/PEvRVDjuUiPN9GtCWqvzddX7t5jlRJI0xtxodA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642433785; a=rsa-sha256; cv=none; b=bl1yPWEZKMxkg3vfP5+lvAX/2c+ErA2aGX7x9yBwnxhGTmLon/7Xvx+k3IgNdVBZXt2c/w UH4i/KO0JTxVEC3nt5pGUnFXIaaJX1UZao4j/PfrW+Yi8LIZGA3R9uZfwkjyCIQXz5a738 1/9R6M7/Opiy3+/EbfvFwT61rZKvn4TX3RmPvGfojfdg+3APZTzRNuO5P5hUpHlmgyH1bw catDJE7rm0hVJm3ysS2q0sT+Boku+++r6kSgDW+5nXJ4vUx9yB3fBYNzvdVWQ+golYPfGw 8M0D+XDYm5IubEWUoZMgpsXV01YtHlO1mhIEUxMX0KLyFIXZVwLpkU2n1b7tFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259160 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D191c27eadbff1ca5e93b5fda4154f11= 82dea49ac commit 191c27eadbff1ca5e93b5fda4154f1182dea49ac Author: Piotr Kubaj AuthorDate: 2022-01-17 15:01:46 +0000 Commit: Piotr Kubaj CommitDate: 2022-01-17 15:03:03 +0000 x11-servers/xorg-server: fix build on risc64 Submitted by: fuz@fuz.su Approved by: x11 (maintainer timeout) PR: 259160 x11-servers/xorg-server/files/configure.ac | 2 +- x11-servers/xorg-server/files/patch-configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Jan 17 15:46:41 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8A0D319575C2 for ; Mon, 17 Jan 2022 15:46:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jcx8x1GzDz4jGL for ; Mon, 17 Jan 2022 15:46:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0C5BD1055D for ; Mon, 17 Jan 2022 15:46:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20HFke5F029213 for ; Mon, 17 Jan 2022 15:46:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20HFke1h029212 for riscv@FreeBSD.org; Mon, 17 Jan 2022 15:46:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 259160] x11-servers/xorg-server: fix build on riscv64 Date: Mon, 17 Jan 2022 15:46:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: resolution cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642434401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pPapaKlG61NT8CT3lagm01M/oFAWT+9e9bRFuNNVOro=; b=pRsFwFifO5B2J1PyQLLJtI25weoxy5Q6MaXhJEXjQAJir0CKxwmaWxrtySnS0TQUCaT5Ms DQ5EjdxFHy7pp0kIbdIP0rp3oUFMDxTBnW6pJOK7cx/Snc+y1rYdzBeub+wphBnXpGXksK wlFjKxt1pOWOye5+keDk71MhLCV4PY9UKZ+AwztdJUzI4IqX/l6Sn4H0jXjcGl9Slb3pIA cmcYAs1TbqprRiJ/FMm8lbRrRX1EVN1c4+sQ1rZFbWMlNnWEBz4gBfRqvRCsKcH4SObTlf 9fb1W5Rsk81Ys+8gFg62yRDr86qqiIIANaEEDzSchmLNRjNwNEYKfD/vTfvkLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642434401; a=rsa-sha256; cv=none; b=ubAdduyHRa2ayQRjJ01zU8XTOYaUI62De7O6YbMjf/JmO81kaBPO0M5gCMZHmwX3fJN+Oq 3G29ugxZbbCvKbbULliLhqUtr7Y9fZ16IKlrfNTz5RZmI8EaBGVHwuLlpAJ8W3YaqJhEyt lZIRIlLAm0jXFbbHfrR9KuvSmXwbm5tVP/h88HNIzEfRLpQoi9k3qMW5PWXeGF+n64GLFd DRM+xuC5zGs9c6FO4wToI+3cPsBmrcClL5cEVGyupQmAKWPnkOwY8jABzfJDbnA1S69UgS yS9J0RaN0E2gIpZ/uMlrpzm4ScdunPHghtRUSZFTcv8wCcFgi3xBJHHY9puvLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259160 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |pkubaj@FreeBSD.org Status|Open |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Jan 17 19:02:08 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DCBC91964285 for ; Mon, 17 Jan 2022 19:02:39 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jd1W25x4tz3PnH for ; Mon, 17 Jan 2022 19:02:35 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-d24b235c.06-431-73746f70.bbcust.telenor.se ([92.35.75.210] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1n9XH0-0001jA-M2 for freebsd-riscv@FreeBSD.org; Mon, 17 Jan 2022 20:02:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:Subject:From: To:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=t0n2SpqdXwLGzexakj8iCy/YRdjungmi3dxaS/Mx/FI=; b=LvdUhyAMOUC2lxUc29+gfVGmiK GikgRof9TRhxGA3SNasr3IQmRdOwxoOG+c4j2LamBp65plJMxbQg64BcnrYmdyoS4EavfqGweyi0r fCRXu3d22pMyWf1JwjYz8z+/pcJyEjLxastuvy1ihQFKIzD9OKHMBO9igKSeNGw4M69ISes17TEfR WmOVIaa13R4E619VipVfKJBhRFLq1zBW3ycK7tylyNx+OkUsfDjbkfpcY1m9uzzZQC1TyZzxj9YMJ WYkU3p0y2+a0vDoKJtuQtaTQSqFI7XikjB3pnixIfqAUgwB2cUCH8PmTSNMJTlXfD5Uy0BDNo9EPD LW45kz9g==; Received: from office.as33885.net ([84.55.65.101] helo=[192.168.3.66]) by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1n9XGb-0005hh-2l for freebsd-riscv@FreeBSD.org; Mon, 17 Jan 2022 20:02:09 +0100 Message-ID: Date: Mon, 17 Jan 2022 20:02:08 +0100 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 To: freebsd-riscv@FreeBSD.org Content-Language: en-US From: Jakob Alvermark Subject: Sipeed Lichee RV (Allwinner D1) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Jd1W25x4tz3PnH X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alvermark.net header.s=x header.b=LvdUhyAM; dmarc=none; spf=pass (mx1.freebsd.org: domain of jakob@alvermark.net designates 185.34.136.138 as permitted sender) smtp.mailfrom=jakob@alvermark.net X-Spamd-Result: default: False [-0.25 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[alvermark.net:s=x]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.34.136.138]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[alvermark.net: no valid DMARC record]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.25)[0.246]; DKIM_TRACE(0.00)[alvermark.net:+]; NEURAL_SPAM_LONG(1.00)[1.000]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34971, ipnet:185.34.136.0/23, country:IT]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi, With RISC-V SBCs now coming down in price, I got curios and got myself a Lichee RV (with the dock). https://linux-sunxi.org/Sipeed_Lichee_RV The instructions here, https://linux-sunxi.org/Allwinner_Nezha along with some patching got me a working U-boot. Cross-building and putting together and image for and SD card got me this far: [35]HELLO! BOOT0 is starting! [38]BOOT0 commit : 771192d [41]set pll start [42]periph0 has been enabled [45]set pll end [47]board init ok [49]DRAM only have internal ZQ!! [51]get_pmu_exist() = -1 [54]ddr_efuse_type: 0x0 [57][AUTO DEBUG] single rank and full DQ! [61]ddr_efuse_type: 0x0 [64][AUTO DEBUG] rank 0 row = 15 [67][AUTO DEBUG] rank 0 bank = 8 [70][AUTO DEBUG] rank 0 page size = 2 KB [74]DRAM BOOT DRIVE INFO: V0.24 [77]DRAM CLK = 792 MHz [79]DRAM Type = 3 (2:DDR2,3:DDR3) [82]DRAMC ZQ value: 0x7b7bfb [85]DRAM ODT value: 0x42. [87]ddr_efuse_type: 0x0 [90]DRAM SIZE =512 M [94]DRAM simple test OK. [96]dram size =512 [98]card no is 0 [99]sdcard 0 line count 4 [102][mmc]: mmc driver ver 2021-04-2 16:45 [111][mmc]: Wrong media type 0x0 [114][mmc]: ***Try SD card 0*** [131][mmc]: HSSDR52/SDR25 4 bit [134][mmc]: 50000000 Hz [136][mmc]: 15193 MB [138][mmc]: ***SD/MMC 0 init OK!!!*** [187]Loading boot-pkg Succeed(index=1). [190]Entry_name        = opensbi [193]Entry_name        = dtb [196]Entry_name        = u-boot [199]Jump to second Boot. U-Boot 2022.01-rc1-31813-gf3a0e980de-dirty (Jan 17 2022 - 13:27:57 +0100) CPU:   rv64imafdc Model: Allwinner D1 NeZha DRAM:  512 MiB WDT:   Started watchdog@6011000 with servicing (16s timeout) MMC:   mmc@4020000: 0, mmc@4021000: 1 Loading Environment from nowhere... OK In:    serial@2500000 Out:   serial@2500000 Err:   serial@2500000 Net:   Could not get PHY for ethernet@4500000: addr 1 No ethernet found. Hit any key to stop autoboot:  0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disk mmc@4020000.blk... Scanning disk mmc@4021000.blk... Disk mmc@4021000.blk not ready Found 3 disks ** Unable to read file ubootefi.var ** Failed to load EFI variables mdio_register: non unique device name 'ethernet@4500000' Could not get PHY for ethernet@4500000: addr 1 mdio_register: non unique device name 'ethernet@4500000' Could not get PHY for ethernet@4500000: addr 1 BootOrder not defined EFI boot manager: Cannot load any image Found EFI removable media binary efi/boot/bootriscv64.efi 1409436 bytes read in 248 ms (5.4 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC Booting /efi\boot\bootriscv64.efi Consoles: EFI console     Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p1: FreeBSD/riscv EFI loader, Revision 1.1 (Fri Jan 14 13:21:23 CET 2022 root@legion)    Command line arguments: l    Image base: 0x5e98c000    EFI version: 2.80    EFI Firmware: Das U-Boot (rev 8226.256)    Console: comconsole (0)    Load Path: /efi\boot\bootriscv64.efi    Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,1ab17495-7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,1ab17495-7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) Setting currdev to disk0p1: Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,GPT,2973d4b3-7795-11ec-9e49-f875a47d4ead,0x1a610,0x114340) Setting currdev to disk0p2: Loading /boot/defaults/loader.conf Loading /boot/defaults/loader.conf Loading /boot/device.hints Loading /boot/loader.conf Loading /boot/loader.conf.local /    ______               ____   _____ _____   |  ____|             |  _ \ / ____|  __ \   | |___ _ __ ___  ___ | |_) | (___ | |  | |   |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |   | |   | | |  __/  __/| |_) |____) | |__| |   | |   | | |    |    ||     |      |      |   |_|   |_|  \___|\___||____/|_____/|_____/ ```                        `                                                 s` `.....---.......--.```   -/  +---------- Welcome to FreeBSD -----------+    +o .--`         /y:`      +.  |                                         | yo`:.            :o      `+-  |  1. Boot Multi user [Enter]             | y/               -/`   -o/  |  2. Boot Single user                    | .-                  ::/sy+:.  |  3. Escape to loader prompt             | /                     `--  /  |  4. Reboot                              | `:                          :`  |  5. Cons: Video                         | `:                          :`  |                                         | /                          /  |  Options:                               | .-                        -.  |  6. Kernel: default/kernel (1 of 1)     | --                      -.  |  7. Boot Options                        | `:`                  `:`  |                                         | .--             `--.  |                                         | .---.....----.  +-----------------------------------------+    Autoboot in 0 seconds. [Space] to pause Loading kernel... /boot/kernel/kernel text=0x609ddc text=0x133abc data=0xf4420 data=0xb54+0x1d73e4 syms=[0x8+0xcd188+0x8+0xee5ae] Loading configured modules... can't find '/etc/hostid' can't find '/boot/entropy' Using DTB provided by EFI at 0x47ef5000. Kernel entry at 0x56a0002e... Kernel args: (null) ----- And here it stops for  ~16 seconds then restarts, that's the watchdog resetting it. So where do I go from here? Cheers, Jakob Alvermark From nobody Tue Jan 18 15:11:09 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E017B1956A31 for ; Tue, 18 Jan 2022 15:11:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JdXKT3W3zz3FCw for ; Tue, 18 Jan 2022 15:11:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 52CAC23455 for ; Tue, 18 Jan 2022 15:11:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20IFB9hl071552 for ; Tue, 18 Jan 2022 15:11:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20IFB9fE071551 for riscv@FreeBSD.org; Tue, 18 Jan 2022 15:11:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 259160] x11-servers/xorg-server: fix build on riscv64 Date: Tue, 18 Jan 2022 15:11:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zeising@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642518669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qqqVoRJZ8ZZ8CYSy0FcT9U1UT2D649K8gaIF27GGAGg=; b=yH7nqrjpqU4Y6NeOvDqF2GW/Q0g81ju4c06x2kvpOo60yXEe/SRr4N6FqrwKCJEIg0i2cx WsFPq2YSqahaAxfO22YCuS6xlg2FJHnCiJ6ObJdmYAY00/tZReNoGRZIXEU6pp5YGY+tqi wPgMb96D3h6N7GChbXUaR0vqYHdtkSz/1/t73gIMsOiiZP/6C6qOjNDSHrT1Hl/UXOLqd1 Tb+WkhuOj/34oACOmp+st4VUp94/EvrIV8Q/3ltDxnMmsN7w4zYvS0vYjX8IIuyr1+bYsg NBywGejTVb6jJ5t7tXNBOkaVvFdLPmyI8ZR0rXmGY8ang8rX2PzzClpTMd+y9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642518669; a=rsa-sha256; cv=none; b=mmnrL8j/vCr3D9Yxd7/9iOimpaqJbzCF8gNOSuOFsuJXaOJATjmMaSZko2SW9cvLgHI882 J6RovlF7PnTICjtb3lCDx8o+aptVjKOsywAYwzou/LJK8MrPbzFT0E6vUgOrh3PCP2GAVR N6V/hvcwMm++dld6n1li+RsU/JJYplN+OMNz/0KBFtQVu2Z8vMCWnWcz94Ivp+pZAyZY4R 6x13aMF13EJyRA2fAVNeYGvje585+egdPA/lZFk2lqiiJlyqESi4E/x9Peq3wBRT5nU5gC L0o0LYBqV84WrznpyqluHxMpmXJFdjVati+BcfpAxgV2n2XDQ1IgEkLhZuhE2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259160 --- Comment #7 from Niclas Zeising --- I'm not sure what happened here, but for the record, I approved this PR at least two times, so it was definitely not maintainer timeout. However, as I stated, I had no riscv64 hardware to test on myself. Thanks for getting it in in the end. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Jan 18 15:27:39 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3872419617F7 for ; Tue, 18 Jan 2022 15:27:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JdXhX06Wtz3MsB for ; Tue, 18 Jan 2022 15:27:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CE4232391D for ; Tue, 18 Jan 2022 15:27:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20IFRdKv077865 for ; Tue, 18 Jan 2022 15:27:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20IFRdwo077864 for riscv@FreeBSD.org; Tue, 18 Jan 2022 15:27:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 259160] x11-servers/xorg-server: fix build on riscv64 Date: Tue, 18 Jan 2022 15:27:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642519660; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Lacl2xuq99xsqMHKgkYOUa4Rmw5Sis2TRiVwfOUy6X8=; b=VeCH1flwdsKGlj9ViNb8YIMvuerxe+0wqxQnDRuxX+cDOVRpJza1f6o0aHMiRnoIFrgV6j M6JZJ2WPIndH/++GMfkAmuYgsT+EzC8SjKdkg/h9WdUF+Drims+4O8FiSr3etoGtb9GjYm SvcOjgkD6btVa2aqT73mIslnCpL2NVpal/5CoxAHh/VxCr0nY8Vsvd4W9GXKpDMQ9EQQc9 kF5m48uBOqEjlGzUkc7ueBguXKiuSirl9Se+3yMAeIAG2VLH51cncyRn9A6rlabQ0NFEwd TKuqZgeMFWbAbCFuTHXE5wOXRCpU4Cw2paHu+KXflXjY9mRzIoTZOBpZs98rTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642519660; a=rsa-sha256; cv=none; b=wwC39uGTG7czPj8RUKbrisqimTUAXkuArstRPXZq16L4NdnrxDKgY8UNy1k6r6uXjWFwBV OM0elm20fcErRUVeUZivVDBm9BdSZzyKFMCj6K/QrSAziiSp8MfYDydjo5H91Vw4EQwmt8 UbRveUasqypWb6/euUD0RodHX8ghuGLb0pDWZ5917KOhYPh3IA39rgiYRiSWikHnsAQrfd BDnjGeJhbWLoRhSybvSUKqg/0WRya4yfnWXru8ihkUgCGEYoz4P3pv8QPc2eJisPtwMU4i wZfbyMgB3pfHa8HgemICaZa0C5QVpw6QM9vIMo6CiTGfET6wITN7aMFzdDFXig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259160 --- Comment #8 from Robert Clausecker --- (In reply to Niclas Zeising from comment #7) Hi Niclas, You never set the =E2=80=9Cmaintainer-approval=E2=80=9D field on the attach= ment to indicate your approval. Because of this lack of tagging, nobody knew that you had approved of the patch. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Jan 18 16:03:17 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C352D1952763 for ; Tue, 18 Jan 2022 16:03:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JdYTd3QGLz3w2Z for ; Tue, 18 Jan 2022 16:03:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 558B82450F for ; Tue, 18 Jan 2022 16:03:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20IG3H5q096364 for ; Tue, 18 Jan 2022 16:03:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20IG3Hms096363 for riscv@FreeBSD.org; Tue, 18 Jan 2022 16:03:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 259160] x11-servers/xorg-server: fix build on riscv64 Date: Tue, 18 Jan 2022 16:03:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kevans@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642521797; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=73xtdiKIMYsgBNUy8fOn7z21LemQXQ97gPMNoThI98I=; b=X7kg0OhP/+0lPEU5I2A8idP13bMCEZeYxo26hQ1aB05EDoQPeorzeasZVswYRhKSck2MG/ XCkvL6kW2n6FZU4IIVmPGhfHCv4Rd6uUog/jRw269EdxZRfKuMosYfrmShsgeLbkJM3txq /EGz/UA/zKv38LJ4sT82vD2z+LViqBv4e2wpJkrIuBdX+ADvgJmG4mqQ3WdwHomTQFg83t e5y5GbM9j/gjHWNbU8HRHV/Bd7mbeAK+WpcnoZK6pYRisTEz8XBsTff4RONMcT+edzl6VF CqG2nb289SEZcm8E7ipDk1ZzIK3Sjn1v3s59/9/YRI1UtfBPQlY7CHDAf/Qgig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642521797; a=rsa-sha256; cv=none; b=Eq/JxZMZbob9X7605LUhZWpNTdUdSBnNHaymZ+Uq8FrGTHYWJSurjwfQc6M2c1owUignaF aurQUlBZ+qSfb5vEyXNvA5oCfv6nviYEdYqITPPz859uUqvilSztJIt0k0iRI+di11dU7e vk6GeBlHQ2e8QMMWen6NBMxtQcX4G+8lceSCzIt5ZsCXiRrNM/Q/CPyYskzui7qVH57DjG 35QPLNQW/BS/FZgRV7MyJQSD85sleqLWfIgDbSBhKM7o3KrQe1u1BPGPEicAseawS1DTY2 xjnaeeCignqD3e3DQ8k3laQodVTJHiQDaX78+gPKyyXMVmN+kRAgpHbTtI+n4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259160 Kyle Evans changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevans@freebsd.org --- Comment #9 from Kyle Evans --- (In reply to Robert Clausecker from comment #8) Comment #2 should have been taken as initial approval. It's not really Nicl= as' fault that the maintainer- flags in bugzilla are both reasonably annoying a= nd confusing. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Jan 18 16:16:43 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8351C195B18E for ; Tue, 18 Jan 2022 16:16:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JdYn81yzZz4W10 for ; Tue, 18 Jan 2022 16:16:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8127B24535 for ; Tue, 18 Jan 2022 16:16:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20IGGhJI006428 for ; Tue, 18 Jan 2022 16:16:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20IGGhA2006427 for riscv@FreeBSD.org; Tue, 18 Jan 2022 16:16:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 259160] x11-servers/xorg-server: fix build on riscv64 Date: Tue, 18 Jan 2022 16:16:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642522605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jTS1BvIFZz1JrPc3yccFZodCpVwDS4Itu9b3B0WXzUs=; b=fDx5GdNWn1zJh8CAuiIvEj3soIE7MmwT0h+2k+KgzugBbp6EBVcadvWtJ7mJsTv+BxLWin DYl5PlnPKbIK/3xD3XOk1u6J562Vi4eoHwml4KOwmFpD0VVjW+31Ghi/N1phJHFkcn0RcO buOzDLn9u/KcZR8xwFcpcB95w2sG/W8fq3zSRawMjYgPfEZOMvOr/CMcpwdOBQ8HCySZE7 RESIxxwEwVmuPFx/u4RAnERwpW/b1EQuUHOSuaLIasNsDVDbOF7ydU5SKNkN17S85oRmFE 4a1R/2HL99kt1r+AG6KVsnJg/NQGX322N4HMIFzbSLl/0daUN5FWPAweZhR7+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642522605; a=rsa-sha256; cv=none; b=MtC+tSzwulXCWn0sSzUUreRUrko1qcAP5jxcmTJQesD3dDGyk9v753XFMo4Q4EZaJdcS2j jhzkkceJj/e98U4r1wGeIJIHeDESpUOAV1sJqvMTnp+IduQ1wahl4oIjReBo/GmVk4TfbC bt/iaJ8zj7NXNfkfi/5BBjP/TZzl3zk52FfIRS9kDqjwjFKE7ZgV1eCEiJX9YXjkU7qE8z H4sX7CrUdbryy9tlzekioqvgXaZyVhyMiMz5ObYg2UwjHxzaLlFdqXHLRV4I+QWtq9zJZ/ Gi4ZGy6GKABVltDSaFO9vCLdrd+NLdKG1gAr7km+ySBFEnSb7c1QvdFxdFipQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259160 --- Comment #10 from Piotr Kubaj --- I set maintainer timeout not because of the lack of the flag, but because t= he provided patch wasn't committed timely and the submitter is not a committer= , so he couldn't have done it himself. BTW, even if one can't do runtime testing, it's possible to do build test v= ia qemu user. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Jan 19 16:24:48 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7DB33196C1CA for ; Wed, 19 Jan 2022 16:24:49 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jf9w13B9bz4vwh; Wed, 19 Jan 2022 16:24:49 +0000 (UTC) (envelope-from mhorne@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642609489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X7iWzuZyqy66HwIQBh49wHLwK8DHjRTpK7Xt83rIRGQ=; b=C0utSdQcfuj2VrFu3mLKSKOxXKR+FaIOIREgJ/8f1G+ThOESpYi5JrfDtmeF4JFF/60DwI dvnuble+CsfJ91sxtaz+CYHqwOU3VJ/sxkd+20I4QNff6fUeSOJstgtma68CuDKcu30bIZ 3Jex6omSxHhapdm0czlw7M7Bvbomwadxob8JClyEsONejReDUgimjhtc4ivGmfQlFLNAZB yUeke48nu1HI04lgG3rTLh2v2g7yAeAiOV3eaL3qUr30NJrcXv3swriczuBVtJJ2H+5Y5r rKNsjtxwAxH1thW/m1moVb27u7T1HKvoqbFG+TjXbswTRsxcwP22hdje72uzuw== Received: from [192.168.1.106] (host-173-212-69-198.public.eastlink.ca [173.212.69.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id 255604DFA; Wed, 19 Jan 2022 16:24:49 +0000 (UTC) (envelope-from mhorne@freebsd.org) Message-ID: Date: Wed, 19 Jan 2022 12:24:48 -0400 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: Sipeed Lichee RV (Allwinner D1) Content-Language: en-CA To: Jakob Alvermark , freebsd-riscv@FreeBSD.org References: From: Mitchell Horne In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642609489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X7iWzuZyqy66HwIQBh49wHLwK8DHjRTpK7Xt83rIRGQ=; b=h/OnYs+tgB8jSNjvdIaldB4RRyOSw6ShIkAJ/4wYQOpAxPkCfaGs3/1sU7wwXZ2FhAAN35 7gG7E2YRcR9izgDKOgrG/s4qNlDf2OrPLZxe46DjB3PECY/B9eP4vOWhio9g3xYv7bAQbo qSlm3hRkXx58JMnLaRjOKRlL6c5WVNaw+BCN7jeS8SSWL6aKKSHInoKXO6pdT9JrsAGFHh n1W0GkJW8cKHbf5dY/vEiWoXaupMS0b+dXbwFoGNNBz63SHiSmQeWLZCqkcJMvU6rhoLMZ F5j2I0AGG5CfSNbVOj62zK0WJQ7/1atDJDaVJXeY25+KhPOtqD4GskfiTKXvow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642609489; a=rsa-sha256; cv=none; b=CltewLxV0Vzlho92DvqgAMI3CWmFRlj9tV+vpPvI7uL/DjzRb4ylnXFrG5agaWpZRy7TrM XNOcTEDwBEzdCYdXnAK3Oaqq8B1mrn99O1HYzWvi31HbfdQA3ObVzCgLpb0RFyqd61j/Bm cW7+ZqC6JbVnux7NMSmKhPDV7LLWXm0pEXMVocS6A2BOufnmzzb3x2ipDpv9usUnBayHi7 nidYEBlvIM/3RYi+3K9+t0hiI3M+J9O+aOzjYtFesUkBQdGDcCXqpha+1+rrXL1fdWP70q 9SkTU1En3oqs9p4m67WViuWQy/GkJ+bRLrkK6qvNwJvxPsj7BEi2mVZkPa4MUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 1/17/22 15:02, Jakob Alvermark wrote: > Hi, > > > With RISC-V SBCs now coming down in price, I got curios and got myself > a Lichee RV (with the dock). > > https://linux-sunxi.org/Sipeed_Lichee_RV > > The instructions here, https://linux-sunxi.org/Allwinner_Nezha along > with some patching got me a working U-boot. > > Cross-building and putting together and image for and SD card got me > this far: > > [35]HELLO! BOOT0 is starting! > [38]BOOT0 commit : 771192d > [41]set pll start > [42]periph0 has been enabled > [45]set pll end > [47]board init ok > [49]DRAM only have internal ZQ!! > [51]get_pmu_exist() = -1 > [54]ddr_efuse_type: 0x0 > [57][AUTO DEBUG] single rank and full DQ! > [61]ddr_efuse_type: 0x0 > [64][AUTO DEBUG] rank 0 row = 15 > [67][AUTO DEBUG] rank 0 bank = 8 > [70][AUTO DEBUG] rank 0 page size = 2 KB > [74]DRAM BOOT DRIVE INFO: V0.24 > [77]DRAM CLK = 792 MHz > [79]DRAM Type = 3 (2:DDR2,3:DDR3) > [82]DRAMC ZQ value: 0x7b7bfb > [85]DRAM ODT value: 0x42. > [87]ddr_efuse_type: 0x0 > [90]DRAM SIZE =512 M > [94]DRAM simple test OK. > [96]dram size =512 > [98]card no is 0 > [99]sdcard 0 line count 4 > [102][mmc]: mmc driver ver 2021-04-2 16:45 > [111][mmc]: Wrong media type 0x0 > [114][mmc]: ***Try SD card 0*** > [131][mmc]: HSSDR52/SDR25 4 bit > [134][mmc]: 50000000 Hz > [136][mmc]: 15193 MB > [138][mmc]: ***SD/MMC 0 init OK!!!*** > [187]Loading boot-pkg Succeed(index=1). > [190]Entry_name        = opensbi > [193]Entry_name        = dtb > [196]Entry_name        = u-boot > [199]Jump to second Boot. > > > U-Boot 2022.01-rc1-31813-gf3a0e980de-dirty (Jan 17 2022 - 13:27:57 +0100) > > CPU:   rv64imafdc > Model: Allwinner D1 NeZha > DRAM:  512 MiB > WDT:   Started watchdog@6011000 with servicing (16s timeout) > MMC:   mmc@4020000: 0, mmc@4021000: 1 > Loading Environment from nowhere... OK > In:    serial@2500000 > Out:   serial@2500000 > Err:   serial@2500000 > Net:   Could not get PHY for ethernet@4500000: addr 1 > No ethernet found. > > Hit any key to stop autoboot:  0 > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > Scanning disk mmc@4020000.blk... > Scanning disk mmc@4021000.blk... > Disk mmc@4021000.blk not ready > Found 3 disks > ** Unable to read file ubootefi.var ** > Failed to load EFI variables > mdio_register: non unique device name 'ethernet@4500000' > Could not get PHY for ethernet@4500000: addr 1 > mdio_register: non unique device name 'ethernet@4500000' > Could not get PHY for ethernet@4500000: addr 1 > BootOrder not defined > EFI boot manager: Cannot load any image > Found EFI removable media binary efi/boot/bootriscv64.efi > 1409436 bytes read in 248 ms (5.4 MiB/s) > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > Booting /efi\boot\bootriscv64.efi > > Consoles: EFI console >     Reading loader env vars from /efi/freebsd/loader.env > Setting currdev to disk0p1: > FreeBSD/riscv EFI loader, Revision 1.1 > (Fri Jan 14 13:21:23 CET 2022 root@legion) > >    Command line arguments: l >    Image base: 0x5e98c000 >    EFI version: 2.80 >    EFI Firmware: Das U-Boot (rev 8226.256) >    Console: comconsole (0) >    Load Path: /efi\boot\bootriscv64.efi >    Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,1ab17495-7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) > Trying ESP: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,1ab17495-7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) > Setting currdev to disk0p1: > Trying: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,GPT,2973d4b3-7795-11ec-9e49-f875a47d4ead,0x1a610,0x114340) > Setting currdev to disk0p2: > Loading /boot/defaults/loader.conf > Loading /boot/defaults/loader.conf > Loading /boot/device.hints > Loading /boot/loader.conf > Loading /boot/loader.conf.local > / > >    ______               ____   _____ _____ >   |  ____|             |  _ \ / ____|  __ \ >   | |___ _ __ ___  ___ | |_) | (___ | |  | | >   |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | | >   | |   | | |  __/  __/| |_) |____) | |__| | >   | |   | | |    |    ||     |      |      | >   |_|   |_|  \___|\___||____/|_____/|_____/ ```                        ` >                                                 s` > `.....---.......--.```   -/ >  +---------- Welcome to FreeBSD -----------+    +o .--` /y:`      +. >  |                                         | yo`:. :o      `+- >  |  1. Boot Multi user [Enter]             | y/ -/`   -o/ >  |  2. Boot Single user                    | .- ::/sy+:. >  |  3. Escape to loader prompt             | / `--  / >  |  4. Reboot                              | > `:                          :` >  |  5. Cons: Video                         | > `:                          :` >  |                                         | /                          / >  |  Options:                               | .-                        -. >  |  6. Kernel: default/kernel (1 of 1)     | --                      -. >  |  7. Boot Options                        | `:` `:` >  |                                         | .--             `--. >  |                                         | .---.....----. >  +-----------------------------------------+ >    Autoboot in 0 seconds. [Space] to pause > > Loading kernel... > /boot/kernel/kernel text=0x609ddc text=0x133abc data=0xf4420 > data=0xb54+0x1d73e4 syms=[0x8+0xcd188+0x8+0xee5ae] > Loading configured modules... > can't find '/etc/hostid' > can't find '/boot/entropy' > Using DTB provided by EFI at 0x47ef5000. > Kernel entry at 0x56a0002e... > Kernel args: (null) > > ----- > > And here it stops for  ~16 seconds then restarts, that's the watchdog > resetting it. > > So where do I go from here? > Hi Jakob, Looks like it bails somewhere in the initial kernel setup, before the first output to the console. This is a wide range, so it's difficult to say exactly where things are going wrong. I will say that generally FreeBSD is not expected to work on the D1; as far as I know you are the first to try it. This hardware has some quirks requiring special support, which we are entirely lacking. Specifically, there is one related to virtual memory management, which requires custom (spec-breaking) bits in the page tables to be set, to properly specify the attributes of physical and device memory. This _may_ have something to do with why it is failing where it is. It would take a motivated party to add the support required for this SoC, and I'm not aware of anyone currently taking this on. This board has caused some headaches in Linux-land for the same reasons, but there are more hands to do the work there. I just want to set the expectations properly :) If you wanted to debug this further, you might rebuild the kernel after adding 'options EARLY_PRINTF' to the config file, as this should enable a couple early outputs and narrow down the search slightly. Cheers, Mitchell > > Cheers, > > Jakob Alvermark > > From nobody Wed Jan 19 22:05:08 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 73B6D196CFDA for ; Wed, 19 Jan 2022 22:05:18 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JfKSs4McXz3CDk; Wed, 19 Jan 2022 22:05:17 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-d24b235c.06-431-73746f70.bbcust.telenor.se ([92.35.75.210] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1nAJ4n-0004jL-B5; Wed, 19 Jan 2022 23:05:09 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=z/TVmTs+aRbUzoClytkpzgBu+XAGGgFwtODMQt7QgKw=; b=HTGNf92UrWT8NskC6A9cdZR69b 4BDgXVsXfUlI0zTzQedmuG2mqZ+kNwaxh8H+kq+vsghivvDhdvoRo7BuhBRHTRmCKPnJlPdEIaLiq 0PM97B8OgfdoqFmeVFl9NEoEdRM/GAK/IzL0vgnkBP37JjqmTsy16725appEvCC1tNP6jZ8Df8zVN 1flVd6/+X44fmkLQDvA4c9tcyjaA2xOhjv7ctXJOi7mwn4BZkfBDPHfzE1YQTq5iTDMb55cS8oASU zOgGZfTaG0Gn5Tax8eqjYuO+KiTkIb9ilHRJ0XefoA7kR1zeDEvpjk5cvTBxUQzPx3z5xdZyiExrE UB98p4dw==; Received: from [192.168.67.27] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1nAJ4m-0002XC-Qe; Wed, 19 Jan 2022 23:05:08 +0100 Message-ID: Date: Wed, 19 Jan 2022 23:05:08 +0100 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Sipeed Lichee RV (Allwinner D1) Content-Language: en-US To: Mitchell Horne , freebsd-riscv@FreeBSD.org References: From: Jakob Alvermark In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4JfKSs4McXz3CDk X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alvermark.net header.s=x header.b=HTGNf92U; dmarc=none; spf=pass (mx1.freebsd.org: domain of jakob@alvermark.net designates 185.34.136.138 as permitted sender) smtp.mailfrom=jakob@alvermark.net X-Spamd-Result: default: False [-1.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[alvermark.net:s=x]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.34.136.138]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[alvermark.net: no valid DMARC record]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[alvermark.net:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-0.995]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34971, ipnet:185.34.136.0/23, country:IT]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 1/19/22 17:24, Mitchell Horne wrote: > > > On 1/17/22 15:02, Jakob Alvermark wrote: >> Hi, >> >> >> With RISC-V SBCs now coming down in price, I got curios and got >> myself a Lichee RV (with the dock). >> >> https://linux-sunxi.org/Sipeed_Lichee_RV >> >> The instructions here, https://linux-sunxi.org/Allwinner_Nezha along >> with some patching got me a working U-boot. >> >> Cross-building and putting together and image for and SD card got me >> this far: >> >> Loading kernel... >> /boot/kernel/kernel text=0x609ddc text=0x133abc data=0xf4420 >> data=0xb54+0x1d73e4 syms=[0x8+0xcd188+0x8+0xee5ae] >> Loading configured modules... >> can't find '/etc/hostid' >> can't find '/boot/entropy' >> Using DTB provided by EFI at 0x47ef5000. >> Kernel entry at 0x56a0002e... >> Kernel args: (null) >> >> ----- >> >> And here it stops for  ~16 seconds then restarts, that's the watchdog >> resetting it. >> >> So where do I go from here? >> > Hi Jakob, > > Looks like it bails somewhere in the initial kernel setup, before the > first output to the console. This is a wide range, so it's difficult > to say exactly where things are going wrong. > > I will say that generally FreeBSD is not expected to work on the D1; > as far as I know you are the first to try it. This hardware has some > quirks requiring special support, which we are entirely lacking. > Specifically, there is one related to virtual memory management, which > requires custom (spec-breaking) bits in the page tables to be set, to > properly specify the attributes of physical and device memory. This > _may_ have something to do with why it is failing where it is. It > would take a motivated party to add the support required for this SoC, > and I'm not aware of anyone currently taking this on. This board has > caused some headaches in Linux-land for the same reasons, but there > are more hands to do the work there. I just want to set the > expectations properly :) > > If you wanted to debug this further, you might rebuild the kernel > after adding 'options EARLY_PRINTF' to the config file, as this should > enable a couple early outputs and narrow down the search slightly. Hi Mitchell, I did not expect it to work. But it would be nice if it did. I have a long experience with FreeBSD and I have played around with a couple of different ARM-boards, but I'm not very experienced with kernel hacking. I built a kernel with EARLY_PRINTF, but it did not give me any more output... Is there anything else I could try? Jakob From nobody Fri Jan 21 12:24:53 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 106161973F31 for ; Fri, 21 Jan 2022 12:24:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JgJVF6HpJz4T73 for ; Fri, 21 Jan 2022 12:24:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B5B301B8E4 for ; Fri, 21 Jan 2022 12:24:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20LCOrlD030739 for ; Fri, 21 Jan 2022 12:24:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20LCOr7a030738 for riscv@FreeBSD.org; Fri, 21 Jan 2022 12:24:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm13: doesn't build on riscv64 Date: Fri, 21 Jan 2022 12:24:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642767893; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xSEex0R14Beinc8oyPIEte2TJ4MmkXjYJJkTglQ8ymY=; b=JtyrS9FlXcosIbRQlOeu1mH6/MJvZ3/XDmaxXcOOFQp6VJiZ5Li39coAc3km7r2oD2LqzV fNnPtgR/yN2n+o12YVO6lztf2rvNRlSkJMwO3UDAzAsjU1CphrOpqqx5maNHXVkFQhTeAy ZTbmxAwA6S9i0+VcyDZrUjd5QeNc+UzyQs4eM0xhG9JpymN5D9lrbpmaITgqE6gPHe3o7V fOxpgrk/3gfu8K0Srw+BDnHW25nW3Eb22FOe09BNE4FzfqpwIQposLSuLg9WGUlhk9B1Bi Qml6HDaEufjh5ZixGl2twDKSz6u2yEeMsBp4GO27eIQUNvrgw/Y6SWGeR3tVbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642767893; a=rsa-sha256; cv=none; b=VWXA4KZrReAM8kZtUuTLdgsm0l37TMpGx6l8W1pHr7zBzF+PAuCCmDg2g+RWBgfM8rVeA/ dQ/iOe33RaPLbhTqtKhF1bYNK79yws21yPj+dTbB34zysGoyoMlatOZhxWpxC7Y46Aa708 YkK/BSYAVkPbLmsFsIt9BsEwsr3iqojF/B/RluW7i7Cxxlmq69y/veh22yLeyteq3RYSHR AMDRCD/icKpJM95kC7msiKE1tRD3WuJQW3T6gIvq1FY1TDfkgC8pUKP9r7mWDHGhGhIPpa pMdpU0Jc/3eyPs5XKiBQRWmAFNmLnLBvbsO11iJ7Dp3jUlrQysMTAzcbZoZ+4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 Bug ID: 261374 Summary: devel/llvm13: doesn't build on riscv64 Product: Ports & Packages Version: Latest Hardware: riscv OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: pkubaj@FreeBSD.org CC: riscv@FreeBSD.org CC: riscv@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) Assignee: brooks@FreeBSD.org Linking LLDB fails with: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD::CreateHostNati= veRegisterContextFreeBSD(lldb_private::ArchSpec const&, lldb_private::NativeThreadProtocol&) The same error affects llvm-devel. Workaround would be to disable LLDB. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Jan 21 16:47:54 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4A2E11964097 for ; Fri, 21 Jan 2022 16:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JgQKk07qpz3j9T for ; Fri, 21 Jan 2022 16:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CDB2C1EE67 for ; Fri, 21 Jan 2022 16:47:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20LGlrr9064715 for ; Fri, 21 Jan 2022 16:47:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20LGlrfN064714 for riscv@FreeBSD.org; Fri, 21 Jan 2022 16:47:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm13: doesn't build on riscv64 Date: Fri, 21 Jan 2022 16:47:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jrm@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642783674; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qKtM+k72v6qFL6tJUGWm/QtE/sdvGpnilaCym8e2b/I=; b=VMXbPlx5m6DBoEQKQbav+nxWJnjAUt/9OoNQqE14gCkHO/9YBeOW+r51Z3owouW4Kj5Lav FRqt6qj8bMavHviwlc+Z3WztjavvBP2urnNmiFCu36kV0OFugJ8eEl+MCe49thlRlrMMnp C7CISjBElZVGftAjlKk5Bv6Mjr/LiUrRXE2I/BctsebX+GSTE5ZeA5ozqI4lWPb+Dymj2U Pwm/J8kn76Gk8aEujPkmJ4De1e75E1NS9Xw14RMWdSuDA7VC50GMLgtoObRBprZe+vZo9N o42pSUTo18PwcyuDak+CJ19lnPCQCj4ISLetyWx0DcUSkxsrq+AHGowseIwwOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642783674; a=rsa-sha256; cv=none; b=WtjhbagYpnEdayOFEx8XLITV/ehXtdfimvEKmaPdgNn0Exsi3lj/JpnpwkwPiRPIg15XPE X6Uj6TS9zXWaVfyDOaL+c8cI+hUAzrwX0KIfuDuGFiTi9gkEGvmrlPD4cAXSsQ9hOt/85s LzsAj7fSnY//EJvi39/H4iiqh44VcxpLxoN0/7IWjA/n5Ws1uYxFWouVVa48Q4gTONiGO/ Sfznph4fi0LrAnRClCJEaju3j4hbERKRYnSclxrcRJ3bdmno29az6l+RALZLj5SdKWr3Eu tk+HM0w7kCArOFEfAts12BeZ1uOxPIs0TparVgTeaUpUuWYAbbAbKorm3NxafA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 Joseph Mingrone changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jrm@freebsd.org --- Comment #1 from Joseph Mingrone --- It is possible that Moritz will contribute to RISC-V LLDB support in a few months. Right now, the top LLDB priorities are 1. usability improvements (which may or may not involve more GDB comparability fixes/additions) and 2. multi-process support. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Jan 21 16:51:19 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DB769196800E for ; Fri, 21 Jan 2022 16:51:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JgQPg4nTtz3l83 for ; Fri, 21 Jan 2022 16:51:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 850281EE70 for ; Fri, 21 Jan 2022 16:51:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20LGpJSG067619 for ; Fri, 21 Jan 2022 16:51:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20LGpJSf067618 for riscv@FreeBSD.org; Fri, 21 Jan 2022 16:51:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm13: doesn't build on riscv64 Date: Fri, 21 Jan 2022 16:51:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642783879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oR/4N2bWfG4xQCJXSKFaDtQ8q2Z5bLly/LtXQ86kQrY=; b=L1sUgtcNdIuBlvNSQ+oPncvRlUQgdUQ4vAM+2/xzQ7J08AActhqQAbzyGnwwlburxdM9NM JHsksIQBxFPBuoduK+3zgl1Y/gMTNdT5MtunAMLwqA9wHBRMvKEZSboI7URvv1L+La0MOq 4tqY9zqlR28uRrZgzPD0zaAjaRyWvYZdNl1qpvKQ0pGYyipdPuzs6kmvqXMbOj3Djv+8oa lELbPG/s+gXq4oXLUjlrNBuJ/pgL+bNsXZc8ylA+o9POCarJOHxibJGu/Qeg2vrdljMX4v 1Xoob4a6he24pCNEwAtoabDE+ilXV5oGnXDtMXpEfkz6fpnN49rXy/MOYHSItA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642783879; a=rsa-sha256; cv=none; b=NqEiloyELarE+Z+kBodQNVF4Nx9y9IP2OEasrRebmqU1X98JaahUOZuFFQojcH0ixjlvso LObnH506CAqNkjSCh2XmTvbgF/7cOtfL4lXwy6Ldsz60N554HKtOG4yz8R1jbeV3sU2flA ubceGcWXKvw+MDmpzBjvcJnbXgwZuTXx3JqYTN+PK3m53LfP7qdFMO1AbGihBwIDRZkm5Z Rq6F+1jrsj3fxVqMNk2G8tLRSKauSQoyBjZuZJQDoaZz8tBT7+5GLV692GhWlkhDZZd6OL xBGzqKq3p2h3yGSMJbwgVowHtiHRcGP38yRKEX+niI9xau3tsrc6QX8OeeSCmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 --- Comment #2 from Brooks Davis --- I'm going to exclude the LLDB option on riscv64. For llvm13 I plan to do it along with the update to 13.0.1 which should be soon (rc2 is out and was supposed to be the final version but at least on fix has been merged to the release branch so I suspect we'll see a short rc3). --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Jan 21 16:51:29 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CBAF21967E1C for ; Fri, 21 Jan 2022 16:51:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JgQPs4Wr3z3l8H for ; Fri, 21 Jan 2022 16:51:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7B6421EEEE for ; Fri, 21 Jan 2022 16:51:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20LGpT7e067671 for ; Fri, 21 Jan 2022 16:51:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20LGpTV6067670 for riscv@FreeBSD.org; Fri, 21 Jan 2022 16:51:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm13: doesn't build on riscv64 Date: Fri, 21 Jan 2022 16:51:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642783889; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z66VGB1uKwapf45cqIc5nd4aaH64UUr176f3Pq/Fmxk=; b=A/Jmb9sggVRRGnxaoe73/ODyEoif9DEcgxeqzDu0G/FbH8/UuqZruAeJX43f5f0yhN5x+P XriM64H+iWvzCYd9zU2ne4dMNtFI3JVA0HPR0cUuLzLu7GYfkvIbGKKW4SCw6Fqj2yjgKr 8rLmjCFuE7M40Do1vQmemKWMW0ttlrgUzz9ZI7OadPuIAmGt+RhfR/RlH9EpLzPIg7epFE PR0KVtWjNgu1rKfOgmqKWuQBa9y9ztYfkmm56JETOBWxy0iU72VftbWQd+8PtJHtONx4GC CGCPIMGNRiUsPMEtHFZ9qg9ipkUoguavbLT3hzb8CMhcX6O0uRLvou8VyK1KGg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642783889; a=rsa-sha256; cv=none; b=c6M79cBL503oAQrcLQ4IWJYBjLYtBqjXiweK+4ugn34cubppFeU80hfSpWChU1daT70+vS ARww+qxI4FMckbHom78HUyRyy0/3J5UhgP7zNnGmFvrzUksPZjAXK7dRx82Hkw44wcmZMp pGOTofHFhC09F9OIoIQ2ShQP0VHaAvdpX/AW08oOot+xGkcdtsXLwO1qWMrZyR94tKTmco mW/jNGWQH0ZvSek7S3XMiAEgFYgvjCFDqxljSGnZGr+AuggAAtv7RWg3LyoS9jeIPSTw9f nzKr8xAP8w8CpIGidVVwEJdCdfRKSROe6xZbVF/xyeF4/NAj3hWUNFbIDhdYaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 Brooks Davis changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Jan 21 19:58:28 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id ECEE51973AFD for ; Fri, 21 Jan 2022 19:58:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JgVYc4Wthz4TW3 for ; Fri, 21 Jan 2022 19:58:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7BDD721C2B for ; Fri, 21 Jan 2022 19:58:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20LJwSIV065836 for ; Fri, 21 Jan 2022 19:58:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20LJwS10065834 for riscv@FreeBSD.org; Fri, 21 Jan 2022 19:58:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm13: doesn't build on riscv64 Date: Fri, 21 Jan 2022 19:58:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642795108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=evQiFRWm+6vs8rFpfRnF0DjKnt9vSNCAv1qiPgCrmnw=; b=tGJX3zmsXYWKUQYtus0MkQzRMCgAJg0Uo8PiK/oyJstxZwustuOss46jZDjf9jW6XD2KBq xLywtFF24Y/wAxhop8+mzvJrIc/8v/1XIosVDsCKzqhzKCXflPC1fSQwVT3u69q1w9At5b gnmtFQp5Bnl1Ek8Nh5lB9bU3TIyVeKm5h5uV1OMCpEYALgDk84Ea2GG256W6HCAoMM7pkR cnTQSf+HCBgdI6Pg6u2Aodw9Kcz8GkUW+lGC5igYsAEtMqfqfpmMmpdGbTTfyshUyobf7S gH3gah9XJwwWGQHEsiv7hQ+OCP5RDRIF9UORVGabgkdXBHslmeKOdZxvoKBYjw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642795108; a=rsa-sha256; cv=none; b=WCe3doWy88P5Gbs/Iq9I59bAzoX879juP71L78qo9It7xzHj0zKTlsJBTxva/0S9+nuBcj xDvkqQYHEiajB1JcgMRs2B4jP7pBzWC+0v+S29azJ5AQ4YZljVnvfeodkiCx8JxLFQMXYB XNTacJBFwbM7ykAWIRN8NqKvcDPEm7jLw96ATWFY3WiWpowz5ihfmqJI61Jhxvn7XNQXwP Ofi1z4iYKFwIMTWSX10m+OcgILpAWENZ1chJDNo0yydutdrUSWVeTgbrldhouGR0iR1SHn JlCkt01zn3Ur6Be0vXzmSp706+hLl1ELMxHHfMAlfAdWh6mvgYd9/TL5KnnHIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Ddba1bdc3d9dba812f2c012fe08ce59f= 87f8d99b4 commit dba1bdc3d9dba812f2c012fe08ce59f87f8d99b4 Author: Brooks Davis AuthorDate: 2022-01-15 01:02:39 +0000 Commit: Brooks Davis CommitDate: 2022-01-21 19:56:24 +0000 devel/llvm-devel: update to new snapshot Disable LLDB on riscv64, there is no support. [0] PR: 261374 [0] devel/llvm-devel/Makefile | 6 +++- devel/llvm-devel/Makefile.snapshot | 4 +-- devel/llvm-devel/distinfo | 6 ++-- devel/llvm-devel/pkg-plist | 61 +++++++++++++++++++++++++++-------= ---- 4 files changed, 53 insertions(+), 24 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Jan 21 22:58:42 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 40DFD1977FC8 for ; Fri, 21 Jan 2022 22:58:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JgZYZ0DcBz4cyh for ; Fri, 21 Jan 2022 22:58:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D8EA724129 for ; Fri, 21 Jan 2022 22:58:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20LMwf7b067527 for ; Fri, 21 Jan 2022 22:58:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20LMwfHe067526 for riscv@FreeBSD.org; Fri, 21 Jan 2022 22:58:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm{13-devel}: Fails to link on riscv64: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD Date: Fri, 21 Jan 2022 22:58:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: bug_severity keywords short_desc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642805922; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JyqUwVgAlSnJ5doKzwMF47x1gS/J257tfffJJXBnT/k=; b=ySZO5kzqmlLGgbtkC3LQVlTU19Cg2cYlwKWKozES2EjJcBe+hv6FbLRAyXEfJGAND4qN2h quTThu/WvR16FvJcKXA/Z+iJEH/1Q48TWYS9wFlQSgnS6WgpJJCFMNPvC57U+FHoI5mO6g RF8z2d2mM/p3xXgBLk2InrDZ7EEnjmZtrBc0GPL7+KVL3oCaY9Os2Xsav9cwoU8EeTQD8Y BM3KWLsYiCh0iAIgCIV7XB66SwBu9aIiNSW3MwXC9/UYrmdGaN8P8ukw/3CaqhH7Se6KWw G/UyBPe1XszAavU/Q+Hkd7rfIHlVcb5NcUxrdWHvV+2q8Cz8QLJFsOcXy5pPdQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642805922; a=rsa-sha256; cv=none; b=tPGYOWnC2HckaUydVyHTAxn3P9neslM56Qb/zRgvENb3eEftgrvr1buxXDpO6I7/FqlQC4 hKGJK/Gbf6WnWS2SZU/PsWUUnpGeGeO9/WHFQsNtBdsUYi3hJXgyFcKBWapudR5EJcK5/B cN6ujwyqs06pNCrP7VknLSvTrz5oSDyHX0XueM+3TFra+hw2uH9xbwVmzIDlerrIFU4ohO 37B7N6hvZaooU3T+070CBfwRB1b5QCY98n6eC4YYrgVZMkQlHcCF+/hHXHKqjYUlQY8D8y vLkNnSO2/DR9lFNEljdvV0kIYUj4ZmZXD64JVQfCXiobj/dSyKZx7dyngjIM6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Only Me |Affects Some People Keywords| |needs-qa Summary|devel/llvm13: doesn't build |devel/llvm{13-devel}: Fails |on riscv64 |to link on riscv64: ld: | |error: undefined symbol: | |lldb_private::process_freeb | |sd::NativeRegisterContextFr | |eeBSD Flags| |merge-quarterly? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Jan 28 15:29:26 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4D6C21980F95 for ; Fri, 28 Jan 2022 15:29:31 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JlhG31TL0z4bdw; Fri, 28 Jan 2022 15:29:31 +0000 (UTC) (envelope-from mhorne@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643383771; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y0jGD4ubQYm+46CX3yOOaVqVmVNy9RneIxilMgqVM90=; b=wswdpzmGi1gGdIOpCTVOjWcjORmglcuDbTfveWYjeqM4Jm25GCdCaSxjX5U7A7HzwXR/33 vMXZnBNsAY0f4O5XLrY7TdHN+qGghAucU32ekNICzqYkiE+26cZAflPdIUAgzmuDv+WvPv DaQ1bKx2G8j6wwEc3rcw/ffcWk+Qkl8uXpIpPZRs/U0kT3tnO7s+i371Y6l20mBL8n6JQP R4EkhleBJZkN7tmUfm6Ict7BZtKFOS5EkpyRR7Omur/IergV7ZbRUSDs+MJpr/ifX+3unB 7Rq/c9Qg2O+m8Ra37eUvSgoR0u1zWf37XHzlkfIFB940BxUx514gjIVfipaedA== Received: from [192.168.1.106] (host-173-212-73-28.public.eastlink.ca [173.212.73.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id C97C6E055; Fri, 28 Jan 2022 15:29:30 +0000 (UTC) (envelope-from mhorne@freebsd.org) Message-ID: <5a74bd6d-4000-c413-02e2-33608f9ae683@freebsd.org> Date: Fri, 28 Jan 2022 11:29:26 -0400 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Sipeed Lichee RV (Allwinner D1) Content-Language: en-CA To: Jakob Alvermark , freebsd-riscv@FreeBSD.org References: From: Mitchell Horne In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643383771; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y0jGD4ubQYm+46CX3yOOaVqVmVNy9RneIxilMgqVM90=; b=mdb4HU3aWR3oj5d0OonoF2V6j2Sl+437uJT3tHMmr6rsk+7aKQqy0JPbKL8xStyyXRa6Mx nNoda6Tpf3f1kiIUD3mAPFoDXHSKCxgQ2fhZdIYrMa4V2wSRLduUjSMGDAkei9NZzAoKkE +N6c35KT4HqbA6l9Xws9EM9GQG4k+KhntKvHCpcqktyjw/fjMCAIr1WKGhSPTle4h+qqIt rJ973zYD/hPPqbuyosf1dB80VbwFfD273G0Da7KaLpW9gC15O9MwDc7cnpFe21ANVZRD9P jtblqqoWyQuHqTAhmNTBtEVZJOT6W+WOEmRNbUYHuqlmvTu/DiXuXyi6RTLsNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643383771; a=rsa-sha256; cv=none; b=feFoHDO76z21XeFVxfpjd/iSbJgLMEwKdhzFBI48nIbd5LXqb97hM4zj/aANPyuUqeIsFB laEyGwk7t9UlFDmNuFmCaP6rJWPvMP8JNmerAselMaAUrBrVB3MOB1z8PmYtk5hoWtmCu4 ZEyJoimPXnCCCeYEUjcPzfw/AFu3Bpx62JDKV2AitB2d8fEUp5UVgzDDn50zBxB/QpnpQv isAsHykFytcP1ali0jb1qhqKW/2bcfFZtuNShXmyq2MSWi8ObK5h6Jddk1G3JfPTOTuPaN SNGE6rTTRQRmFz4tCxoocKt8mbAcyR+DMY9omQCW+6GdOYjgQVd81mwN3chRmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 1/19/22 18:05, Jakob Alvermark wrote: > > On 1/19/22 17:24, Mitchell Horne wrote: >> >> >> On 1/17/22 15:02, Jakob Alvermark wrote: >>> Hi, >>> >>> >>> With RISC-V SBCs now coming down in price, I got curios and got >>> myself a Lichee RV (with the dock). >>> >>> https://linux-sunxi.org/Sipeed_Lichee_RV >>> >>> The instructions here, https://linux-sunxi.org/Allwinner_Nezha along >>> with some patching got me a working U-boot. >>> >>> Cross-building and putting together and image for and SD card got me >>> this far: >>> > >>> Loading kernel... >>> /boot/kernel/kernel text=0x609ddc text=0x133abc data=0xf4420 >>> data=0xb54+0x1d73e4 syms=[0x8+0xcd188+0x8+0xee5ae] >>> Loading configured modules... >>> can't find '/etc/hostid' >>> can't find '/boot/entropy' >>> Using DTB provided by EFI at 0x47ef5000. >>> Kernel entry at 0x56a0002e... >>> Kernel args: (null) >>> >>> ----- >>> >>> And here it stops for  ~16 seconds then restarts, that's the watchdog >>> resetting it. >>> >>> So where do I go from here? >>> >> Hi Jakob, >> >> Looks like it bails somewhere in the initial kernel setup, before the >> first output to the console. This is a wide range, so it's difficult >> to say exactly where things are going wrong. >> >> I will say that generally FreeBSD is not expected to work on the D1; >> as far as I know you are the first to try it. This hardware has some >> quirks requiring special support, which we are entirely lacking. >> Specifically, there is one related to virtual memory management, which >> requires custom (spec-breaking) bits in the page tables to be set, to >> properly specify the attributes of physical and device memory. This >> _may_ have something to do with why it is failing where it is. It >> would take a motivated party to add the support required for this SoC, >> and I'm not aware of anyone currently taking this on. This board has >> caused some headaches in Linux-land for the same reasons, but there >> are more hands to do the work there. I just want to set the >> expectations properly :) >> >> If you wanted to debug this further, you might rebuild the kernel >> after adding 'options EARLY_PRINTF' to the config file, as this should >> enable a couple early outputs and narrow down the search slightly. > > > Hi Mitchell, > > > I did not expect it to work. But it would be nice if it did. > > I have a long experience with FreeBSD and I have played around with a > couple of different ARM-boards, but I'm not very experienced with kernel > hacking. > > I built a kernel with EARLY_PRINTF, but it did not give me any more > output... > > Is there anything else I could try? > Yes, I missed an important detail: the required uart driver is missing from the kernel. Please add 'device uart_snps' to the kernel config as well, and see if this results in any output. Mitchell > > Jakob > From nobody Sat Jan 29 15:12:58 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C12051987F2C for ; Sat, 29 Jan 2022 15:13:32 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JmHs76J7Bz3hwn; Sat, 29 Jan 2022 15:13:31 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-e841235c.06-431-73746f70.bbcust.telenor.se ([92.35.65.232] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1nDpPo-000KVd-7L; Sat, 29 Jan 2022 16:13:24 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bVeMWXCgTHiKhd18CHigSeafTg7ZsWGDYrOY4mIPLbU=; b=EUPBhSl6ULr1HMrslaUxCEQvOL IyWLhEUPwR7/VVxVU8vi65tqvCf6r/r1Bie1vPod4rKUYSDAn32Y7WzjlBeCpuYeZmzHe7UZPSWGv 5sR9Vm0F9P71fXVIsWINNnjteuWd4pozds5Hb4jfq8LZ9eMkG3mxaUZ1SYl80ZQNOaisYfg10O40S 5qez0QXVHUxLsl+HduMn7bykg4PxqObGe6Ebi/KI7JXzPoDlfxD5xblF1a66wfsaLGl6cdxNea8n7 eowKnwSMzRLlvfoYUNRlsu1HXTUpul61Zz6+qjPkUODlXPQgZkgXe9KsnZKMWw1eUCAXy/XaO1lVm 0Ie65YOg==; Received: from [192.168.67.27] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1nDpPO-000PzN-H4; Sat, 29 Jan 2022 16:12:58 +0100 Message-ID: <18b735fb-fd36-daad-9ee7-974ff1955400@alvermark.net> Date: Sat, 29 Jan 2022 16:12:58 +0100 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Sipeed Lichee RV (Allwinner D1) Content-Language: en-US To: Mitchell Horne , freebsd-riscv@FreeBSD.org References: <5a74bd6d-4000-c413-02e2-33608f9ae683@freebsd.org> From: Jakob Alvermark In-Reply-To: <5a74bd6d-4000-c413-02e2-33608f9ae683@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4JmHs76J7Bz3hwn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alvermark.net header.s=x header.b=EUPBhSl6; dmarc=none; spf=pass (mx1.freebsd.org: domain of jakob@alvermark.net designates 185.34.136.138 as permitted sender) smtp.mailfrom=jakob@alvermark.net X-Spamd-Result: default: False [-3.49 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[alvermark.net:s=x]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.34.136.138]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[alvermark.net: no valid DMARC record]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[alvermark.net:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.991]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34971, ipnet:185.34.136.0/23, country:IT]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 1/28/22 16:29, Mitchell Horne wrote: > On 1/19/22 18:05, Jakob Alvermark wrote: >> >> On 1/19/22 17:24, Mitchell Horne wrote: >>> >>> >>> On 1/17/22 15:02, Jakob Alvermark wrote: >>>> Hi, >>>> >>>> >>>> With RISC-V SBCs now coming down in price, I got curios and got >>>> myself a Lichee RV (with the dock). >>>> >>>> https://linux-sunxi.org/Sipeed_Lichee_RV >>>> >>>> The instructions here, https://linux-sunxi.org/Allwinner_Nezha >>>> along with some patching got me a working U-boot. >>>> >>>> Cross-building and putting together and image for and SD card got >>>> me this far: >>>> >> >>>> Loading kernel... >>>> /boot/kernel/kernel text=0x609ddc text=0x133abc data=0xf4420 >>>> data=0xb54+0x1d73e4 syms=[0x8+0xcd188+0x8+0xee5ae] >>>> Loading configured modules... >>>> can't find '/etc/hostid' >>>> can't find '/boot/entropy' >>>> Using DTB provided by EFI at 0x47ef5000. >>>> Kernel entry at 0x56a0002e... >>>> Kernel args: (null) >>>> >>>> ----- >>>> >>>> And here it stops for  ~16 seconds then restarts, that's the >>>> watchdog resetting it. >>>> >>>> So where do I go from here? >>>> >>> Hi Jakob, >>> >>> Looks like it bails somewhere in the initial kernel setup, before >>> the first output to the console. This is a wide range, so it's >>> difficult to say exactly where things are going wrong. >>> >>> I will say that generally FreeBSD is not expected to work on the D1; >>> as far as I know you are the first to try it. This hardware has some >>> quirks requiring special support, which we are entirely lacking. >>> Specifically, there is one related to virtual memory management, >>> which requires custom (spec-breaking) bits in the page tables to be >>> set, to properly specify the attributes of physical and device >>> memory. This _may_ have something to do with why it is failing where >>> it is. It would take a motivated party to add the support required >>> for this SoC, and I'm not aware of anyone currently taking this on. >>> This board has caused some headaches in Linux-land for the same >>> reasons, but there are more hands to do the work there. I just want >>> to set the expectations properly :) >>> >>> If you wanted to debug this further, you might rebuild the kernel >>> after adding 'options EARLY_PRINTF' to the config file, as this >>> should enable a couple early outputs and narrow down the search >>> slightly. >> >> >> Hi Mitchell, >> >> >> I did not expect it to work. But it would be nice if it did. >> >> I have a long experience with FreeBSD and I have played around with a >> couple of different ARM-boards, but I'm not very experienced with >> kernel hacking. >> >> I built a kernel with EARLY_PRINTF, but it did not give me any more >> output... >> >> Is there anything else I could try? >> > > Yes, I missed an important detail: the required uart driver is missing > from the kernel. Please add 'device uart_snps' to the kernel config as > well, and see if this results in any output. Hi, I tried that, but sadly it did not make any difference. I looked at what they have done in Linux, and this commit seems to have some interesting bits: https://github.com/smaeul/linux/commit/c1bc61cee73e236c3cd69fe6c998b7f80c654263#diff-4f4bb4eea826b523d76ddb1c539dad5685a0e7fd7cc8f1089a0493efd0e8e5b8 Jakob From nobody Tue Feb 1 12:38:43 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EB892198C8C1 for ; Tue, 1 Feb 2022 12:39:01 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.oetec.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jp4HT2VTmz3C6l for ; Tue, 1 Feb 2022 12:38:58 +0000 (UTC) (envelope-from dclarke@blastwave.org) X-Spam-Status: No X-oetec-MailScanner-From: dclarke@blastwave.org X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.109, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, DKIM_VALID_EF -0.10, T_SCC_BODY_TEXT_LINE -0.01, URIBL_BLOCKED 0.00) X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-ID: 211CchbQ014068 X-oetec-MailScanner-Information: Please contact oetec for more information Received: from [172.16.35.2] (cpeac202e7325b3-cmac202e7325b0.cpe.net.cable.rogers.com [99.253.170.241]) (authenticated bits=0) by mail.oetec.com (8.15.2/8.15.2/Debian-8) with ESMTPSA id 211CchbQ014068 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 1 Feb 2022 07:38:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org; s=default; t=1643719125; bh=4IhezAAzZCYZjE1vwLLs5inTUpgD8/XvN3GUpViIbvE=; h=Date:To:From:Subject:From; b=UJH2OGt+mF1LQcLrlgCrIW+4XYdglFmJCGQzz3Eo4yAqVmeoyIAMj9KU1oJzBTtgE fEW/32GPiWAXA5IYk2zH5nERgKdAkwp8KDaev4kOdtVBusfsc0Ipr3ELQjEcUhTkP3 qarrY5iwOwptv2JaTJcU82Q2t9Tka7vKtU4jOL8Kt4FXVgIKecn4VUenJ186jRBlOj 73Cs7dPPp/P1mkdI/DBoyuK6LzLyhf/c8ggtT1na1sTykJHZgF/jRV8QPOTGifWExc eym8WiBdHoi94n9odHlRsXW+ajSpSDEw3dX0vIj19jpSlYt3fW3J7DqncXGeXnZ3eb PVPaI0OBYt6Tg== Message-ID: <623aa01b-54de-407f-3a48-d68bb4a17f81@blastwave.org> Date: Tue, 1 Feb 2022 07:38:43 -0500 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 To: riscv@freebsd.org Content-Language: en-US From: Dennis Clarke Subject: QEMU instance with scsi devices for RISC-V ? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Jp4HT2VTmz3C6l X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=UJH2OGt+; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org X-Spamd-Result: default: False [-3.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; DKIM_TRACE(0.00)[blastwave.org:+]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; NEURAL_HAM_SHORT(-1.00)[-0.998]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[99.253.170.241:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[riscv]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N I am going in tight little circles trying to get more than 8 disks to be available to a RISC-V instance. However the virtio block device type seems to be limited to three bits for the device id. That is just a guess. I am trying with virtio-scsi-pci type but the LiveCD option does not see anything other than the installer disk1.iso cdrom image : riscv@pluto$ riscv@pluto$ /usr/local/bin/qemu-system-riscv64 \ > -machine virt -m 16384M -cpu sifive-u54 -smp 4 -nographic \ > -bios /usr/local/share/opensbi/lp64/generic/firmware/fw_jump.elf \ > -kernel /usr/local/share/u-boot/u-boot-qemu-riscv64/u-boot.bin \ > -drive file=/opt/qemu/riscv/fbsd14/fbsd13_riscv64_20220127_2c449a4c5a3-252673-disc1.iso,readonly=on,media=cdrom,id=hd0 \ > -device virtio-blk-device,drive=hd0 \ > -device virtio-scsi-pci,id=scsi0 \ > -drive file=/opt/qemu/riscv/fbsd14/hack_dev/scsi_dev_0.img,format=qcow2,if=none,id=scsi0000 \ > -device scsi-hd,drive=scsi0000 \ > -object rng-random,filename=/dev/urandom,id=rng0 \ > -device virtio-rng-device,rng=rng0 \ > -device virtio-net-device,netdev=usernet \ > -netdev user,id=usernet,hostfwd=tcp::10000-:22 OpenSBI v0.9 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : riscv-virtio,qemu Platform Features : timer,mfdeleg Platform HART Count : 4 Firmware Base : 0x80000000 Firmware Size : 124 KB Runtime SBI Version : 0.2 Domain0 Name : root Domain0 Boot HART : 2 Domain0 HARTs : 0*,1*,2*,3* Domain0 Region00 : 0x0000000080000000-0x000000008001ffff () Domain0 Region01 : 0x0000000000000000-0xffffffffffffffff (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x0000000082200000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Boot HART ID : 2 Boot HART Domain : root Boot HART ISA : rv64imafdcsu Boot HART Features : scounteren,mcounteren,time Boot HART PMP Count : 16 Boot HART PMP Granularity : 4 Boot HART PMP Address Bits: 54 Boot HART MHPM Count : 0 Boot HART MHPM Count : 0 Boot HART MIDELEG : 0x0000000000000222 Boot HART MEDELEG : 0x000000000000b109 U-Boot 2021.07 (Nov 05 2021 - 03:54:51 +0000) CPU: rv64imafdcsu Model: riscv-virtio,qemu DRAM: 16 GiB Loading Environment from nowhere... OK In: uart@10000000 Consoles: EFI console ______ ____ _____ _____ | ____| | _ \ / ____| __ \ | |___ _ __ ___ ___ | |_) | (___ | | | | | ___| '__/ _ \/ _ \| _ < \___ \| | | | | | | | | __/ __/| |_) |____) | |__| | | | | | | | || | | | |_| |_| \___|\___||____/|_____/|_____/ ``` ` s` `.....---.......--.``` -/ +---------- Welcome to FreeBSD -----------+ +o .--` /y:` +. | | yo`:. :o `+- | 1. Boot Single user [Enter] | y/ -/` -o/ | 2. Boot Multi user | .- ::/sy+:. | 3. Escape to loader prompt | / `-- / | 4. Reboot | `: :` | 5. Cons: Serial | `: :` | | / / | Options: | .- -. | 6. Kernel: default/kernel (1 of 1) | -- -. | 7. Boot Options | `:` `:` | | .-- `--. | | .---.....----. +-----------------------------------------+ Loading kernel... /boot/kernel/kernel text=0x5eec5c text=0x1701d4 data=0xf7660 data=0xbc4+0x2741b4 syms=[0x8+0xcffd8+0x8+0xf1ab5] Loading configured modules... can't find '/etc/hostid' can't find '/boot/entropy' Using DTB provided by EFI at 0x87efb000. Kernel entry at 0xf660002e... Kernel args: (null) ---<>--- GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Physical memory chunk(s): 0x80000000 - 0x47fffffff, 16384 MB (4194304 pages) Excluded memory regions: 0x80000000 - 0x801fffff, 2 MB ( 512 pages) NoAlloc NoDump 0xf6600000 - 0xf7325fff, 13 MB ( 3366 pages) NoAlloc Found 4 CPUs in the device tree Copyright (c) 1992-2022 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #0 main-n252673-2c449a4c5a3: Thu Jan 27 05:19:37 UTC 2022 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffc000d01000. Preloaded TSLOG data "TSLOG" at 0xffffffc000d0a310. SBI: OpenSBI v0.9 SBI Specification Version: 0.2 CPU(0): Unknown Implementer Unknown Processor real memory = 17179869184 (16384 MB) Physical memory chunk(s): 0x0000000080200000 - 0x00000000f65fffff, 1983905792 bytes (484352 pages) 0x00000000f7326000 - 0x000000046668afff, 14750732288 bytes (3601253 pages) avail memory = 16681529344 (15908 MB) No static device mappings. Starting CPU 2 (hart 0) Starting CPU 3 (hart 1) Starting CPU 1 (hart 3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: no preloaded entropy cache arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. VIMAGE (virtualized network stack) enabled hostuuid: using 00000000-0000-0000-0000-000000000000 ULE: setup cpu 0 ULE: setup cpu 1 ULE: setup cpu 2 ULE: setup cpu 3 random: entropy device external interface openfirm: kbd0 at kbdmux0 mem: crypto: null: ofwbus0: simplebus0: on ofwbus0 plic0: mem 0xc000000-0xc20ffff irq 10,11,12,13,14,15,16,17 on simplebus0 timer0: Timecounter "RISC-V Timecounter" frequency 10000000 Hz quality 1000 Event timer "RISC-V Eventtimer" frequency 10000000 Hz quality 1000 riscv_syscon0: mem 0x100000-0x100fff on simplebus0 rcons0: ofwbus0: mem 0x10100000-0x10100017 compat qemu,fw-cfg-mmio (no driver attached) ofwbus0: mem 0x20000000-0x21ffffff,0x22000000-0x23ffffff compat cfi-flash (no driver attached) cpulist0: on ofwbus0 cpu0: on cpulist0 cpu0: missing 'clock-frequency' property riscv64_cpu0: register <0> cpu1: on cpulist0 cpu1: missing 'clock-frequency' property riscv64_cpu1: register <1> cpu2: on cpulist0 cpu2: missing 'clock-frequency' property riscv64_cpu2: register <2> cpu3: on cpulist0 cpu3: missing 'clock-frequency' property riscv64_cpu3: register <3> goldfish_rtc0: mem 0x101000-0x101fff irq 0 on simplebus0 goldfish_rtc0: registered as a time-of-day clock, resolution 1.000000s uart0: <16550 or compatible> mem 0x10000000-0x100000ff irq 1 on simplebus0 uart0: console (115200,n,8,1) uart0: fast interrupt uart0: PPS capture mode: DCD syscon_power0: on simplebus0 syscon_power1: on simplebus0 pcib0: mem 0x30000000-0x3fffffff on simplebus0 pcib0: parsing FDT for ECAM0: pcib0: PCI addr: 0x0, CPU addr: 0x3000000, Size: 0x10000 pcib0: PCI addr: 0x40000000, CPU addr: 0x40000000, Size: 0x40000000 pcib0: PCI addr: 0x800000000, CPU addr: 0x800000000, Size: 0x400000000 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: PCI addr: 0x0, CPU addr: 0x0, Size: 0x0 pcib0: Bus is cache-coherent pci0: on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x1b36, dev=0x0008, revid=0x00 domain=0, bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0004, statreg=0x0000, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1af4, dev=0x1004, revid=0x00 domain=0, bus=0, slot=1, func=0 class=01-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 MSI-X supports 7 messages in map 0x14 map[10]: type I/O Port, range 32, base 0x1000, size 6, enabled pcib0: rman_reserve_resource: start=0x1000, end=0x103f, count=0x40 map[14]: type Memory, range 32, base 0x40000000, size 12, enabled pcib0: rman_reserve_resource: start=0x40000000, end=0x40000fff, count=0x1000 map[20]: type Prefetchable Memory, range 64, base 0x40004000, size 14, enabled pcib0: rman_reserve_resource: start=0x40004000, end=0x40007fff, count=0x4000 virtio_pci0: port 0x1000-0x103f mem 0x40000000-0x40000fff,0x40004000-0x40007fff irq 26 at device 1.0 on pci0 virtio_mmio0: mem 0x10008000-0x10008fff irq 2 on simplebus0 vtblk0: on virtio_mmio0 virtio_mmio0: host features: 0x31006ef4 virtio_mmio0: negotiated features: 0x10002e74 vtblk0: 744MB (1524468 512 byte sectors) virtio_mmio1: mem 0x10007000-0x10007fff irq 3 on simplebus0 virtio_mmio2: mem 0x10006000-0x10006fff irq 4 on simplebus0 vtnet0: on virtio_mmio2 virtio_mmio2: host features: 0x39bf8064 virtio_mmio2: negotiated features: 0x308f8064 vtnet0: bpf attached vtnet0: Ethernet address: 52:54:00:12:34:56 simplebus0: mem 0x10005000-0x10005fff irq 5 compat virtio,mmio (no driver attached) simplebus0: mem 0x10004000-0x10004fff irq 6 compat virtio,mmio (no driver attached) simplebus0: mem 0x10003000-0x10003fff irq 7 compat virtio,mmio (no driver attached) simplebus0: mem 0x10002000-0x10002fff irq 8 compat virtio,mmio (no driver attached) simplebus0: mem 0x10001000-0x10001fff irq 9 compat virtio,mmio (no driver attached) simplebus0: mem 0x2000000-0x200ffff irq 18,19,20,21,22,23,24,25 compat sifive,clint0 (no driver attached) crypto: assign cryptosoft0 driver id 0, flags 0x6000000 Device configuration finished. procfs registered Timecounters tick every 1.000 msec vlan: initialized, using hash tables with chaining lo0: bpf attached IPsec: Initialized Security Association Processing. tcp_init: net.inet.tcp.tcbhashsize auto tuned to 131072 GEOM: new disk vtbd0 usb_needs_explore_all: no devclass Release APs CPU(1): Unknown Implementer Unknown Processor CPU(3): Unknown Implementer Unknown Processor CPU(2): Unknown Implementer Unknown Processor WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from cd9660:/dev/iso9660/14_0_CURRENT_RISCV64_CD [ro]... GEOM: vtbd0: the secondary GPT table is corrupt or invalid. GEOM: vtbd0: using the primary only -- recovery suggested. GEOM: iso9660/14_0_CURRENT_RISCV64_CD: the secondary GPT table is corrupt or invalid. GEOM: iso9660/14_0_CURRENT_RISCV64_CD: using the primary only -- recovery suggested. cd9660: RockRidge Extension goldfish_rtc0: providing initial system time start_init: trying /sbin/init Enter full pathname of shell or RETURN for /bin/sh: random: unblocking device. root@:/ # ls /dev/ audit devctl kbdmux0 random urandom auditpipe devctl2 klog reroot usbctl bpf devstat kmem stderr vtbd0 bpf0 fd mdctl stdin vtbd0p1 console fido mem stdout xpt0 consolectl full msdosfs sysmouse zero ctty geom.ctl null ttyu0 cuau0 gptid openfirm ttyu0.init cuau0.init iso9660 pci ttyu0.lock cuau0.lock kbd0 pfil ufssuspend root@:/ # exit No suitable dump device was found. Fast boot: skipping disk checks. Mounting local filesystems:. Building /boot/kernel/linker.hints kldxref: can't create /boot/lhint.LIGgk6: Read-only file system mkdir: /tmp/.diskless.d562ac475bd86c80dd789c8e6a152b9f93ce8629685d9e13e6d3f8682559c4cf: Read-only file system devmatch: Can't read linker hints file. Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy: dd: /entropy: Read-only file system dd: /boot/entropy: Read-only file system . ELF ldconfig path: /lib /usr/lib /usr/lib/compat /etc/rc: WARNING: $hostname is not set -- see rc.conf(5). lo0: link state changed to UP Starting Network: lo0 vtnet0. lo0: flags=8049 metric 0 mtu 16384 options=680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21 vtnet0: flags=8822 metric 0 mtu 1500 options=80028 ether 52:54:00:12:34:56 media: Ethernet autoselect (10Gbase-T ) status: active nd6 options=29 Starting devd. devmatch: Can't read linker hints file. devmatch: Can't read linker hints file. devmatch: Can't read linker hints file. devmatch: Can't read linker hints file. devmatch: Can't read linker hints file. devmatch: Can't read linker hints file. devmatch: Can't read linker hints file. devmatch: Can't read linker hints file. Starting Network: vtnet0. vtnet0: flags=8822 metric 0 mtu 1500 options=80028 ether 52:54:00:12:34:56 media: Ethernet autoselect (10Gbase-T ) status: active nd6 options=29 devmatch: Can't read linker hints file. devmatch: Can't read linker hints file. devmatch: Can't read linker hints file. devmatch: Can't read linker hints file. devmatch: Can't read linker hints file. FreeBSD Installer ────────────────────────────────────────────────────────────────────────────── ┌────────────Welcome──────────────┐ │ Welcome to FreeBSD! Would you │ │ like to begin an installation │ │ or use the live CD? │ ├─────────────────────────────────┤ │ < Shell > │ └─────────────────────────────────┘ Mounting late filesystems:. Starting cron. Starting background file system checks in 60 seconds. Tue Feb 1 12:22:28 UTC 2022 FreeBSD/riscv (Amnesiac) (ttyu0) login: root Feb 1 12:22:31 login[705]: ROOT LOGIN (root) ON ttyu0 FreeBSD 14.0-CURRENT (GENERIC) #0 main-n252673-2c449a4c5a3: Thu Jan 27 05:19:37 UTC 2022 Welcome to FreeBSD! Release Notes, Errata: https://www.FreeBSD.org/releases/ Security Advisories: https://www.FreeBSD.org/security/ FreeBSD Handbook: https://www.FreeBSD.org/handbook/ FreeBSD FAQ: https://www.FreeBSD.org/faq/ Questions List: https://www.FreeBSD.org/lists/questions/ FreeBSD Forums: https://forums.FreeBSD.org/ Documents installed with the system are in the /usr/local/share/doc/freebsd/ directory, or can be installed later with: pkg install en-freebsd-doc For other languages, replace "en" with a language code like de or fr. Show the version of FreeBSD installed: freebsd-version ; uname -a Please include that output and any error messages when posting questions. Introduction to manual pages: man man FreeBSD directory layout: man hier To change this login announcement, see motd(5). root@:~ # Looking at the verbose output from boot I do see a SCSI device listed there : virtio_pci0: port 0x1000-0x103f mem 0x40000000-0x40000fff,0x40004000-0x40007fff irq 26 at device 1.0 on pci0 So the bus id seems to be pci0 but thus far any attempt I have made simply gets me a LiveCD running with no available SCSI disks. Is this just a QEMU rabbit hole maze of options problem? Dennis From nobody Wed Feb 2 19:17:48 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2078F19A8213 for ; Wed, 2 Feb 2022 19:17:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jps586s1Lz3Dg8 for ; Wed, 2 Feb 2022 19:17:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C7FA019BB for ; Wed, 2 Feb 2022 19:17:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 212JHmUs077483 for ; Wed, 2 Feb 2022 19:17:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 212JHmGF077482 for riscv@FreeBSD.org; Wed, 2 Feb 2022 19:17:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 258467] fails to boot on riscv: loader.efi Unhandled exception: Load access fault Date: Wed, 02 Feb 2022 19:17:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mhorne@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643829469; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TM64PdUnmgt4pE5osBxwwOWwFbExJuyzi/h/UcqbVug=; b=Q3LbpX4+pMwDRu1YzjJJNdXTCg6UVQIwhP34jyOM8XOBCc0zhcQXVsaE+ZnvEH40WBCBLl 3Ar4hQtV0PbtWtgOlUsS8d84oRN0GLlPT3Y/ufAau7J3u06eehOu7Yc9PNsUvMQ2zSLt6G 5PcCVFOifEYhZOF2NIoQ03vnFh07vyK/qlI2U30D34Tbf9MSGG1kOV5UtZ2Q1IfAHKEAre ypgaLERMbrGgGWFNNZMhrxS0J8jRktxs8QjCHc6qdJa83fa86IfOxolD5ssmD7tD/p6xSO XqT8zglZLrNzlStnvhS7IDAm2Z42U0VUP8McTllGOIbPtmZjCPfrW1OnP1v3hA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643829469; a=rsa-sha256; cv=none; b=KGd0Pshqhg4DG2UqDKwCBeVza+e08RVZDOnXCmaXC5jqspw9s8qrNVd0oVPS+FbN5P61GT p+5l9YCJC0yySSFvZvpQiL7gu/L++O4zolChXF91i0/1V5Ozz0hmuJlMlUVWikfF7J/bj/ CAnadF+9/9cMdBYqAoKCiLZtjPD+QdFIN0KZA/WORUs2Wn1HxtORMSwdh1au2RDpXR3Q5M eFxLlawy0pm66Ar+dgoFbU+oRKC87x8bGsLeFVFYeRvPskZZcKNQrqMZzQTwrVQr1LEBBz vj0QceeuDNiz0EubnMqnh7aJjUWW/WBCZ6y3b6XFQtrelAZFUurqO3dBQXZ29Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258467 --- Comment #12 from Mitchell Horne --- (In reply to Klaus K=C3=BCchemann from comment #11) So, is any further action needed at this time, or can we close this issue? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Feb 2 22:13:49 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3E64019AADFB for ; Wed, 2 Feb 2022 22:13:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jpx0D6ccXz57LZ for ; Wed, 2 Feb 2022 22:13:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BA81845C0 for ; Wed, 2 Feb 2022 22:13:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 212MDmBp072506 for ; Wed, 2 Feb 2022 22:13:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 212MDmoP072505 for riscv@FreeBSD.org; Wed, 2 Feb 2022 22:13:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 258467] fails to boot on riscv: loader.efi Unhandled exception: Load access fault Date: Wed, 02 Feb 2022 22:13:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: maciphone2@googlemail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643840029; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wDcoJK3B+Uwr3Vu14H1hQH3zo2e6kMn6298NaUDKXgk=; b=HQJVOTyfM6P9TEwN8dj8B5AL+uCEJYR1myF99YTYl6VmzTwkEo+yHrQkNTRRXTgdK5RgP4 DNlyiYoAxqaKSdGLfLYjjRoW1EyJBZNJYbCpMBTHVCrWk/a6W6KXkTxHcBzJPPNm6Cksy/ teylHZiW19mONkM8WekvWcjZSLcvSYuD9arscFGRkotjGiKCtNiv8bcheuCxFwvzI+K65p z7hZla/7VDUY3oaT8CXK7nrzxm3e8rlGrfX9mDc33a60Wa1hQdvKeUweuflwDovgC4t+n2 fwAzI04CpWiJVendBF8K1yZQf9+AM65pdirJWl4jvLE4D2heWR349gcpk8+HCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643840029; a=rsa-sha256; cv=none; b=DfZf4tI9CsJ4nE1o5Kqv7q0T4b68K/3avbRGLylKyTx9Qp1UlPg6n0ssiyPOKIj15KJg+F RxHyFYGBXNpHCgtDZVrTjD3VRho2GIQuOuVmNUtJUKjLqm+Ce2K9ngqt+rDaoWhwP8KY0D f5MgrLJ1F/2TkQp0vzsLQf6CiNwiOyvo4lJ9CSpb606pav7Sj4swpqVvbJRBX26H5C4GkF 4Q1caN33gQTvuNekE29QCMFT+QRqnuGH8wTSuJ8M1aVe1MuGHiaU/bq9XT9g0ax7iejNVA gDqe6sgRwobM/UjuxzJM351mFyWYcQxdGFfnZzeK+evNy8rGN2qa5cwL6Sa0TA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258467 --- Comment #13 from Klaus K=C3=BCchemann --- (In reply to Mitchell Horne from comment #12) do you think I should check this from scratch again? if so, I'm happy to do that , it would take a day or so (I'm asking because I may be the only one using this board and I'm currently not cross compiling from aarch64 to riscv no more). If you think it's not worth the effort, you can close this. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Feb 3 15:40:22 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1AFEC196856F for ; Thu, 3 Feb 2022 15:40:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JqNCp6QjNz3w5R for ; Thu, 3 Feb 2022 15:40:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BC28F1AA0D for ; Thu, 3 Feb 2022 15:40:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 213FeMkk029528 for ; Thu, 3 Feb 2022 15:40:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 213FeMjI029527 for riscv@FreeBSD.org; Thu, 3 Feb 2022 15:40:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 258467] fails to boot on riscv: loader.efi Unhandled exception: Load access fault Date: Thu, 03 Feb 2022 15:40:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mhorne@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643902823; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UFDRXMojgI126GOSnXjgthht5G5dQsVWelDps0TzHnE=; b=GsTOy2evYOeu16DhCa+v7hZlnOaAz/Y37A9zVa51iCjHlw4mo7yZb1eOaDKQi/nr0+A+o1 jPtoU1oBGwhdZz7XbJSR2gPS4WVNsQz01CIYjW1wGDEK3GGXbtDvcDNwFGYH5ucuOjVGzZ z9CnzSX4PW0csceuVRDhWR2ekIUXXjalLZAdM2k1gr/rLOd9+7gJ6hwEaYfi6U7JdxdVIv U8YKB2WoP58BWnm+CxOS0eCec7NM+qVTflpi51Jtv/4FNlRd0XUJvYESvXuw7Es7by7C+h nV3s3X4/rOl35WuNQ8eiD4DMy6qXGRSOI4QLKhrxv1gVvtLRfqUSGpTVOS1gDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643902823; a=rsa-sha256; cv=none; b=USPwL54dpiXnqxPXUxlXtP+8uQyzds20uVvjeYUaFyXYDznlj9BwVHmIDXv0ucRPZEGMDD y5TdNh/BHSDWsG4mjugg33gheWh73VmrZd+/Uyn4qwBlCJb0PXC5WjuMsnf9VBL4na9kLY XKM21uDQBcDEjeZagfvmnzflfZ0XkF8Y59MirGM299v9sgO4MaSJRUbpLzcdVx+l9M3ELF ROIfnkGwGAlJ2u4Ye70iPfxIcpWJOsaevWeCvHmcheXLg1/I1ZDwKpMEwDxp4PNOOu8EbL IOKNImtQ27pLVWdy9Iq0cLKS3SyS2ZmkGhXL0TX3vrQ5q+LZZ7ZPfUakM45Arg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258467 Mitchell Horne changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #14 from Mitchell Horne --- (In reply to Klaus K=C3=BCchemann from comment #13) I found that net-booting riscv works for me with a recent main, and it seems this was the case for you in September. I don't think we need to be too concerned about the cross-compilation from arm64 or riscv case, but if you are inclined to try it again and it does fa= il then please re-open the PR. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Feb 3 15:51:32 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D26861988343 for ; Thu, 3 Feb 2022 15:51:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JqNSh42Sqz4TlR for ; Thu, 3 Feb 2022 15:51:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 64FEF1A3FB for ; Thu, 3 Feb 2022 15:51:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 213FpWS7037481 for ; Thu, 3 Feb 2022 15:51:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 213FpWGi037480 for riscv@FreeBSD.org; Thu, 3 Feb 2022 15:51:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 258467] fails to boot on riscv: loader.efi Unhandled exception: Load access fault Date: Thu, 03 Feb 2022 15:51:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: maciphone2@googlemail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643903492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mAkgIOTIGljACHC+Ix6ZNCz2yaA7aDa7140GIM1hZDw=; b=VNqmUEgO/4bJ+8NH28hPVTacWrbW8N/OaAPDxMfPF5xZtuhYNyLdu6ngANULT7CsP7I+oJ EId6iAzGKAZ9b6xo2FZ4C1iVI0veLvN4cMhrADyORQCFf3wqHDEGHz0wKG53es+Li3BJoo nLRBHPJ1toAuQY5Iq3suMbGnLDg1ECeKDtMlh+PBl7sAZIMCs0BOqxGzFjTaK4KSA3aJf5 JqWYwhwhdDMSmsyMw616sEqjKoC9Z5KtDgXy+rsI4E0/gF/hHXe+6KqE6jX5itEQfcLNPt cjAugI90w+zt337BHx/fxlnKTsPeBUL00h/p/ton7OePMsl6nAEWuzh+hMUoKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643903492; a=rsa-sha256; cv=none; b=iTi8207029C/eUJ1+KKJxDo9PTGdtZtAU/j5JpPV9l/2xzcgNe6F+mUcwsWDNrOEGYJ3Eu WoDye9/82+4lgXhpgncX/EbM3HsY4b0H/VmbNCjszIPptg/OkSWhz6Ws3THbXlJ+NlD+gk vmJGRAL3rtpZnu7HU3K/m+nfxSDjFfX3fh24u6u9pdQgh4Pr7IscYivHNBdxaDAMnElJYi 2KeZqOPNTtCQGzkVP2AGUmLHaZJdv0zZrq2DrBHQlnp13cQAZWJ9ouYzE/UCa60WU+eMA4 8jJAHS+J08gQwf0zjtZGxHHlX2vQpwKNtdCo4tqhEDwG8BO4Z40n7yHqFKUwKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258467 --- Comment #15 from Klaus K=C3=BCchemann --- (In reply to Mitchell Horne from comment #14) installworld/aarch64(not riscv) failed with current src from today on my RP= I4- so, yes, better to not confuse topics, closing this issue is O.K-thanks and yes: netboot worked fine last week, also with your new openSBI 1.0, if= =20 cross-compiled from amd64 and netbooted from from RPI4 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Feb 7 00:01:52 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5B72D19A5FB6 for ; Mon, 7 Feb 2022 00:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JsRC461Vyz4fbY for ; Mon, 7 Feb 2022 00:01:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8E39C1BB44 for ; Mon, 7 Feb 2022 00:01:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21701qNv002695 for ; Mon, 7 Feb 2022 00:01:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21701qK0002694 for riscv@FreeBSD.org; Mon, 7 Feb 2022 00:01:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm{13,devel}: Fails to link on riscv64: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD Date: Mon, 07 Feb 2022 00:01:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: bug_severity short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644192112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XAndgZPXK3k0KO84VdbHwEyP839wmqYKYLweRRTQkUY=; b=t57x3T7ujRO69U9cjVa1xKtRPFLpBNlKFa9gTmIx1TCTDn0n8+bqR9XpdvBo8av28BOGgr 9dcziNVcYmVznT5ZnFY1ww8n/vEqkE2x9Q3lEgDo+n3gnaLwStqf2DYhenc+DX+ZP2+Oaz tOAtNf8KHWDM9hh6u+p0KqzfxN18VgBgj/2CidQI/T+uaP4rAa5uMFg2gW4Ga/TgceAISF T489D48A9ExcXRm5JjskUnNjWARK19O95HQTOx2nAje0EBywDkkT4+Cav8Ket+tSVC5Bb9 Z93j7Tm9O6Mwehv+eX9wsQ/Utw9cVa9+e6N5M2Wk+QGzxTj4eizQrBXhUfSw3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644192112; a=rsa-sha256; cv=none; b=m+NICkR6UjaKkYrjoNN4rACka5n0zGj/K43VomJ2PqVWo2JU2yQEqe8kfnrDOm3r95xgTC aNmpSSipUrYMLyfuTKdfEQoxJ7brkBLFDoktGA84vOE6vk/RZ6fv7GsFI6u2vPS8CYC5/a 6Tann1VkOaD+4mifr9aOsdoqwfKtTR9XonxG2rU1SKrK5jWifk1KabuTFtch1miX7zxS/+ 1PiZNFuY6e0/SWyQrhSkS8JxdIa7Dlben5KvJcHEv644SEyPwyj5Oj502KAtR//i7apJkY l6EAL4G/Xxff9dVcFnYE6Z0rzFkuC8iHkamB3ygmQSzOEfMGQSgBXFFrospK1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Some People |Affects Many People Summary|devel/llvm{13-devel}: Fails |devel/llvm{13,devel}: Fails |to link on riscv64: ld: |to link on riscv64: ld: |error: undefined symbol: |error: undefined symbol: |lldb_private::process_freeb |lldb_private::process_freeb |sd::NativeRegisterContextFr |sd::NativeRegisterContextFr |eeBSD |eeBSD --- Comment #4 from Kubilay Kocak --- Ports/Packages llvm13 is failing to link on riscv64, can this change be backported to all relevent/affected llvm* versions. [02:03:56] ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD::CreateHostNati= veRegisterContextFreeBSD(lldb_private::ArchSpec const&, lldb_private::NativeThreadProtocol&) [02:03:56] >>> referenced by NativeThreadFreeBSD.cpp [02:03:56] >>>=20=20=20=20=20=20=20=20=20=20=20=20=20=20 NativeThreadFreeBSD.cpp.o:(lldb_private::process_freebsd::NativeThreadFreeB= SD::NativeThreadFreeBSD(lldb_private::process_freebsd::NativeProcessFreeBSD= &, unsigned long)) in archive lib/liblldbPluginProcessFreeBSD.a [02:03:56] c++: error: linker command failed with exit code 1 (use -v to see invocation) ^Triage: This is an unconditional build (link) failure affecting all users = of an architecture, Affects Some -> Many --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Feb 7 17:38:44 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 99E4A19B061C for ; Mon, 7 Feb 2022 17:39:19 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JstgB2xNMz3vTv; Mon, 7 Feb 2022 17:39:18 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-e841235c.06-431-73746f70.bbcust.telenor.se ([92.35.65.232] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1nH7yo-00052b-Hk; Mon, 07 Feb 2022 18:39:10 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: References:To:From:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HWGuytMaW1/pE9PnNOtubL6pLXffpo1ujug65anIW10=; b=STAICqHC9gAM6OVWSYEZny3KpX egBwOy6E2/PlCm4N9JyzwOshTBh/kUTW1cvNW64k7OXNEULplmOr0CROS1tRq+hMYUdNfoiUg2j3L S+gkNvW/73yr2XS7v2m4IPa4TtKVLLb5RL6dIhLVZGp9o1+6EToW0VXzOsJZ0VksGXWZBRThQGJey tkHJADU57mMrjLyczFRS/GBzjalHXNXWvG1yusJvxJlLOXX6n/YBa5fRzJcZUOYo5LH489Y5W2/SX HQCY2ZhL/TkFR/Hyfugw49Z3lHiEPj37NSNeJsGByHzYW3p0bI/jeUR0ZEyCpUk+kdbrD8afRa+Ee 2wYFF7GA==; Received: from office.as33885.net ([84.55.65.101] helo=[192.168.3.94]) by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1nH7yO-0000W9-Ti; Mon, 07 Feb 2022 18:38:44 +0100 Message-ID: <39674ce9-bbc4-a817-57ab-922d9c522fac@alvermark.net> Date: Mon, 7 Feb 2022 18:38:44 +0100 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: Sipeed Lichee RV (Allwinner D1) Content-Language: en-US From: Jakob Alvermark To: Mitchell Horne , freebsd-riscv@FreeBSD.org References: <5a74bd6d-4000-c413-02e2-33608f9ae683@freebsd.org> <18b735fb-fd36-daad-9ee7-974ff1955400@alvermark.net> In-Reply-To: <18b735fb-fd36-daad-9ee7-974ff1955400@alvermark.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4JstgB2xNMz3vTv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alvermark.net header.s=x header.b=STAICqHC; dmarc=none; spf=pass (mx1.freebsd.org: domain of jakob@alvermark.net designates 185.34.136.138 as permitted sender) smtp.mailfrom=jakob@alvermark.net X-Spamd-Result: default: False [-3.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[alvermark.net:s=x]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.34.136.138]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[alvermark.net: no valid DMARC record]; NEURAL_HAM_LONG(-1.00)[-1.000]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.38.37.160:email,0.91.184.120:email,0.61.87.32:email,0.61.91.8:email]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[alvermark.net:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.979]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34971, ipnet:185.34.136.0/23, country:IT]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 1/29/22 16:12, Jakob Alvermark wrote: > > On 1/28/22 16:29, Mitchell Horne wrote: >> On 1/19/22 18:05, Jakob Alvermark wrote: >>> >>> On 1/19/22 17:24, Mitchell Horne wrote: >>>> >>>> >>>> On 1/17/22 15:02, Jakob Alvermark wrote: >>>>> Hi, >>>>> >>>>> >>>>> With RISC-V SBCs now coming down in price, I got curios and got >>>>> myself a Lichee RV (with the dock). >>>>> >>>>> https://linux-sunxi.org/Sipeed_Lichee_RV >>>>> >>>>> The instructions here, https://linux-sunxi.org/Allwinner_Nezha >>>>> along with some patching got me a working U-boot. >>>>> >>>>> Cross-building and putting together and image for and SD card got >>>>> me this far: >>>>> >>> >>>>> Loading kernel... >>>>> /boot/kernel/kernel text=0x609ddc text=0x133abc data=0xf4420 >>>>> data=0xb54+0x1d73e4 syms=[0x8+0xcd188+0x8+0xee5ae] >>>>> Loading configured modules... >>>>> can't find '/etc/hostid' >>>>> can't find '/boot/entropy' >>>>> Using DTB provided by EFI at 0x47ef5000. >>>>> Kernel entry at 0x56a0002e... >>>>> Kernel args: (null) >>>>> >>>>> ----- >>>>> >>>>> And here it stops for  ~16 seconds then restarts, that's the >>>>> watchdog resetting it. >>>>> >>>>> So where do I go from here? >>>>> >>>> Hi Jakob, >>>> >>>> Looks like it bails somewhere in the initial kernel setup, before >>>> the first output to the console. This is a wide range, so it's >>>> difficult to say exactly where things are going wrong. >>>> >>>> I will say that generally FreeBSD is not expected to work on the >>>> D1; as far as I know you are the first to try it. This hardware has >>>> some quirks requiring special support, which we are entirely >>>> lacking. Specifically, there is one related to virtual memory >>>> management, which requires custom (spec-breaking) bits in the page >>>> tables to be set, to properly specify the attributes of physical >>>> and device memory. This _may_ have something to do with why it is >>>> failing where it is. It would take a motivated party to add the >>>> support required for this SoC, and I'm not aware of anyone >>>> currently taking this on. This board has caused some headaches in >>>> Linux-land for the same reasons, but there are more hands to do the >>>> work there. I just want to set the expectations properly :) >>>> >>>> If you wanted to debug this further, you might rebuild the kernel >>>> after adding 'options EARLY_PRINTF' to the config file, as this >>>> should enable a couple early outputs and narrow down the search >>>> slightly. >>> >>> >>> Hi Mitchell, >>> >>> >>> I did not expect it to work. But it would be nice if it did. >>> >>> I have a long experience with FreeBSD and I have played around with >>> a couple of different ARM-boards, but I'm not very experienced with >>> kernel hacking. >>> >>> I built a kernel with EARLY_PRINTF, but it did not give me any more >>> output... >>> >>> Is there anything else I could try? >>> >> >> Yes, I missed an important detail: the required uart driver is >> missing from the kernel. Please add 'device uart_snps' to the kernel >> config as well, and see if this results in any output. > > > Hi, I tried that, but sadly it did not make any difference. > > I looked at what they have done in Linux, and this commit seems to > have some interesting bits: > > https://github.com/smaeul/linux/commit/c1bc61cee73e236c3cd69fe6c998b7f80c654263#diff-4f4bb4eea826b523d76ddb1c539dad5685a0e7fd7cc8f1089a0493efd0e8e5b8 > Hi again, I noticed they have updated the U-Boot code to specifically support this board. With nothing to loose, I decided to try it. Now I get a little more: [35]HELLO! BOOT0 is starting! [38]BOOT0 commit : 525883d-dirty [41]set pll start [43]periph0 has been enabled [46]set pll end [47]board init ok [49]DRAM only have internal ZQ!! [52]get_pmu_exist() = -1 [55]ddr_efuse_type: 0x0 [58][AUTO DEBUG] single rank and full DQ! [62]ddr_efuse_type: 0x0 [65][AUTO DEBUG] rank 0 row = 15 [68][AUTO DEBUG] rank 0 bank = 8 [71][AUTO DEBUG] rank 0 page size = 2 KB [75]DRAM BOOT DRIVE INFO: V0.24 [77]DRAM CLK = 792 MHz [80]DRAM Type = 3 (2:DDR2,3:DDR3) [83]DRAMC ZQ value: 0x7b7bfb [85]DRAM ODT value: 0x42. [88]ddr_efuse_type: 0x0 [91]DRAM SIZE =512 M [94]DRAM simple test OK. [96]dram size =512 [98]card no is 0 [100]sdcard 0 line count 4 [102][mmc]: mmc driver ver 2021-04-2 16:45 [112][mmc]: Wrong media type 0x0 [115][mmc]: ***Try SD card 0*** [132][mmc]: HSSDR52/SDR25 4 bit [135][mmc]: 50000000 Hz [137][mmc]: 15193 MB [139][mmc]: ***SD/MMC 0 init OK!!!*** [176]Loading boot-pkg Succeed(index=1). [180]Entry_name        = opensbi [183]Entry_name        = dtb [185]Entry_name        = u-boot [189]Adding DRAM info to DTB. [193]Jump to second Boot. OpenSBI v1.0    ____                    _____ ____ _____   / __ \                  / ____|  _ \_   _|  | |  | |_ __   ___ _ __ | (___ | |_) || |  | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |  | |__| | |_) |  __/ | | |____) | |_) || |_   \____/| .__/ \___|_| |_|_____/|____/_____|         | |         |_| Platform Name             : Sipeed Lichee RV Dock Platform Features         : medeleg Platform HART Count       : 1 Platform IPI Device       : aclint-mswi Platform Timer Device     : aclint-mtimer @ 24000000Hz Platform Console Device   : uart8250 Platform HSM Device       : --- Platform Reboot Device    : sunxi-wdt-reset Platform Shutdown Device  : --- Firmware Base             : 0x40000000 Firmware Size             : 264 KB Runtime SBI Version       : 0.3 Domain0 Name              : root Domain0 Boot HART         : 0 Domain0 HARTs             : 0* Domain0 Region00          : 0x0000000014008000-0x000000001400bfff (I) Domain0 Region01          : 0x0000000014000000-0x0000000014007fff (I) Domain0 Region02          : 0x0000000040000000-0x000000004007ffff () Domain0 Region03          : 0x0000000000000000-0xffffffffffffffff (R,W,X) Domain0 Next Address      : 0x000000004a000000 Domain0 Next Arg1         : 0x0000000044000000 Domain0 Next Mode         : S-mode Domain0 SysReset          : yes Boot HART ID              : 0 Boot HART Domain          : root Boot HART ISA             : rv64imafdcvsux Boot HART Features        : scounteren,mcounteren,mcountinhibit,time Boot HART PMP Count       : 16 Boot HART PMP Granularity : 2048 Boot HART PMP Address Bits: 38 Boot HART MHPM Count      : 0 Boot HART MIDELEG         : 0x0000000000000222 Boot HART MEDELEG         : 0x000000000000b109 U-Boot 2022.01-32931-gc249924b17-dirty (Feb 06 2022 - 17:29:00 +0100) DRAM:  512 MiB Core:  43 devices, 18 uclasses, devicetree: board WDT:   Started watchdog@6011000 with servicing (16s timeout) MMC:   mmc@4020000: 0, mmc@4021000: 1 Loading Environment from nowhere... OK In:    serial@2500000 Out:   serial@2500000 Err:   serial@2500000 Net:   No ethernet found. Hit any key to stop autoboot:  0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... ** Unable to read file / ** Failed to load '/' libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disk mmc@4020000.blk... Scanning disk mmc@4021000.blk... Disk mmc@4021000.blk not ready Found 3 disks ** Unable to read file ubootefi.var ** Failed to load EFI variables BootOrder not defined EFI boot manager: Cannot load any image Found EFI removable media binary efi/boot/bootriscv64.efi 1409436 bytes read in 248 ms (5.4 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC Booting /efi\boot\bootriscv64.efi Consoles: EFI console     Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p1: FreeBSD/riscv EFI loader, Revision 1.1 (Fri Jan 14 13:21:23 CET 2022 root@legion)    Command line arguments: l    Image base: 0x5e9d8000    EFI version: 2.90    EFI Firmware: Das U-Boot (rev 8226.256)    Console: comconsole (0)    Load Path: /efi\boot\bootriscv64.efi    Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,1ab17495-7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,1ab17495-7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) Setting currdev to disk0p1: Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,GPT,2973d4b3-7795-11ec-9e49-f875a47d4ead,0x1a610,0x200000) Setting currdev to disk0p2: Loading /boot/defaults/loader.conf Loading /boot/defaults/loader.conf Loading /boot/device.hints Loading /boot/loader.conf Loading /boot/loader.conf.local /    ______               ____   _____ _____   |  ____|             |  _ \ / ____|  __ \   | |___ _ __ ___  ___ | |_) | (___ | |  | |   |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |   | |   | | |  __/  __/| |_) |____) | |__| |   | |   | | |    |    ||     |      |      |   |_|   |_|  \___|\___||____/|_____/|_____/ ```                        `                                                 s` `.....---.......--.```   -/  +---------- Welcome to FreeBSD -----------+    +o   .--` /y:`      +.  |                                         |     yo`:. :o      `+-  |  1. Boot Multi user [Enter]             |      y/ -/`   -o/  |  2. Boot Single user                    | .-                  ::/sy+:.  |  3. Escape to loader prompt             | /                     `--  /  |  4. Reboot                              | `:                          :`  |  5. Cons: Video                         | `:                          :`  |                                         | /                          /  |  Options:                               | .-                        -.  |  6. Kernel: default/kernel (1 of 1)     | --                      -.  |  7. Boot Options                        | `:`                  `:`  |                                         | .--             `--.  |                                         | .---.....----.  +-----------------------------------------+    Autoboot in 0 seconds. [Space] to pause Loading kernel... /boot/kernel/kernel text=0x5ef0ec text=0x1704dc data=0xf7900 data=0xbcc+0x2741cc syms=[0x8+0xd0290+0x8+0xf1d3e] Loading configured modules... can't find '/boot/entropy' can't find '/etc/hostid' Using DTB provided by EFI at 0x47ef6000. Kernel entry at 0x56a0002e... Kernel args: (null) ERROR loading DTB panic: Boot hart ID was not properly set cpuid = 0 time = 1 KDB: stack backtrace: Uptime: 1s From nobody Mon Feb 7 17:44:06 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BC52019B4606 for ; Mon, 7 Feb 2022 17:44:14 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jstms725pz4RWg for ; Mon, 7 Feb 2022 17:44:13 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: by mail-wm1-f52.google.com with SMTP id j5-20020a05600c1c0500b0034d2e956aadso9131677wms.4 for ; Mon, 07 Feb 2022 09:44:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=P+kRdC0dnYFcJpOOTZEVKI1qsMFZCu/gQLPHnhNzEZE=; b=MsUp8qeKOFKbx3kb29eaPk8fuiREBk2K6bNENPGCpFfbkkIOd6H91vYSbIBsnpfj5n V7IJJTDI4rbXxNEJ+Skq0J7GfUnZAJNVPFYqW4jE6o3IRCjRuYUkl4oHmh3AAnSQdx8O URiPNQoMQ5nbzCFQTb5TS4cTFXHxdyiSfvbRQ/PTkatkOVhkWbUp9s4tz2plUkB3pRGh VEHI4JJe5+7XI0WVxav6T8KPDdOVztDsL4Wl9g0A0t6Nvz72+JLR3D3lVbr4H7U/lE2j INV9IsUpXSlg+kzCtlyraldf0SW61LkyhqyX8kiaMb6xG8gBqWWJ3AkoV893U2SwjBuf agUw== X-Gm-Message-State: AOAM531uyUkoHW6f4DiacsckL/K6ev+q2Qa3kK/7sFZjEd+M/u8Hl9eC +snkluh3nm9gPMikeyAv5uh07w== X-Google-Smtp-Source: ABdhPJwi+c7VVTfvsoATbYk15YO1Ugy7uzMHpfivqy6yw/MtsAihwU6REay+7OuXxO5olDgr6x5DTA== X-Received: by 2002:a7b:ce08:: with SMTP id m8mr40453wmc.70.1644255847140; Mon, 07 Feb 2022 09:44:07 -0800 (PST) Received: from smtpclient.apple (global-5-143.nat-2.net.cam.ac.uk. [131.111.5.143]) by smtp.gmail.com with ESMTPSA id o22sm3193wmh.13.2022.02.07.09.44.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Feb 2022 09:44:06 -0800 (PST) Content-Type: text/plain; charset=utf-8 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: Re: Sipeed Lichee RV (Allwinner D1) From: Jessica Clarke In-Reply-To: <39674ce9-bbc4-a817-57ab-922d9c522fac@alvermark.net> Date: Mon, 7 Feb 2022 17:44:06 +0000 Cc: Mitchell Horne , "freebsd-riscv@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <4975A04C-FF52-4FE4-91C3-E445C75EF62A@freebsd.org> References: <5a74bd6d-4000-c413-02e2-33608f9ae683@freebsd.org> <18b735fb-fd36-daad-9ee7-974ff1955400@alvermark.net> <39674ce9-bbc4-a817-57ab-922d9c522fac@alvermark.net> To: Jakob Alvermark X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Rspamd-Queue-Id: 4Jstms725pz4RWg X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jrtc27@jrtc27.com designates 209.85.128.52 as permitted sender) smtp.mailfrom=jrtc27@jrtc27.com X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[jrtc27]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.61.87.32:email,0.38.37.160:email,0.91.184.120:email,0.61.91.8:email]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.128.52:from]; MLMMJ_DEST(0.00)[freebsd-riscv]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.128.52:from]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 7 Feb 2022, at 17:38, Jakob Alvermark wrote: >=20 > On 1/29/22 16:12, Jakob Alvermark wrote: >>=20 >> On 1/28/22 16:29, Mitchell Horne wrote: >>> On 1/19/22 18:05, Jakob Alvermark wrote: >>>>=20 >>>> On 1/19/22 17:24, Mitchell Horne wrote: >>>>>=20 >>>>>=20 >>>>> On 1/17/22 15:02, Jakob Alvermark wrote: >>>>>> Hi, >>>>>>=20 >>>>>>=20 >>>>>> With RISC-V SBCs now coming down in price, I got curios and got = myself a Lichee RV (with the dock). >>>>>>=20 >>>>>> https://linux-sunxi.org/Sipeed_Lichee_RV >>>>>>=20 >>>>>> The instructions here, https://linux-sunxi.org/Allwinner_Nezha = along with some patching got me a working U-boot. >>>>>>=20 >>>>>> Cross-building and putting together and image for and SD card got = me this far: >>>>>>=20 >>>> >>>>>> Loading kernel... >>>>>> /boot/kernel/kernel text=3D0x609ddc text=3D0x133abc data=3D0xf4420 = data=3D0xb54+0x1d73e4 syms=3D[0x8+0xcd188+0x8+0xee5ae] >>>>>> Loading configured modules... >>>>>> can't find '/etc/hostid' >>>>>> can't find '/boot/entropy' >>>>>> Using DTB provided by EFI at 0x47ef5000. >>>>>> Kernel entry at 0x56a0002e... >>>>>> Kernel args: (null) >>>>>>=20 >>>>>> ----- >>>>>>=20 >>>>>> And here it stops for ~16 seconds then restarts, that's the = watchdog resetting it. >>>>>>=20 >>>>>> So where do I go from here? >>>>>>=20 >>>>> Hi Jakob, >>>>>=20 >>>>> Looks like it bails somewhere in the initial kernel setup, before = the first output to the console. This is a wide range, so it's difficult = to say exactly where things are going wrong. >>>>>=20 >>>>> I will say that generally FreeBSD is not expected to work on the = D1; as far as I know you are the first to try it. This hardware has some = quirks requiring special support, which we are entirely lacking. = Specifically, there is one related to virtual memory management, which = requires custom (spec-breaking) bits in the page tables to be set, to = properly specify the attributes of physical and device memory. This = _may_ have something to do with why it is failing where it is. It would = take a motivated party to add the support required for this SoC, and I'm = not aware of anyone currently taking this on. This board has caused some = headaches in Linux-land for the same reasons, but there are more hands = to do the work there. I just want to set the expectations properly :) >>>>>=20 >>>>> If you wanted to debug this further, you might rebuild the kernel = after adding 'options EARLY_PRINTF' to the config file, as this should = enable a couple early outputs and narrow down the search slightly. >>>>=20 >>>>=20 >>>> Hi Mitchell, >>>>=20 >>>>=20 >>>> I did not expect it to work. But it would be nice if it did. >>>>=20 >>>> I have a long experience with FreeBSD and I have played around with = a couple of different ARM-boards, but I'm not very experienced with = kernel hacking. >>>>=20 >>>> I built a kernel with EARLY_PRINTF, but it did not give me any more = output... >>>>=20 >>>> Is there anything else I could try? >>>>=20 >>>=20 >>> Yes, I missed an important detail: the required uart driver is = missing from the kernel. Please add 'device uart_snps' to the kernel = config as well, and see if this results in any output. >>=20 >>=20 >> Hi, I tried that, but sadly it did not make any difference. >>=20 >> I looked at what they have done in Linux, and this commit seems to = have some interesting bits: >>=20 >> = https://github.com/smaeul/linux/commit/c1bc61cee73e236c3cd69fe6c998b7f80c6= 54263#diff-4f4bb4eea826b523d76ddb1c539dad5685a0e7fd7cc8f1089a0493efd0e8e5b= 8=20 >=20 >=20 > Hi again, >=20 >=20 > I noticed they have updated the U-Boot code to specifically support = this board. >=20 > With nothing to loose, I decided to try it. >=20 > Now I get a little more: >=20 > [35]HELLO! BOOT0 is starting! > [38]BOOT0 commit : 525883d-dirty > [41]set pll start > [43]periph0 has been enabled > [46]set pll end > [47]board init ok > [49]DRAM only have internal ZQ!! > [52]get_pmu_exist() =3D -1 > [55]ddr_efuse_type: 0x0 > [58][AUTO DEBUG] single rank and full DQ! > [62]ddr_efuse_type: 0x0 > [65][AUTO DEBUG] rank 0 row =3D 15 > [68][AUTO DEBUG] rank 0 bank =3D 8 > [71][AUTO DEBUG] rank 0 page size =3D 2 KB > [75]DRAM BOOT DRIVE INFO: V0.24 > [77]DRAM CLK =3D 792 MHz > [80]DRAM Type =3D 3 (2:DDR2,3:DDR3) > [83]DRAMC ZQ value: 0x7b7bfb > [85]DRAM ODT value: 0x42. > [88]ddr_efuse_type: 0x0 > [91]DRAM SIZE =3D512 M > [94]DRAM simple test OK. > [96]dram size =3D512 > [98]card no is 0 > [100]sdcard 0 line count 4 > [102][mmc]: mmc driver ver 2021-04-2 16:45 > [112][mmc]: Wrong media type 0x0 > [115][mmc]: ***Try SD card 0*** > [132][mmc]: HSSDR52/SDR25 4 bit > [135][mmc]: 50000000 Hz > [137][mmc]: 15193 MB > [139][mmc]: ***SD/MMC 0 init OK!!!*** > [176]Loading boot-pkg Succeed(index=3D1). > [180]Entry_name =3D opensbi > [183]Entry_name =3D dtb > [185]Entry_name =3D u-boot > [189]Adding DRAM info to DTB. > [193]Jump to second Boot. >=20 > OpenSBI v1.0 > ____ _____ ____ _____ > / __ \ / ____| _ \_ _| > | | | |_ __ ___ _ __ | (___ | |_) || | > | | | | '_ \ / _ \ '_ \ \___ \| _ < | | > | |__| | |_) | __/ | | |____) | |_) || |_ > \____/| .__/ \___|_| |_|_____/|____/_____| > | | > |_| >=20 > Platform Name : Sipeed Lichee RV Dock > Platform Features : medeleg > Platform HART Count : 1 > Platform IPI Device : aclint-mswi > Platform Timer Device : aclint-mtimer @ 24000000Hz > Platform Console Device : uart8250 > Platform HSM Device : --- > Platform Reboot Device : sunxi-wdt-reset > Platform Shutdown Device : --- > Firmware Base : 0x40000000 > Firmware Size : 264 KB > Runtime SBI Version : 0.3 >=20 > Domain0 Name : root > Domain0 Boot HART : 0 > Domain0 HARTs : 0* > Domain0 Region00 : 0x0000000014008000-0x000000001400bfff (I) > Domain0 Region01 : 0x0000000014000000-0x0000000014007fff (I) > Domain0 Region02 : 0x0000000040000000-0x000000004007ffff () > Domain0 Region03 : 0x0000000000000000-0xffffffffffffffff = (R,W,X) > Domain0 Next Address : 0x000000004a000000 > Domain0 Next Arg1 : 0x0000000044000000 > Domain0 Next Mode : S-mode > Domain0 SysReset : yes >=20 > Boot HART ID : 0 > Boot HART Domain : root > Boot HART ISA : rv64imafdcvsux > Boot HART Features : scounteren,mcounteren,mcountinhibit,time > Boot HART PMP Count : 16 > Boot HART PMP Granularity : 2048 > Boot HART PMP Address Bits: 38 > Boot HART MHPM Count : 0 > Boot HART MIDELEG : 0x0000000000000222 > Boot HART MEDELEG : 0x000000000000b109 >=20 >=20 > U-Boot 2022.01-32931-gc249924b17-dirty (Feb 06 2022 - 17:29:00 +0100) >=20 > DRAM: 512 MiB > Core: 43 devices, 18 uclasses, devicetree: board > WDT: Started watchdog@6011000 with servicing (16s timeout) > MMC: mmc@4020000: 0, mmc@4021000: 1 > Loading Environment from nowhere... OK > In: serial@2500000 > Out: serial@2500000 > Err: serial@2500000 > Net: No ethernet found. > Hit any key to stop autoboot: 0 > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > ** Unable to read file / ** > Failed to load '/' > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > Scanning disk mmc@4020000.blk... > Scanning disk mmc@4021000.blk... > Disk mmc@4021000.blk not ready > Found 3 disks > ** Unable to read file ubootefi.var ** > Failed to load EFI variables > BootOrder not defined > EFI boot manager: Cannot load any image > Found EFI removable media binary efi/boot/bootriscv64.efi > 1409436 bytes read in 248 ms (5.4 MiB/s) > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > Booting /efi\boot\bootriscv64.efi >=20 > Consoles: EFI console > Reading loader env vars from /efi/freebsd/loader.env > Setting currdev to disk0p1: > FreeBSD/riscv EFI loader, Revision 1.1 > (Fri Jan 14 13:21:23 CET 2022 root@legion) >=20 > Command line arguments: l > Image base: 0x5e9d8000 > EFI version: 2.90 > EFI Firmware: Das U-Boot (rev 8226.256) > Console: comconsole (0) > Load Path: /efi\boot\bootriscv64.efi > Load Device: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,1ab17495= -7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) > Trying ESP: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,1ab17495= -7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) > Setting currdev to disk0p1: > Trying: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,GPT,2973d4b3= -7795-11ec-9e49-f875a47d4ead,0x1a610,0x200000) > Setting currdev to disk0p2: > Loading /boot/defaults/loader.conf > Loading /boot/defaults/loader.conf > Loading /boot/device.hints > Loading /boot/loader.conf > Loading /boot/loader.conf.local > / > ______ ____ _____ _____ > | ____| | _ \ / ____| __ \ > | |___ _ __ ___ ___ | |_) | (___ | | | | > | ___| '__/ _ \/ _ \| _ < \___ \| | | | > | | | | | __/ __/| |_) |____) | |__| | > | | | | | | || | | | > |_| |_| \___|\___||____/|_____/|_____/ ``` = ` > s` = `.....---.......--.``` -/ > +---------- Welcome to FreeBSD -----------+ +o .--` /y:` +. > | | yo`:. :o `+- > | 1. Boot Multi user [Enter] | y/ -/` -o/ > | 2. Boot Single user | .- = ::/sy+:. > | 3. Escape to loader prompt | / `-- = / > | 4. Reboot | `: = :` > | 5. Cons: Video | `: = :` > | | / = / > | Options: | .- = -. > | 6. Kernel: default/kernel (1 of 1) | -- = -. > | 7. Boot Options | `:` `:` > | | .-- `--. > | | .---.....----. > +-----------------------------------------+ > Autoboot in 0 seconds. [Space] to pause >=20 > Loading kernel... > /boot/kernel/kernel text=3D0x5ef0ec text=3D0x1704dc data=3D0xf7900 = data=3D0xbcc+0x2741cc syms=3D[0x8+0xd0290+0x8+0xf1d3e] > Loading configured modules... > can't find '/boot/entropy' > can't find '/etc/hostid' > Using DTB provided by EFI at 0x47ef6000. > Kernel entry at 0x56a0002e... > Kernel args: (null) > ERROR loading DTB > panic: Boot hart ID was not properly set > cpuid =3D 0 > time =3D 1 > KDB: stack backtrace: > Uptime: 1s Like it says, your device tree is broken. U-Boot is supposed to copy the previous stage=E2=80=99s /chosen/boot-hartid to any device tree it = loads, but something=E2=80=99s gone wrong there. Not much FreeBSD can do about = that. Jess From nobody Mon Feb 7 20:52:21 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CF3EE19C1043 for ; Mon, 7 Feb 2022 20:52:50 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JsyyT3k79z4kPN for ; Mon, 7 Feb 2022 20:52:49 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-e841235c.06-431-73746f70.bbcust.telenor.se ([92.35.65.232] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1nHB0B-0005AM-97 for freebsd-riscv@FreeBSD.org; Mon, 07 Feb 2022 21:52:47 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:To :Reply-To:References:Subject:From:MIME-Version:Date:Message-ID:Sender:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ONSrBHpVLdgKfrEjg23iUTjvvw1lOipThEyRuhqesZA=; b=Te+S8EgzYviTVjdmsHKgo5Rtwj qcJXLadwrLPe1IL4ft0txOZ63qIKS27FFuyKcauW0dRXfmYy8JYTyFptVE0qvbVhjReXUaT92EroN M1YLO08IaJG8VL4tHyRBe6dffAQookpohkErTC2HEkGmmfE6ckC2/A5D61nSB+8js+PRfYp494vWA WdVnCptU0azTDkTnqW+UwB3J22AwIJHQn/dPV3yMGb5su5CnWn6ZP+mRbLdeKiissnF1DsqbvcTWM wnfVNWlO4qyp6NhPIaRvQvQNUBG1aC2QMXHAHWpAAcOlfms1mxN//3AcjSN22PLPEMKfIGlkwNDe7 kqcn2Rgg==; Received: from office.as33885.net ([84.55.65.101] helo=[192.168.3.94]) by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1nHAzl-0001yP-Jj for freebsd-riscv@FreeBSD.org; Mon, 07 Feb 2022 21:52:21 +0100 Message-ID: <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> Date: Mon, 7 Feb 2022 21:52:21 +0100 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 From: Jakob Alvermark Subject: Re: Sipeed Lichee RV (Allwinner D1) References: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> Content-Language: en-US Reply-To: Jakob Alvermark To: freebsd-riscv@FreeBSD.org In-Reply-To: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4JsyyT3k79z4kPN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alvermark.net header.s=x header.b=Te+S8Egz; dmarc=none; spf=pass (mx1.freebsd.org: domain of jakob@alvermark.net designates 185.34.136.138 as permitted sender) smtp.mailfrom=jakob@alvermark.net X-Spamd-Result: default: False [-3.49 / 15.00]; HAS_REPLYTO(0.00)[jakob@alvermark.net]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[alvermark.net:s=x]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.61.91.8:email,0.91.184.120:email,0.61.87.32:email,0.38.37.160:email]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.34.136.138]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[alvermark.net: no valid DMARC record]; DKIM_TRACE(0.00)[alvermark.net:+]; NEURAL_HAM_SHORT(-0.99)[-0.992]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34971, ipnet:185.34.136.0/23, country:IT]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2/7/22 18:44, Jessica Clarke wrote: > On 7 Feb 2022, at 17:38, Jakob Alvermark wrote: >> On 1/29/22 16:12, Jakob Alvermark wrote: >>> On 1/28/22 16:29, Mitchell Horne wrote: >>>> On 1/19/22 18:05, Jakob Alvermark wrote: >>>>> On 1/19/22 17:24, Mitchell Horne wrote: >>>>>> >>>>>> On 1/17/22 15:02, Jakob Alvermark wrote: >>>>>>> Hi, >>>>>>> >>>>>>> >>>>>>> With RISC-V SBCs now coming down in price, I got curios and got myself a Lichee RV (with the dock). >>>>>>> >>>>>>> https://linux-sunxi.org/Sipeed_Lichee_RV >>>>>>> >>>>>>> The instructions here, https://linux-sunxi.org/Allwinner_Nezha along with some patching got me a working U-boot. >>>>>>> >>>>>>> Cross-building and putting together and image for and SD card got me this far: >>>>>>> >>>>> >>>>>>> Loading kernel... >>>>>>> /boot/kernel/kernel text=0x609ddc text=0x133abc data=0xf4420 data=0xb54+0x1d73e4 syms=[0x8+0xcd188+0x8+0xee5ae] >>>>>>> Loading configured modules... >>>>>>> can't find '/etc/hostid' >>>>>>> can't find '/boot/entropy' >>>>>>> Using DTB provided by EFI at 0x47ef5000. >>>>>>> Kernel entry at 0x56a0002e... >>>>>>> Kernel args: (null) >>>>>>> >>>>>>> ----- >>>>>>> >>>>>>> And here it stops for ~16 seconds then restarts, that's the watchdog resetting it. >>>>>>> >>>>>>> So where do I go from here? >>>>>>> >>>>>> Hi Jakob, >>>>>> >>>>>> Looks like it bails somewhere in the initial kernel setup, before the first output to the console. This is a wide range, so it's difficult to say exactly where things are going wrong. >>>>>> >>>>>> I will say that generally FreeBSD is not expected to work on the D1; as far as I know you are the first to try it. This hardware has some quirks requiring special support, which we are entirely lacking. Specifically, there is one related to virtual memory management, which requires custom (spec-breaking) bits in the page tables to be set, to properly specify the attributes of physical and device memory. This _may_ have something to do with why it is failing where it is. It would take a motivated party to add the support required for this SoC, and I'm not aware of anyone currently taking this on. This board has caused some headaches in Linux-land for the same reasons, but there are more hands to do the work there. I just want to set the expectations properly :) >>>>>> >>>>>> If you wanted to debug this further, you might rebuild the kernel after adding 'options EARLY_PRINTF' to the config file, as this should enable a couple early outputs and narrow down the search slightly. >>>>> >>>>> Hi Mitchell, >>>>> >>>>> >>>>> I did not expect it to work. But it would be nice if it did. >>>>> >>>>> I have a long experience with FreeBSD and I have played around with a couple of different ARM-boards, but I'm not very experienced with kernel hacking. >>>>> >>>>> I built a kernel with EARLY_PRINTF, but it did not give me any more output... >>>>> >>>>> Is there anything else I could try? >>>>> >>>> Yes, I missed an important detail: the required uart driver is missing from the kernel. Please add 'device uart_snps' to the kernel config as well, and see if this results in any output. >>> >>> Hi, I tried that, but sadly it did not make any difference. >>> >>> I looked at what they have done in Linux, and this commit seems to have some interesting bits: >>> >>> https://github.com/smaeul/linux/commit/c1bc61cee73e236c3cd69fe6c998b7f80c654263#diff-4f4bb4eea826b523d76ddb1c539dad5685a0e7fd7cc8f1089a0493efd0e8e5b8 >> >> Hi again, >> >> >> I noticed they have updated the U-Boot code to specifically support this board. >> >> With nothing to loose, I decided to try it. >> >> Now I get a little more: >> >> [35]HELLO! BOOT0 is starting! >> [38]BOOT0 commit : 525883d-dirty >> [41]set pll start >> [43]periph0 has been enabled >> [46]set pll end >> [47]board init ok >> [49]DRAM only have internal ZQ!! >> [52]get_pmu_exist() = -1 >> [55]ddr_efuse_type: 0x0 >> [58][AUTO DEBUG] single rank and full DQ! >> [62]ddr_efuse_type: 0x0 >> [65][AUTO DEBUG] rank 0 row = 15 >> [68][AUTO DEBUG] rank 0 bank = 8 >> [71][AUTO DEBUG] rank 0 page size = 2 KB >> [75]DRAM BOOT DRIVE INFO: V0.24 >> [77]DRAM CLK = 792 MHz >> [80]DRAM Type = 3 (2:DDR2,3:DDR3) >> [83]DRAMC ZQ value: 0x7b7bfb >> [85]DRAM ODT value: 0x42. >> [88]ddr_efuse_type: 0x0 >> [91]DRAM SIZE =512 M >> [94]DRAM simple test OK. >> [96]dram size =512 >> [98]card no is 0 >> [100]sdcard 0 line count 4 >> [102][mmc]: mmc driver ver 2021-04-2 16:45 >> [112][mmc]: Wrong media type 0x0 >> [115][mmc]: ***Try SD card 0*** >> [132][mmc]: HSSDR52/SDR25 4 bit >> [135][mmc]: 50000000 Hz >> [137][mmc]: 15193 MB >> [139][mmc]: ***SD/MMC 0 init OK!!!*** >> [176]Loading boot-pkg Succeed(index=1). >> [180]Entry_name = opensbi >> [183]Entry_name = dtb >> [185]Entry_name = u-boot >> [189]Adding DRAM info to DTB. >> [193]Jump to second Boot. >> >> OpenSBI v1.0 >> ____ _____ ____ _____ >> / __ \ / ____| _ \_ _| >> | | | |_ __ ___ _ __ | (___ | |_) || | >> | | | | '_ \ / _ \ '_ \ \___ \| _ < | | >> | |__| | |_) | __/ | | |____) | |_) || |_ >> \____/| .__/ \___|_| |_|_____/|____/_____| >> | | >> |_| >> >> Platform Name : Sipeed Lichee RV Dock >> Platform Features : medeleg >> Platform HART Count : 1 >> Platform IPI Device : aclint-mswi >> Platform Timer Device : aclint-mtimer @ 24000000Hz >> Platform Console Device : uart8250 >> Platform HSM Device : --- >> Platform Reboot Device : sunxi-wdt-reset >> Platform Shutdown Device : --- >> Firmware Base : 0x40000000 >> Firmware Size : 264 KB >> Runtime SBI Version : 0.3 >> >> Domain0 Name : root >> Domain0 Boot HART : 0 >> Domain0 HARTs : 0* >> Domain0 Region00 : 0x0000000014008000-0x000000001400bfff (I) >> Domain0 Region01 : 0x0000000014000000-0x0000000014007fff (I) >> Domain0 Region02 : 0x0000000040000000-0x000000004007ffff () >> Domain0 Region03 : 0x0000000000000000-0xffffffffffffffff (R,W,X) >> Domain0 Next Address : 0x000000004a000000 >> Domain0 Next Arg1 : 0x0000000044000000 >> Domain0 Next Mode : S-mode >> Domain0 SysReset : yes >> >> Boot HART ID : 0 >> Boot HART Domain : root >> Boot HART ISA : rv64imafdcvsux >> Boot HART Features : scounteren,mcounteren,mcountinhibit,time >> Boot HART PMP Count : 16 >> Boot HART PMP Granularity : 2048 >> Boot HART PMP Address Bits: 38 >> Boot HART MHPM Count : 0 >> Boot HART MIDELEG : 0x0000000000000222 >> Boot HART MEDELEG : 0x000000000000b109 >> >> >> U-Boot 2022.01-32931-gc249924b17-dirty (Feb 06 2022 - 17:29:00 +0100) >> >> DRAM: 512 MiB >> Core: 43 devices, 18 uclasses, devicetree: board >> WDT: Started watchdog@6011000 with servicing (16s timeout) >> MMC: mmc@4020000: 0, mmc@4021000: 1 >> Loading Environment from nowhere... OK >> In: serial@2500000 >> Out: serial@2500000 >> Err: serial@2500000 >> Net: No ethernet found. >> Hit any key to stop autoboot: 0 >> switch to partitions #0, OK >> mmc0 is current device >> Scanning mmc 0:1... >> ** Unable to read file / ** >> Failed to load '/' >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >> Scanning disk mmc@4020000.blk... >> Scanning disk mmc@4021000.blk... >> Disk mmc@4021000.blk not ready >> Found 3 disks >> ** Unable to read file ubootefi.var ** >> Failed to load EFI variables >> BootOrder not defined >> EFI boot manager: Cannot load any image >> Found EFI removable media binary efi/boot/bootriscv64.efi >> 1409436 bytes read in 248 ms (5.4 MiB/s) >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >> Booting /efi\boot\bootriscv64.efi >> >> Consoles: EFI console >> Reading loader env vars from /efi/freebsd/loader.env >> Setting currdev to disk0p1: >> FreeBSD/riscv EFI loader, Revision 1.1 >> (Fri Jan 14 13:21:23 CET 2022 root@legion) >> >> Command line arguments: l >> Image base: 0x5e9d8000 >> EFI version: 2.90 >> EFI Firmware: Das U-Boot (rev 8226.256) >> Console: comconsole (0) >> Load Path: /efi\boot\bootriscv64.efi >> Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,1ab17495-7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) >> Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,1ab17495-7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) >> Setting currdev to disk0p1: >> Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,GPT,2973d4b3-7795-11ec-9e49-f875a47d4ead,0x1a610,0x200000) >> Setting currdev to disk0p2: >> Loading /boot/defaults/loader.conf >> Loading /boot/defaults/loader.conf >> Loading /boot/device.hints >> Loading /boot/loader.conf >> Loading /boot/loader.conf.local >> / >> ______ ____ _____ _____ >> | ____| | _ \ / ____| __ \ >> | |___ _ __ ___ ___ | |_) | (___ | | | | >> | ___| '__/ _ \/ _ \| _ < \___ \| | | | >> | | | | | __/ __/| |_) |____) | |__| | >> | | | | | | || | | | >> |_| |_| \___|\___||____/|_____/|_____/ ``` ` >> s` `.....---.......--.``` -/ >> +---------- Welcome to FreeBSD -----------+ +o .--` /y:` +. >> | | yo`:. :o `+- >> | 1. Boot Multi user [Enter] | y/ -/` -o/ >> | 2. Boot Single user | .- ::/sy+:. >> | 3. Escape to loader prompt | / `-- / >> | 4. Reboot | `: :` >> | 5. Cons: Video | `: :` >> | | / / >> | Options: | .- -. >> | 6. Kernel: default/kernel (1 of 1) | -- -. >> | 7. Boot Options | `:` `:` >> | | .-- `--. >> | | .---.....----. >> +-----------------------------------------+ >> Autoboot in 0 seconds. [Space] to pause >> >> Loading kernel... >> /boot/kernel/kernel text=0x5ef0ec text=0x1704dc data=0xf7900 data=0xbcc+0x2741cc syms=[0x8+0xd0290+0x8+0xf1d3e] >> Loading configured modules... >> can't find '/boot/entropy' >> can't find '/etc/hostid' >> Using DTB provided by EFI at 0x47ef6000. >> Kernel entry at 0x56a0002e... >> Kernel args: (null) >> ERROR loading DTB >> panic: Boot hart ID was not properly set >> cpuid = 0 >> time = 1 >> KDB: stack backtrace: >> Uptime: 1s > Like it says, your device tree is broken. U-Boot is supposed to copy > the previous stage’s /chosen/boot-hartid to any device tree it loads, > but something’s gone wrong there. Not much FreeBSD can do about that. I tried this: ----- OK fdt prop /chosen Using DTB provided by EFI at 0x47ef6000. fixup-applied boot-hartid = <0x00000000> stdout-path = "serial0:115200n8" ----- And then... ----- OK boot -v Loading kernel... /boot/kernel/kernel text=0x5ef0ec text=0x1704dc data=0xf7900 data=0xbcc+0x2741cc syms=[0x8+0xd0290+0x8+0xf1d3e] Loading configured modules... can't find '/boot/entropy' can't find '/etc/hostid' Kernel entry at 0x56a0002e... Kernel args: -v t[0] == 0xffffffc00085bcb0 t[1] == 0xffffffc00085bcd2 t[2] == 0xffffffc00085bcd1 t[3] == 0x00000000000004b5 t[4] == 0x0000000000000001 t[5] == 0x0000000015c59000 t[6] == 0x0000000015c59001 s[0] == 0xffffffc000003ca0 s[1] == 0xffffffc000ccf000 s[2] == 0xffffffc000ac6f00 s[3] == 0x0000000000008000 s[4] == 0xffffffc000003f10 s[5] == 0x0000000000000800 s[6] == 0x000000000000001f s[7] == 0x00000000000f4241 s[8] == 0x00000000000f4240 s[9] == 0x0000000056a00000 s[10] == 0x0000000000000ff0 s[11] == 0x000000005eb1c7a0 a[0] == 0xffffffbf80cd74d0 a[1] == 0x0000000000008007 a[2] == 0x0000000000000001 a[3] == 0x0000000000000001 a[4] == 0xffffffffffffffff a[5] == 0x0000000000000001 a[6] == 0x0000000000000003 a[7] == 0x0000000000000010 ra == 0xffffffc0005d3f3c sp == 0xffffffc000003c90 gp == 0x0000000000000000 tp == 0x0000000000000000 sepc == 0xffffffc000387cbc sstatus == 0x8000000201806100 panic: Fatal page fault at 0xffffffc000387cbc: 0xffffffbf80cd74d0 cpuid = 0 time = 1 KDB: stack backtrace: Uptime: 1s From nobody Tue Feb 8 00:35:05 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C92EA19B73CD for ; Tue, 8 Feb 2022 00:35:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jt3tx2p5Yz3msH for ; Tue, 8 Feb 2022 00:35:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 204267B60 for ; Tue, 8 Feb 2022 00:35:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2180Z5Wp055506 for ; Tue, 8 Feb 2022 00:35:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2180Z5aW055505 for riscv@FreeBSD.org; Tue, 8 Feb 2022 00:35:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm{13,devel}: Fails to link on riscv64: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD Date: Tue, 08 Feb 2022 00:35:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644280505; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=imseSXLTDnWPq3IOvf9QgTlipMImaL9bCNbZZK5G52Y=; b=nOPbdH5LhYgSFXhg3/wscF4STzM5U9+VKLoxzhYkTB9qYHdlic5fA2s1SMihhUENq9zZoN PNenPTraXglntovUoM8zH4puSUP54klSC7TwV1YC+62fwyyuv6+W6WfaMGA2g5O3S7OB+7 QmSindooHxa1+0rF/GkTv2KrMWRU/YBAkn1tO3hqpu4abZ+b9ShNM3gXwepJb9FVUamBMT Ik/PiKN8x5urzsGZ9W8Ihfs9E3RNdxrOa0sTvBEZoW5bGsqk3QpxFLDAhNFnMmrX8MQYfo 71JHiYwCnnTebWxghtQ4DdbkEhHJFRe+W/sBPqGrovIbc9/Dxbj24yS3yOYeug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644280505; a=rsa-sha256; cv=none; b=T7QVbK/fIpBrSJc0lJgrK3bGko1aVku6pNHV6QeR1apk23e+Ae58HIEi+HMaazzGegdk6H C83dSSCcSRiFWEnjiQNfMyg2Cwb3nr84fLNZuklhMmZOTXf38WY33/EUyoniL9szTBgmhA IBfdJ25SrlT0caQ1kKOUYYuNEbig2LV7QxfJkIgbUNSTUkSFqb2yBYZXkSHKPisynIxsFR 4kdPB0S5rrIsRrsChxHVvSPtMHDQ7RCs08l41ORJBUAYEVeBmFqMMIKebxCCtnb3b+k1n9 CbJn2537wplhkINkD8MAQ9VakQetaIJNd6bcHQG0wWpKgq8GCWh3mqZUJvgvVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Db00578b9b208edb0f805a1b48e2d217= 435666f53 commit b00578b9b208edb0f805a1b48e2d217435666f53 Author: Brooks Davis AuthorDate: 2022-02-08 00:32:27 +0000 Commit: Brooks Davis CommitDate: 2022-02-08 00:32:52 +0000 devel/llvm13: update to 13.0.1 Disable FLANG on armv6 and armv7. It's not 32-bit clean and many systems lack the RAM to build it natively. Disable LLDB on riscv64, there is no riscv64 support. [0] PR: 261374 [0] MFH: 2022Q1 devel/llvm13/Makefile | 9 ++++++-= -- devel/llvm13/distinfo | 6 +++--- .../files/patch-llvm_lib_Target_X86_X86InstrSystem.td (gone) | 11 -------= ---- 3 files changed, 9 insertions(+), 17 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Feb 8 00:39:34 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4163019B7B02 for ; Tue, 8 Feb 2022 00:39:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jt4060Vpvz3nHW for ; Tue, 8 Feb 2022 00:39:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E5E3D7C82 for ; Tue, 8 Feb 2022 00:39:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2180dXBl056493 for ; Tue, 8 Feb 2022 00:39:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2180dXmE056492 for riscv@FreeBSD.org; Tue, 8 Feb 2022 00:39:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm{13,devel}: Fails to link on riscv64: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD Date: Tue, 08 Feb 2022 00:39:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644280774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vgE8QSx4H8z3GUymbb6/82OizoRnhxY4dvTA8y1tr4s=; b=r0Yot/ULI5dC9PxbYwOLOak3WW7fo950o7NH7Mdlt31HLPBfOUNAN/qCIdab0P0pd1Sm8U u0HmL2kI3yhjHNucJqPyR+gT50a47ElxJQtMKIgNncdaTpzFIVvijtS98DiArTVJZubFv6 uwHN0EY7BJNBvmiz7QaEPEHoisw1UopfTkbe9gs9Jdp97N1N1wKeg8JVB/w9Jp/bl4v5OM saB0J0WvmFIs+Xgv1gUO+zoBRsfH3wLJz5Zv7wHMX5zihghPfs9LwvqvfPSCczFL974wEU R9Q6MYwt237Tdvy06FIyNnFrrFaqiDnYEIDKhQt4z0np5AgCWea1ZWDAWmGwaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644280774; a=rsa-sha256; cv=none; b=Y+HvKx7ZcisEoRH6TCpqW2GQTlB+o/Sz5YgEL8W2kpUA5vYekdpkHx5N+14vkNm5gvul23 Xx/2E2uziJjYA1RQ5vDKG0WJvgomndoWR5WDCJJ6OsP2OcX8SIcw0RJHi5Qp9mS5uwkczg kj31SUo6oR505XEK1Js0fvZE2X3p8gQb+Edk7PP9x511UzhssshpVcOn77ukonEd1ZoeSH JipQffkISodI0NNe7hvFwZpH4P25+w5siqLQ/xDO9RjKZWYtfQ6m7QxFG4OK65ATsr4LFa 0HJLwlSGU5wNwHkSuBXoijdzOWsEwn6wDVIFnfRMkAk6EnW/WudElDeryKyQLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 --- Comment #6 from Brooks Davis --- I plan to MFH tomorrow (the 8th) if I don't get build breakage reports over night. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Feb 8 21:38:40 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 412BD19AEF75 for ; Tue, 8 Feb 2022 21:38:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jtbwv6zsNz4YF7 for ; Tue, 8 Feb 2022 21:38:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D170920ABE for ; Tue, 8 Feb 2022 21:38:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 218LcdMk061129 for ; Tue, 8 Feb 2022 21:38:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 218LcdHp061128 for riscv@FreeBSD.org; Tue, 8 Feb 2022 21:38:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm{13,devel}: Fails to link on riscv64: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD Date: Tue, 08 Feb 2022 21:38:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644356320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+fnPc6Tz5LKQqgeWKjv5rs+1CyxVyAUZhCnEkBi4/Go=; b=yJ9RGqMuep5u6sc/EbeGYO/40AGQG8CX4mOLRiZc02mHQELxYtLjRTnkYaCOHJOB6m3S3K 9wXHcmRkCBn3/ikbtAwEh0QEZYqNokE2vbVN5T2azNaFgABBCTV0YhMGBnnN+LvtUdl2Ei v+htJy9AFSiaF5zdR2CC7UHwLjYelMfvYNrnfa3cuYxZQlXraA3C7Y6k8NOIIreNgpLHx1 ttHQvz+o8phDo/xYIDIHJs6/AMkLs6khsvcZTpv/vprQv+0bM6zVkytoCsWIsw0MAGzx9a nGIXdqSUuRbzWQBVCH5NgKSylyJkgPHse36eBQr9GEOqRw17EtVgd21aVE/YDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644356320; a=rsa-sha256; cv=none; b=nno8AJTWvBFmBDw1LU2AIXFrCOkvJs7hiwsJCdXlHcroeUYVi/Ocmv/jD+6qijwM8RDeJ0 bkfwFkgxRMS0dFiAkiaxdIDD5HntHU6r3Hr8jqi41NL/47cVeUmsKBFYrg8kCntFER6Qi/ lnEZx/w4/Lq00K0CNyTIW//zuyV2Y6J3L1w2e/EYdRHzMrfuryLVgFibkQnx0IhB17gFoQ KUzJG9SbHxRgU4QljTO5DNcN09C/Ylahu+ARAEGF661OX0W0URsZ+mwhCF+jLnkyhesRPM CN30Ok4r2wvLCwsHvowZQ5AhM7PjSZiiOZZEtYKWk887vuKv9aBUz9p4NHRRsA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch 2022Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dfa7265045779fd8912630904113dcaa= d7f95a852 commit fa7265045779fd8912630904113dcaad7f95a852 Author: Brooks Davis AuthorDate: 2022-02-08 21:37:24 +0000 Commit: Brooks Davis CommitDate: 2022-02-08 21:37:24 +0000 devel/llvm13: update to 13.0.1 Disable FLANG on armv6 and armv7. It's not 32-bit clean and many systems lack the RAM to build it natively. Disable LLDB on riscv64, there is no riscv64 support. [0] PR: 261374 [0] MFH: 2022Q1 (cherry picked from commit b00578b9b208edb0f805a1b48e2d217435666f53) devel/llvm13/Makefile | 9 ++++++-= -- devel/llvm13/distinfo | 6 +++--- .../files/patch-llvm_lib_Target_X86_X86InstrSystem.td (gone) | 11 -------= ---- 3 files changed, 9 insertions(+), 17 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Feb 8 21:46:19 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E162219B4F3B for ; Tue, 8 Feb 2022 21:46:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jtc5l5kdLz4cTQ for ; Tue, 8 Feb 2022 21:46:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 401FD21203 for ; Tue, 8 Feb 2022 21:46:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 218LkJTS065672 for ; Tue, 8 Feb 2022 21:46:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 218LkJxt065671 for riscv@FreeBSD.org; Tue, 8 Feb 2022 21:46:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm{13,devel}: Fails to link on riscv64: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD Date: Tue, 08 Feb 2022 21:46:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644356780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nv5RVs6sAXQ9Cq8S4NpptuilGAKWSh70VyYyM/RThBM=; b=S7nnKWZ12EDtGVD4vbFGJ9p/9tfXBCMfEyLhJRuOwl+aNlXxkDzGFkuOSqADnTsQjAngns gF9Ne3Md7V1eApZi6IG6WPSemT48Dg1fPnUZsMn6h7QUAea513YcCMiedVSPJt3n2za79M z532jC9gPYa41Wqx96MsOVKYj2REm13iG1qrgUGUcdX7mF6JMQuuiWcJ16u7B1WMjAnyOI WnUcCVe0eFhfvT3Ew+1uec4PqSdb6/A+p9JQPBmY/eRIozgQvqcbLEta5MOfZM/8GyiRIQ wcxXEXgFJTD0WOObTirkPIY+WuhpxVIjgSoDARXpfAvdfT4IhWewwhML8+nD9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644356780; a=rsa-sha256; cv=none; b=vW6qsjqlP9vlt22v2mYzrBF0S+eZZqOlTTwM1gG2S5zvLQOeDcwtKYCpoa+m7CcHqfFaNu O2fJmKaL6WJoSyf5EIpAuyV5n376eq59vXrnP3jKUaKZ9YQJVqT5tlXCRJddezopfFY3PP 50Xh9MENfHZnt9h/kqOx1ik4pJmiTCtDfjeGW+HSytBe/E3mtw7UIua0nfgZuXqKi9kVVN u+TDdC6ldenOkja2V4j2fHLmiQ9YI+TnoSHbE3zUX3ll9jA3i+HbPVYtpu8Bdcc4jFZuu8 yTDdslZl3lfP50AawCTof0DaRwlwRzr2+ADrLNFYGz0wyz6+0kgNmzAR27qa+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 --- Comment #8 from Brooks Davis --- Is llvm-devel a problem on 2022Q1? If so I can backport the LLDB disabling. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 9 19:03:56 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D3F2D19ABCA8 for ; Wed, 9 Feb 2022 19:03:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jv8Rw6d1Lz4qtg for ; Wed, 9 Feb 2022 19:03:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1FB8512B25 for ; Wed, 9 Feb 2022 19:03:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 219J3uV7056475 for ; Wed, 9 Feb 2022 19:03:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 219J3uv1056474 for riscv@FreeBSD.org; Wed, 9 Feb 2022 19:03:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm{13,devel}: Fails to link on riscv64: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD Date: Wed, 09 Feb 2022 19:03:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644433437; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y/Stp2agl82rD55uEJiYafJFvC+ZIBganxJRuD+3oho=; b=AyZRD9Q4YQcPLJtw1gFTWLyXBVjdSt5yhcKmjobuemtZL4/OOvhbZeaLAMzXI9Eu3oOd/1 +PVXWiT28Saz9vVBBjwj2gvUgbVldwsH0vSxtTp0J8/aGJI0+Zxo8eqTkomRV0NT5ypbPy 99exEIjes7FIBILI87mAQ5/1hNofyFgSTI7wqS5x2uMzTKMhJNlHqaXevZ6Qb/54j38yNB FIEJomukZY4I/n1YsJ7prJKozX23rPZqbqOJ4/F4mLUe6ueY/2Av/kyIc6u7zf1PbyllKY Nea1Xc8Yg4UGMxoiYvNFg1c8toQufu+yd7Cg4aHLyFCRt9UYGhomHBNivzcu+A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644433438; a=rsa-sha256; cv=none; b=IWqL+BbQFc0V2YP8C2RMwRariIcTY1V5waoTl+aal2S+3jMBbedyytqrCFRk31SgKzpuU5 5AYYnjtnbeHFDL6eE5VvS6GaaWm+ivXdh5f8sLOymE7bwKICqZGTfmb1xgFqJOHHKyIpF8 utwGnCEQO1TfOkWCb7jQYomwe6kB424n8KItvTRrbha4ZFXy6saYyw8Q0brz2JGnenWTwa o9PbuYPGm6Pf2Eii/gJnBWTL5L/djIO3pOt4chx6NF5apFJFjf4/7ePgCbm43oOCyEX++p QAg48zfXepddHr5COc+nDT8V0t8o7fxWi6CKQLmja4bdUAUYc6fM7U9qP1oOBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 --- Comment #9 from Piotr Kubaj --- Unfortunately, build fails during staging: /bin/rmdir /wrkdirs/usr/ports/devel/llvm13/work/stage/usr/local/llvm13/share/man/man1/ rmdir: /wrkdirs/usr/ports/devel/llvm13/work/stage/usr/local/llvm13/share/man/man1/: Directory not empty root@riscv64-default:~ # ls /wrkdirs/usr/ports/devel/llvm13/work/stage/usr/local/llvm13/share/man/man1/ lldb-tblgen.1 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Feb 10 18:13:33 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BA19619BAD6F for ; Thu, 10 Feb 2022 18:13:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JvlHL019hz3w5r for ; Thu, 10 Feb 2022 18:13:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BC67024DF2 for ; Thu, 10 Feb 2022 18:13:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21AIDW9j084235 for ; Thu, 10 Feb 2022 18:13:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21AIDWtE084234 for riscv@FreeBSD.org; Thu, 10 Feb 2022 18:13:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm{13,devel}: Fails to link on riscv64: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD Date: Thu, 10 Feb 2022 18:13:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644516814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aZdKt0rPCLqs0MEV1J/c3L+re66YHCaFCWE3vD/ejv0=; b=r4Q/pGOnoEv8iE0oiaSOEC1FLqfq5gvxFB1VgRv/owVXQwLw1i718wq8G/Hdne3NXsU0HS +sPlf4YU3y/EGfSLj+/wuj0gFsMO2tMYXqUMqCHke+kN42vkqotuB1etw1pjgtQj1d7viG tDleV5jAhGN0+WKaLu9Lo7t0/4TEKMUKmNKYoS6dVT6E4wCcvSMamjxvN0zEjD+S20cZm5 1gvTJdRhUxj5eNA0JkeTXDcgxvSa3nLm8PUt2SUJk/fq4/g1CoPYfDr78nzpA5wqwuyC9s fOCTY5Zr91C75w3ABIN3+k6vVJCmlVXOFyUExYC04C4Jd9PzWLi6ApCtFAzCLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644516814; a=rsa-sha256; cv=none; b=BHZ/PMZQ64YQkQ2Guts1OnXfkek0RaFPag0cY3uBIIV3VUDsnuFek2TJGCIkfi+OY3DnVx 07nuBcWVlMI6Vc0g90DPKwVK9i4lqi12qq+J0YYrr9Jd+QaS4aa/G79W3dytTrgsOuSmX+ Y6e8k4teqg/YhPF84JSu1t8zk3BJadLvFhr6xtrJ7u/+DwSMpKmP4ziuTvUwGV/5UmXRPV WCkSSx3NIsmURajRD8rQdKcR5NkAj/RfybzHvQuboKyBLNh6ZKaYerIHEspFBJmM68cqX8 wJWf+zXdilbaFZlQhlFMi3GWpsE5SGNOxEF1GCO6TF7UTzHL7dAGM8krmpD1wg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 --- Comment #10 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Df0a48f0f28c23add582223feb72a8b7= d35c548af commit f0a48f0f28c23add582223feb72a8b7d35c548af Author: Brooks Davis AuthorDate: 2022-02-10 18:13:02 +0000 Commit: Brooks Davis CommitDate: 2022-02-10 18:13:02 +0000 devel/lvm13: fix build without LLDB While here, correctly identify several scanbuild-related files as being part of clang. PR: 261374 Reported by: pkubaj devel/llvm13/Makefile | 5 ++++- devel/llvm13/pkg-plist | 38 +++++++++++++++++++------------------- 2 files changed, 23 insertions(+), 20 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Feb 10 18:20:35 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 40DBE19BF8C3 for ; Thu, 10 Feb 2022 18:20:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JvlRQ6tKWz4SvX for ; Thu, 10 Feb 2022 18:20:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C95BA25149 for ; Thu, 10 Feb 2022 18:20:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21AIKY6m085490 for ; Thu, 10 Feb 2022 18:20:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21AIKYGI085489 for riscv@FreeBSD.org; Thu, 10 Feb 2022 18:20:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm{13,devel}: Fails to link on riscv64: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD Date: Thu, 10 Feb 2022 18:20:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644517235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pb284c3luOpO8e8P29hdHPtPFdzJiXqwOo1wd1+JSgg=; b=XcbpLx5O5iiaIeniOkImbpsobAMeBjK0NilDzNuTBNlGNveR6vdu7ldWBjTxNC1EhCZO/D nnDlgG1dK26RtxUdVVx93Oc0u4wlxwR1G6gUVz3rjETWydv/RoJSt8kERQbF4S47rWGMet 6wzR7I8LXziR3SEQuX3+psNPY7c9GT8LBd4QoN6Z1oeiayWrBRb0Igk4cngWCl1ZFpgBdO WBKFR7PG/xg9b2Z51RYUHEcC8xmCnh5vlRkuPTLNrojS40SCckJtLmxuft0G6b6TL8kAHL RtUsaclHtyqKsWKAQxCGGHquIfjPHcA9SAZ7ZlzXnN7r9LI17B9AfgzJBNkjaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644517235; a=rsa-sha256; cv=none; b=m2WhsPBSDZlLo8uzhCKbyc7g/HjC3wNnKS/hmJNCo3HZowFYfTUlsApNrS0Pj1afhkxslW rfG1YSmWRrqReDvYUcj/eypBR+geX4sihGivROnspREZMtDYicqfHZeoJztKKMbA1udyVd l+7ewUw4FgQuLT5tAh/+XP5DbGD6JlRx9y3UWrPj7eutMn0PlILWU3D/Hnjv8/LM4TCpWX uiQ94qBfv3i6Dicnnpl3Nj2BEfIHB0u37msfvuSw2D4tUUHZ+5POVltM0KdAHipe2NbgTK QpNKgFyBUh3q/pgZ6LIxokkA8svHZZbHUir4iiFkJaXLrSj5XtcLD6EJf6yo2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 --- Comment #11 from commit-hook@FreeBSD.org --- A commit in branch 2022Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D1014f85dc2ad6c31c60fff10f39468f= 5c48a26c0 commit 1014f85dc2ad6c31c60fff10f39468f5c48a26c0 Author: Brooks Davis AuthorDate: 2022-02-10 18:13:02 +0000 Commit: Brooks Davis CommitDate: 2022-02-10 18:20:04 +0000 devel/lvm13: fix build without LLDB While here, correctly identify several scanbuild-related files as being part of clang. PR: 261374 Reported by: pkubaj (cherry picked from commit f0a48f0f28c23add582223feb72a8b7d35c548af) devel/llvm13/Makefile | 5 ++++- devel/llvm13/pkg-plist | 38 +++++++++++++++++++------------------- 2 files changed, 23 insertions(+), 20 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 16 14:35:36 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 990DE19C20F5 for ; Wed, 16 Feb 2022 14:35:40 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JzL9774QHz3lF6; Wed, 16 Feb 2022 14:35:39 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qk1-x732.google.com with SMTP id b22so1778496qkk.12; Wed, 16 Feb 2022 06:35:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=RYjo8sYs4NbpAD2borbz45YtbIpnyYtjpCgbG636cUs=; b=dHT7SmSj+0t/WQoy1jPad7yoXE7FinrITthssiiPe5b8nEvMS9sg4Iiz2GRvZpNVCw inkdFC0hC5y7m4/gVMY/1yMBUDBbhzViHj7wWi9eiPxerYazISfi+csU/pgVYMxGDJbJ WGNO9aa6lpNS2cpOzgPQ/9FSdttJIRnH26VS9QJl8KTdBoUz+T8EB7ANJsc5ODOMJvqw pnrE9Yb+9mwO01VEKRQHTiIBXkFvcQ24XhamFOwHeXp4keUnFiWFoNdWNgRoTuSgElHk F0WDEO/bE45kOsThGWRF4xgQOD5mOCs7+4YZ7HzTM9kHGsgGBD1GGXovlgGA+3wgb1At nd1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mime-version:content-disposition; bh=RYjo8sYs4NbpAD2borbz45YtbIpnyYtjpCgbG636cUs=; b=iO9yQqULHAltBoVhjR0s3Vu1ikalVQ5YODN8/98O6RCtAgOBgbWO5qYqtOw7DT7hWM MKVKib3C1kWEQ/AlYkwbGjewUq6mw+8im2pL2/iQdNS0hTrCGHDSTrybjWuqmR2UChz6 /4M6QYg4w+6VL/2AqNNhEuXOThMsIDtbNubzpCx1ZzvcQaLjog8rQ6uzfQ1V4ny24S29 9tspmK10nAIx0e9bHWCItHitz9yLy6aICggQBjGsgIlJCSFOhfydxrnD1LyMl6B/2T2P iwFsx3xjy08eqchdndIyWRn8zz/bGnsWRBaVL58gk82gD4iqy4SzdChfdkNqM6DyzR0h 3Nng== X-Gm-Message-State: AOAM533hKELyo9jfqxvJl0f84a5R7W++jtJmPPVzwB1JB+zftDU4CmJ2 FI+1bKtqLuA7urFy8rrO2s87O1szCYU= X-Google-Smtp-Source: ABdhPJwLgN314QTureUVyjFYZ1DK2TW+mfZ8OII1sw3d5+m6lQssSaMgQWaOVh1MJsSA7xcHuuBXVQ== X-Received: by 2002:a37:b685:0:b0:608:caa9:fce9 with SMTP id g127-20020a37b685000000b00608caa9fce9mr975016qkf.566.1645022139127; Wed, 16 Feb 2022 06:35:39 -0800 (PST) Received: from nuc (198-84-189-58.cpe.teksavvy.com. [198.84.189.58]) by smtp.gmail.com with ESMTPSA id x11sm18094155qkm.108.2022.02.16.06.35.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 06:35:38 -0800 (PST) Date: Wed, 16 Feb 2022 09:35:36 -0500 From: Mark Johnston To: freebsd-riscv@freebsd.org Cc: alc@freebsd.org, kib@freebsd.org Subject: initial riscv SV48 mode support Message-ID: List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4JzL9774QHz3lF6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=dHT7SmSj; dmarc=none; spf=pass (mx1.freebsd.org: domain of markjdb@gmail.com designates 2607:f8b0:4864:20::732 as permitted sender) smtp.mailfrom=markjdb@gmail.com X-Spamd-Result: default: False [-2.70 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_NOT_FQDN(0.50)[]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::732:from]; MLMMJ_DEST(0.00)[freebsd-riscv]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N Hi, I added support for four-level page tables ("SV48 mode") to the riscv pmap: https://reviews.freebsd.org/D34270 (see the "stack" tab for the rest of the patches in the series). So far only the user map layout is changed. SV48 mode may be useful for applications that want a larger virtual address space than that provided by the SV39 ABI (where it's 256GB). Currently SV48 is implemented by QEMU but not by extant hardware, and the patches do not enable it by default. Any comments on or reviews of the patches would be much appreciated. Thanks, -Mark From nobody Fri Feb 18 19:42:59 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B39B919C6862 for ; Fri, 18 Feb 2022 19:42:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K0htq3ZN5z4kDy for ; Fri, 18 Feb 2022 19:42:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5B4D0231F3 for ; Fri, 18 Feb 2022 19:42:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21IJgxgZ026665 for ; Fri, 18 Feb 2022 19:42:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21IJgxVx026664 for riscv@FreeBSD.org; Fri, 18 Feb 2022 19:42:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 261374] devel/llvm{13,devel}: Fails to link on riscv64: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD Date: Fri, 18 Feb 2022 19:42:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645213379; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kx5pFqb3+Ip5bbrvIGSsnKEta7tozERHctCpdOLx24U=; b=jgv6tzDZdybDh3Y9BxUXwnf9zUXfxXtTEMyIUE2fNUk+3HYLn4mkObK0c4htLxy/7q/KmH mF612yX+k5sI9QU+XcV5p7Zj7nSPCgfNAE5+cpaB33bH/mWnuTsObo0EDthdXqQ2ytI9Dn qF19CBDHzyrf5tyI73LpxtHmvNYqg0cKvzbclQnUohVFcX3RGK17ipNrbL+/PIrVaEKxNd BTFVU8dkWnYZPeYANtipjd6hELP05xQGm3oUtEM0iTCbWunXMGS51vgfD/Wt1Ox24ohBdl 0/SRtEm+jbPXGWDIZl1Cb/4hzqv0gYCWbbp4Lt+cRedhcUZA2QvDJE+6aunUzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645213379; a=rsa-sha256; cv=none; b=OAcQw+encD4ol+LoY0MJki8pYatF9rwF1LP6lSwM5J+kzplvF7PCSYmIrx5O4GUiPjYeWN ZGpkIRnx2Zsp6JNOdqagrHghg5gSfHFbEHWqoK/8CI71HLtlO7vWHdUsUDaD2hjKF+tFwk aIuMEVbUL8W3aedBNVzqfnfOQmj9ycBngIO37/JUO5zBgFs6emTkL1ckWRYXm9ohd6Pw0z RhT1p/1cSzut7fB2OnVKakWnF5fAVPuEYXfBmj1JVLhJBKNKLvn1ogRgRbfsO3PMyl4DBt c05syoGZwrBHi7rp+r29Std1mWOHtSUiE9XVlHCSS7CF3pbog/z/31XFh/JVTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374 Brooks Davis changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|In Progress |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 23 20:37:00 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 746E819E287E for ; Wed, 23 Feb 2022 20:37:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K3nrr28Wtz3w1B for ; Wed, 23 Feb 2022 20:37:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 270091ECC9 for ; Wed, 23 Feb 2022 20:37:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21NKb0N4086954 for ; Wed, 23 Feb 2022 20:37:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21NKb0OH086944 for riscv@FreeBSD.org; Wed, 23 Feb 2022 20:37:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 262160] sysutils/racktables problem to poudriere bulk -a Date: Wed, 23 Feb 2022 20:37:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dgilbert@eicat.ca X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dinoex@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645648620; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bkMEbkojYR78jzar6wCRTfmc+l3UWJ9SODG7HWleuc0=; b=evPjR7a9kZBtm8RoOBb6oiGnzldHZ0cdRmzF5FshKHER36LsQ/vcCNORtxLfBr4zizh931 spnRjYum5bQb0VdKcx8QPn3OHdF0r7LdwS79V84ik1E5QlhM4bZAq9zr+U2e3k2E1F/0ty PGqgpni0+oZ6C8Lct1mXCfRMuVDVWZe9jNpme/Jx0NNM2HJcm/j+U9a03tzHvaWjANUr1G LqJMUxYQ2wVIJp8EdmpfZPh9tad3Y77pfEOjAk6yP3fSXXTsXTEhnFpVQwtjh4K5HFcl8g U8sOaT4JPMQ7+IOjXNMKUxZFzZ//aCtb6khcexRE2mO0vsfaNsbLqCjeVzerSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645648620; a=rsa-sha256; cv=none; b=vnOqlh3075ROSvTT8p7q8pXGMovfq1r83W57VQRIB954GupWXBeWhInPtM9w37qJArWhAg klfJBtfQUE9nqSRwT2lShaLlosdes5KIkJhv8nYUyM9RFLOYG7gRp+PSJ97l1umIvsxFdM NFWAfJTPIP3Rh+ROcMUPcWlse6vQfoHqEDTMmGwJkZzrLC9gozmi/3LCSvndez8aaZFWFZ UWZehgFmCPJY4SnkPVFcJt/izfnQROurqSehPl3R4fI0nSNAMD4Vizu5oL11zxhCT7PDiD Cc0mfHNcKb8E68gvgULXkUp8XeyNIAnMAnCzTzYcwFK8IpO1PBgH/WHZkFts/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262160 Bug ID: 262160 Summary: sysutils/racktables problem to poudriere bulk -a Product: Ports & Packages Version: Latest Hardware: riscv OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: dinoex@FreeBSD.org Reporter: dgilbert@eicat.ca CC: riscv@FreeBSD.org Flags: maintainer-feedback?(dinoex@FreeBSD.org) Assignee: dinoex@FreeBSD.org CC: riscv@FreeBSD.org When building poudriere bulk -a on -CURRENT (on riscv), I get: [00:00:24] Gathering ports metadata [00:41:20] Warning: (sysutils/racktables@php80): Error: Duplicated origin f= or racktables-0.22.0: sysutils/racktables@php80 AND sysutils/racktables. Rerun with -v to see which ports are depending on these. [00:41:20] Warning: (sysutils/racktables@php81): Error: Duplicated origin f= or racktables-0.22.0: sysutils/racktables@php81 AND sysutils/racktables. Rerun with -v to see which ports are depending on these. [00:41:42] Error: Fatal errors encountered gathering ports metadata [00:41:42] Cleaning up [00:41:43] Unmounting file systems This only seems to happen on riscv ... on amd64, poudriere -a seems happy. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Feb 24 00:11:18 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4B77C19E376F for ; Thu, 24 Feb 2022 00:11:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K3tc70xsLz3CN8 for ; Thu, 24 Feb 2022 00:11:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 015E921DA7 for ; Thu, 24 Feb 2022 00:11:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21O0BI1I008074 for ; Thu, 24 Feb 2022 00:11:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21O0BIKo008073 for riscv@FreeBSD.org; Thu, 24 Feb 2022 00:11:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 262160] sysutils/racktables: Fails to build under poudriere (bulk -a) on riscv: Error: Duplicated origin for racktables-0.22.0: sysutils/racktables@php80 AND sysutils/racktables Date: Thu, 24 Feb 2022 00:11:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dinoex@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: keywords flagtypes.name short_desc bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645661479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Jm70xNsIM3lKGbLgfOsjcdvI0ZrWK8M03MMce/m/g7o=; b=nogpuQrLe/fsXATxll7JrjZEIicBSOrUPpNVvulMHHwq/MopXHgHFvyhibsUalPKrez0VK 7b29/14SOI1SxFJtG+3W9kF1sloNNBMjX7bAhjoymdFrYs7k8cf6CfHrvN6yZqoGcK9UFy 7d02X6UWmNHhp9jihVUNUH2W4MLWqLFR1LPnQR/Xgwg3iVZJKWZdE/J4xF6WMguFZD7cZV YXfYQLp66280ZATz1dbsOI+2PrRQssFcd6zAh0dmTgv3/W6a90hxXA5x5ekLqSvM1ff5+v 6uRb5+fyyV/iiR3N6hCl7ULJpFZaw7M5tpbdnXHXi6P6Zdy8Cn4h0fvkabGMcw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645661479; a=rsa-sha256; cv=none; b=p2TJkOhoZ8ZYAz0tLbZRi2/EL7/TkIwxzrB3v5IwkSN9IiCAUN4iJ2H0HWq/bFgEs9mNxJ PXMlu5hTC9CEsIb2pGcaEf+ASl8yIulaRcsFRMwzkgDyfV6iuk/UJFCslS8yJVg8nZjESB j/rlTZmW9p/cTnMfDUpnrFR7DcKG01K+mcAfCx3z3lN5v+2Wvf3PcyHPRrXnBC55LgstIi 4AYVwmYUtBigEA8VK8m22T5tmFExPhUbiAsnuNvPvI8sNim8BqzOm2axjmkQs7qWIw094c a4890yNrn2BfSSyIQDJSaa5JyJxXpB9EqOJVGE//ii6NRhZEdUjT4uw2iaF9YA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262160 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-qa Flags| |maintainer-feedback?(bofh@f | |reebsd.org) Summary|sysutils/racktables problem |sysutils/racktables: Fails |to poudriere bulk -a |to build under poudriere | |(bulk -a) on riscv: Error: | |Duplicated origin for | |racktables-0.22.0: | |sysutils/racktables@php80 | |AND sysutils/racktables Status|New |Open CC| |bofh@freebsd.org --- Comment #1 from Kubilay Kocak --- ^Triage: Possibly related to php80 default version change, loop in committe= r in the event that's the case, or this is a dupe of another known issue. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Feb 24 01:24:58 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4955519D5AD0 for ; Thu, 24 Feb 2022 01:24:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K3wF60YwHz3jr4 for ; Thu, 24 Feb 2022 01:24:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E86C322C6E for ; Thu, 24 Feb 2022 01:24:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21O1OvCi045648 for ; Thu, 24 Feb 2022 01:24:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21O1Ov0Z045647 for riscv@FreeBSD.org; Thu, 24 Feb 2022 01:24:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 262160] sysutils/racktables: Fails to build under poudriere (bulk -a) on riscv: Error: Duplicated origin for racktables-0.22.0: sysutils/racktables@php80 AND sysutils/racktables Date: Thu, 24 Feb 2022 01:24:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jrtc27@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dinoex@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645665898; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SdOzDMigBU3Sa6c77dA1Sh0OJwuT1rZhbUYwa71Xd5c=; b=iWrQ8sla7r6wBj9OA+WfdoXkQJBrGyJV3+VQmMwu6ieUtiurD35RjOZ7ZZgDRo9iYcxa1Q 5C1g1zePJ8cUnrG2RWwMUF2DfFlmdE0hwIMnVFwQyz0SKUZuZXUHoKocjfkFpu5RN7aPr2 ZWSkaaAiZoPzC6foEUtalyRGOQRg1M7Z1FDYvbLzuiouVtLjcdW0HWj5n8D5k4GXHwCIto rYyYWbmWIqOIE4zH0gHQ0+ROjK6GuxPjRbMBQifuS1TRg/xOQR8UEHx2COTJkCnpcgZ3hg 77Dl+EqQnK+6+aX6ZMhe8Er9nRFaZCNRggS/oNOUS7nveQFo57XGVmXdSd3KrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645665898; a=rsa-sha256; cv=none; b=rpY49cFb+GE2jXOcHoJ/1KmVkxQQ0YEkunlO3aSGJEnr7A4j0ii/x57sGW2TK0/H/eP9+F /DlGS5GlFvr6bImBilSQ0Z06c5dCPnrDOD4RxaZaxca7mLgC8iYm9wWOy9DlNpDD2zEbrp P7qX96shg+iaqoDjkFycjA5t9g0HGWzXyd725IOqlkQdJZVd7kOGMOFS0f7AdW5ASex2oJ Fli+4v3g3X0pv7k6thwxmBO3Rf2zhHxtTRTBw7H72Hhvn0xxvbfbbGZ4X6gpVf4fDx3PxL VYhB8mhXQyzwSsPdK1UjDUGnzp5KUjaQ67AUNQnYgRm3sldjFaqtY1Z2GyACgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262160 Jessica Clarke changed: What |Removed |Added ---------------------------------------------------------------------------- CC|riscv@FreeBSD.org | --- Comment #2 from Jessica Clarke --- Probably fixed by 74942c05c203 ("sysutils/racktables: fix PKGNAME collision= s"). Not a RISC-V-specific issue, just the version of the ports tree you happene= d to be using. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Feb 26 22:44:04 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AB1B519EDF35 for ; Sat, 26 Feb 2022 22:44:14 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4K5hXF3ytvz3FD2 for ; Sat, 26 Feb 2022 22:44:13 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mailhost.netlabit.sk with ESMTPSA; Sat, 26 Feb 2022 23:44:05 +0100 id 00DD6044.621AAD35.000141A5 Date: Sat, 26 Feb 2022 23:44:04 +0100 From: Milan Obuch To: freebsd-riscv@freebsd.org Subject: PolarFire SoC based board working Message-ID: <20220226234404.7e2da95b@zeta.dino.sk> X-Mailer: Claws Mail 3.18.0git333 (GTK+ 2.24.33; i386-portbld-freebsd11.4) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4K5hXF3ytvz3FD2 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-riscv@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-riscv@dino.sk X-Spamd-Result: default: False [-1.29 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi, at https://dmesgd.nycbug.org/index.cgi?do=view&id=6455 is uploaded dmesg from system build using (almost) stock FreeBSD sources. This system uses PolarFire SoC combining RISC V cores with FPGA from Microchip. I use SoM and carrier board from Conclusive Engineering (www.conclusive.pl). Notes: - dmesg uploaded uses network driver (cgem) as kernel module. As there is SGMII between MAC (in SoC) and PHY, if_cgem.c needs a bit of patching. Another patch is needed for building miibus.ko (preliminary review at https://reviews.freebsd.org/D34256). - only one UART is shown here, however there are five in total. With simple tweak in FDT, all are working. - with some more patches, GPIO does work as well, verified partially (some hardware design in FPGA is probably necessary for full verification, not done yet). - another device requiring patches is SD/MMC driver. It works only in read only mode presently, I did not find the reason, yet. In dmesg given at URL above, memdisk is used for root filesystem. - manual intervention is required at the moment when loader starts, selecting safe mode. - when 'random: randomdev_wait_until_seeded unblock wait' lines started appearing, I used ctrl-C to unblock wait manually. I have probably patch dealing with this issue, test needed. PolarFire SoC is used for Icicle board as well, it would be good to know if some FreeBSD developer has this board... Regards, Milan From nobody Sun Feb 27 19:48:34 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5229D19E8468 for ; Sun, 27 Feb 2022 19:48:49 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K6DbN0b7hz3q5Z for ; Sun, 27 Feb 2022 19:48:48 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: by mail-lj1-x230.google.com with SMTP id p20so14716049ljo.0 for ; Sun, 27 Feb 2022 11:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=EJJgEfiYuKNnNRrH3lkExpTNUsZIvZpR5947iXzu/1A=; b=jjtCgdmfKGtfRypZj6mscOzcVKALZV63g9U/15RlI3gUKndID0misVvEZJWuco7yIx a7che6UijfaSwlyKtfJ95S5GnNqEGbV+8oeeAUhk/8lapcu5dswAkotfhq9ZwLBHV0Jp 5ObcNstGBBLOWlMVZ1mN7GzNa6zyfMvL0y3BWMI093qRJxFOnXkS2ceOHbZCpEnclUQ7 vG8+QtatPxK3MREfWzHcsv2w+FFn//rQcNOtac4kU2uR2KNFfcua9pUmP8oASmi6iA8m FyzZopJyVD33tdQrwj89KShdJ1gJ3P1x1oo3N/SC218CIxIPu30XotYKx66RXy5iuRLZ 5dPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=EJJgEfiYuKNnNRrH3lkExpTNUsZIvZpR5947iXzu/1A=; b=JKyYQj/ZVfSZFT0v7Ps76MdMYxHYdzIyvo+ZF/p1+3OXd4tLZ2IvKGJS9pM+I02GNA KoDfHkNxh5oeLg38cbw7vUiAInc1u+4vxz/ajjXhrVVV4hYTTIqDvTex56jPu0JGHwEw Ciw/zMcuV/XXb5RMTP8d4ZGKF+3q6os4iGLOXxEfE+IUjFVCjfcmygvZBuLmxmysKcm1 s18dHIsZd6x+9JazMzsEA2IA+ljLLtPAbqjOsSUi3hML6s8gzi50y1bCFwhYHSN4m028 ZMQV7aGrseaTRmx2mFiV8+n09C9MQ9jDNIqxCE7FhpYpx28D6YzdiNv4RWCBuxm8tVzn B1UA== X-Gm-Message-State: AOAM5304+JQ6K2Qhz0JmGL5wSh6iELgiSjZil8X3CWvlVzRUiS+2KRrP qRTBhTUfWT0LCZULkyahTYNJH7xDjSduxi9QHWY= X-Google-Smtp-Source: ABdhPJwWA6uJEy0bg5CkUeAkVqCmt4JY1GjFzP2ts/buCHdCJISIs8m1e3r3xWH2q+iufNnG0mMN16fHLDgWAzY23hk= X-Received: by 2002:a2e:8017:0:b0:246:3fb3:1618 with SMTP id j23-20020a2e8017000000b002463fb31618mr12439620ljg.427.1645991326378; Sun, 27 Feb 2022 11:48:46 -0800 (PST) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> In-Reply-To: <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> From: Julien Cassette Date: Sun, 27 Feb 2022 20:48:34 +0100 Message-ID: Subject: Re: Sipeed Lichee RV (Allwinner D1) To: Jakob Alvermark Cc: freebsd-riscv@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4K6DbN0b7hz3q5Z X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=jjtCgdmf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of juliencassette@gmail.com designates 2a00:1450:4864:20::230 as permitted sender) smtp.mailfrom=juliencassette@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.91.184.120:email,0.38.37.160:email,0.61.91.8:email,0.61.87.32:email]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::230:from]; MLMMJ_DEST(0.00)[freebsd-riscv]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Le dim. 27 f=C3=A9vr. 2022 =C3=A0 20:26, Jakob Alvermark a =C3=A9crit : > > > > On 2/7/22 18:44, Jessica Clarke wrote: > > On 7 Feb 2022, at 17:38, Jakob Alvermark wrote: > >> On 1/29/22 16:12, Jakob Alvermark wrote: > >>> On 1/28/22 16:29, Mitchell Horne wrote: > >>>> On 1/19/22 18:05, Jakob Alvermark wrote: > >>>>> On 1/19/22 17:24, Mitchell Horne wrote: > >>>>>> > >>>>>> On 1/17/22 15:02, Jakob Alvermark wrote: > >>>>>>> Hi, > >>>>>>> > >>>>>>> > >>>>>>> With RISC-V SBCs now coming down in price, I got curios and got m= yself a Lichee RV (with the dock). > >>>>>>> > >>>>>>> https://linux-sunxi.org/Sipeed_Lichee_RV > >>>>>>> > >>>>>>> The instructions here, https://linux-sunxi.org/Allwinner_Nezha al= ong with some patching got me a working U-boot. > >>>>>>> > >>>>>>> Cross-building and putting together and image for and SD card got= me this far: > >>>>>>> > >>>>> > >>>>>>> Loading kernel... > >>>>>>> /boot/kernel/kernel text=3D0x609ddc text=3D0x133abc data=3D0xf442= 0 data=3D0xb54+0x1d73e4 syms=3D[0x8+0xcd188+0x8+0xee5ae] > >>>>>>> Loading configured modules... > >>>>>>> can't find '/etc/hostid' > >>>>>>> can't find '/boot/entropy' > >>>>>>> Using DTB provided by EFI at 0x47ef5000. > >>>>>>> Kernel entry at 0x56a0002e... > >>>>>>> Kernel args: (null) > >>>>>>> > >>>>>>> ----- > >>>>>>> > >>>>>>> And here it stops for ~16 seconds then restarts, that's the watc= hdog resetting it. > >>>>>>> > >>>>>>> So where do I go from here? > >>>>>>> > >>>>>> Hi Jakob, > >>>>>> > >>>>>> Looks like it bails somewhere in the initial kernel setup, before = the first output to the console. This is a wide range, so it's difficult to= say exactly where things are going wrong. > >>>>>> > >>>>>> I will say that generally FreeBSD is not expected to work on the D= 1; as far as I know you are the first to try it. This hardware has some qui= rks requiring special support, which we are entirely lacking. Specifically,= there is one related to virtual memory management, which requires custom (= spec-breaking) bits in the page tables to be set, to properly specify the a= ttributes of physical and device memory. This _may_ have something to do wi= th why it is failing where it is. It would take a motivated party to add th= e support required for this SoC, and I'm not aware of anyone currently taki= ng this on. This board has caused some headaches in Linux-land for the same= reasons, but there are more hands to do the work there. I just want to set= the expectations properly :) > >>>>>> > >>>>>> If you wanted to debug this further, you might rebuild the kernel = after adding 'options EARLY_PRINTF' to the config file, as this should enab= le a couple early outputs and narrow down the search slightly. > >>>>> > >>>>> Hi Mitchell, > >>>>> > >>>>> > >>>>> I did not expect it to work. But it would be nice if it did. > >>>>> > >>>>> I have a long experience with FreeBSD and I have played around with= a couple of different ARM-boards, but I'm not very experienced with kernel= hacking. > >>>>> > >>>>> I built a kernel with EARLY_PRINTF, but it did not give me any more= output... > >>>>> > >>>>> Is there anything else I could try? > >>>>> > >>>> Yes, I missed an important detail: the required uart driver is missi= ng from the kernel. Please add 'device uart_snps' to the kernel config as w= ell, and see if this results in any output. > >>> > >>> Hi, I tried that, but sadly it did not make any difference. > >>> > >>> I looked at what they have done in Linux, and this commit seems to ha= ve some interesting bits: > >>> > >>> https://github.com/smaeul/linux/commit/c1bc61cee73e236c3cd69fe6c998b7= f80c654263#diff-4f4bb4eea826b523d76ddb1c539dad5685a0e7fd7cc8f1089a0493efd0e= 8e5b8 > >> > >> Hi again, > >> > >> > >> I noticed they have updated the U-Boot code to specifically support th= is board. > >> > >> With nothing to loose, I decided to try it. > >> > >> Now I get a little more: > >> > >> > >> > >> Loading kernel... > >> /boot/kernel/kernel text=3D0x5ef0ec text=3D0x1704dc data=3D0xf7900 dat= a=3D0xbcc+0x2741cc syms=3D[0x8+0xd0290+0x8+0xf1d3e] > >> Loading configured modules... > >> can't find '/boot/entropy' > >> can't find '/etc/hostid' > >> Using DTB provided by EFI at 0x47ef6000. > >> Kernel entry at 0x56a0002e... > >> Kernel args: (null) > >> ERROR loading DTB > >> panic: Boot hart ID was not properly set > >> cpuid =3D 0 > >> time =3D 1 > >> KDB: stack backtrace: > >> Uptime: 1s > > Like it says, your device tree is broken. U-Boot is supposed to copy > > the previous stage=E2=80=99s /chosen/boot-hartid to any device tree it = loads, > > but something=E2=80=99s gone wrong there. Not much FreeBSD can do about= that. > > I tried this: > > ----- > > OK fdt prop /chosen > Using DTB provided by EFI at 0x47ef6000. > fixup-applied > boot-hartid =3D <0x00000000> > stdout-path =3D "serial0:115200n8" > > ----- > > And then... > > ----- > > OK boot -v > Loading kernel... > /boot/kernel/kernel text=3D0x5ef0ec text=3D0x1704dc data=3D0xf7900 > data=3D0xbcc+0x2741cc syms=3D[0x8+0xd0290+0x8+0xf1d3e] > Loading configured modules... > can't find '/boot/entropy' > can't find '/etc/hostid' > Kernel entry at 0x56a0002e... > Kernel args: -v > t[0] =3D=3D 0xffffffc00085bcb0 > t[1] =3D=3D 0xffffffc00085bcd2 > t[2] =3D=3D 0xffffffc00085bcd1 > t[3] =3D=3D 0x00000000000004b5 > t[4] =3D=3D 0x0000000000000001 > t[5] =3D=3D 0x0000000015c59000 > t[6] =3D=3D 0x0000000015c59001 > s[0] =3D=3D 0xffffffc000003ca0 > s[1] =3D=3D 0xffffffc000ccf000 > s[2] =3D=3D 0xffffffc000ac6f00 > s[3] =3D=3D 0x0000000000008000 > s[4] =3D=3D 0xffffffc000003f10 > s[5] =3D=3D 0x0000000000000800 > s[6] =3D=3D 0x000000000000001f > s[7] =3D=3D 0x00000000000f4241 > s[8] =3D=3D 0x00000000000f4240 > s[9] =3D=3D 0x0000000056a00000 > s[10] =3D=3D 0x0000000000000ff0 > s[11] =3D=3D 0x000000005eb1c7a0 > a[0] =3D=3D 0xffffffbf80cd74d0 > a[1] =3D=3D 0x0000000000008007 > a[2] =3D=3D 0x0000000000000001 > a[3] =3D=3D 0x0000000000000001 > a[4] =3D=3D 0xffffffffffffffff > a[5] =3D=3D 0x0000000000000001 > a[6] =3D=3D 0x0000000000000003 > a[7] =3D=3D 0x0000000000000010 > ra =3D=3D 0xffffffc0005d3f3c > sp =3D=3D 0xffffffc000003c90 > gp =3D=3D 0x0000000000000000 > tp =3D=3D 0x0000000000000000 > sepc =3D=3D 0xffffffc000387cbc > sstatus =3D=3D 0x8000000201806100 > panic: Fatal page fault at 0xffffffc000387cbc: 0xffffffbf80cd74d0 > cpuid =3D 0 > time =3D 1 > KDB: stack backtrace: > Uptime: 1s > > Hi all I was stuck at the same point but I managed to get further by disabling MAEE in the MMU code of the SBL. This is configured by the bit number 21 of the MXSTATUS register: julien@Julien-T460:~/sun20i_d1_spl$ git diff diff --git a/arch/riscv/cpu/riscv64/mmu.c b/arch/riscv/cpu/riscv64/mmu.c index f1bd043..4ddde0f 100644 --- a/arch/riscv/cpu/riscv64/mmu.c +++ b/arch/riscv/cpu/riscv64/mmu.c @@ -43,7 +43,7 @@ __weak void dcache_enable(void) (21) MAEE=E4=B8=BA1=E6=97=B6MMU=E7=9A=84pte=E4=B8=AD=E6=89=A9=E5=B1= =95=E5=9C=B0=E5=9D=80=E5=B1=9E=E6=80=A7=E4=BD=8D=EF=BC=8C=E7=94=A8=E6=88=B7= =E5=8F=AF=E4=BB=A5=E9=85=8D=E7=BD=AE=E9=A1=B5=E9=9D=A2=E7=9A=84=E5=9C=B0=E5= =9D=80=E5=B1=9E=E6=80=A7 (22) THEADISAEE=E4=B8=BA1=E6=97=B6=E5=8F=AF=E4=BB=A5=E4=BD=BF=E7=94= =A8C906=E6=89=A9=E5=B1=95=E6=8C=87=E4=BB=A4=E9=9B=86 */ - csr_set(CSR_MXSTATUS, 0x638000); + csr_set(CSR_MXSTATUS, 0x438000); /* I have opened a pull request for this: https://github.com/smaeul/sun20i_d1_spl/pull/5 Now the boot is failing while mouting the rootfs: Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0x47ef6000. Kernel entry at 0x56a0002e... Kernel args: (null) ---<>--- Copyright (c) 1992-2021 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 03:30:22 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) SBI: OpenSBI v0.9 SBI Specification Version: 0.3 CPU(0): Unknown Implementer Unknown Processor real memory =3D 536870912 (512 MB) avail memory =3D 507383808 (483 MB) arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. random: entropy device external interface WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 14.0. ofwbus0: clk_fixed0: on ofwbus0 simplebus0: on ofwbus0 timer0: Timecounter "RISC-V Timecounter" frequency 24000000 Hz quality 1000 Event timer "RISC-V Eventtimer" frequency 24000000 Hz quality 1000 rcons0: cpulist0: on ofwbus0 cpu0: on cpulist0 cryptosoft0: Timecounters tick every 1.000 msec Trying to mount root from ufs:/dev/ufs/rootfs [rw]... mountroot: waiting for device /dev/ufs/rootfs... Mounting from ufs:/dev/ufs/rootfs failed with error 19. The full boot log is here: https://pastebin.com/BVaqnRh9 I hope this helps Julien Le dim. 27 f=C3=A9vr. 2022 =C3=A0 20:26, Jakob Alvermark a =C3=A9crit : > > > > On 2/7/22 18:44, Jessica Clarke wrote: > > On 7 Feb 2022, at 17:38, Jakob Alvermark wrote: > >> On 1/29/22 16:12, Jakob Alvermark wrote: > >>> On 1/28/22 16:29, Mitchell Horne wrote: > >>>> On 1/19/22 18:05, Jakob Alvermark wrote: > >>>>> On 1/19/22 17:24, Mitchell Horne wrote: > >>>>>> > >>>>>> On 1/17/22 15:02, Jakob Alvermark wrote: > >>>>>>> Hi, > >>>>>>> > >>>>>>> > >>>>>>> With RISC-V SBCs now coming down in price, I got curios and got m= yself a Lichee RV (with the dock). > >>>>>>> > >>>>>>> https://linux-sunxi.org/Sipeed_Lichee_RV > >>>>>>> > >>>>>>> The instructions here, https://linux-sunxi.org/Allwinner_Nezha al= ong with some patching got me a working U-boot. > >>>>>>> > >>>>>>> Cross-building and putting together and image for and SD card got= me this far: > >>>>>>> > >>>>> > >>>>>>> Loading kernel... > >>>>>>> /boot/kernel/kernel text=3D0x609ddc text=3D0x133abc data=3D0xf442= 0 data=3D0xb54+0x1d73e4 syms=3D[0x8+0xcd188+0x8+0xee5ae] > >>>>>>> Loading configured modules... > >>>>>>> can't find '/etc/hostid' > >>>>>>> can't find '/boot/entropy' > >>>>>>> Using DTB provided by EFI at 0x47ef5000. > >>>>>>> Kernel entry at 0x56a0002e... > >>>>>>> Kernel args: (null) > >>>>>>> > >>>>>>> ----- > >>>>>>> > >>>>>>> And here it stops for ~16 seconds then restarts, that's the watc= hdog resetting it. > >>>>>>> > >>>>>>> So where do I go from here? > >>>>>>> > >>>>>> Hi Jakob, > >>>>>> > >>>>>> Looks like it bails somewhere in the initial kernel setup, before = the first output to the console. This is a wide range, so it's difficult to= say exactly where things are going wrong. > >>>>>> > >>>>>> I will say that generally FreeBSD is not expected to work on the D= 1; as far as I know you are the first to try it. This hardware has some qui= rks requiring special support, which we are entirely lacking. Specifically,= there is one related to virtual memory management, which requires custom (= spec-breaking) bits in the page tables to be set, to properly specify the a= ttributes of physical and device memory. This _may_ have something to do wi= th why it is failing where it is. It would take a motivated party to add th= e support required for this SoC, and I'm not aware of anyone currently taki= ng this on. This board has caused some headaches in Linux-land for the same= reasons, but there are more hands to do the work there. I just want to set= the expectations properly :) > >>>>>> > >>>>>> If you wanted to debug this further, you might rebuild the kernel = after adding 'options EARLY_PRINTF' to the config file, as this should enab= le a couple early outputs and narrow down the search slightly. > >>>>> > >>>>> Hi Mitchell, > >>>>> > >>>>> > >>>>> I did not expect it to work. But it would be nice if it did. > >>>>> > >>>>> I have a long experience with FreeBSD and I have played around with= a couple of different ARM-boards, but I'm not very experienced with kernel= hacking. > >>>>> > >>>>> I built a kernel with EARLY_PRINTF, but it did not give me any more= output... > >>>>> > >>>>> Is there anything else I could try? > >>>>> > >>>> Yes, I missed an important detail: the required uart driver is missi= ng from the kernel. Please add 'device uart_snps' to the kernel config as w= ell, and see if this results in any output. > >>> > >>> Hi, I tried that, but sadly it did not make any difference. > >>> > >>> I looked at what they have done in Linux, and this commit seems to ha= ve some interesting bits: > >>> > >>> https://github.com/smaeul/linux/commit/c1bc61cee73e236c3cd69fe6c998b7= f80c654263#diff-4f4bb4eea826b523d76ddb1c539dad5685a0e7fd7cc8f1089a0493efd0e= 8e5b8 > >> > >> Hi again, > >> > >> > >> I noticed they have updated the U-Boot code to specifically support th= is board. > >> > >> With nothing to loose, I decided to try it. > >> > >> Now I get a little more: > >> > >> [35]HELLO! BOOT0 is starting! > >> [38]BOOT0 commit : 525883d-dirty > >> [41]set pll start > >> [43]periph0 has been enabled > >> [46]set pll end > >> [47]board init ok > >> [49]DRAM only have internal ZQ!! > >> [52]get_pmu_exist() =3D -1 > >> [55]ddr_efuse_type: 0x0 > >> [58][AUTO DEBUG] single rank and full DQ! > >> [62]ddr_efuse_type: 0x0 > >> [65][AUTO DEBUG] rank 0 row =3D 15 > >> [68][AUTO DEBUG] rank 0 bank =3D 8 > >> [71][AUTO DEBUG] rank 0 page size =3D 2 KB > >> [75]DRAM BOOT DRIVE INFO: V0.24 > >> [77]DRAM CLK =3D 792 MHz > >> [80]DRAM Type =3D 3 (2:DDR2,3:DDR3) > >> [83]DRAMC ZQ value: 0x7b7bfb > >> [85]DRAM ODT value: 0x42. > >> [88]ddr_efuse_type: 0x0 > >> [91]DRAM SIZE =3D512 M > >> [94]DRAM simple test OK. > >> [96]dram size =3D512 > >> [98]card no is 0 > >> [100]sdcard 0 line count 4 > >> [102][mmc]: mmc driver ver 2021-04-2 16:45 > >> [112][mmc]: Wrong media type 0x0 > >> [115][mmc]: ***Try SD card 0*** > >> [132][mmc]: HSSDR52/SDR25 4 bit > >> [135][mmc]: 50000000 Hz > >> [137][mmc]: 15193 MB > >> [139][mmc]: ***SD/MMC 0 init OK!!!*** > >> [176]Loading boot-pkg Succeed(index=3D1). > >> [180]Entry_name =3D opensbi > >> [183]Entry_name =3D dtb > >> [185]Entry_name =3D u-boot > >> [189]Adding DRAM info to DTB. > >> [193]Jump to second Boot. > >> > >> OpenSBI v1.0 > >> ____ _____ ____ _____ > >> / __ \ / ____| _ \_ _| > >> | | | |_ __ ___ _ __ | (___ | |_) || | > >> | | | | '_ \ / _ \ '_ \ \___ \| _ < | | > >> | |__| | |_) | __/ | | |____) | |_) || |_ > >> \____/| .__/ \___|_| |_|_____/|____/_____| > >> | | > >> |_| > >> > >> Platform Name : Sipeed Lichee RV Dock > >> Platform Features : medeleg > >> Platform HART Count : 1 > >> Platform IPI Device : aclint-mswi > >> Platform Timer Device : aclint-mtimer @ 24000000Hz > >> Platform Console Device : uart8250 > >> Platform HSM Device : --- > >> Platform Reboot Device : sunxi-wdt-reset > >> Platform Shutdown Device : --- > >> Firmware Base : 0x40000000 > >> Firmware Size : 264 KB > >> Runtime SBI Version : 0.3 > >> > >> Domain0 Name : root > >> Domain0 Boot HART : 0 > >> Domain0 HARTs : 0* > >> Domain0 Region00 : 0x0000000014008000-0x000000001400bfff (I) > >> Domain0 Region01 : 0x0000000014000000-0x0000000014007fff (I) > >> Domain0 Region02 : 0x0000000040000000-0x000000004007ffff () > >> Domain0 Region03 : 0x0000000000000000-0xffffffffffffffff (R,W= ,X) > >> Domain0 Next Address : 0x000000004a000000 > >> Domain0 Next Arg1 : 0x0000000044000000 > >> Domain0 Next Mode : S-mode > >> Domain0 SysReset : yes > >> > >> Boot HART ID : 0 > >> Boot HART Domain : root > >> Boot HART ISA : rv64imafdcvsux > >> Boot HART Features : scounteren,mcounteren,mcountinhibit,time > >> Boot HART PMP Count : 16 > >> Boot HART PMP Granularity : 2048 > >> Boot HART PMP Address Bits: 38 > >> Boot HART MHPM Count : 0 > >> Boot HART MIDELEG : 0x0000000000000222 > >> Boot HART MEDELEG : 0x000000000000b109 > >> > >> > >> U-Boot 2022.01-32931-gc249924b17-dirty (Feb 06 2022 - 17:29:00 +0100) > >> > >> DRAM: 512 MiB > >> Core: 43 devices, 18 uclasses, devicetree: board > >> WDT: Started watchdog@6011000 with servicing (16s timeout) > >> MMC: mmc@4020000: 0, mmc@4021000: 1 > >> Loading Environment from nowhere... OK > >> In: serial@2500000 > >> Out: serial@2500000 > >> Err: serial@2500000 > >> Net: No ethernet found. > >> Hit any key to stop autoboot: 0 > >> switch to partitions #0, OK > >> mmc0 is current device > >> Scanning mmc 0:1... > >> ** Unable to read file / ** > >> Failed to load '/' > >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC > >> Scanning disk mmc@4020000.blk... > >> Scanning disk mmc@4021000.blk... > >> Disk mmc@4021000.blk not ready > >> Found 3 disks > >> ** Unable to read file ubootefi.var ** > >> Failed to load EFI variables > >> BootOrder not defined > >> EFI boot manager: Cannot load any image > >> Found EFI removable media binary efi/boot/bootriscv64.efi > >> 1409436 bytes read in 248 ms (5.4 MiB/s) > >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC > >> Booting /efi\boot\bootriscv64.efi > >> > >> Consoles: EFI console > >> Reading loader env vars from /efi/freebsd/loader.env > >> Setting currdev to disk0p1: > >> FreeBSD/riscv EFI loader, Revision 1.1 > >> (Fri Jan 14 13:21:23 CET 2022 root@legion) > >> > >> Command line arguments: l > >> Image base: 0x5e9d8000 > >> EFI version: 2.90 > >> EFI Firmware: Das U-Boot (rev 8226.256) > >> Console: comconsole (0) > >> Load Path: /efi\boot\bootriscv64.efi > >> Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD= (0)/HD(1,GPT,1ab17495-7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) > >> Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/H= D(1,GPT,1ab17495-7795-11ec-9e49-f875a47d4ead,0xa1f8,0x10418) > >> Setting currdev to disk0p1: > >> Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,= GPT,2973d4b3-7795-11ec-9e49-f875a47d4ead,0x1a610,0x200000) > >> Setting currdev to disk0p2: > >> Loading /boot/defaults/loader.conf > >> Loading /boot/defaults/loader.conf > >> Loading /boot/device.hints > >> Loading /boot/loader.conf > >> Loading /boot/loader.conf.local > >> / > >> ______ ____ _____ _____ > >> | ____| | _ \ / ____| __ \ > >> | |___ _ __ ___ ___ | |_) | (___ | | | | > >> | ___| '__/ _ \/ _ \| _ < \___ \| | | | > >> | | | | | __/ __/| |_) |____) | |__| | > >> | | | | | | || | | | > >> |_| |_| \___|\___||____/|_____/|_____/ ``` = ` > >> s` `.....---.......--= .``` -/ > >> +---------- Welcome to FreeBSD -----------+ +o .--` /y:` += . > >> | | yo`:. :o `+- > >> | 1. Boot Multi user [Enter] | y/ -/` -o/ > >> | 2. Boot Single user | .- ::/s= y+:. > >> | 3. Escape to loader prompt | / `-= - / > >> | 4. Reboot | `: = :` > >> | 5. Cons: Video | `: = :` > >> | | / = / > >> | Options: | .- = -. > >> | 6. Kernel: default/kernel (1 of 1) | -- = -. > >> | 7. Boot Options | `:` `:` > >> | | .-- `--. > >> | | .---.....----. > >> +-----------------------------------------+ > >> Autoboot in 0 seconds. [Space] to pause > >> > >> Loading kernel... > >> /boot/kernel/kernel text=3D0x5ef0ec text=3D0x1704dc data=3D0xf7900 dat= a=3D0xbcc+0x2741cc syms=3D[0x8+0xd0290+0x8+0xf1d3e] > >> Loading configured modules... > >> can't find '/boot/entropy' > >> can't find '/etc/hostid' > >> Using DTB provided by EFI at 0x47ef6000. > >> Kernel entry at 0x56a0002e... > >> Kernel args: (null) > >> ERROR loading DTB > >> panic: Boot hart ID was not properly set > >> cpuid =3D 0 > >> time =3D 1 > >> KDB: stack backtrace: > >> Uptime: 1s > > Like it says, your device tree is broken. U-Boot is supposed to copy > > the previous stage=E2=80=99s /chosen/boot-hartid to any device tree it = loads, > > but something=E2=80=99s gone wrong there. Not much FreeBSD can do about= that. > > I tried this: > > ----- > > OK fdt prop /chosen > Using DTB provided by EFI at 0x47ef6000. > fixup-applied > boot-hartid =3D <0x00000000> > stdout-path =3D "serial0:115200n8" > > ----- > > And then... > > ----- > > OK boot -v > Loading kernel... > /boot/kernel/kernel text=3D0x5ef0ec text=3D0x1704dc data=3D0xf7900 > data=3D0xbcc+0x2741cc syms=3D[0x8+0xd0290+0x8+0xf1d3e] > Loading configured modules... > can't find '/boot/entropy' > can't find '/etc/hostid' > Kernel entry at 0x56a0002e... > Kernel args: -v > t[0] =3D=3D 0xffffffc00085bcb0 > t[1] =3D=3D 0xffffffc00085bcd2 > t[2] =3D=3D 0xffffffc00085bcd1 > t[3] =3D=3D 0x00000000000004b5 > t[4] =3D=3D 0x0000000000000001 > t[5] =3D=3D 0x0000000015c59000 > t[6] =3D=3D 0x0000000015c59001 > s[0] =3D=3D 0xffffffc000003ca0 > s[1] =3D=3D 0xffffffc000ccf000 > s[2] =3D=3D 0xffffffc000ac6f00 > s[3] =3D=3D 0x0000000000008000 > s[4] =3D=3D 0xffffffc000003f10 > s[5] =3D=3D 0x0000000000000800 > s[6] =3D=3D 0x000000000000001f > s[7] =3D=3D 0x00000000000f4241 > s[8] =3D=3D 0x00000000000f4240 > s[9] =3D=3D 0x0000000056a00000 > s[10] =3D=3D 0x0000000000000ff0 > s[11] =3D=3D 0x000000005eb1c7a0 > a[0] =3D=3D 0xffffffbf80cd74d0 > a[1] =3D=3D 0x0000000000008007 > a[2] =3D=3D 0x0000000000000001 > a[3] =3D=3D 0x0000000000000001 > a[4] =3D=3D 0xffffffffffffffff > a[5] =3D=3D 0x0000000000000001 > a[6] =3D=3D 0x0000000000000003 > a[7] =3D=3D 0x0000000000000010 > ra =3D=3D 0xffffffc0005d3f3c > sp =3D=3D 0xffffffc000003c90 > gp =3D=3D 0x0000000000000000 > tp =3D=3D 0x0000000000000000 > sepc =3D=3D 0xffffffc000387cbc > sstatus =3D=3D 0x8000000201806100 > panic: Fatal page fault at 0xffffffc000387cbc: 0xffffffbf80cd74d0 > cpuid =3D 0 > time =3D 1 > KDB: stack backtrace: > Uptime: 1s > > From nobody Mon Feb 28 17:19:46 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0510C19EA762 for ; Mon, 28 Feb 2022 17:20:08 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K6nFM0pTVz3jtm for ; Mon, 28 Feb 2022 17:20:07 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: by mail-lf1-x132.google.com with SMTP id u20so22595101lff.2 for ; Mon, 28 Feb 2022 09:20:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=YAx75wYtVoBboLiKEFHRjfLq+zM5SuD6tZHNlA48Muo=; b=h+5+qtlovA7RoIbf7O3M6zmaHHTcBcdKWSk6tqHhtTZsm05a7MnDYQ5stRKrExiZpo SwlCK9Bz0oPAZstE8rzMOHk4ZJEe40lUaAb4BAT+AYXk/JUXykq388r806KwG2dzdzjw twGahoQbvYoHOs6upcejnM149Xt6z/SVbCgzyh1asF9vHYHdia3FBVSxxyLGwpvKDdI0 qcCG5Ys69hbgm6wXxHE2hurTeJpMXkyr2pAK2bUzjSFroq3NqRO+T/kZGGFO6MDPh626 AAHx7LbvbvE8fZs7DCzJsCWWM1PXgjW4vUkMrfi1xQT6V9KNtjW3+8Fa1y2df9peMA0L nCTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=YAx75wYtVoBboLiKEFHRjfLq+zM5SuD6tZHNlA48Muo=; b=bden5dqqPmU259G+8kEO0r7k80INFqGpvCtUVh6onMzgGajr1XmouyBxpJpjpMP2FB eOrARypLe2YT8mhTonWZY5hKgDpB54BYuyP3d9NYc7uiJVbYxM0AK46YHgw9CT+72uvV +u5A60CGEdQZHTftX9DCFFAGSjsAkA96Na7YVZqzeTbVNy7/tE6emp6kQh2eyNEbOjA8 /NyHt5/1ydex/QJv8pH4wq0VQsCgQRKVYm1ZQUQCOAd1ZB0ZhVyT/zpcKbh8wf/6Ef7/ SR/GlZrBPtXkjlUT46mssVXgYlXFVy9BPEvrWbXFdw1MtI4gzqIYqA7SD9sFajVMgFXs NhiQ== X-Gm-Message-State: AOAM533ZEAYoFBcYwI9kzkSrPJLu+jrguDk3Ki+6Q+t5q3MSInpthG0U qSbiHPQx9EGpjmOXZjbkUi7ft5SR0qghVy3FwRPUUIO6EQM= X-Google-Smtp-Source: ABdhPJzac2NLP0YxeCdR9EQDARwbRg7DZkLjMQMuGN8VQNMLxkJCVHUrr8UnAQv8HoUfBoz7aVuHUqPhBO4joIUgC3I= X-Received: by 2002:a19:691c:0:b0:443:9a02:35d with SMTP id e28-20020a19691c000000b004439a02035dmr13209145lfc.541.1646068800026; Mon, 28 Feb 2022 09:20:00 -0800 (PST) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> In-Reply-To: <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> From: Julien Cassette Date: Mon, 28 Feb 2022 18:19:46 +0100 Message-ID: Subject: Re: Sipeed Lichee RV (Allwinner D1) To: freebsd-riscv@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4K6nFM0pTVz3jtm X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=h+5+qtlo; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of juliencassette@gmail.com designates 2a00:1450:4864:20::132 as permitted sender) smtp.mailfrom=juliencassette@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::132:from]; MLMMJ_DEST(0.00)[freebsd-riscv]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Le dim. 27 f=C3=A9vr. 2022 =C3=A0 20:26, Jakob Alvermark a =C3=A9crit : > > > > On 2/7/22 18:44, Jessica Clarke wrote: > > On 7 Feb 2022, at 17:38, Jakob Alvermark wrote: > >> On 1/29/22 16:12, Jakob Alvermark wrote: > >>> On 1/28/22 16:29, Mitchell Horne wrote: > >>>> On 1/19/22 18:05, Jakob Alvermark wrote: > >>>>> On 1/19/22 17:24, Mitchell Horne wrote: > >>>>>> > >>>>>> On 1/17/22 15:02, Jakob Alvermark wrote: > >>>>>>> Hi, > >>>>>>> > >>>>>>> > >>>>>>> With RISC-V SBCs now coming down in price, I got curios and got m= yself a Lichee RV (with the dock). > >>>>>>> > >>>>>>> https://linux-sunxi.org/Sipeed_Lichee_RV > >>>>>>> > >>>>>>> The instructions here, https://linux-sunxi.org/Allwinner_Nezha al= ong with some patching got me a working U-boot. > >>>>>>> > >>>>>>> Cross-building and putting together and image for and SD card got= me this far: > >>>>>>> > >>>>> > >>>>>>> Loading kernel... > >>>>>>> /boot/kernel/kernel text=3D0x609ddc text=3D0x133abc data=3D0xf442= 0 data=3D0xb54+0x1d73e4 syms=3D[0x8+0xcd188+0x8+0xee5ae] > >>>>>>> Loading configured modules... > >>>>>>> can't find '/etc/hostid' > >>>>>>> can't find '/boot/entropy' > >>>>>>> Using DTB provided by EFI at 0x47ef5000. > >>>>>>> Kernel entry at 0x56a0002e... > >>>>>>> Kernel args: (null) > >>>>>>> > >>>>>>> ----- > >>>>>>> > >>>>>>> And here it stops for ~16 seconds then restarts, that's the watc= hdog resetting it. > >>>>>>> > >>>>>>> So where do I go from here? > >>>>>>> > >>>>>> Hi Jakob, > >>>>>> > >>>>>> Looks like it bails somewhere in the initial kernel setup, before = the first output to the console. This is a wide range, so it's difficult to= say exactly where things are going wrong. > >>>>>> > >>>>>> I will say that generally FreeBSD is not expected to work on the D= 1; as far as I know you are the first to try it. This hardware has some qui= rks requiring special support, which we are entirely lacking. Specifically,= there is one related to virtual memory management, which requires custom (= spec-breaking) bits in the page tables to be set, to properly specify the a= ttributes of physical and device memory. This _may_ have something to do wi= th why it is failing where it is. It would take a motivated party to add th= e support required for this SoC, and I'm not aware of anyone currently taki= ng this on. This board has caused some headaches in Linux-land for the same= reasons, but there are more hands to do the work there. I just want to set= the expectations properly :) > >>>>>> > >>>>>> If you wanted to debug this further, you might rebuild the kernel = after adding 'options EARLY_PRINTF' to the config file, as this should enab= le a couple early outputs and narrow down the search slightly. > >>>>> > >>>>> Hi Mitchell, > >>>>> > >>>>> > >>>>> I did not expect it to work. But it would be nice if it did. > >>>>> > >>>>> I have a long experience with FreeBSD and I have played around with= a couple of different ARM-boards, but I'm not very experienced with kernel= hacking. > >>>>> > >>>>> I built a kernel with EARLY_PRINTF, but it did not give me any more= output... > >>>>> > >>>>> Is there anything else I could try? > >>>>> > >>>> Yes, I missed an important detail: the required uart driver is missi= ng from the kernel. Please add 'device uart_snps' to the kernel config as w= ell, and see if this results in any output. > >>> > >>> Hi, I tried that, but sadly it did not make any difference. > >>> > >>> I looked at what they have done in Linux, and this commit seems to ha= ve some interesting bits: > >>> > >>> https://github.com/smaeul/linux/commit/c1bc61cee73e236c3cd69fe6c998b7= f80c654263#diff-4f4bb4eea826b523d76ddb1c539dad5685a0e7fd7cc8f1089a0493efd0e= 8e5b8 > >> > >> Hi again, > >> > >> > >> I noticed they have updated the U-Boot code to specifically support th= is board. > >> > >> With nothing to loose, I decided to try it. > >> > >> Now I get a little more: > >> > >> > >> Loading kernel... > >> /boot/kernel/kernel text=3D0x5ef0ec text=3D0x1704dc data=3D0xf7900 dat= a=3D0xbcc+0x2741cc syms=3D[0x8+0xd0290+0x8+0xf1d3e] > >> Loading configured modules... > >> can't find '/boot/entropy' > >> can't find '/etc/hostid' > >> Using DTB provided by EFI at 0x47ef6000. > >> Kernel entry at 0x56a0002e... > >> Kernel args: (null) > >> ERROR loading DTB > >> panic: Boot hart ID was not properly set > >> cpuid =3D 0 > >> time =3D 1 > >> KDB: stack backtrace: > >> Uptime: 1s > > Like it says, your device tree is broken. U-Boot is supposed to copy > > the previous stage=E2=80=99s /chosen/boot-hartid to any device tree it = loads, > > but something=E2=80=99s gone wrong there. Not much FreeBSD can do about= that. > > I tried this: > > ----- > > OK fdt prop /chosen > Using DTB provided by EFI at 0x47ef6000. > fixup-applied > boot-hartid =3D <0x00000000> > stdout-path =3D "serial0:115200n8" > > ----- > > And then... > > ----- > > OK boot -v > Loading kernel... > /boot/kernel/kernel text=3D0x5ef0ec text=3D0x1704dc data=3D0xf7900 > data=3D0xbcc+0x2741cc syms=3D[0x8+0xd0290+0x8+0xf1d3e] > Loading configured modules... > can't find '/boot/entropy' > can't find '/etc/hostid' > Kernel entry at 0x56a0002e... > Kernel args: -v > t[0] =3D=3D 0xffffffc00085bcb0 > t[1] =3D=3D 0xffffffc00085bcd2 > t[2] =3D=3D 0xffffffc00085bcd1 > t[3] =3D=3D 0x00000000000004b5 > t[4] =3D=3D 0x0000000000000001 > t[5] =3D=3D 0x0000000015c59000 > t[6] =3D=3D 0x0000000015c59001 > s[0] =3D=3D 0xffffffc000003ca0 > s[1] =3D=3D 0xffffffc000ccf000 > s[2] =3D=3D 0xffffffc000ac6f00 > s[3] =3D=3D 0x0000000000008000 > s[4] =3D=3D 0xffffffc000003f10 > s[5] =3D=3D 0x0000000000000800 > s[6] =3D=3D 0x000000000000001f > s[7] =3D=3D 0x00000000000f4241 > s[8] =3D=3D 0x00000000000f4240 > s[9] =3D=3D 0x0000000056a00000 > s[10] =3D=3D 0x0000000000000ff0 > s[11] =3D=3D 0x000000005eb1c7a0 > a[0] =3D=3D 0xffffffbf80cd74d0 > a[1] =3D=3D 0x0000000000008007 > a[2] =3D=3D 0x0000000000000001 > a[3] =3D=3D 0x0000000000000001 > a[4] =3D=3D 0xffffffffffffffff > a[5] =3D=3D 0x0000000000000001 > a[6] =3D=3D 0x0000000000000003 > a[7] =3D=3D 0x0000000000000010 > ra =3D=3D 0xffffffc0005d3f3c > sp =3D=3D 0xffffffc000003c90 > gp =3D=3D 0x0000000000000000 > tp =3D=3D 0x0000000000000000 > sepc =3D=3D 0xffffffc000387cbc > sstatus =3D=3D 0x8000000201806100 > panic: Fatal page fault at 0xffffffc000387cbc: 0xffffffbf80cd74d0 > cpuid =3D 0 > time =3D 1 > KDB: stack backtrace: > Uptime: 1s > > I don't know what happened with my previous message, I am trying to repost properly, sorry about that... I was stuck at the same point but I managed to get further by disabling the custom memory attributes, ie. having the MMU in compatible mode. This is configured in the MMU code of the SBL, by the bit number 21 (MAEE) of the MXSTATUS register: julien@Julien-T460:~/sun20i_d1_spl$ git diff diff --git a/arch/riscv/cpu/riscv64/mmu.c b/arch/riscv/cpu/riscv64/mmu.c index f1bd043..4ddde0f 100644 --- a/arch/riscv/cpu/riscv64/mmu.c +++ b/arch/riscv/cpu/riscv64/mmu.c @@ -43,7 +43,7 @@ __weak void dcache_enable(void) (21) MAEE=E4=B8=BA1=E6=97=B6MMU=E7=9A=84pte=E4=B8=AD=E6=89=A9=E5=B1= =95=E5=9C=B0=E5=9D=80=E5=B1=9E=E6=80=A7=E4=BD=8D=EF=BC=8C=E7=94=A8=E6=88=B7= =E5=8F=AF=E4=BB=A5=E9=85=8D=E7=BD=AE=E9=A1=B5=E9=9D=A2=E7=9A=84=E5=9C=B0=E5= =9D=80=E5=B1=9E=E6=80=A7 (22) THEADISAEE=E4=B8=BA1=E6=97=B6=E5=8F=AF=E4=BB=A5=E4=BD=BF=E7=94= =A8C906=E6=89=A9=E5=B1=95=E6=8C=87=E4=BB=A4=E9=9B=86 */ - csr_set(CSR_MXSTATUS, 0x638000); + csr_set(CSR_MXSTATUS, 0x438000); /* I have opened a pull request for this: https://github.com/smaeul/sun20i_d1_spl/pull/5 Now the boot is failing while mouting the rootfs: Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0x47ef6000. Kernel entry at 0x56a0002e... Kernel args: (null) ---<>--- Copyright (c) 1992-2021 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 03:30:22 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) SBI: OpenSBI v0.9 SBI Specification Version: 0.3 CPU(0): Unknown Implementer Unknown Processor real memory =3D 536870912 (512 MB) avail memory =3D 507383808 (483 MB) arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. random: entropy device external interface WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 14.0. ofwbus0: clk_fixed0: on ofwbus0 simplebus0: on ofwbus0 timer0: Timecounter "RISC-V Timecounter" frequency 24000000 Hz quality 1000 Event timer "RISC-V Eventtimer" frequency 24000000 Hz quality 1000 rcons0: cpulist0: on ofwbus0 cpu0: on cpulist0 cryptosoft0: Timecounters tick every 1.000 msec Trying to mount root from ufs:/dev/ufs/rootfs [rw]... mountroot: waiting for device /dev/ufs/rootfs... Mounting from ufs:/dev/ufs/rootfs failed with error 19. The full boot log is here: https://pastebin.com/BVaqnRh9 I hope this helps Julien From nobody Mon Feb 28 17:48:26 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 987A819EEEF9 for ; Mon, 28 Feb 2022 17:48:30 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4K6nt54w9kz3mkn for ; Mon, 28 Feb 2022 17:48:29 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mailhost.netlabit.sk with ESMTPSA; Mon, 28 Feb 2022 18:48:27 +0100 id 00DD63AA.621D0AEB.0000E88C Date: Mon, 28 Feb 2022 18:48:26 +0100 From: Milan Obuch To: freebsd-riscv@freebsd.org Subject: Re: Sipeed Lichee RV (Allwinner D1) Message-ID: <20220228184826.5bdfe7d9@zeta.dino.sk> In-Reply-To: References: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> X-Mailer: Claws Mail 3.18.0git333 (GTK+ 2.24.33; i386-portbld-freebsd11.4) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4K6nt54w9kz3mkn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-riscv@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-riscv@dino.sk X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Mon, 28 Feb 2022 18:19:46 +0100 Julien Cassette wrote: [ snip ] > Now the boot is failing while mouting the rootfs: > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by EFI at 0x47ef6000. > Kernel entry at 0x56a0002e... > Kernel args: (null) > ---<>--- > Copyright (c) 1992-2021 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 > 03:30:22 UTC 2021 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC > riscv > FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git > llvmorg-11.0.1-0-g43ff75f2c3fe) > SBI: OpenSBI v0.9 > SBI Specification Version: 0.3 > CPU(0): Unknown Implementer Unknown Processor > real memory = 536870912 (512 MB) > avail memory = 507383808 (483 MB) > arc4random: WARNING: initial seeding bypassed the cryptographic random > device because it was not yet seeded and the knob > 'bypass_before_seeding' was enabled. > random: entropy device external interface > WARNING: Device "openfirm" is Giant locked and may be deleted before > FreeBSD 14.0. > ofwbus0: > clk_fixed0: on ofwbus0 > simplebus0: on ofwbus0 > timer0: > Timecounter "RISC-V Timecounter" frequency 24000000 Hz quality 1000 > Event timer "RISC-V Eventtimer" frequency 24000000 Hz quality 1000 > rcons0: > cpulist0: on ofwbus0 > cpu0: on cpulist0 > cryptosoft0: > Timecounters tick every 1.000 msec > Trying to mount root from ufs:/dev/ufs/rootfs [rw]... > mountroot: waiting for device /dev/ufs/rootfs... > Mounting from ufs:/dev/ufs/rootfs failed with error 19. > > The full boot log is here: https://pastebin.com/BVaqnRh9 > Hi, I have zero knowledge about Allwinner D1, however your console log is really short, almost no devices here. As it is not possible to mount root this way (no device where any file system could reside on), it is possible to use memory filesystem (mfs) embedded in kernel for small root. Also, at 'mountroot>' prompt, try pressing '?' to get valid disk boot devices list, probably it is empty because lack of devices. Using mfs allows boot to multiuser with some minimal filesystem, which is important milestone when working on support for new system, in my eyes. Regards, Milan From nobody Thu Mar 3 21:50:30 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DB77019FD622 for ; Thu, 3 Mar 2022 21:50:43 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K8l6C3CBQz3pf5 for ; Thu, 3 Mar 2022 21:50:43 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: by mail-lf1-x133.google.com with SMTP id m14so10849174lfu.4 for ; Thu, 03 Mar 2022 13:50:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=9/Ywoth2gnz0oQBbpb5ilicRa4CHYwmVbtQCCljc7v8=; b=D2rB3OR/HID+flxkm9Cx0aL+XR+JrP556O/J8hdDyD38QVuZwo9rnaLkmqOQj0iQ1k uP5xMZHAPFcUGBEvY/z6oZvHt/yQvm5oKSeietCtslAidwHzhvtjSzYRD3LUX9i91QIU ir5d3/CCiwQccmRHapEzt8p5OQkHZIjbD2hmllnN//ygqu2eADsVYDjCJv8CldGkkGVf eFXO3WDfalU3b8jF69VOrm6foclYHUb71U0ktpzbormxM9KL02Y1PUz8VV5iru3AstqN ene90qZXRns6tjHM7WIIR/JtrIe0MEPc6ixFrIpNsnaeqSWilxDPkvQm1WEeoQxn8msq +Qew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=9/Ywoth2gnz0oQBbpb5ilicRa4CHYwmVbtQCCljc7v8=; b=GskOlVvrOQQmePeouyy6IHqLvZx2EYWLROPMcKeC5fsqY5aqueomIkPpBYvT3d57uf d828T0o7he7xTpvm49l+I5lGBipeDXMrbffUdVqxPIGr5266o+Wk9AzfLKrXaBCkzbUw 4NcJn+y3sPjwz/yZSk7Q1KABKuw+odDZoBv+vGslwZkbVG8OROotpOX7OrzuuA3ItmR5 nIH/Kt175NOEdr17dLXQpm4adGMNQ+YTGzwNWjt7XsLI0g0HrMqr96YCaIAS00GHMP29 RI/WBaD1FFTm6U5uJbGWYRAzW30lrpzRj6gPWekZQYHf3vVJfowHBFgcZcdvxCJ0rkeD jQDA== X-Gm-Message-State: AOAM531VfCmIUbkUy9Bc8w9NUVLZxUZJT7HJOypIIDzWp6fJuOELzfmD lozDyLJO5Hsym7O3CNbg9a/WaiYYVnPbbXJ9qlUe8UzvqeM= X-Google-Smtp-Source: ABdhPJxGqyYntF7ytmVtWSAZK7Ho2iVJAiE8M/yhDKO+05AV6cj5us222nfSfDIydWkUFaVKOdVs/k48KThkkFpTHFY= X-Received: by 2002:a05:6512:2811:b0:447:3ed3:1fab with SMTP id cf17-20020a056512281100b004473ed31fabmr1532489lfb.638.1646344242105; Thu, 03 Mar 2022 13:50:42 -0800 (PST) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> <20220228184826.5bdfe7d9@zeta.dino.sk> In-Reply-To: <20220228184826.5bdfe7d9@zeta.dino.sk> From: Julien Cassette Date: Thu, 3 Mar 2022 22:50:30 +0100 Message-ID: Subject: Re: Sipeed Lichee RV (Allwinner D1) To: freebsd-riscv@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4K8l6C3CBQz3pf5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="D2rB3OR/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of juliencassette@gmail.com designates 2a00:1450:4864:20::133 as permitted sender) smtp.mailfrom=juliencassette@gmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.50)[0.502]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::133:from]; MLMMJ_DEST(0.00)[freebsd-riscv]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Le lun. 28 f=C3=A9vr. 2022 =C3=A0 18:48, Milan Obuch a =C3=A9crit : > > On Mon, 28 Feb 2022 18:19:46 +0100 > Julien Cassette wrote: > > [ snip ] > > > Now the boot is failing while mouting the rootfs: > > > > Hit [Enter] to boot immediately, or any other key for command prompt. > > Booting [/boot/kernel/kernel]... > > Using DTB provided by EFI at 0x47ef6000. > > Kernel entry at 0x56a0002e... > > Kernel args: (null) > > ---<>--- > > Copyright (c) 1992-2021 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > > 1994 The Regents of the University of California. All rights reserved. > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 > > 03:30:22 UTC 2021 > > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GEN= ERIC > > riscv > > FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git > > llvmorg-11.0.1-0-g43ff75f2c3fe) > > SBI: OpenSBI v0.9 > > SBI Specification Version: 0.3 > > CPU(0): Unknown Implementer Unknown Processor > > real memory =3D 536870912 (512 MB) > > avail memory =3D 507383808 (483 MB) > > arc4random: WARNING: initial seeding bypassed the cryptographic random > > device because it was not yet seeded and the knob > > 'bypass_before_seeding' was enabled. > > random: entropy device external interface > > WARNING: Device "openfirm" is Giant locked and may be deleted before > > FreeBSD 14.0. > > ofwbus0: > > clk_fixed0: on ofwbus0 > > simplebus0: on ofwbus0 > > timer0: > > Timecounter "RISC-V Timecounter" frequency 24000000 Hz quality 1000 > > Event timer "RISC-V Eventtimer" frequency 24000000 Hz quality 1000 > > rcons0: > > cpulist0: on ofwbus0 > > cpu0: on cpulist0 > > cryptosoft0: > > Timecounters tick every 1.000 msec > > Trying to mount root from ufs:/dev/ufs/rootfs [rw]... > > mountroot: waiting for device /dev/ufs/rootfs... > > Mounting from ufs:/dev/ufs/rootfs failed with error 19. > > > > The full boot log is here: https://pastebin.com/BVaqnRh9 > > > > Hi, > > I have zero knowledge about Allwinner D1, however your console log is > really short, almost no devices here. As it is not possible to mount > root this way (no device where any file system could reside on), it > is possible to use memory filesystem (mfs) embedded in kernel for small > root. > > Also, at 'mountroot>' prompt, try pressing '?' to get valid disk boot > devices list, probably it is empty because lack of devices. Using mfs > allows boot to multiuser with some minimal filesystem, which is > important milestone when working on support for new system, in my eyes. > > Regards, > Milan > Hi Milan and thanks for your help > Also, at 'mountroot>' prompt, try pressing '?' to get valid disk boot > devices list, probably it is empty because lack of devices. Yes it is empty. I guess there is no MMC driver for the D1 right now. > is possible to use memory filesystem (mfs) embedded in kernel for small > root. I have managed to boot from an mfs root containing /rescue and some symlink= s. I have got a shell prompt but then the D1 resets a few seconds after that. The log is here: https://pastebin.com/HMCVaHFa Regards, Julien From nobody Thu Mar 3 22:25:47 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6B8371A039E6 for ; Thu, 3 Mar 2022 22:25:58 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4K8lts3N6jz3t8s for ; Thu, 3 Mar 2022 22:25:57 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mailhost.netlabit.sk with ESMTPSA; Thu, 03 Mar 2022 23:25:48 +0100 id 00DADC7E.6221406D.00010C7F Date: Thu, 3 Mar 2022 23:25:47 +0100 From: Milan Obuch To: freebsd-riscv@freebsd.org Subject: Re: Sipeed Lichee RV (Allwinner D1) Message-ID: <20220303232547.316daa2d@zeta.dino.sk> In-Reply-To: References: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> <20220228184826.5bdfe7d9@zeta.dino.sk> X-Mailer: Claws Mail 3.18.0git333 (GTK+ 2.24.33; i386-portbld-freebsd11.4) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4K8lts3N6jz3t8s X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-riscv@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-riscv@dino.sk X-Spamd-Result: default: False [-3.29 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.995]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.91.184.120:email]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; DBL_PROHIBIT(0.00)[0.91.184.120:email]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, 3 Mar 2022 22:50:30 +0100 Julien Cassette wrote: > Le lun. 28 f=C3=A9vr. 2022 =C3=A0 18:48, Milan Obuch a > =C3=A9crit : [ snip ] > > Hi, > > > > I have zero knowledge about Allwinner D1, however your console log > > is really short, almost no devices here. As it is not possible to > > mount root this way (no device where any file system could reside > > on), it is possible to use memory filesystem (mfs) embedded in > > kernel for small root. > > > > Also, at 'mountroot>' prompt, try pressing '?' to get valid disk > > boot devices list, probably it is empty because lack of devices. > > Using mfs allows boot to multiuser with some minimal filesystem, > > which is important milestone when working on support for new > > system, in my eyes. > > > > Regards, > > Milan > > =20 >=20 > Hi Milan and thanks for your help >=20 > > Also, at 'mountroot>' prompt, try pressing '?' to get valid disk > > boot devices list, probably it is empty because lack of devices. =20 >=20 > Yes it is empty. I guess there is no MMC driver for the D1 right now. >=20 > > is possible to use memory filesystem (mfs) embedded in kernel for > > small root. =20 >=20 > I have managed to boot from an mfs root containing /rescue and some > symlinks. I have got a shell prompt but then the D1 resets a few > seconds after that. The log is here: https://pastebin.com/HMCVaHFa >=20 Well, this is probably watchdog firing reset. From U-Boot: WDT: Started watchdog@6011000 with servicing (16s timeout) You need either write a watchdog driver to prevent timeout occuring, or disable the watchdog (if possible, this could not be the case). Also, it would help to see FDT (from U-Boot, command 'fdt print', but this needs probably 'fdt addr xxxx' with correct address first). Log presented is too short, suggesting FDT used is incomplete for some reason. Also, you can load root filesystem from embedded image automatically, using options ROOTDEVNAME=3D\"ufs:/dev/md0\" in kernel config. Regards, Milan From nobody Sun Mar 13 16:30:43 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 286D61A09B22 for ; Sun, 13 Mar 2022 16:30:57 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KGlXc3Nk3z3lfp for ; Sun, 13 Mar 2022 16:30:56 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: by mail-lj1-x22a.google.com with SMTP id q5so18634490ljb.11 for ; Sun, 13 Mar 2022 09:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=9CZ+8MPmfIuo9fe9uAjvED0emhL7A7QSC9vnUcNe8/M=; b=e57jsDzTQlm6abz6JDK42XmNlBGuUV1HrWEhss7sGHWRRsA4b9N4ehAUr20WSSch+K 9+Ul/r6f0mOUcKPYvneoewsfv4iAonA76gHC8PIQv/yqmUrEJ+yjFkKKWV/zHTGQp9La KIwKorFR/Kw5btLLkZjqQoM7M856qpRpSRGp6Gh+OD5KJUui5RnQLUAbLm8IfQzOOaVB CkyTVKvDhtXLjuFre6NnaaEadylCUfHHqiKfAKkRWvpTF/2IDLxRKM74c1M7y6SvslRl Pt/PzioNmsLrQNk3QcYulm/NwInG+9Vtxs1T3pO393TBqCIbF9MPOg/QQrVh5IcE12CO XxUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=9CZ+8MPmfIuo9fe9uAjvED0emhL7A7QSC9vnUcNe8/M=; b=UFGS1GFqhB3oYG1rHSBbUylx/pnEpuqPi7NdGkqs/Hx6yddac9j82u76xz1yj+CZO1 vEMQreikxgrmDdUhANg7Txz7v1evpr1XyOR5GCEmt4LI9F3KPfrHSdJ/HZnGkeGmZbc8 3yTiRNbPZV/QmcP/9ZQ+OUZnQA3f+rSvXCon6ei7rRyDvYzd+BYwd1NtdSZNrYMWJqst XhcyOF0cFffXXizy9ZvPYRFlFwmX6iHCQHOP0Wx8BwxN6rAIDCyvgHVsRkatiA+wdpEl u1Ymv4hQOMCy060Kiui4DyZPK6WXuMSbTKIA9qLiX3jrQdAR2vvFVhyVRTcSnCGYrwA6 jN7Q== X-Gm-Message-State: AOAM533kWpD7YK+Qqy5rE79Mxa4L10PbcoE/RZ3UYNrWZeJh6abphkFw 5k68lXmiezDa4e2w8i+YMvoIZ9hqvh7X66DElGNkw4AUoi8= X-Google-Smtp-Source: ABdhPJwXvzS9DaKu0vADN2zNCHUWXX5yx/Om/uIu4+zFuTtoR3dBdquXaOmQ9rtW9ChQO/Au25UQA4jinKaaTNQT+xY= X-Received: by 2002:a05:651c:1404:b0:244:32ad:42e8 with SMTP id u4-20020a05651c140400b0024432ad42e8mr11445823lje.7.1647189054986; Sun, 13 Mar 2022 09:30:54 -0700 (PDT) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> <20220228184826.5bdfe7d9@zeta.dino.sk> <20220303232547.316daa2d@zeta.dino.sk> In-Reply-To: <20220303232547.316daa2d@zeta.dino.sk> From: Julien Cassette Date: Sun, 13 Mar 2022 17:30:43 +0100 Message-ID: Subject: Re: Sipeed Lichee RV (Allwinner D1) To: freebsd-riscv@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4KGlXc3Nk3z3lfp X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=e57jsDzT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of juliencassette@gmail.com designates 2a00:1450:4864:20::22a as permitted sender) smtp.mailfrom=juliencassette@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.91.184.120:email]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DBL_PROHIBIT(0.00)[0.91.184.120:email]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22a:from]; MLMMJ_DEST(0.00)[freebsd-riscv]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Le jeu. 3 mars 2022 =C3=A0 23:25, Milan Obuch a =C3= =A9crit : > > > Well, this is probably watchdog firing reset. From U-Boot: > > WDT: Started watchdog@6011000 with servicing (16s timeout) > > You need either write a watchdog driver to prevent timeout occuring, or > disable the watchdog (if possible, this could not be the case). Also, > it would help to see FDT (from U-Boot, command 'fdt print', but this > needs probably 'fdt addr xxxx' with correct address first). Log > presented is too short, suggesting FDT used is incomplete for some > reason. > > Also, you can load root filesystem from embedded image automatically, > using > > options ROOTDEVNAME=3D\"ufs:/dev/md0\" > > in kernel config. > > Regards, > Milan > Hi Milan and thanks for the help I have modified the `aw_wdog` driver to support the D1, and now the device does not reset after executing `watchdog -t 0`. I am trying to make the `aw_mmc` driver work but it is failing on getting ressources, I guess the IRQ one. Source code: https://github.com/jcassette/freebsd-src/tree/sun20i-d1 Boot log: https://pastebin.com/1MDWtymS Output of FDT print: https://pastebin.com/CkKmej7s Regards, Julien From nobody Sun Mar 13 19:46:21 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D8E701A16890 for ; Sun, 13 Mar 2022 19:46:33 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KGqtJ5LMCz4mT7 for ; Sun, 13 Mar 2022 19:46:32 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mailhost.netlabit.sk with ESMTPSA; Sun, 13 Mar 2022 20:46:24 +0100 id 00DADC7E.622E4A10.00015B2F Date: Sun, 13 Mar 2022 20:46:21 +0100 From: Milan Obuch To: freebsd-riscv@freebsd.org Subject: Re: Sipeed Lichee RV (Allwinner D1) Message-ID: <20220313204621.53748874@zeta.dino.sk> In-Reply-To: References: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> <20220228184826.5bdfe7d9@zeta.dino.sk> <20220303232547.316daa2d@zeta.dino.sk> X-Mailer: Claws Mail 3.18.0git333 (GTK+ 2.24.33; i386-portbld-freebsd11.4) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KGqtJ5LMCz4mT7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-riscv@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-riscv@dino.sk X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 13 Mar 2022 17:30:43 +0100 Julien Cassette wrote: [ snip ] > I am trying to make the `aw_mmc` driver work but it is failing on > getting ressources, I guess the IRQ one. > > Source code: https://github.com/jcassette/freebsd-src/tree/sun20i-d1 > > Boot log: https://pastebin.com/1MDWtymS > > Output of FDT print: https://pastebin.com/CkKmej7s > Looking at your device tree, I see no immediate hint what could be wrong with aw_mmc. Somewhat deeper analysis of sources is needed, I do not feel like an expert in this area... Do you have RV dock or RV panel? Regards, Milan From nobody Tue Mar 15 08:53:51 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9B42E1A0E3A3 for ; Tue, 15 Mar 2022 08:54:01 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KHnJS4c7Cz4fh8 for ; Tue, 15 Mar 2022 08:54:00 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mailhost.netlabit.sk with ESMTPSA; Tue, 15 Mar 2022 09:53:52 +0100 id 00DADC7E.62305420.0000D0B5 Date: Tue, 15 Mar 2022 09:53:51 +0100 From: Milan Obuch To: freebsd-riscv@freebsd.org Subject: Re: PolarFire SoC based board working Message-ID: <20220315095351.73b1d16e@zeta.dino.sk> In-Reply-To: References: <20220226234404.7e2da95b@zeta.dino.sk> X-Mailer: Claws Mail 3.18.0git333 (GTK+ 2.24.33; i386-portbld-freebsd11.4) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KHnJS4c7Cz4fh8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-riscv@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-riscv@dino.sk X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 27 Feb 2022 00:02:33 +0100 Tomasz CEDRO wrote: > On Sat, Feb 26, 2022 at 11:44 PM Milan Obuch wrote: > > Hi, > > at https://dmesgd.nycbug.org/index.cgi?do=view&id=6455 is uploaded > > dmesg from system build using (almost) stock FreeBSD sources. This > > system uses PolarFire SoC combining RISC V cores with FPGA from > > Microchip. I use SoM and carrier board from Conclusive Engineering > > (www.conclusive.pl). > > Congratz / Gratulacje! :-) > Thanks :) If someone is interested, I created a page summarizing some issues and interesting points in one place, using Conclusive Engineering's wiki at https://wiki.conclusive.pl/bin/view/RCHD-PF/FreeBSD%20notes/ I am working on another page for summarizing support status of various devices in the SoC (MSS) and cores, but this work is just started (and there are many devices with no proper device drivers). Regards, Milan From nobody Fri Mar 18 17:16:04 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 756F31A239D9 for ; Fri, 18 Mar 2022 17:16:18 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KKrJd52NQz4k1k for ; Fri, 18 Mar 2022 17:16:17 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: by mail-lf1-x135.google.com with SMTP id w27so15129547lfa.5 for ; Fri, 18 Mar 2022 10:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=PBtxBWWPKPC5Pked0xwzATPe4yOJcftGqHJ1OZhruOw=; b=HVcAA6mL3D11VD5Y/flWpl7P/1V2m118CExYcyiqqxLqYYxJRIpKCrnP1cZW1/Dib2 eVjxDRc4/NkoCb6zqsFw6lenxH2chukuIAYLXJ270ArSKdctN8rznoJ78C5CzYj0oWkC Mn+KOFDjZPPXtkP2Eq4MHzqnEF68SbGFyyawEE2RPbMJ0vzItd1HZnPF6eXYPTn31v8W ioZLTdoS73yY8liGQXozwMzF+cUKM5Ep+nI4gqXdjxzFWze2yofFZdbfl3/vWIOydqR7 Eak/5jkEVofGDxbOmS4jrnKzWgth6IPqWeTzq5WSGJcd88lYbGGFrrxLssRtSIY+KkP6 inZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=PBtxBWWPKPC5Pked0xwzATPe4yOJcftGqHJ1OZhruOw=; b=KhETcoMPrnfiDX5uOamz0RMaROeU0WNiwo4Hk72IqhODLGkmtz4HhnhzumcnocAmVj x5TdxFi9eKzlN+xxkwDAAcQNPaJuWTQ9wqUWDWsquUbUgicKr/N5qyRunM9DgT+2HGAA 1hZuZrwCnR8X52ckd/lPwCTh+ENaSL/rMA0N0yTu5xoq/s6rmiShjbGd70gEHQuj//78 KZyca2coRlPHa15rde/n4AJyiuuxUf7RGEVL6zQQVq5ifiOmxaZ3PR4AWEjSQDMoYpDa BypJPrumOHTtnLHCIyFlXOPo9Dgu0RjHU0DIMGxUCumTX2gLalN9mkuzdWDMTCZouNpC WRhw== X-Gm-Message-State: AOAM532NzpV5hyl2nq7Tcffo7PiTQptv3NQz3n2JVHamMajE8PhDRzbQ sMklXYxzA3rKWLyerZSNcNuehdddRhrmkqC/6fdrik1S X-Google-Smtp-Source: ABdhPJyiITsPn63Ido9Wesg7oNYO8+8esMSEdRCWHJAVAMGnDqR7nD931qaLS7nREzx1YQf3g5LoWFAQz8XYvmCevQk= X-Received: by 2002:a05:6512:1281:b0:448:6be4:b967 with SMTP id u1-20020a056512128100b004486be4b967mr6309372lfs.196.1647623775783; Fri, 18 Mar 2022 10:16:15 -0700 (PDT) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> <20220228184826.5bdfe7d9@zeta.dino.sk> <20220303232547.316daa2d@zeta.dino.sk> <20220313204621.53748874@zeta.dino.sk> In-Reply-To: <20220313204621.53748874@zeta.dino.sk> From: Julien Cassette Date: Fri, 18 Mar 2022 18:16:04 +0100 Message-ID: Subject: Re: Sipeed Lichee RV (Allwinner D1) To: freebsd-riscv@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4KKrJd52NQz4k1k X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=HVcAA6mL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of juliencassette@gmail.com designates 2a00:1450:4864:20::135 as permitted sender) smtp.mailfrom=juliencassette@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::135:from]; MLMMJ_DEST(0.00)[freebsd-riscv]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Le dim. 13 mars 2022 =C3=A0 20:46, Milan Obuch a = =C3=A9crit : > > On Sun, 13 Mar 2022 17:30:43 +0100 > Julien Cassette wrote: > > [ snip ] > > > I am trying to make the `aw_mmc` driver work but it is failing on > > getting ressources, I guess the IRQ one. > > > > Source code: https://github.com/jcassette/freebsd-src/tree/sun20i-d1 > > > > Boot log: https://pastebin.com/1MDWtymS > > > > Output of FDT print: https://pastebin.com/CkKmej7s > > > > Looking at your device tree, I see no immediate hint what could be > wrong with aw_mmc. Somewhat deeper analysis of sources is needed, I do > not feel like an expert in this area... > > Do you have RV dock or RV panel? > > Regards, > Milan > Is it normal that the interrupt numbers in the boot log and in the device tree do not match? Also it seems that there are 2 interrupt controllers in the device tree, but I have a driver for the PLIC only... I have the Lichee RV Dock, and you? Julien From nobody Fri Mar 18 18:16:28 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 01B731A112D3 for ; Fri, 18 Mar 2022 18:16:40 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KKsfG63Sjz4s64 for ; Fri, 18 Mar 2022 18:16:38 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mailhost.netlabit.sk with ESMTPSA; Fri, 18 Mar 2022 19:16:30 +0100 id 00DADC23.6234CC7E.0000061E Date: Fri, 18 Mar 2022 19:16:28 +0100 From: Milan Obuch To: freebsd-riscv@freebsd.org Subject: Re: Sipeed Lichee RV (Allwinner D1) Message-ID: <20220318191628.7764ab9d@zeta.dino.sk> In-Reply-To: References: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> <20220228184826.5bdfe7d9@zeta.dino.sk> <20220303232547.316daa2d@zeta.dino.sk> <20220313204621.53748874@zeta.dino.sk> X-Mailer: Claws Mail 3.18.0git333 (GTK+ 2.24.33; i386-portbld-freebsd11.4) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4KKsfG63Sjz4s64 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-riscv@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-riscv@dino.sk X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.995]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, 18 Mar 2022 18:16:04 +0100 Julien Cassette wrote: > Le dim. 13 mars 2022 =C3=A0 20:46, Milan Obuch a > =C3=A9crit : [ snip ] > > Looking at your device tree, I see no immediate hint what could be > > wrong with aw_mmc. Somewhat deeper analysis of sources is needed, I > > do not feel like an expert in this area... > > > > Do you have RV dock or RV panel? > > > > Regards, > > Milan > > =20 >=20 > Is it normal that the interrupt numbers in the boot log and in the > device tree do not match? > I see it with other devices as well. Interrupt numbers in boot log and interrupt property in device tree are not the same entity, maybe, I am not sure. I checked it on a running device, so it is nothing wrong, probably. > Also it seems that there are 2 interrupt controllers in the device > tree, but I have a driver for the PLIC only... >=20 > I have the Lichee RV Dock, and you? > Well, none. I just looked over the description and as RV panel has ethernet connectibity, it could help tremendously while developing (using nfs for file system etc). It could even work out of the box using if_awg interface, which should match according device tree dump you posted... but RV Dock has nothing like this, unfortunatelly. Regards, Milan From nobody Mon Apr 4 23:59:20 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 560E81A9E321 for ; Mon, 4 Apr 2022 23:59:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KXSRs03DMz3Ptp for ; Mon, 4 Apr 2022 23:59:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D6AF41BD26 for ; Mon, 4 Apr 2022 23:59:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 234NxKZ4056211 for ; Mon, 4 Apr 2022 23:59:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 234NxKxe056210 for riscv@FreeBSD.org; Mon, 4 Apr 2022 23:59:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 263051] devel/llvm-devel: enable COMPILER_RT on riscv64 Date: Mon, 04 Apr 2022 23:59:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649116761; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KWqioXdQ72EQeIOCaPsr0+OEx1UgJYjhEvVfkHARIAY=; b=NTPhP//ZF4vMfJdEJosogjNlGAl7FAo/zxdjSd0LcHdyhL/bWDYCMFiMtm/sqWpZAHwnkN utw21HqIFsQ87y4Pnw3jlAVOyn+IjuWHt9VHZyRnROpmBv1i+XckXLBq0J4BtwAAVZrkGe 53yFJhtsxZA86CKmnvYBOGrrfWhmH9U6w5yZccSJCuCKBnPOlCCAi222Zqvxh5iA5YNfPH iYtiQs9guCFaICYJoZAFVl+IKs1h38uwK4UzsV8pvDZX6/a5oh3LZWhzwqX0uQ5PqTtQLo DYBmVoY3mhATRcsGuaLWOfRBduw6moy/D5FR9Tzmki60jmZEfPgc6Wi9wDavuw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649116761; a=rsa-sha256; cv=none; b=ScF18ejbfAKu9msNpaT5pKoR3Gt/K9hchUFfXuZMCNpA3hJT09tJMaQwHz9wfyPUwYgERr XNtNmuN9O2y9XFYO+dpPgont3owaDqAL+/olkdJ8qpOIQ5Spx1y+wC2QBXc5PLRxqQAW2u l589TZBdkgGHs3pbWDkQpvNSZFo+ZYwnW6F8silF/UOJlmHj0waMgJF6U/yHAKnMBHDaiX JG4ifszH8reU+Ayqf92jDZpsFXGobVPBsrnc+xckQcRz0Q6pOO++6cNWrPaHssAx+YmQIz Pio90YWc9JyYRk6ZkHSSz9GeiOrbJVF3Kz5l4nUv7ZFr7B3h49RxDVRp48xE8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263051 Bug ID: 263051 Summary: devel/llvm-devel: enable COMPILER_RT on riscv64 Product: Ports & Packages Version: Latest Hardware: riscv OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: pkubaj@FreeBSD.org CC: riscv@FreeBSD.org CC: riscv@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) Assignee: brooks@FreeBSD.org Created attachment 232946 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232946&action= =3Dedit patch cfi_ignorelist.txt doesn't exist on riscv64, so needs to be moved aside to amd64 and i386 blocks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Apr 15 17:48:57 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4BED45D0E85 for ; Fri, 15 Apr 2022 17:48:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kg3jP0p5Pz3qyH for ; Fri, 15 Apr 2022 17:48:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ED10919A71 for ; Fri, 15 Apr 2022 17:48:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23FHmuOV051955 for ; Fri, 15 Apr 2022 17:48:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23FHmu9K051954 for riscv@FreeBSD.org; Fri, 15 Apr 2022 17:48:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 263051] devel/llvm-devel: enable COMPILER_RT on riscv64 Date: Fri, 15 Apr 2022 17:48:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650044937; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AJEWMXKxJdAgARY9GOkD8agS5ZhL5LRRF6PpQ07H0j0=; b=Drz993Ve2OG+OLfXjPtcuNtbzWR3RUk/bQe1YrqA6g5Yny9RoLOchPvJGh/iA5SToiwb3b A01CyVJOXjAyHM/jPDiA+vXj+V015/zeg+Ed13H6Zffy5if/2C3BHkBSl1TGO22LaU8dRY xhTACGk1gn1To9G8AuReUAXZy4++w1XqUGzBhRqpA1HTA1qI7xg0F4rzbPOEXIqIDDY8dU PXKGY+XPw4V5EZTMMLRF1dPro6kMyUe4AgK2rsKa5sm9bk3rwtpXYh7O3t2xqCWSIj76zp Cm08FbdzWbTIWWsyvg1jOk+xdW60CO/nY7WneyLoEDMYdpRX2M5dQJ6p8J595A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650044937; a=rsa-sha256; cv=none; b=Be2KdObT87qA+IKLawoNp2oc+RQQA2ZT2gjj2AjCorv2GNHpTDy2RqsSSy1xn2NHLelZMh gTJgYFGab7fI78gTdBGw2FiLbVmPmMdc1omI135yrPJYM/O58X+JeQfEAykcjPREJ9q5N9 oUu0QDsPUhhAiZfY1CUVrsuC9A/ZtqFvWdCGknJUZkBGXTyfCxDYko8VYfbS+KPP76LjvZ ge9rgsQDHkYJeIEDEw2mybnis5B0i5xsONcnMJaJka5CYvSk7C4MsltpolNAUCHmy/Qkbt dA8XXiSga3vgN2QIm6ipMVXO4jnndRja/yUpy3g/drUUwTPCN1h9Le6orw33/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263051 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D5a4ca752487f4b7716b0e4debbaeada= 1bbe12f3e commit 5a4ca752487f4b7716b0e4debbaeada1bbe12f3e Author: Brooks Davis AuthorDate: 2022-04-15 17:48:30 +0000 Commit: Brooks Davis CommitDate: 2022-04-15 17:48:30 +0000 devel/llvm-devel: Update to new snapshot Enable COMPILER_RT on RISC-V. [0] PR: 263051 [0] Submitted by: pkubaj [0] devel/llvm-devel/Makefile | 41 ++++++++++++----- devel/llvm-devel/Makefile.snapshot | 4 +- devel/llvm-devel/distinfo | 6 +-- ...ibomptarget_plugins_amdgpu_CMakeLists.txt (new) | 14 ++++++ devel/llvm-devel/pkg-plist | 51 ++++++++++++++++++= ++-- 5 files changed, 97 insertions(+), 19 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Apr 15 17:49:14 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 765335D1823 for ; Fri, 15 Apr 2022 17:49:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kg3jk1m3Dz3rGB for ; Fri, 15 Apr 2022 17:49:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1A57419D1C for ; Fri, 15 Apr 2022 17:49:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23FHnEY7052060 for ; Fri, 15 Apr 2022 17:49:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23FHnEVA052059 for riscv@FreeBSD.org; Fri, 15 Apr 2022 17:49:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 263051] devel/llvm-devel: enable COMPILER_RT on riscv64 Date: Fri, 15 Apr 2022 17:49:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650044954; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rbxtAQGJGqwV4nwf20rC+ihgSuIFXuEKLYyQA/lFOaw=; b=K3KSR3LCafNdE2DUSAoAl63S/SVzz5ItMamigGGsUxjXzw/NV3j1t/YIBHAFa+Hj78o3so gC8PMI/AZExyQH5X/tnZO5573Ox+2URowvbL7JaDvM1YemmivANDhAt2Zp7UqBl8oNm5cx wcaaGO1rrELIc5rMhqfHU05rave2xw20Wf3AxVxDDktDCedHm4oO9XwjGRQdhTf6Lnjtrn 4xEbD6RL6gUxERSZBChSsU1KPIHA7eherEruGGReumA1kx4lWsmWmMkooCJA78Q5kuzju4 0mJs2+C81M1UIgA9dwl9SQ8CIkb/79jW7SiR+2tyOraavkDlPfT8SUztkF7HSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650044954; a=rsa-sha256; cv=none; b=Bl1eCb9KiLztBTwzzsBcCoD3NDZsj8sHQttBoQD8Jn5FrDiAkYCjrE1fWFsu4bIo2QNWsQ PEorjBnPdCihocj5Rip7eV6MZLrx6D+mAzXofTp8/3sg17CBC/P5cuSr42p9kpUbRkF4Fw fscPJu+r8MC9z5mlYamm1C0EcRnPxVSo9gtTEfaFwtj0X9rWxckUy7fgf/eD3T1U3cD+MF CES46Gb1TSv956r5z8F4jg2qv2kt3KPRfyQdyrbwTfs8xnewnJmwepxP1/xszCz1a8tKRv xEckvJ3550P51HHGjWev3pXy2xktnQPzCf6JEQaHX9s+hC1LYdA++Vp8aSWHPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263051 Brooks Davis changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #2 from Brooks Davis --- Thanks for the submission --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Apr 19 09:05:50 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9BD3811E26B6 for ; Tue, 19 Apr 2022 09:05:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KjHvz26rqz4h1h for ; Tue, 19 Apr 2022 09:05:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 25E6D2407D for ; Tue, 19 Apr 2022 09:05:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23J95pBM008193 for ; Tue, 19 Apr 2022 09:05:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23J95pnI008192 for riscv@FreeBSD.org; Tue, 19 Apr 2022 09:05:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 263414] devel/llvm14: enable COMPILER_RT by default on riscv64 Date: Tue, 19 Apr 2022 09:05:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650359151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=G9zPbT2Yn7wLSzpeoF+r0SXL4+QPk/4rFC6h4rJY3PU=; b=tJ4cvNsIOqaAYisIMPe8IznVPVX/5i5B9brG+YudoSZG3ulyLRP8NND1asoBpR0z65EUhc Ppi8z1F38MMZKDRYVchYsy3AJgFj/s7yVXT6Kiq0xr+CUlkZQOtROTbbNXuU7K0rply0qn qkeHJ3s2YGKtF7web92X8S5b5RUez6ZsBghoWbqysHdZSX4NKWBkTcOt0TAzVz4ZIAdMEh dVeLyS8eJBNF4Ulgk90cECrfo/J2Mqs5Cbf81o16OaFRlD6c7+31lb026Nk7MmyQTT5Ka1 mMva/+LnDQdlIiLvboY7lrlwps0rMAM+U8s8vZ5G3W3XLtu4tO5didsZblRokA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650359151; a=rsa-sha256; cv=none; b=tZI2LVrMaO+k4X65u7Vi+mqKsMlcZILRIKtS62DQTdgkp9xoIm7NsbWuljb5RcZaLTO2aO oVAo7VNH4cNl0GQGKFCvNP8sk/xirUapqDxe3WfQASFHuUErQk05SVXCBsUvZONmzrmIB2 gSnG8xHhChoKU1F0jYWcw6TmyYkwgxkG1B4F4guLFPAXpvbSyZepPh2lAOBSnEtJnPpPB8 SFcFUdw4yDf3VWSqdpIu4EbnFnbb7YkhG1wfwREBYgJrLpYvn5I9rMQaGttrscLS4VAjTr v6SzG7LBfDIS6NqnB5s7hEL/7V+JLvUWHQlvT55Ts5mtgjkRgA+5VvCwCJ63cg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263414 Bug ID: 263414 Summary: devel/llvm14: enable COMPILER_RT by default on riscv64 Product: Ports & Packages Version: Latest Hardware: riscv OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: pkubaj@FreeBSD.org CC: riscv@FreeBSD.org CC: riscv@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) Assignee: brooks@FreeBSD.org Created attachment 233325 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233325&action= =3Dedit patch Backport of the same patch for llvm-devel. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Apr 20 23:17:26 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D874811DFE56 for ; Wed, 20 Apr 2022 23:17:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KkGm64Fxhz3q6W for ; Wed, 20 Apr 2022 23:17:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 728FA1CE70 for ; Wed, 20 Apr 2022 23:17:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23KNHQN3079016 for ; Wed, 20 Apr 2022 23:17:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23KNHQYf079015 for riscv@FreeBSD.org; Wed, 20 Apr 2022 23:17:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 263414] devel/llvm14: enable COMPILER_RT by default on riscv64 Date: Wed, 20 Apr 2022 23:17:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650496646; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xSuBo21nY0dWRLB7LDa0AOlXGPZDTdAm+PcEOytXQUc=; b=bLc0y9ZlNJXkBJlIrsoaIRSiiMFWTFGeH+jHg4pe8vXCv9AK6EuDGqOUwdbdYdcDs+vsc2 4dRnMJhnGlj6CwnJZDCU5d8rFKN4xgjRk52kTXg6vOc5HNBGttFnx2lqREW/krrHNueLQD VUirdFajEXDf0bVwcOCov8KbHRl80lCIwoG/ltBnS+h6RIXp5vlx2GPHUPeXq7BTmlK3rA wJFqD2mq4r1T4h2+bjY5s6gjzGhOKXp/OTUuAxF6dWWoBPwuSk0WmK/EmuvCZu33aJGTyN w4EoGvY4tnuBq3CkPMmzz9noOr9DcxTUJ1g4t58OR4rvLF5s1fwCA9mE3Z7N5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650496646; a=rsa-sha256; cv=none; b=l/SGGsYB1u4CtXkGswX6RQzAg/yhpWxfovqCCY0tGnQIe7moO4aFxUFUMkVuEkToH77cfk Pn5OY2N7dHp5IP3KY5sqLdXw5PuszRaPbekSHcwCR16+XvdduFqqykzwxEu7B/VAee2RHh cTEv2ESYcnimGCWNdnl5GSo1RZqxpq8jHtKgZLs/rj3BWMfjhexrihCpWE6afZ8tAsT8Lr WT8TbSInNZUUAnCSYtU4UrqZ8ImlQAPFdKbjvwQXF7hUpW0VtcKeXs1C0IL0DikSauvxVp u2wdMNEbCb7kicT9ozkftAVQSfBK/NRzamWBzL8GoGOABEr8aaHhRe5DCXu/PQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263414 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D3a7c192dc40b51cc8d08f04ffe69cee= 13637c4f6 commit 3a7c192dc40b51cc8d08f04ffe69cee13637c4f6 Author: Brooks Davis AuthorDate: 2022-04-20 23:17:01 +0000 Commit: Brooks Davis CommitDate: 2022-04-20 23:17:01 +0000 devel/llvm14: enable COMPILER_RT on riscv64 Also use the base system unwind.h when appropriate. PR: 262707, 263414 Submitted by: pkubaj devel/llvm14/Makefile | 43 +++++++++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 10 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Apr 20 23:18:20 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 68D9E11E00A8 for ; Wed, 20 Apr 2022 23:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KkGn81gq1z3q9R for ; Wed, 20 Apr 2022 23:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1A7161CFFB for ; Wed, 20 Apr 2022 23:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23KNIKBu079228 for ; Wed, 20 Apr 2022 23:18:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23KNIKxm079227 for riscv@FreeBSD.org; Wed, 20 Apr 2022 23:18:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 263414] devel/llvm14: enable COMPILER_RT by default on riscv64 Date: Wed, 20 Apr 2022 23:18:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650496700; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/QKAX5Rj5cvgzZMFSkm7StKeAV9/GdUsjRY9M3OkzEI=; b=SEr1tTJ0PqPj8eU9z8yex3TPkO6cdEvjzXLMXgGdlqqGTJI8+5BY1Kjr5M5B4S8kUfv/5+ Amj9Wffs5rhukVGKlGRQjIHONL5eeoVFg7CXoABkCHGQ4/ZLrkWFPxnCPsXc2lL0t8Iccb TgS1+GxhyGGE3UTd+It/jSE9CEenoLvCchQZXNZXDP8Ga3r/v5JsIDjVLK/7Y+grE7VX4f o3eCAw4CODQ4lEK81fZlKk9tF/aGVSZerB6/DJWVzWjFRaDsl9adn6VbDsA6yy6rdBSWJQ OlPkiucUatmNIh0GQ0O+WBXfJFfxaEmMRbxBIJAi5y9Tl1a6SUGgEa0/6PV/Fg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650496700; a=rsa-sha256; cv=none; b=KkiyvlHs5IpQLLIpI07Om7oK2tkL8sezxgRsfmu/OnarSbsX9xBdFUrqA+b5tK3KYxxXGq 13qLOPRDQEhvZPJfy6+mv6pzOXl7Hyfz5V5SjwGjMnwBiBDfWlECmCNIFlFBhCrVyE2rQF s1Udd+IOJujSS+9ZvcTeDFlDuA9BUCzfN2tKCBAUQtLTeyhZtjL8JeBHEBLxwkwxVxHpZw CMtcJeEZ3FUjH+H6spHROcSnMMMfLJDLXg1xrN6yFk5LVuawOtap5f/YeaiINDRBEvKM47 Ov4tNnWzU/EZ2RQ7eaoEfVPNHCADw4evmUpCOq+qNATNmggOVpp57QQb//y22g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263414 Brooks Davis changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue May 17 00:06:41 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E6DBC1AE3F5A for ; Tue, 17 May 2022 00:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L2Gcx3rLBz3tC0 for ; Tue, 17 May 2022 00:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6479C1F74 for ; Tue, 17 May 2022 00:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24H06fPZ078857 for ; Tue, 17 May 2022 00:06:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24H06fhF078856 for riscv@FreeBSD.org; Tue, 17 May 2022 00:06:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 264032] riscv VM images are empty/blank Date: Tue, 17 May 2022 00:06:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jmg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter blocked Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652746001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8Id4pZjR8n7HkzdgC+XDViGWgHu4UGKw3aEVfDvcWM4=; b=vFs+aqwb9KKMSX0OWojHfKQl2J0NXXJCarXQQ2DI/sqs6uGNAg38KwHman6KxXjWMn1uyz wis/nvAknKji6ZJ0KfpVgsK6ZvHZaVHbUlhfnVTikEmiY3ueSuD0g/D8b3jbGgIPOFKUg+ eEmZLauCC2LaEWDkyzlpj/3ZxULLvm+wnWxa6Fi5FY/juZprgYbz4pC+CfUiDjsLMdcEIE m2sAIt9ZE2MZ6mZZYWRHmB5ECiMBiSI9/9EZ0yMmUftedkoshV0YNiQeBrd00bMS+LIM98 8gIuVKP2/FSuKhWfNW1VpuLIihEaHWlniTAwrT41zvMRws6aK+Qqow/KB2oLoQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652746001; a=rsa-sha256; cv=none; b=BXPs+9EHPBkjnVf33ExINjMq5Xu9U5epyQ7LLODw+i0RzzR4paonDLJJ4mBE7VJ0LkQ9/3 gQBAEPFIijwjS3AaEIrs9SK4AABRpXg9h9K1r/eFtcrR0rftyiPOTqyo+QRLKrTqyKJgSK Sr1wrFtoxpfDupkv6gepkAYJsGfOG5t6cE7r8+Vg1pdvZfk6kMTwvzoXFFI0dVansTnCJY naEf5MZ+LLgfmfad5JkWYRZ32fBpofL2+E9qvP8FH4G0Z8WlnCkk/QaqyXlj75hNmKgkm/ nJqPu+Fmfd3dGrOXmze00m6KodlPUhaKjDcYu+Kq3CuNfnzHHVIVY19W0rkEVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264032 Bug ID: 264032 Summary: riscv VM images are empty/blank Product: Base System Version: 13.1-RELEASE Hardware: riscv OS: Any Status: New Severity: Affects Many People Priority: --- Component: riscv Assignee: riscv@FreeBSD.org Reporter: jmg@FreeBSD.org Blocks: 264030 the files at: https://download.freebsd.org/ftp/releases/VM-IMAGES/13.1-RELEASE/riscv64/La= test/ Are all 32 bytes, and when unxz'd result in zero byte files. If I got the depends/blocks wrong, feel free to fix it. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264030 [Bug 264030] [tracking] 13.1-RELEASE issue reports --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue May 17 00:07:59 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C6D1E1AE5531 for ; Tue, 17 May 2022 00:07:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L2GfR4J2Gz3tdq for ; Tue, 17 May 2022 00:07:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 73E6B2088 for ; Tue, 17 May 2022 00:07:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24H07xHD079133 for ; Tue, 17 May 2022 00:07:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24H07xsl079132 for riscv@FreeBSD.org; Tue, 17 May 2022 00:07:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 264032] riscv VM images are empty/blank Date: Tue, 17 May 2022 00:07:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jmg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: re@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652746079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xHeDAoqg1ldXpHExkT1WgZ02/xFtjacF/PVWH6lGbAs=; b=bBVWS4oTwivh0wlFtTvFMlkhj7IcJtoRbXlGvngoPtOxfuVKLumsY0bghJo5SJPHUxniwb 2ywFSEvOZPoPfBBuaZV/8Bw6qBCU9nI1VDz5o/v+372dck1JD0++J6Y/HtMncLOna5duWs 0iHcDpNObNpmJ2zpcdoj4xq4fZpvGdqJuNdWcXxdgpfKel1se1zUDA+E2otJXuqtO5jBRa 47gUWcdWSbu2hiIJFn4DK3EN5nJiYTTBoyJxmfZUonhFsVfR8MPrheXWRM2j0uEOtSAutu RVPttaMVo3HdNhPiRN9IT/dBybZJBzROMSedpeNjF2eFbd6CHQ3ma44N/FZr/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652746079; a=rsa-sha256; cv=none; b=epc/1GNusHnovKlss0KRMK9qSRn/LyQKn+M2Nu1msWs5Aa4fIaSR6Ds1j+YpfFRqK4GK/i +++vShvj5EFpKNwg0xba+EDi5/+bbd2jo3P491xOODbmRekpOlc6rAYHxMqxrhxN6U6Rhj y/NXhP/u4ZUwhvsXj3B4OMaEk+fDSp+U5ijYCJL9/HHLKHHJj6KmcvMWdR45eOWDC5kzDp EWxqTPEcQJAan4XYbLLh0yOkOzXyqqdN6sxqazsWWAPW6GLyGDSNSu7l2Xg7zk3x9bKA5+ CtR9HpHv43UoFOf3z9nCMMqVRk1oCLEf60jd3HbHzOO7MTQqYMu/nwv8AVtGPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264032 John-Mark Gurney changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|riscv@FreeBSD.org |re@FreeBSD.org --- Comment #1 from John-Mark Gurney --- change to re@ I think I'm doing this correct. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri May 20 11:36:15 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EF70A1B31E7B for ; Fri, 20 May 2022 11:36:24 +0000 (UTC) (envelope-from lars.sonchocky-helldorf@hamburg.de) Received: from longisland.snafu.de (longisland.snafu.de [IPv6:2001:1560:3:255::153]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4L4PnN23bhz4mgS for ; Fri, 20 May 2022 11:36:21 +0000 (UTC) (envelope-from lars.sonchocky-helldorf@hamburg.de) X-Trace: 507c6c6172732e736f6e63686f636b792d68656c6c646f72664068616d62757267 2e64657c39332e3233302e3136322e3231397c316e733076592d30303047306c2d 4a4e7c31363533303436353736 Received: from longisland.snafu.de ([10.153.10.15] helo=localhost) by longisland.snafu.de with esmtpsa (Exim 4.94.2) id 1ns0vY-000G0l-JN for freebsd-riscv@FreeBSD.org; Fri, 20 May 2022 13:36:19 +0200 From: "lars.sonchocky-helldorf@hamburg.de" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Problem running FreeBSD/RISC-V in QEMU Message-Id: <2FA6ED5C-4269-4033-BAF0-466FDC7EEA1C@hamburg.de> Date: Fri, 20 May 2022 13:36:15 +0200 To: "freebsd-riscv@freebsd.org" X-Mailer: Apple Mail (2.3654.120.0.1.13) X-VISP-ShouldScan: 1 X-VISP-Virus-Check: clean X-VISP-Spam-Score: -0.5 (/) X-VISP-Spam-Report: This message has been scanned on "longisland.snafu.de" to identify if it is considered spam or not. Contact the support hotline for details. Content analysis details: (-0.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 JMQ_SPF_NEUTRAL ASKDNS: SPF set to ?all [hamburg.de TXT:v=spf1 include:_spf1.snafu.de] [include:spf.crsend.com ?all] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.0 KAM_DMARC_STATUS Test Rule for DKIM or SPF Failure with Strict Alignment X-VISP-Spam-Max-Score: +++++ X-SA-Exim-Connect-IP: 93.230.162.219 X-SA-Exim-Mail-From: lars.sonchocky-helldorf@hamburg.de X-SA-Exim-Scanned: No (on longisland.snafu.de); SAEximRunCond expanded to false X-Rspamd-Queue-Id: 4L4PnN23bhz4mgS X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lars.sonchocky-helldorf@hamburg.de designates 2001:1560:3:255::153 as permitted sender) smtp.mailfrom=lars.sonchocky-helldorf@hamburg.de X-Spamd-Result: default: False [-1.88 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_DN_EQ_ADDR(1.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:1560:3:255::/64]; DMARC_NA(0.00)[hamburg.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.979]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34171, ipnet:2001:1560::/32, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[2001:1560:3:255::153:from] X-ThisMailContainsUnwantedMimeParts: N Hi everybody, I am trying to run FreeBSD/RISC-V in QEMU. For that purpose I have installed FreeBSD/amd64 inside Virtual Box on a = macOS machine: FreeBSD FreeBSD14 14.0-CURRENT FreeBSD 14.0-CURRENT #0 = main-n255696-716fd348e01: Thu May 19 08:29:12 UTC 2022 = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC = amd64 and then followed those instructions:=20 https://wiki.freebsd.org/riscv#Quick_Start The boot process is initialized but then however I get repeatedly: failed to allocate staging area: 9 here is the part where it fails, truncated, since the above message is = repeated endlessly: Loading kernel... /boot/kernel/kernel text=3D0x5a5e88 text=3D0x172c34 data=3D0xf8350 = data=3D0x1eac+0x273b9c 0x8+0x1efc360+0x8+0xf28d3 Loading configured modules... can't find '/etc/hostid' can't find '/boot/entropy' Using DTB provided by EFI at 0x87efb000. Kernel entry at 0xf660002e... Kernel args: (null) failed to allocate staging area: 9 failed to allocate staging area: 9 What is going wrong here? Thanks in advance and if you need more information please let me know! Kind regards, Lars= From nobody Fri May 20 20:44:29 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6E11D1B392CF for ; Fri, 20 May 2022 20:44:56 +0000 (UTC) (envelope-from mhorne@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L4dyJ2jZmz3l39; Fri, 20 May 2022 20:44:56 +0000 (UTC) (envelope-from mhorne@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653079496; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+V1Y2I0jzneRCrXUJfWedbCcw1z0Ta08Krmtf1BZNhY=; b=BDJ0UisizMFtxpKRAJ8rt7nVnfIIlJf30Gy+SkpiHI34nDS8gu18vjaKfPtmF7ZiC08S/+ 51qIDloKlWuSMVpLlJvAlX4lS7SqDaWHUUmHBRZg95XB/4fUHxSyOAMm7WnnaxS5MnQIDh 534oAWqOoRHPDhgmiVHINn0uJmYjK+R5IzZlk/SMkBFyCcBZHQRLW5zigHWSOgu6dfgEnW +nnt4PHA2JuJgqepIvYf1xShzH8vjGkQIHAYopdpCf3XgUNcso2So75d/jZvF5wgENUUi9 tpsnflVXo9AnS6soHIpcuF0fhO/qyaBojhHyCgQoM7iU52Na4e0oyEFA/1ANvw== Received: from [192.168.2.42] (mctnnbsa70w-134-41-153-51.dhcp-dynamic.fibreop.nb.bellaliant.net [134.41.153.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id 18BE6FEC1; Fri, 20 May 2022 20:44:56 +0000 (UTC) (envelope-from mhorne@FreeBSD.org) Message-ID: <40a8ac1a-ad1c-9e03-a66b-4b78b23f0d4a@FreeBSD.org> Date: Fri, 20 May 2022 17:44:29 -0300 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: Problem running FreeBSD/RISC-V in QEMU Content-Language: en-US To: "lars.sonchocky-helldorf@hamburg.de" , "freebsd-riscv@freebsd.org" References: <2FA6ED5C-4269-4033-BAF0-466FDC7EEA1C@hamburg.de> From: Mitchell Horne In-Reply-To: <2FA6ED5C-4269-4033-BAF0-466FDC7EEA1C@hamburg.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653079496; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+V1Y2I0jzneRCrXUJfWedbCcw1z0Ta08Krmtf1BZNhY=; b=jP5f42bLLsqQkX2OMsZdgZCaCFm+slYcDz1Hj6u1MrA4K4zM56j/ZN/SMvpOnY3q8nQSQ3 /Q93mZbZevnwuBPYrtH0SEA16wM8M/BBCSjnO/DVOF3q/cy0aNwkIgxO8IghUi69bLfCzR aWiddyBynbHWOwDSL0NDrBikTFrbNNG0mY0Bu3rDD7CdI8CGLaJNzKl0dOy5HN5NZktQbJ xQbAv1otoJRHxMo3RIkiXi1Q0jFU2MV9c/FzLgjea7kD7+gByHhvFICbk8uhbknwV/sOM6 yYMAjsZJS4jpjuVxzziZHspQYf/CPmBQvIOae1v7sEowrLwGhKHlekqFHpd5QA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653079496; a=rsa-sha256; cv=none; b=oHLwJxcCAFEG2QsUS5bt8ZUeOA1N1CRWyWO7J8gNwNuDUUsNb3f623anHMgCzG+oMrZlVQ dYTF1x8K77OU2PKnPyEUBrxlXGV2nEZWIKKMRC2dXRERIKeYwAowmHSH6H1sJ9Yv3b+SJ1 PoBiVKrh7lMn+l7my5zUOwvdtNzifPjvSzliPMxcycQa2YICi+5wB4orXYnzNESEev0Au/ h3Xy0rqbKO5Me/KR1Ixhv45qJLLfOhiQnZnD7jBqJw2sHNFXTQ4Fi9gZUQ/00kWIQBgifz LWYnKuefsqqKfwo1bPuX13/+dtAzsmgk/vUnaatMWTpBoM9HKfAwH8f1rOcQPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 2022-05-20 8:36 a.m., lars.sonchocky-helldorf@hamburg.de wrote: > Hi everybody, > > > I am trying to run FreeBSD/RISC-V in QEMU. > > For that purpose I have installed FreeBSD/amd64 inside Virtual Box on a macOS machine: > > FreeBSD FreeBSD14 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n255696-716fd348e01: Thu May 19 08:29:12 UTC 2022 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > > and then followed those instructions: > > https://wiki.freebsd.org/riscv#Quick_Start > > > > The boot process is initialized but then however I get repeatedly: > > failed to allocate staging area: 9 > > here is the part where it fails, truncated, since the above message is repeated endlessly: > > Loading kernel... > /boot/kernel/kernel text=0x5a5e88 text=0x172c34 data=0xf8350 data=0x1eac+0x273b9c 0x8+0x1efc360+0x8+0xf28d3 > Loading configured modules... > can't find '/etc/hostid' > can't find '/boot/entropy' > Using DTB provided by EFI at 0x87efb000. > Kernel entry at 0xf660002e... > Kernel args: (null) > failed to allocate staging area: 9 > failed to allocate staging area: 9 > > > What is going wrong here? > Seems to be a bug made visible by the recent upgrade of LLVM/clang. It was reported here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264021 If you grab the snapshot from 2 weeks ago, it might not exhibit this problem. Otherwise, it looks like a fix is in progress. https://download.freebsd.org/snapshots/VM-IMAGES/14.0-CURRENT/riscv64/20220505/ Cheers, Mitchell > > Thanks in advance and if you need more information please let me know! > > Kind regards, > > Lars From nobody Sat May 21 04:30:56 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 69E911AE3055 for ; Sat, 21 May 2022 04:31:03 +0000 (UTC) (envelope-from lars.sonchocky-helldorf@hamburg.de) Received: from cosmopolitan.snafu.de (cosmopolitan.snafu.de [IPv6:2001:1560:3:255::151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4L4rJ62KVYz3hdS; Sat, 21 May 2022 04:31:02 +0000 (UTC) (envelope-from lars.sonchocky-helldorf@hamburg.de) X-Trace: 507c6c6172732e736f6e63686f636b792d68656c6c646f72664068616d62757267 2e64657c39332e3233302e3136322e3231397c316e73476c552d3030303141382d 56537c31363533313037343536 Received: from cosmopolitan.snafu.de ([10.151.10.15] helo=localhost) by cosmopolitan.snafu.de with esmtpsa (Exim 4.94.2) id 1nsGlU-0001A8-VS; Sat, 21 May 2022 06:30:59 +0200 Content-Type: text/plain; charset=us-ascii List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: [Solved] was: Re: Problem running FreeBSD/RISC-V in QEMU From: "lars.sonchocky-helldorf@hamburg.de" In-Reply-To: <40a8ac1a-ad1c-9e03-a66b-4b78b23f0d4a@FreeBSD.org> Date: Sat, 21 May 2022 06:30:56 +0200 Cc: "freebsd-riscv@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <2FA6ED5C-4269-4033-BAF0-466FDC7EEA1C@hamburg.de> <40a8ac1a-ad1c-9e03-a66b-4b78b23f0d4a@FreeBSD.org> To: Mitchell Horne X-Mailer: Apple Mail (2.3654.120.0.1.13) X-VISP-ShouldScan: 1 X-VISP-Virus-Check: clean X-VISP-Spam-Score: -0.2 (/) X-VISP-Spam-Report: This message has been scanned on "cosmopolitan.snafu.de" to identify if it is considered spam or not. Contact the support hotline for details. Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 JMQ_SPF_NEUTRAL ASKDNS: SPF set to ?all [hamburg.de TXT:v=spf1 include:_spf1.snafu.de] [include:spf.crsend.com ?all] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.1 POISEN_SPAM_PILL_3 BODY: random spam to be learned in bayes 0.1 POISEN_SPAM_PILL_1 RAW: random spam to be learned in bayes 0.0 KAM_DMARC_STATUS Test Rule for DKIM or SPF Failure with Strict Alignment -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.1 POISEN_SPAM_PILL Meta: its spam X-VISP-Spam-Max-Score: +++++ X-SA-Exim-Connect-IP: 93.230.162.219 X-SA-Exim-Mail-From: lars.sonchocky-helldorf@hamburg.de X-SA-Exim-Scanned: No (on cosmopolitan.snafu.de); SAEximRunCond expanded to false X-Rspamd-Queue-Id: 4L4rJ62KVYz3hdS X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lars.sonchocky-helldorf@hamburg.de designates 2001:1560:3:255::151 as permitted sender) smtp.mailfrom=lars.sonchocky-helldorf@hamburg.de X-Spamd-Result: default: False [-1.90 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_DN_EQ_ADDR(1.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:1560:3:255::/64]; ARC_NA(0.00)[]; DMARC_NA(0.00)[hamburg.de]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34171, ipnet:2001:1560::/32, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[2001:1560:3:255::151:from] X-ThisMailContainsUnwantedMimeParts: N this old snapshot works! Fine! root@freebsd:~ # uname -a FreeBSD freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #0 = main-n255198-1907e1c07c3: Thu May 5 06:03:11 UTC 2022 = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC = riscv root@freebsd:~ #=20 run on macOS 11.6.5: MBP15:~ lars$ uname -a Darwin MBP15.local 20.6.0 Darwin Kernel Version 20.6.0: Tue Feb 22 = 21:10:41 PST 2022; root:xnu-7195.141.26~1/RELEASE_X86_64 x86_64 MBP15:~ lars$=20 using this command: qemu-system-riscv64 \ -machine virt \ -smp 2 \ -m 2G \ -nographic \ -bios /Volumes/Data/Projects/RISC-V/FreeBSD/fw_jump.elf \ -kernel /Volumes/Data/Projects/RISC-V/FreeBSD/u-boot.bin \ -drive = file=3D/Volumes/Data/Projects/RISC-V/FreeBSD/FreeBSD-14.0-CURRENT-riscv-ri= scv64-20220505-1907e1c07c3-255198.raw,format=3Draw,id=3Dhd0 \ -device virtio-blk-device,drive=3Dhd0 \ -device virtio-net-device,netdev=3Dnet0 \ -netdev user,id=3Dnet0,ipv6=3Doff,hostfwd=3Dtcp::8022-:22 Thanks a lot! Lars > Am 20.05.2022 um 22:44 schrieb Mitchell Horne : >=20 > On 2022-05-20 8:36 a.m., lars.sonchocky-helldorf@hamburg.de wrote: >> Hi everybody, >> I am trying to run FreeBSD/RISC-V in QEMU. >> For that purpose I have installed FreeBSD/amd64 inside Virtual Box on = a macOS machine: >> FreeBSD FreeBSD14 14.0-CURRENT FreeBSD 14.0-CURRENT #0 = main-n255696-716fd348e01: Thu May 19 08:29:12 UTC 2022 = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC = amd64 >> and then followed those instructions: >> https://wiki.freebsd.org/riscv#Quick_Start >> The boot process is initialized but then however I get repeatedly: >> failed to allocate staging area: 9 >> here is the part where it fails, truncated, since the above message = is repeated endlessly: >> Loading kernel... >> /boot/kernel/kernel text=3D0x5a5e88 text=3D0x172c34 data=3D0xf8350 = data=3D0x1eac+0x273b9c 0x8+0x1efc360+0x8+0xf28d3 >> Loading configured modules... >> can't find '/etc/hostid' >> can't find '/boot/entropy' >> Using DTB provided by EFI at 0x87efb000. >> Kernel entry at 0xf660002e... >> Kernel args: (null) >> failed to allocate staging area: 9 >> failed to allocate staging area: 9 >> What is going wrong here? >=20 > Seems to be a bug made visible by the recent upgrade of LLVM/clang. It = was reported here: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264021 >=20 > If you grab the snapshot from 2 weeks ago, it might not exhibit this = problem. Otherwise, it looks like a fix is in progress. >=20 > = https://download.freebsd.org/snapshots/VM-IMAGES/14.0-CURRENT/riscv64/2022= 0505/ >=20 > Cheers, > Mitchell >=20 >> Thanks in advance and if you need more information please let me = know! >> Kind regards, >> Lars From nobody Sun May 22 21:18:57 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7BF621B37F9B for ; Sun, 22 May 2022 21:19:09 +0000 (UTC) (envelope-from lars.sonchocky-helldorf@hamburg.de) Received: from longisland.snafu.de (longisland.snafu.de [IPv6:2001:1560:3:255::153]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4L5tcr4vgGz4Wl1 for ; Sun, 22 May 2022 21:19:08 +0000 (UTC) (envelope-from lars.sonchocky-helldorf@hamburg.de) X-Trace: 507c6c6172732e736f6e63686f636b792d68656c6c646f72664068616d62757267 2e64657c39332e3233302e3136322e3231397c316e737379592d3030304265462d 45387c31363533323534333338 Received: from longisland.snafu.de ([10.153.10.15] helo=localhost) by longisland.snafu.de with esmtpsa (Exim 4.94.2) id 1nssyY-000BeF-E8 for freebsd-riscv@FreeBSD.org; Sun, 22 May 2022 23:18:59 +0200 From: "lars.sonchocky-helldorf@hamburg.de" Content-Type: multipart/alternative; boundary="Apple-Mail=_1C58CFFA-A634-440B-B806-6F5442DD7A92" List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Is there no working clang in FreeBSD/RISC-V's ports? Message-Id: Date: Sun, 22 May 2022 23:18:57 +0200 To: "freebsd-riscv@freebsd.org" X-Mailer: Apple Mail (2.3654.120.0.1.13) X-VISP-ShouldScan: 1 X-VISP-Virus-Check: clean X-VISP-Spam-Score: -0.5 (/) X-VISP-Spam-Report: This message has been scanned on "longisland.snafu.de" to identify if it is considered spam or not. Contact the support hotline for details. Content analysis details: (-0.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 JMQ_SPF_NEUTRAL ASKDNS: SPF set to ?all [hamburg.de TXT:v=spf1 include:_spf1.snafu.de] [include:spf.crsend.com ?all] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 KAM_DMARC_STATUS Test Rule for DKIM or SPF Failure with Strict Alignment -0.0 T_SCC_BODY_TEXT_LINE No description available. X-VISP-Spam-Max-Score: +++++ X-SA-Exim-Connect-IP: 93.230.162.219 X-SA-Exim-Mail-From: lars.sonchocky-helldorf@hamburg.de X-SA-Exim-Scanned: No (on longisland.snafu.de); SAEximRunCond expanded to false X-Rspamd-Queue-Id: 4L5tcr4vgGz4Wl1 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lars.sonchocky-helldorf@hamburg.de designates 2001:1560:3:255::153 as permitted sender) smtp.mailfrom=lars.sonchocky-helldorf@hamburg.de X-Spamd-Result: default: False [-0.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_DN_EQ_ADDR(1.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:1560:3:255::/64]; DMARC_NA(0.00)[hamburg.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[2001:1560:3:255::153:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:34171, ipnet:2001:1560::/32, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_1C58CFFA-A634-440B-B806-6F5442DD7A92 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi there, the GNUstep project (but in reality just me myself and I) has undergoing = efforts of porting GNUstep to the RISC-V platform. While this was mainly = a no-brainer for Linux-Fedora/RISC-V (some minor tweaks were necessary), = it seems on the FreeBSD side are some more serious efforts necessary. I = think this will not be my last E-Mail in this regard to the list. Hope = you can stand this! Firstly I was going to install all the necessary dependencies of GNUstep = for RISC-V. I used their http://github.com/gnustep/tools-scripts = : $ sudo ./tools-scripts/install-dependencies-freebsd which resulted in installing most of all the dependencies but: pkg: No packages available to install matching 'libobjc2' have been = found in the repositories this is our (GNUstep=E2=80=99s) responsibility=20 pkg: No packages available to install matching 'clang' have been found = in the repositories no idea how to fix this. Is there really no RISC-V hosted clang = available? pkg: No packages available to install matching 'libxml' have been found = in the repositories pkg: No packages available to install matching 'avahi' have been found = in the repositories no idea who is in charge here to make those work, I am willing to test = certain things if guided. Kind regards, Lars --Apple-Mail=_1C58CFFA-A634-440B-B806-6F5442DD7A92 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi there,


the GNUstep project (but in = reality just me myself and I) has undergoing efforts of porting GNUstep = to the RISC-V platform. While this was mainly a no-brainer for = Linux-Fedora/RISC-V (some minor tweaks were necessary), it seems on the = FreeBSD side are some more serious efforts necessary. I think = this will not be my last E-Mail in this regard to the list. Hope = you can stand this!

Firstly I was going to = install all the necessary dependencies of GNUstep for RISC-V. I used = their http://github.com/gnustep/tools-scripts :

$ sudo = ./tools-scripts/install-dependencies-freebsd

which resulted in installing most of = all the dependencies but:


pkg: No = packages available to install matching 'libobjc2' have been found in the = repositories

this is our (GNUstep=E2=80=99s) = responsibility 


pkg: No = packages available to install matching 'clang' have been found in the = repositories

no idea how to fix this. Is there really no RISC-V hosted = clang available?


pkg: No = packages available to install matching 'libxml' have been found in the = repositories
pkg: No packages = available to install matching 'avahi' have been found in the = repositories

no idea who = is in charge here to make those work, I am willing to test certain = things if guided.


Kind regards,

Lars

= --Apple-Mail=_1C58CFFA-A634-440B-B806-6F5442DD7A92-- From nobody Fri May 27 21:41:59 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CBBA31B42EB9 for ; Fri, 27 May 2022 21:42:03 +0000 (UTC) (envelope-from lars.sonchocky-helldorf@hamburg.de) Received: from longisland.snafu.de (longisland.snafu.de [IPv6:2001:1560:3:255::153]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4L8yty5l5Zz3hkK for ; Fri, 27 May 2022 21:42:02 +0000 (UTC) (envelope-from lars.sonchocky-helldorf@hamburg.de) X-Trace: 507c6c6172732e736f6e63686f636b792d68656c6c646f72664068616d62757267 2e64657c39332e3233302e3136322e3231397c316e7568695a2d3030304a43712d 4c6b7c31363533363837373139 Received: from longisland.snafu.de ([10.153.10.15] helo=localhost) by longisland.snafu.de with esmtpsa (Exim 4.94.2) id 1nuhiZ-000JCq-Lk for freebsd-riscv@FreeBSD.org; Fri, 27 May 2022 23:42:01 +0200 From: "lars.sonchocky-helldorf@hamburg.de" Content-Type: multipart/alternative; boundary="Apple-Mail=_F603AC1F-EA5E-4EE8-88E9-E62FB2ED9464" List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Is there no working clang in FreeBSD/RISC-V's ports? Date: Fri, 27 May 2022 23:41:59 +0200 References: To: "freebsd-riscv@freebsd.org" In-Reply-To: Message-Id: <2AE7AF78-729F-4D6B-AF62-9A79703343D8@hamburg.de> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-VISP-ShouldScan: 1 X-VISP-Virus-Check: clean X-VISP-Spam-Score: -0.4 (/) X-VISP-Spam-Report: This message has been scanned on "longisland.snafu.de" to identify if it is considered spam or not. Contact the support hotline for details. Content analysis details: (-0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 JMQ_SPF_NEUTRAL ASKDNS: SPF set to ?all [hamburg.de TXT:v=spf1 include:_spf1.snafu.de] [include:spf.crsend.com ?all] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.1 TW_LV BODY: Odd Letter Triples with LV 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 KAM_DMARC_STATUS Test Rule for DKIM or SPF Failure with Strict Alignment -0.0 T_SCC_BODY_TEXT_LINE No description available. X-VISP-Spam-Max-Score: +++++ X-SA-Exim-Connect-IP: 93.230.162.219 X-SA-Exim-Mail-From: lars.sonchocky-helldorf@hamburg.de X-SA-Exim-Scanned: No (on longisland.snafu.de); SAEximRunCond expanded to false X-Rspamd-Queue-Id: 4L8yty5l5Zz3hkK X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lars.sonchocky-helldorf@hamburg.de designates 2001:1560:3:255::153 as permitted sender) smtp.mailfrom=lars.sonchocky-helldorf@hamburg.de X-Spamd-Result: default: False [-0.89 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_DN_EQ_ADDR(1.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:1560:3:255::/64]; DMARC_NA(0.00)[hamburg.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[2001:1560:3:255::153:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.986]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:34171, ipnet:2001:1560::/32, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_F603AC1F-EA5E-4EE8-88E9-E62FB2ED9464 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi everybody, meanwhile I=E2=80=99ve found out that there is no longer a clang-port = available, it got merged back into the llvm-devel port: https://www.freshports.org/devel/llvm-devel/ = (See port moves) So I changed GNUstep=E2=80=99s install-dependencies-freebsd script to = require the llvm-devel port. This worked fine on FreeBSD/amd64 inside Virtual Box but not for = FreeBSD/RISC-V in QEMU: pkg: No packages available to install matching 'llvm-devel' have been = found in the repositories So is there really no llvm-devel port available for FreeBSD/RISC-V? Another thing that caught my attention is, that freshports.org never = seems to mention any RISC-V availability. I thought that with FreeBSD 13 = the RISC-V architecture moved to Tier-2 support ( = https://wiki.freebsd.org/riscv#Current_Status = ). Doesn=E2=80=99t that = mean that there should be such ports available for RISC-V?=20 Quote from https://docs.freebsd.org/en/articles/committers-guide/#archs = =E2=80=A2 Tier 2 platforms should be self-hosting either via the = in-tree toolchain or an external toolchain. If an external toolchain is = required, official binary packages for an external toolchain will be = provided. doesn=E2=80=99t specifically that mean that the llvm-devel port should = be available? Just asking =E2=80=A6 Kind regards, Lars > Am 22.05.2022 um 23:18 schrieb lars.sonchocky-helldorf@hamburg.de: >=20 > Hi there, >=20 >=20 > the GNUstep project (but in reality just me myself and I) has = undergoing efforts of porting GNUstep to the RISC-V platform. While this = was mainly a no-brainer for Linux-Fedora/RISC-V (some minor tweaks were = necessary), it seems on the FreeBSD side are some more serious efforts = necessary. I think this will not be my last E-Mail in this regard to the = list. Hope you can stand this! >=20 > Firstly I was going to install all the necessary dependencies of = GNUstep for RISC-V. I used their http://github.com/gnustep/tools-scripts = : >=20 > $ sudo ./tools-scripts/install-dependencies-freebsd >=20 > which resulted in installing most of all the dependencies but: >=20 >=20 > pkg: No packages available to install matching 'libobjc2' have been = found in the repositories >=20 > this is our (GNUstep=E2=80=99s) responsibility=20 >=20 >=20 > pkg: No packages available to install matching 'clang' have been found = in the repositories >=20 > no idea how to fix this. Is there really no RISC-V hosted clang = available? >=20 >=20 > pkg: No packages available to install matching 'libxml' have been = found in the repositories > pkg: No packages available to install matching 'avahi' have been found = in the repositories >=20 > no idea who is in charge here to make those work, I am willing to test = certain things if guided. >=20 >=20 > Kind regards, >=20 > Lars >=20 --Apple-Mail=_F603AC1F-EA5E-4EE8-88E9-E62FB2ED9464 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi everybody,

meanwhile I=E2=80=99ve found out that there = is no longer a clang-port available, it got merged back into the = llvm-devel port:

https://www.freshports.org/devel/llvm-devel/ (See = port moves)


So I changed = GNUstep=E2=80=99s install-dependencies-freebsd script to require the = llvm-devel port.

This worked fine on = FreeBSD/amd64 inside Virtual Box but not for FreeBSD/RISC-V in QEMU:

pkg: No packages available to install matching = 'llvm-devel' have been found in the repositories


So is there really no llvm-devel port = available for FreeBSD/RISC-V?


Another thing that caught my attention is, that freshports.org never seems = to mention any RISC-V availability. I thought that with FreeBSD 13 the = RISC-V architecture moved to Tier-2 support ( https://wiki.freebsd.org/riscv#Current_Status ). = Doesn=E2=80=99t that mean that there should be such ports available = for RISC-V? 

Quote from https://docs.freebsd.org/en/articles/committers-guide/#archs

=E2=80=A2 = Tier 2 platforms should be self-hosting either via the in-tree toolchain = or an external toolchain. If an external toolchain is required, official = binary packages for an external toolchain will be provided.

doesn=E2=80=99t specifically that mean = that the llvm-devel port should be available? Just asking =E2=80=A6


Kind regards,

= Lars


Am 22.05.2022 um 23:18 schrieb lars.sonchocky-helldorf@hamburg.de:

Hi there,


the = GNUstep project (but in reality just me myself and I) has undergoing = efforts of porting GNUstep to the RISC-V platform. While this was mainly = a no-brainer for Linux-Fedora/RISC-V (some minor tweaks were necessary), = it seems on the FreeBSD side are some more serious efforts necessary. I = think this will not be my last E-Mail in this regard to the list. = Hope you can stand this!

Firstly I was = going to install all the necessary dependencies of GNUstep for RISC-V. I = used their http://github.com/gnustep/tools-scripts :

$ sudo = ./tools-scripts/install-dependencies-freebsd

which resulted in installing most of all the dependencies = but:


pkg: No packages = available to install matching 'libobjc2' have been found in the = repositories

this is our (GNUstep=E2=80=99s) = responsibility 


pkg: No = packages available to install matching 'clang' have been found in the = repositories

no idea how to fix this. Is = there really no RISC-V hosted clang available?


pkg: No packages available to install matching = 'libxml' have been found in the repositories
pkg: No = packages available to install matching 'avahi' have been found in the = repositories

no idea who is in charge here = to make those work, I am willing to test certain things if guided.


Kind regards,

= Lars


= --Apple-Mail=_F603AC1F-EA5E-4EE8-88E9-E62FB2ED9464-- From nobody Fri May 27 22:21:24 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AD15A1B4BDF0 for ; Fri, 27 May 2022 22:21:33 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L8zmX70cTz3pLr for ; Fri, 27 May 2022 22:21:32 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: by mail-wr1-f41.google.com with SMTP id k16so3217079wrg.7 for ; Fri, 27 May 2022 15:21:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=mIEv+F++YbJEQ+OOLRmS9KRDSM37VnQDdk9ccHac6/g=; b=ezviNFrT/2dxlQ53RtVvqfosKUen4gD6tmwMuN+yxIQXFaqFf+HqSMz3tFwFwAeZKD Sj2R0cAPqzA88EH9Yr31plUTY8SQg7J6Djk90jUm/XeemG4a9yn8V34xzRhUJ2HH/Epw obgRuouLppKWWMFMBSPFUcVA+MUiWdcFwyPX3p9KDMSEopBsZowtA0KlMRJ3LNeq8XwB POA3RpJe8ywkKRZwkthyQwtLxaTtA0CBDkY0JXWLAGRIxyoAZm0EiMz797f5VbbVTMRL 81Xh20GTImbF0PAgfopDiUNLeCpkhoeUR5WlsxWiArnXOeiew5SibYTtfxlLZrht7ktL WzTA== X-Gm-Message-State: AOAM533oDMbltuYRi0ui24gGM9tyw57aEsPjNm1cmwhYuiN1gW06dH1p rI4TbFx/7RZ4CjWHr2OPeAGYP8nKf2qQ0g== X-Google-Smtp-Source: ABdhPJwbzUPSiUDwox1BqYt8BvLw4kUuPP5iRuZ/x9eb4E+rhx/qHyM42P0rGqcr9Ex6GhoqwRaWhg== X-Received: by 2002:a05:6000:14f:b0:210:1d70:d5e0 with SMTP id r15-20020a056000014f00b002101d70d5e0mr3451599wrx.359.1653690086054; Fri, 27 May 2022 15:21:26 -0700 (PDT) Received: from smtpclient.apple (global-5-141.nat-2.net.cam.ac.uk. [131.111.5.141]) by smtp.gmail.com with ESMTPSA id n11-20020a5d598b000000b0020ce1c1cf31sm2809078wri.21.2022.05.27.15.21.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2022 15:21:25 -0700 (PDT) Content-Type: text/plain; charset=utf-8 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: Is there no working clang in FreeBSD/RISC-V's ports? From: Jessica Clarke In-Reply-To: <2AE7AF78-729F-4D6B-AF62-9A79703343D8@hamburg.de> Date: Fri, 27 May 2022 23:21:24 +0100 Cc: "freebsd-riscv@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <2AE7AF78-729F-4D6B-AF62-9A79703343D8@hamburg.de> To: "lars.sonchocky-helldorf@hamburg.de" X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Rspamd-Queue-Id: 4L8zmX70cTz3pLr X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jrtc27@jrtc27.com designates 209.85.221.41 as permitted sender) smtp.mailfrom=jrtc27@jrtc27.com X-Spamd-Result: default: False [-1.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[jrtc27]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.221.41:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-riscv]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.221.41:from]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 27 May 2022, at 22:41, lars.sonchocky-helldorf@hamburg.de wrote: >=20 > Hi everybody, >=20 >=20 > meanwhile I=E2=80=99ve found out that there is no longer a clang-port = available, it got merged back into the llvm-devel port: >=20 > https://www.freshports.org/devel/llvm-devel/ (See port moves) >=20 >=20 > So I changed GNUstep=E2=80=99s install-dependencies-freebsd script to = require the llvm-devel port. You don=E2=80=99t want that; llvm-devel is snapshots of LLVM=E2=80=99s = development branch. You want just llvm, which is the latest officially released version, if you need a package at all, which I doubt is actually the case (see below). > This worked fine on FreeBSD/amd64 inside Virtual Box but not for = FreeBSD/RISC-V in QEMU: >=20 > pkg: No packages available to install matching 'llvm-devel' have been = found in the repositories >=20 >=20 > So is there really no llvm-devel port available for FreeBSD/RISC-V? Indeed, depending on what repo you want, there is currently no version of that built, nor recent released versions of LLVM, due to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374. The bug has been fixed but as far as I can tell no recent rebuild has happened for the 14 latest repo, only the 13 quarterly repo. > Another thing that caught my attention is, that freshports.org never = seems to mention any RISC-V availability. I thought that with FreeBSD 13 = the RISC-V architecture moved to Tier-2 support ( = https://wiki.freebsd.org/riscv#Current_Status ). Doesn=E2=80=99t that = mean that there should be such ports available for RISC-V?=20 That=E2=80=99s just a freshports data gathering issue, it doesn=E2=80=99t = know the riscv64 package sets exist so doesn=E2=80=99t report on them. I=E2=80=99ve= filed https://github.com/FreshPorts/freshports/issues/364 for this. > Quote from = https://docs.freebsd.org/en/articles/committers-guide/#archs >=20 > =E2=80=A2 Tier 2 platforms should be self-hosting either via the = in-tree toolchain or an external toolchain. If an external toolchain is = required, official binary packages for an external toolchain will be = provided. >=20 > doesn=E2=80=99t specifically that mean that the llvm-devel port should = be available? Just asking =E2=80=A6 RISC-V is self-hosting via the in-tree toolchain, thus no external toolchain is required, and thus no official binary packages are required to be provided. Out of the box you can compile with Clang and link with LLD, no packages needed. You only need the packages if you need a different specific version or you need to use = libLLVM/libClang=E2=80=99s APIs. Jess > Kind regards, >=20 > Lars >=20 >=20 >> Am 22.05.2022 um 23:18 schrieb lars.sonchocky-helldorf@hamburg.de: >>=20 >> Hi there, >>=20 >>=20 >> the GNUstep project (but in reality just me myself and I) has = undergoing efforts of porting GNUstep to the RISC-V platform. While this = was mainly a no-brainer for Linux-Fedora/RISC-V (some minor tweaks were = necessary), it seems on the FreeBSD side are some more serious efforts = necessary. I think this will not be my last E-Mail in this regard to the = list. Hope you can stand this! >>=20 >> Firstly I was going to install all the necessary dependencies of = GNUstep for RISC-V. I used their http://github.com/gnustep/tools-scripts = : >>=20 >> $ sudo ./tools-scripts/install-dependencies-freebsd >>=20 >> which resulted in installing most of all the dependencies but: >>=20 >>=20 >> pkg: No packages available to install matching 'libobjc2' have been = found in the repositories >>=20 >> this is our (GNUstep=E2=80=99s) responsibility=20 >>=20 >>=20 >> pkg: No packages available to install matching 'clang' have been = found in the repositories >>=20 >> no idea how to fix this. Is there really no RISC-V hosted clang = available? >>=20 >>=20 >> pkg: No packages available to install matching 'libxml' have been = found in the repositories >> pkg: No packages available to install matching 'avahi' have been = found in the repositories >>=20 >> no idea who is in charge here to make those work, I am willing to = test certain things if guided. >>=20 >>=20 >> Kind regards, >>=20 >> Lars >>=20 From nobody Sat May 28 13:41:52 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E43E21B3F9A7 for ; Sat, 28 May 2022 13:42:03 +0000 (UTC) (envelope-from lars.sonchocky-helldorf@hamburg.de) Received: from cosmopolitan.snafu.de (cosmopolitan.snafu.de [IPv6:2001:1560:3:255::151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4L9NBf5yn1z3Dlr; Sat, 28 May 2022 13:42:02 +0000 (UTC) (envelope-from lars.sonchocky-helldorf@hamburg.de) X-Trace: 507c6c6172732e736f6e63686f636b792d68656c6c646f72664068616d62757267 2e64657c39332e3233302e3136322e3231397c316e757768562d3030304532322d 30617c31363533373435333133 Received: from cosmopolitan.snafu.de ([10.151.10.15] helo=localhost) by cosmopolitan.snafu.de with esmtpsa (Exim 4.94.2) id 1nuwhV-000E22-0a; Sat, 28 May 2022 15:41:54 +0200 Content-Type: text/plain; charset=utf-8 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Is there no working clang in FreeBSD/RISC-V's ports? From: "lars.sonchocky-helldorf@hamburg.de" In-Reply-To: Date: Sat, 28 May 2022 15:41:52 +0200 Cc: "freebsd-riscv@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <0A5A07EB-4792-4F2C-BE32-4318573C65AC@hamburg.de> References: <2AE7AF78-729F-4D6B-AF62-9A79703343D8@hamburg.de> To: Jessica Clarke X-Mailer: Apple Mail (2.3654.120.0.1.13) X-VISP-ShouldScan: 1 X-VISP-Virus-Check: clean X-VISP-Spam-Score: -0.4 (/) X-VISP-Spam-Report: This message has been scanned on "cosmopolitan.snafu.de" to identify if it is considered spam or not. Contact the support hotline for details. Content analysis details: (-0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 JMQ_SPF_NEUTRAL ASKDNS: SPF set to ?all [hamburg.de TXT:v=spf1 include:_spf1.snafu.de] [include:spf.crsend.com ?all] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.1 TW_LV BODY: Odd Letter Triples with LV -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.0 KAM_DMARC_STATUS Test Rule for DKIM or SPF Failure with Strict Alignment X-VISP-Spam-Max-Score: +++++ X-SA-Exim-Connect-IP: 93.230.162.219 X-SA-Exim-Mail-From: lars.sonchocky-helldorf@hamburg.de X-SA-Exim-Scanned: No (on cosmopolitan.snafu.de); SAEximRunCond expanded to false X-Rspamd-Queue-Id: 4L9NBf5yn1z3Dlr X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lars.sonchocky-helldorf@hamburg.de designates 2001:1560:3:255::151 as permitted sender) smtp.mailfrom=lars.sonchocky-helldorf@hamburg.de X-Spamd-Result: default: False [-0.61 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_DN_EQ_ADDR(1.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:1560:3:255::/64]; ARC_NA(0.00)[]; DMARC_NA(0.00)[hamburg.de]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[2001:1560:3:255::151:from]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.71)[-0.715]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34171, ipnet:2001:1560::/32, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi Jess, > Am 28.05.2022 um 00:21 schrieb Jessica Clarke : >=20 > On 27 May 2022, at 22:41, lars.sonchocky-helldorf@hamburg.de wrote: >>=20 >> Hi everybody, >>=20 >>=20 >> meanwhile I=E2=80=99ve found out that there is no longer a clang-port = available, it got merged back into the llvm-devel port: >>=20 >> https://www.freshports.org/devel/llvm-devel/ (See port moves) >>=20 >>=20 >> So I changed GNUstep=E2=80=99s install-dependencies-freebsd script to = require the llvm-devel port. >=20 > You don=E2=80=99t want that; llvm-devel is snapshots of LLVM=E2=80=99s = development > branch. You want just llvm, which is the latest officially released > version, if you need a package at all, which I doubt is actually the > case (see below). Thanks for the head ups, I just wasn=E2=80=99t aware of this. Since the = port llvm installs a 9.something version of llvm I guess I also can use = llvm13 for instance here, right? >=20 >> This worked fine on FreeBSD/amd64 inside Virtual Box but not for = FreeBSD/RISC-V in QEMU: >>=20 >> pkg: No packages available to install matching 'llvm-devel' have been = found in the repositories >>=20 >>=20 >> So is there really no llvm-devel port available for FreeBSD/RISC-V? >=20 > Indeed, depending on what repo you want, there is currently no version > of that built, nor recent released versions of LLVM, due to > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261374. The bug = has > been fixed but as far as I can tell no recent rebuild has happened for > the 14 latest repo, only the 13 quarterly repo. Do such rebuilds get triggered automatically? Or is there somebody, whom = I should contact for this? >=20 >> Another thing that caught my attention is, that freshports.org never = seems to mention any RISC-V availability. I thought that with FreeBSD 13 = the RISC-V architecture moved to Tier-2 support ( = https://wiki.freebsd.org/riscv#Current_Status ). Doesn=E2=80=99t that = mean that there should be such ports available for RISC-V?=20 >=20 > That=E2=80=99s just a freshports data gathering issue, it doesn=E2=80=99= t know the > riscv64 package sets exist so doesn=E2=80=99t report on them. I=E2=80=99= ve filed > https://github.com/FreshPorts/freshports/issues/364 for this. Thanks for reporting this! Hopefully they fix it soon. >=20 >> Quote from = https://docs.freebsd.org/en/articles/committers-guide/#archs >>=20 >> =E2=80=A2 Tier 2 platforms should be self-hosting either via the = in-tree toolchain or an external toolchain. If an external toolchain is = required, official binary packages for an external toolchain will be = provided. >>=20 >> doesn=E2=80=99t specifically that mean that the llvm-devel port = should be available? Just asking =E2=80=A6 >=20 > RISC-V is self-hosting via the in-tree toolchain, thus no external > toolchain is required, and thus no official binary packages are > required to be provided. Out of the box you can compile with Clang and > link with LLD, no packages needed. You only need the packages if you > need a different specific version or you need to use = libLLVM/libClang=E2=80=99s > APIs. I just used what was in the GNUstep repo and tweaked it a bit for the = modern times. Since GNUstep is written mostly in Objective-C, I guess I = need a LLVM which supports this too, hence the package requirement I = would say. But I am not sure =E2=80=A6 >=20 > Jess Kind regards, Lars >=20 >> Kind regards, >>=20 >> Lars >>=20 >>=20 >>> Am 22.05.2022 um 23:18 schrieb lars.sonchocky-helldorf@hamburg.de: >>>=20 >>> Hi there, >>>=20 >>>=20 >>> the GNUstep project (but in reality just me myself and I) has = undergoing efforts of porting GNUstep to the RISC-V platform. While this = was mainly a no-brainer for Linux-Fedora/RISC-V (some minor tweaks were = necessary), it seems on the FreeBSD side are some more serious efforts = necessary. I think this will not be my last E-Mail in this regard to the = list. Hope you can stand this! >>>=20 >>> Firstly I was going to install all the necessary dependencies of = GNUstep for RISC-V. I used their http://github.com/gnustep/tools-scripts = : >>>=20 >>> $ sudo ./tools-scripts/install-dependencies-freebsd >>>=20 >>> which resulted in installing most of all the dependencies but: >>>=20 >>>=20 >>> pkg: No packages available to install matching 'libobjc2' have been = found in the repositories >>>=20 >>> this is our (GNUstep=E2=80=99s) responsibility=20 >>>=20 >>>=20 >>> pkg: No packages available to install matching 'clang' have been = found in the repositories >>>=20 >>> no idea how to fix this. Is there really no RISC-V hosted clang = available? >>>=20 >>>=20 >>> pkg: No packages available to install matching 'libxml' have been = found in the repositories >>> pkg: No packages available to install matching 'avahi' have been = found in the repositories >>>=20 >>> no idea who is in charge here to make those work, I am willing to = test certain things if guided. >>>=20 >>>=20 >>> Kind regards, >>>=20 >>> Lars >>>=20 >=20 >=20 From nobody Mon May 30 18:44:58 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 72A5B1B500E0 for ; Mon, 30 May 2022 18:45:42 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.oetec.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LBkr52SRXz3LrV for ; Mon, 30 May 2022 18:45:38 +0000 (UTC) (envelope-from dclarke@blastwave.org) X-Spam-Status: No X-oetec-MailScanner-From: dclarke@blastwave.org X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.585, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, DKIM_VALID_EF -0.10, NICE_REPLY_A -0.48, T_SCC_BODY_TEXT_LINE -0.01, URIBL_BLOCKED 0.00) X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-ID: 24UIiw8D002413 X-oetec-MailScanner-Information: Please contact oetec for more information Received: from [10.14.0.4] (static-198-54-132-53.cust.tzulo.com [198.54.132.53]) (authenticated bits=0) by mail.oetec.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 24UIiw8D002413 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 30 May 2022 14:45:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org; s=default; t=1653936300; bh=n1ilHEdIWx3S2vtzobsqhGz/s95lNQ8e70MQ5x3qMqA=; h=Date:Subject:To:References:From:In-Reply-To:From; b=mVKhFFmmLvljiKibdpHYbBFLzouNglUzBGatnolEaKmLaPbrhef18SgWIhIIwlB+i tgAt9pYslzi8zKuo1GN/LiZzwqxD4X4t4SI5e06F36umWB8cRdHTLN3+WDhj0S29+R sUdRd0tXeCsPpwPaaaEE91LqgMpTiPIwGQWj9VQpuxQ0xvarEGEujpSj1XuP+b4uFm 8HeC9rNhfQBs3rvcV6r6JXyldNGw/KwS3DgGOgtQurWfJ2oWtucqW1ByhZmnMJNuwX H4JU9oPMCtBeVrK3CfY1ex/9M30EV1DOWuFRXXv1p5gUdF4gSN7eRnUcGl4S+MHo+O h6HgaJoFdQHwQ== Message-ID: Date: Mon, 30 May 2022 14:44:58 -0400 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: Is there no working clang in FreeBSD/RISC-V's ports? Content-Language: en-US To: riscv@freebsd.org References: <2AE7AF78-729F-4D6B-AF62-9A79703343D8@hamburg.de> From: Dennis Clarke In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4LBkr52SRXz3LrV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=mVKhFFmm; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org X-Spamd-Result: default: False [-3.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; DKIM_TRACE(0.00)[blastwave.org:+]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[riscv]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 5/27/22 18:21, Jessica Clarke wrote: > On 27 May 2022, at 22:41, lars.sonchocky-helldorf@hamburg.de wrote: >> . . . > That’s just a freshports data gathering issue, it doesn’t know the > riscv64 package sets exist so doesn’t report on them. I’ve filed > https://github.com/FreshPorts/freshports/issues/364 for this. > >> Quote from https://docs.freebsd.org/en/articles/committers-guide/#archs >> >> • Tier 2 platforms should be self-hosting either via... >> >> doesn’t specifically that mean that the llvm-devel port should be available? Just asking … > > RISC-V is self-hosting via the in-tree toolchain, thus no external > toolchain is required, and thus no official binary packages are > required to be provided. Out of the box you can compile with Clang and > link with LLD, no packages needed. You only need the packages if you > need a different specific version or you need to use libLLVM/libClang’s > APIs. > > Jess > Has something changed in the last three weeks? I see ver 13.0.0 here : ison$ uname -apKU FreeBSD ison 14.0-CURRENT FreeBSD 14.0-CURRENT #2 main-n255202-0aef8628458-dirty: Sun May 8 20:33:55 UTC 2022 root@ison:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv riscv64 1400057 1400057 ison$ ison$ cc --version FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin ison$ Which may be a valid reason to fire off a buildworld etc but I see no issues with whatever was clang a few weeks ago. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From nobody Fri Jun 10 12:49:41 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E4D73858DC8 for ; Fri, 10 Jun 2022 12:49:54 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LKLQT60Ncz4g6x for ; Fri, 10 Jun 2022 12:49:53 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id CD04A8D4A171 for ; Fri, 10 Jun 2022 12:49:44 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 69FD5E707D9 for ; Fri, 10 Jun 2022 12:49:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id GucW9yee_dpK for ; Fri, 10 Jun 2022 12:49:43 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 3F8DBE707AC for ; Fri, 10 Jun 2022 12:49:42 +0000 (UTC) Date: Fri, 10 Jun 2022 12:49:41 +0000 (UTC) From: "Bjoern A. Zeeb" To: riscv@freebsd.org Subject: Comprehensive List of RISC-V SoCs and FreeBSD? Message-ID: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4LKLQT60Ncz4g6x X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-0.61 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_SPAM_SHORT(0.69)[0.690]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MLMMJ_DEST(0.00)[riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi, beyond https://wiki.freebsd.org/riscv#Supported_Platforms is there any list of avail RiscV SoCs (and their supported status)? It seems by now most the the listed boards are discont/unavail. Are there alternatives? /bz -- Bjoern A. Zeeb r15:7 From nobody Sat Jun 25 13:09:02 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EB99587C5EE for ; Sat, 25 Jun 2022 13:09:19 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: from mail-ua1-x92e.google.com (mail-ua1-x92e.google.com [IPv6:2607:f8b0:4864:20::92e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LVZ7z2F9nz3vxy for ; Sat, 25 Jun 2022 13:09:19 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: by mail-ua1-x92e.google.com with SMTP id n16so1821075ual.12 for ; Sat, 25 Jun 2022 06:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=LbaYV/pad9hpbuSFoGCaTW3asH3El1FYyXd0djSAhzo=; b=Upz1XJiYvD3OzZilZHY8de4cqCl88pqz7y4XKCPqGV8/Wh5R6GTB6iOZTHXjLRf16t Sk6fY9/s9wqFZZXzvLq2aRn39ZJVyJywKSkHlNnKkmtLxC595m2SnXY2ka4+lhV3YizI JVaD++NQ0eFkj3DC4DqYqtfnuCy8o0IlG3WdW/KeM4p+GNIqd+v0YZ4JV/6wqJy5FgAu Vxhn9Q3sz9sOw3lJA1qEJR2Pr6eG2SmrOLryHQrj6jVi6n7dCzgsPmnz11BtWqiiJTor LEOcnUyqkw/uHPG4Y6nUCcEdErr0sUOM4XSOe3oGtoLnK+7eYFL5GnDuKgZ5CbaNUTSM 6b/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=LbaYV/pad9hpbuSFoGCaTW3asH3El1FYyXd0djSAhzo=; b=qMzYDeynXgoUauQpN/jyTG50vb+t5H48VCrxBjMc9KgWouts98fLpd4C+SPShq6wcI nT6G9SC5BkbYelHwvusaiO2R+XcEYnIJF40cW1mr5A6BVpqvyRVKx3iMiaLQc/uI17Kx nu2Kmu4Cbt4zi3KbUwpbQtKqkXq3ZTKeAPqFpKUbvOJnKrSOogAbIjPAfWdeussjcogy w313LrxO7+kuwz9IpEL05jYL7xCGtSXJBQC0iyvhbJAEFd22nLIubO+HzWE4XihXsPt4 sUnOWDG3Rv1J9RmUvZ0glZszWDjTVMlVCUVXp6dvYQZ78KLxwAkP/zfc17GbS5CpvXTl 25OA== X-Gm-Message-State: AJIora/balS4US9Du01aZU47FvVePmZ/T8HKO3zGKLrNl8JrCLiYbaIw 8L99yjOVqttGvClDx+gr7r87PQEJzYpw4IV+8ZafJ1CUS+I= X-Google-Smtp-Source: AGRyM1snI+RROOu0O6bI/j/4eJKhJ2a+k+rUDWHEKF6KrzGKL4uMDlCRK2m15u6Qm9SjRguA3Et3qiXjTLL0MrscmqE= X-Received: by 2002:ab0:7701:0:b0:37f:f40:3b39 with SMTP id z1-20020ab07701000000b0037f0f403b39mr1550588uaq.50.1656162552118; Sat, 25 Jun 2022 06:09:12 -0700 (PDT) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Julien Cassette Date: Sat, 25 Jun 2022 15:09:02 +0200 Message-ID: Subject: Re: Comprehensive List of RISC-V SoCs and FreeBSD? To: "Bjoern A. Zeeb" Cc: riscv@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4LVZ7z2F9nz3vxy X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Upz1XJiY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of juliencassette@gmail.com designates 2607:f8b0:4864:20::92e as permitted sender) smtp.mailfrom=juliencassette@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::92e:from]; MLMMJ_DEST(0.00)[riscv]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Le ven. 10 juin 2022 =C3=A0 15:05, Bjoern A. Zeeb a =C3=A9crit : > > Hi, > > beyond https://wiki.freebsd.org/riscv#Supported_Platforms is there any > list of avail RiscV SoCs (and their supported status)? > > It seems by now most the the listed boards are discont/unavail. > Are there alternatives? > > /bz > > -- > Bjoern A. Zeeb r15:7 > Hi Bjoern I had been working on supporting the Allwinner D1 (Nezha and Lichee RV boards) but unfortunately I have got stuck at the MMC driver. Here are the sources if you want to take a look: https://reviews.freebsd.org/people/revisions/13728/ https://github.com/jcassette/freebsd-src/tree/d1/mmc Regards, Julien From nobody Sun Jul 10 22:16:25 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 146961D04F5E for ; Sun, 10 Jul 2022 22:16:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lh1ZK6g5Fz3C8m for ; Sun, 10 Jul 2022 22:16:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lh1ZK5WL1zgpx for ; Sun, 10 Jul 2022 22:16:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26AMGPKY068231 for ; Sun, 10 Jul 2022 22:16:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26AMGPxc068230 for riscv@FreeBSD.org; Sun, 10 Jul 2022 22:16:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 263414] devel/llvm14: enable COMPILER_RT by default on riscv64 Date: Sun, 10 Jul 2022 22:16:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657491385; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dPGxajEm3pIVQq0TkkP89e7NhuoDF1Zt0aExLIpoLpY=; b=VgB2ln4NiwpcjQoky/HeeSfNDjOuTDUvQ/cMIbKDgNujQXHJBCkAE9qM8F0no054vxpSWl 38W9xvrrGQWQ0/VLuL/UJyMKnGK4rxo5q3PY5cfd6mNZw6oM7k0X6Bu+7erAIxDK5efQsG uoHO44AjISzZMPlwvZf/rI0JGOYOvpyR+CAkdBKIhSVIKW1ni7DZUzfH0D/aUZCwtIhaRk T8AYo6Nh831FkkIxB6LyYWmtI3QmfkkGMYu2985pV+3ZyfTuXHYCBipdvDsmGGyLIBcEXQ P9NrSm3pL/2uTly3Vb/aiRsAkqrtyxStiISnXcQJL/RRNJjNlzqTvE4A0/42eA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657491385; a=rsa-sha256; cv=none; b=g8M/QV9BPCSarogSpOZfPqnMtKfKhofB7lWmBVH7dPF7M8vMTg14DBDE4V2sqUl/fWyA3Q 1l5cnMRxde6BZMXirziuGZIHYmHlcGO8ZXGIbL+uYFB5OpFevc/S/GID9dwSPrxUdiU7CN 6f9e0Q4R6imVPTQP8EgUgIgrbahVACpWHf3gW/UxcFYLELKE6Gkfwv789BPbAFs6fcAPgk GPmQZ2KYlUqZJNCK1pgtDv60NVr09WeOYOXwkxn/sFUIgrqAOisC8wjEB3JlJDWuhWjd4d sAOyrxI0S192TccpIyG1uXrddcJU40HXtXRD4FR72kOWLTesxHSoo6gylEOBUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263414 Dave Cottlehuber changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |265137 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265137 [Bug 265137] devel/llvm14: libclang_rt.builtins-aarch64.a is missing (perha= ps COMPILER_RT ?) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Jul 25 23:05:50 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LsFyQ5QhRz4X3SS for ; Mon, 25 Jul 2022 23:05:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LsFyQ3ppxz3yxS for ; Mon, 25 Jul 2022 23:05:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LsFyQ2rfszFRR for ; Mon, 25 Jul 2022 23:05:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26PN5od2025629 for ; Mon, 25 Jul 2022 23:05:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26PN5oWb025628 for riscv@FreeBSD.org; Mon, 25 Jul 2022 23:05:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 265439] copyin() repeatedly traps on some illegal user addresses on RISC-V Date: Mon, 25 Jul 2022 23:05:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rtm@lcs.mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658790350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tzcWYA8gPinElxlCNxfp6uXLehkJpkhVpfeQDm1jEYk=; b=Y4HdeZr/6q3KtCdCp59RzsakXEZYAPghRt4CMaYxRK0H6na4+L8tVMKYJAJ/fB5E+uAPzp CDcpPCJnStd9824oyCngF8g5EmNnB4dpVA3tQwkz62Dkhjfshi24D1m3DEMuPiI2Eyq30Z H73+F1Zh/8k2pYQ05dw0Pp0vO7KsXIIGKezS/kuy0yQCjzb0/NK/XodyzoiyvMdEnHghp+ De3t7MFXbRa4PSiulG/kmS7+fZQZni7x8Lzd+nUb+48kM/Dw2przt0rnFz1RwxbM6ywsMA kJCIPu7+N1hIkVBIDsxduwQnHSginl/16T2eSYeUgRijKgNENk/shyKbxMR5kg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658790350; a=rsa-sha256; cv=none; b=PuSLO2d6xkgjaK067WMetbSPWFZDrCF7A4rudV/Dhc/kYpK/XOkHAr5AtbVv84GG3aEDGU +vqZhtb7fWDOTAX6Mbntvv+nDgXTHBelbm8u19rD1Vj1OlRqoVxSgbXqNGthH/tI0lQDuj YHDyIefOVMTHWuK/ayvAqZpple3/qAALd41Vnjnaq+rLpSh7+P1MX8rlAX48JSQoFU7EPD ApMxviFgmeTJDxPOJY2RlK0jjYGNbCOp7Qs9dApGBWcxlSDCCwPxRKEsGomARO2UMpjCYt s3xIfJXLGIXfEUtBCBoAwqX6utZmV3seYEh4xSExzuaVxQCgkEaeI5cfOdgjWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265439 Bug ID: 265439 Summary: copyin() repeatedly traps on some illegal user addresses on RISC-V Product: Base System Version: CURRENT Hardware: riscv OS: Any Status: New Severity: Affects Some People Priority: --- Component: riscv Assignee: riscv@FreeBSD.org Reporter: rtm@lcs.mit.edu FreeBSD-CURRENT on qemu 6.2.0's riscv64 emulation can disagree with the "hardware" about whether upper bits of SV39 virtual addresses are significant. copyin() will get a page fault from the hardware if a user-supplied address has a few bits higher than the 39th set, but the pmap.c pmap_xx_index() macros ignore those high bits, so pmap_fault() may treat it as a valid user address. So the trap may return to copyin(), which will fault again on the same address... Here's a program that does that for me. int main() { char buf[512]; write(1, 0x500000000000ULL | (unsigned long) buf, 1); } Here's a typical ddb backtrace: pmap_fault() at pmap_fault+0xc0 page_fault_handler() at page_fault_handler+0x11c do_trap_supervisor() at do_trap_supervisor+0x76 cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x70 --- exception 13, tval =3D 0x500080e1f230 copyin() at copyin+0x68 uiomove() at uiomove+0xe log_console() at log_console+0x60 ttyconsdev_write() at ttyconsdev_write+0x1a devfs_write_f() at devfs_write_f+0xa6 fo_write() at fo_write+0xa dofilewrite() at dofilewrite+0x66 kern_writev() at kern_writev+0x40 sys_write() at sys_write+0x54 syscallenter() at syscallenter+0xec ecall_handler() at ecall_handler+0x18 do_trap_user() at do_trap_user+0xea cpu_exception_handler_user() at cpu_exception_handler_user+0x72 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jul 25 23:27:40 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LsGRc44Klz4X5mQ for ; Mon, 25 Jul 2022 23:27:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LsGRc21V2z41JD for ; Mon, 25 Jul 2022 23:27:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LsGRc0kSdzFSJ for ; Mon, 25 Jul 2022 23:27:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26PNRdeg035559 for ; Mon, 25 Jul 2022 23:27:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26PNRdDn035558 for riscv@FreeBSD.org; Mon, 25 Jul 2022 23:27:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 265439] copyin() repeatedly traps on some illegal user addresses on RISC-V Date: Mon, 25 Jul 2022 23:27:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jrtc27@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658791660; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UvZejsazY4BUn9f+lQvFgeSyPle+Ee69/LIELvxfhxk=; b=HIrUu6HVpHHczmSxhNvG2qvNtoOTxirCwMDNJFAXnl5XoORqOpTApLuCxErh346J06COo+ ZpxGHsJ62/eDdQKrzAEBwzeeJTAPS9J8LYbopwSrVsAVEjQ43VSAwq0UKdStoxzboY1xqW XVFjykPJ8ErLyrf3l/zNCSKHK4Bt6ZxMLr4BHHZppIbfmkzQf5xwVyHWpbbVPmg9m+xF7w cbRNBlaDVaM5Z0oa9JBMlSv5/UfLy3yEN90hAvS5VoCIpTEU712J4KjRwwVtX/1m5siH2w A8cpu/Tk9LZydtM5RG4OZw0lo9QLbvwArej+9r7ERNQh6l09Fo2b+m04WDZOoA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658791660; a=rsa-sha256; cv=none; b=mq1wnVz4FaLBfLHyoYlubP3EBd89804m7IveUcI3atpi+AM7/osDFnSu4GpG8PZT7zvE7F 0RplVcaUiygJ2bPXFVcPym7TQ0hnxKyG6PJuwtBuN4fxVdhndsI7KP7nMH1ngIsFGSXUhx uKKnQ5RJiMvaSQPLR8YoFDBxjmSGuogpWDdchGxRl1a/wmKtjSWOEC/pORjDhbdTjPIQnG 3MtBFSlQIycSITm5LNSEUDxMNux1IPBgAvdF2XtZ49S1vU9ML/BRAKimW2TZKyWCdUKMLJ pp4DRy9j9LPif3ZkluUmkHiv63BlDL35ij225fjpm3978pqNvsnLZXNzRQko0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265439 Jessica Clarke changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |jrtc27@freebsd.org Assignee|riscv@FreeBSD.org |markj@FreeBSD.org --- Comment #1 from Jessica Clarke --- This is a regression in 31218f3209ac ("riscv: Add support for enabling SV48 mode"), right? We do check VIRT_IS_VALID in page_fault_handler and will SIG= SEGV the process or panic the kernel depending on which mode faulted, and copyin= etc will check the address is for userspace before using it, but they check VM_MAX(_)USER_ADDRESS which is now the SV48 version even when SV39 is in us= e. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Aug 29 18:22:23 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MGf1C4fgqz4bdLx for ; Mon, 29 Aug 2022 18:22:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MGf1C2px2z3X6f for ; Mon, 29 Aug 2022 18:22:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MGf1C1sq7zWZK for ; Mon, 29 Aug 2022 18:22:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 27TIMN4k063832 for ; Mon, 29 Aug 2022 18:22:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27TIMNqf063831 for riscv@FreeBSD.org; Mon, 29 Aug 2022 18:22:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 266103] ioctl(/dev/mem, MEM_EXTRACT_PADDR, <0x80000000>) on /dev/mem on riscv64 panics Date: Mon, 29 Aug 2022 18:22:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rtm@lcs.mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661797343; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Cytz//KhCsw3CJkxcFwrsXi9ecWQiuKzPH+r/nqiWzM=; b=FkMrX0Pp6JNtlM6ceyrm2YyvMoXcZuM3hL9jHRRknpMleASPflcpe+OfCNX51Gjud5iC9q JHpupsAzgH0UbtaX4AwS3A+pGYNWZeyT70rs1v3MEhmoxSi2L9S9eiTdgCBsJqsyuU0sn+ aSaiv1VPAqXkv/jleEa0LKKxQmkTtgFhvKzjsiaeWtmZ83AGzdA3ueWnCqjAjpP922gjkD 8oPfxMrtrWN5UWbiX9WuKbqtVuFj6KRjl3uX74zsACsUA2yltwb8mqHMViUnEs2cpgcfiZ e580vvHyTjKzaTXabVGGZYiZgvURPY3LJsUzunOmXLAIm/Gj/VegD/O9j1D+QQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661797343; a=rsa-sha256; cv=none; b=KagR/FrlIBl3JHjCkb43DBoBzzjPnGxzdt2v5gARHnpnBzSKWiuGrfblInPA9N7/jJGwXz 5kTc+4Rn3LVwrIhqxE/OU0I7kIJls1tkAX6LxTER/JLX0pJym+IzL6GAUK7Iwma+RJZ60K YXM2dhgfZz17PuwbSY22s2k2VyxqvrmNk8tP6cRYbFmlOE+iL7/5wzyJCIkrZIv2QbGEq0 r8XD6XqDxQ0pUux3EBb3JX9LuAL/HjgA4/imQ7G54T+X7RSGDPKHevFnVB65VScW7gFluM ZTHcLlQu5wSDibxg+LImHZ9SD6Ss1xS32OzcdUW0/jOhg37WlbFBVn9FoRHcQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266103 Bug ID: 266103 Summary: ioctl(/dev/mem, MEM_EXTRACT_PADDR, <0x80000000>) on /dev/mem on riscv64 panics Product: Base System Version: CURRENT Hardware: riscv OS: Any Status: New Severity: Affects Some People Priority: --- Component: riscv Assignee: riscv@FreeBSD.org Reporter: rtm@lcs.mit.edu On qemu riscv64, the program below causes "panic: pmap_l2_to_l3: PA out of range, PA: 0x0" on an INVARIANTS kernel, and a kernel page fault without INVARIANTS. The immediate problem seems to be that the l2 PTE that pmap_extract() finds is all zeroes, but pmap_l2_to_l3() assumes it contains a valid physical address. #include #include #include #include #include int main() { int fd =3D open("/dev/mem", 2); struct mem_extract m; memset(&m, 0, sizeof(m)); m.me_vaddr =3D 0x80000000; ioctl(fd, MEM_EXTRACT_PADDR, &m); } # uname -a FreeBSD 14.0-CURRENT FreeBSD 14.0-CURRENT #40 main-n250928-b8170f38ccc7-di= rty: Mon Aug 29 13:09:55 EDT 2022=20=20=20=20 rtm@xxx:/usr/obj/usr/rtm/symbsd/src/riscv.riscv64/sys/RTM riscv # cc x.c # ./a.out panic: Fatal page fault at 0xffffffc000618a18: 0xffffffcf80000000 panic() at panic+0x2a page_fault_handler() at page_fault_handler+0x1d6 do_trap_supervisor() at do_trap_supervisor+0x76 cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x70 --- exception 13, tval =3D 0xffffffcf80000000 pmap_extract() at pmap_extract+0x64 memioctl() at memioctl+0x78 devfs_ioctl() at devfs_ioctl+0xbe VOP_IOCTL_APV() at VOP_IOCTL_APV+0x30 VOP_IOCTL() at VOP_IOCTL+0x36 vn_ioctl() at vn_ioctl+0xba devfs_ioctl_f() at devfs_ioctl_f+0x20 fo_ioctl() at fo_ioctl+0xa kern_ioctl() at kern_ioctl+0x242 sys_ioctl() at sys_ioctl+0x120 syscallenter() at syscallenter+0xec ecall_handler() at ecall_handler+0x18 do_trap_user() at do_trap_user+0xea cpu_exception_handler_user() at cpu_exception_handler_user+0x72 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 6 19:52:36 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MMbdc5FSvz4bYKH for ; Tue, 6 Sep 2022 19:52:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MMbdc4Dp0z3jy3 for ; Tue, 6 Sep 2022 19:52:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MMbdc3KQzzHDJ for ; Tue, 6 Sep 2022 19:52:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 286JqaxO039285 for ; Tue, 6 Sep 2022 19:52:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 286JqapZ039284 for riscv@FreeBSD.org; Tue, 6 Sep 2022 19:52:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 266103] ioctl(/dev/mem, MEM_EXTRACT_PADDR, <0x80000000>) on /dev/mem on riscv64 panics Date: Tue, 06 Sep 2022 19:52:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662493956; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pm5fV33xoBUY9k8PX+SJ/4sWiiXAO9m80D1FzjgmDSA=; b=HeNSZZBuAnhkmWALuRHRdPtHBaTGVjvSIFRJhyJxtvT8PttDkEdgaQ0WTC4xXBE1nXc0zk Pvl/ab9bBlMrXVipwSBbVNjKoVLnaen77qF7R4urwEQux4uanwPdEkfC3TXWTZPR4+c1aA Ty/CNx+jFvPNPu0PrDm6DkDaxkRbxTPiHrEIz7rSYNCps4Rruy2tx5vXUWDGduhPtIErmg egVSSBPQ+xIXJMzvw2Wdgoe9I9xctY4GfKoQ9ZNRZosyLgeHHPTFsG0YK6A8dNBcQFX0qA H8TsSdpDa8iF255ofQYA+1PzzC9h0TN0zuewIj6OKRA2w0dGba4a4NExnZlH7A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662493956; a=rsa-sha256; cv=none; b=dceo66sE5wqDD9O9CApefR/giH47/EBLSBH5b8A1KvNEAmvznR1okClJQlq/gTa3usuIzc 1dyUdHJ6ZlGQ26QTY8H5/haXdEPXwaBew2NnC6quos6itEjhx+9IiZIpToZytLbbZwsrYS AAUN3kHwVF21HaB94Ewlt1eZxq+5OJXJWNN7y76s6W6EpfrxV4dsI9ZvoyrBGlt5Tqubz0 KAGHSPr8yrvjbcWfpk5+E/D8gC5qndoyg+hYqSUi/yApTaPgJZ6Sen1+uiqT3YXkmD6K6H rJ7em2qmGGnGNZfpWeySp+P9rCyDjDlKIHnYuO2TJW0kM+xq+oQRSVoeZA0+oQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266103 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 7 13:42:02 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MN3MZ47ZQz4cT04 for ; Wed, 7 Sep 2022 13:42:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MN3MZ32qgz3NPQ for ; Wed, 7 Sep 2022 13:42:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MN3MZ26DhzXvZ for ; Wed, 7 Sep 2022 13:42:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 287Dg2Lt094090 for ; Wed, 7 Sep 2022 13:42:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 287Dg2jk094089 for riscv@FreeBSD.org; Wed, 7 Sep 2022 13:42:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 266103] ioctl(/dev/mem, MEM_EXTRACT_PADDR, <0x80000000>) on /dev/mem on riscv64 panics Date: Wed, 07 Sep 2022 13:42:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mhorne@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_file_loc assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662558122; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LI0sG73WVcwzYtcI7rSuqaeIeCn6WaQ5A4uuzN/hd8g=; b=wSuQ6IpdVYCptsp4FGj2F9MNL5DPdnVetcLq+U43F+MciJXL6uvANu1UB+0yvDJ5e93v1X Ydr0L0vE+PeBFfiOfr7u4tVsRz3d+Ff7arrKDihiTtgBkqZbDcDCjizwQuIATGvNlTrWLj INpN8C3/Xq7Ag8mEkjjd02GJ8to9422QO1o9LFvutEBcYEXsSEi3YuGL1gFC11Vsm+HAv5 A6RdwfESFkVHz8f1FmINTcg/msA4Xw+SRMZnkLJt6QxJH3NHszj8yK3h2NQU/nbneq4t0p AmMpIFbO/6vpZyzRFmBwgeOjuCxxA/b9wSIA0Z5SQ9lpwHUw/jPX8HI1USvong== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662558122; a=rsa-sha256; cv=none; b=NeEGSaX5csmEAf6J/FcGquaJiJKiQORjMmkuFpHKUzl3bnfFrKz151c1OV66g4U531OfCB RnJ7ouyzWOo4MxokLnd1mEp4l2JEhMyBERgXnGmlbumJYhned7B3nn6UZXbchkgaobVvu7 gtFLhaxc4n8dYwq/kJBLURalEwEkkdhHjiUvfcFN9Q2KMFNrptx4tPg72CCqfmfDefIUdJ scxFoE3cbl6iyOrHBY8j2jRpjDrc2fgm04wFDL9t/5Jl0GWLFA9FpJs6h2Z0BCoNZouSko 33DlRAV9RwvkrXXCv7/DI+ciD1xMIaEbaWpgeOoEuHqEhrYEMszjLXzrYWjDWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266103 Mitchell Horne changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://reviews.freebsd.org | |/D36395 Assignee|riscv@FreeBSD.org |markj@FreeBSD.org Status|Open |In Progress --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Sep 24 19:41:06 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MZfX30Lq8z4dNXp for ; Sat, 24 Sep 2022 19:41:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MZfX269N1z3bFg for ; Sat, 24 Sep 2022 19:41:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MZfX25Gk6z19m4 for ; Sat, 24 Sep 2022 19:41:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28OJf6Og032136 for ; Sat, 24 Sep 2022 19:41:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28OJf6st032135 for riscv@FreeBSD.org; Sat, 24 Sep 2022 19:41:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 258358] Fails to build on riscv: arm_bf16.h: sh: clang-tblgen: Exec format error Date: Sat, 24 Sep 2022 19:41:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664048466; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9VZ9j3NMB6dyrO2eNVPsSphDK4ckUlZXPYfMjwSxTm0=; b=iuvat0uCEzCC1pSPkuErGi+suf9StClPShGyy6uV+Vzyg6E3s2EihmPMq1k1VxEFtsMFJf AbGE2lKVJT8QQC6rsh1+sqL/2t5ZmIVrvyPJ0GnG3tK/keFGDvcFebnfmbGpxwcNcqwvrJ 8J6eDDds4c6VtARh2cywLQlrjIYX2x7ZF4VoLKxxr3TOVWXt+Mup8p9/f3gIBb2HXHH7z5 LVMZDxeFkUBMFDhAfIGYiH9oAt5cpaDoAd3Fv0IKvMs3b575GVCvojSKTBCcjs+zf+jyHm 8zilXWY6RbzVreqvEIvsBcMwUV/81WZ5z1YX3lcdiy3BXg34Nyi3YU0lqadRAA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664048466; a=rsa-sha256; cv=none; b=lcJ6CL0L8sbUxNgIrsdx6dkSiaBCHqfKspHlNCIc4VWkCCRAyW0OazQV3b3CEWAVXl+A2a J/sk8EB04kZs9RCCMojUIf7wgWGolrEdZnYSK1SON8pj27pHMRY/waEcBDqCNMPKC1mDZR K18qur2ekrn0U1T9gDyf17hxlR4Ms1jsLiXHHBJaG4M7cF2abrGrrLYDEYufMP0TG0LkR+ TG4Xz3hnSkL619tdtYcXohgNT7Y6WJtvFTSRzEkyhdiIPLXeS44mFwieiXKcjE69yF20OZ pH+zjDQJAJvNn+cN1WdejMjawdXiaU7znIe4/3RtZLzhxh2iJrRUtIo88pMs+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258358 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tuexen@freebsd.org --- Comment #9 from Michael Tuexen --- Any chance this could be fixed? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Sep 25 08:14:20 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MZzHW70MVz4cfNJ for ; Sun, 25 Sep 2022 08:16:23 +0000 (UTC) (envelope-from bcblam@yahoo.ca) Received: from sonic317-3.consmr.mail.ne1.yahoo.com (sonic317-3.consmr.mail.ne1.yahoo.com [66.163.184.230]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MZzHW2j5Gz3Pgd for ; Sun, 25 Sep 2022 08:16:23 +0000 (UTC) (envelope-from bcblam@yahoo.ca) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s2048; t=1664093781; bh=L0nQDoGy+6HlBVPLCvay21rutLC1uB3EGNJrwe4xo3s=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=ekxhKZb6dIA8uVlgqpNRFpigeKilyKvudpzEgAINHHYbV5LZ8/+rSacuZb8mRgNKnFL9RjNl6mqn628U/pvmZQbsB/HrpWrW/AJ4iwmC+XuN7GiV0RumiwWdFbdYAXI5M5lokSkiSPCdK7AJ+MEZouJG8/+fkHHE2qnwwR2EeMCDLvJws4FLgMty1qxnTqX633zFiH6uQKyDQy60BD0tvsOQ6tkAAAniahbQ9qzBvyBwOWBwkWeKUxXwTpIJAxhjSbQfgx7Ad9U8Yv7dmy6yQbf+ZUBRW2c0PBpYL4ChfU1Gi95J+tHsWb0alvVZgX9I/OZezDZUXsE62sOIGnFNaQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664093781; bh=EaAYhopIRAcZ5/uCIzyTswXQMSJUPwjVVNJH3wie6JA=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=Mh7A0r3H4SuAOlxg5TuNc2Nk0RlCUm0nM7YwcJGEr0E1WdhYJuilIa6CFukHNHkpnfy6Bw1KwOIcm13X04Qo1e2TOCT9552HbnNuGQZPnY7QPgUWl/zOdSCiZtbnYwLm3jePJDwOEqoSBXCfz5S7B1lb/uBlZoGkefotFoQB8uC26U8CE9cv1vVtc/P395nnsLdPUBO883NYBx/Tsl0TYtu1ATOXQEtoffu2dM/ATH120nv+mcQdEW2vHzgcZ2ueNC2caQO6vrDSScU9nofhtM76Ro5hQKFC982QsaKI8nJf80lxuTyF1CZheHNPTWE8M+tRad0VQF0QkyEV39Z+NQ== X-YMail-OSG: 52dwnDMVM1m4iJXADke8nvxrnuNILw55M4NfhrOSvdyb_dFnK8WU2lScnlW775X TEiycMBL8FxQmmbeas_a14JOHeWx_zw7d3zI0rRqEsMtc6vhwqY.UhXTpun.CZFieVZJYjGMPUoH zHBtA04iXIBXirGOMVqCilTdQTv9MrP22hjVyEhf0LxcrDRcs7lm4iN0Ay.XnD1dWt5nuYnMQ5X0 KdfzmRP7DBztvJ3rQmXKPmO.1qyI4LaGAjDTgRJudXps9eS7gBGuL5HN11PX8f6EzTz5hL7Pc3HM 8L2qpcoKDOdFNZ.Z546sqIHJr_2cueicpM139GP3Axvm81kXA0dNJX_PfLv7wr.RcCVoze.drEy7 YLh4owc8GRbFSix9tyew3LKSU6w2sdap3ZH2GmTAEN0IluLHD5lgGrReqVdHoIqtW_zy5IrDXYME GgrlgTcdLGWs1xsZ_BDh1tuUAGFyEpz2FQVBCUeMN_Xk52AdmoMm07VMXJhEMqu0dvOgzKnhAUgk TGIPUoiovrZzfH.w1gRwUnVs2kgDFZk71EozTHPedNCKD0cLSYE0ZPPcDEJnTHHIg3vB5xd5oyJL Y4cYNezPwXsNHsFGj8jeqXjTmdKHAocd1lKV3Pf.ly3ujoYtCvC_I3ZrH5sfo5ewFfZdyjRICbyS GN9G9UjLjxDL8juixf5UXwMD69l9fAlHHaC7gnUuQ0D5UAua9K.kS.x9hT3JHnCa8fbK1fmUWp3Z ty7ey9TW60fwRwZcWbB04lptchklEXuRQ0WKt.CaRlTPsqtADUvTphlSzljnlpKb_M_O1FdQqn98 cR4q7KJHxdypms8JloR3cufQpt7_rpSnUYX3Egwv8Q1cwuMRHAR2ZJQ74ZQGoYKU16IBCIJ_tQBt r0lFYQ.NBgoVXE4xLwyTZRSVtKp_P187PYYcndy1ObEBfZJig.w7rXdcvSy1yeXD3pNqsR1K5uL_ HYMv9.juBujN0Uedfxjf47aTSgaqILvm0rhO3HZsqeISW9HhkeIiL6228dhbektoR0fkAhS1s9Ux WFyPA6Qo9oTwdSUNmD6x8p2mN5HZKkpH7_cBJUfqM4PeFaPY4E01o_WTjpGBfcsoeBg9EU_unWZU r4HxSSYlv0AysuOf8cGK08gMHwvnNU..dAJA9D5vb78jbOySQ4qW9tx5wpULMGIiM6epmRZmzeEw HGVByeZsSL_yiWg0bOkXRizvyoHc5vL0l6MooSaAalZpNwPBJHO_XrUsjWrEVq16XrCXzteoYR08 Y.hpsKpObRGQcBeJ9pg0AXo1f3AmBfsmdNgLV7rA4KQSvwhiUhQCXRFG9T2GVga9nCEx9qO4pPzy 2.JH8NnfDmoELHJXN2Nd5tYqsxZuOqM35wYDA0WAz99pFAgz8xbuGn_HJkVmhx2uQmBMJ2JVfv5H 2UiICoTdFKSNqRjajePZvEq3i11UwogQ6gBzL4PGYOysz7tKpR845G8RbsbpJw3RZ2tOiH.WFtgi NY1rn0.QKtX80XhqD_FIvBlNAysQrD1BuYRn31Ac.3Uh7qVaRLKl6_Kwi8kbxJcwsL0FGfyz3xXl MfmXGTOLszhKE7A0ImT1WFFq8_slV.45LJY2OjSsQh2yMZa603kIIYbCnor8w14lSJ6RlaTb.KuX WV7ZqEvda2wO6q8hvemWXHCaHx5Ea77vnTfKEF.bIdRMm0HdJKg4RVsHhgByGPsbxE39J6_RXHAe KqtKcbttql1qUmO08xQZSTOVwfvmpvOcEG5igr4hqsyhs2LPXNwrHxXMkGWJqmZgNRiMgS1klJIo Nw6XKAxm9aSjhQVBiQTK7es7_ps_M.xURoZPzYie.eX0CXTtEVYyQisTSToZoOgRhJ2fgCCCUt2L bH_XM9Y9Xzf1X1Cli.oJrcv0hybOAjTHXjrgZN5ZICxsijCRSi0WeG1iAgQ4Kp6xHCqRiPGtw1KF zHuSxYYgQ4NkKwwrmFIOXkz.uGN3GpGm_ZUWeje1RVslAMwsd2Cti7jNYaS5v0AmRObSXlk8BPt. bCgIYR90nUMjIyf6_p3xlAnfu007AARaI_som3CPP14AeL.9hKuvOPBQpmiYVlAniJqHDn1tgm2y 1WwdbLpKLF9AI30Y9QigAhDEBaNPIj7Q.ZlIadRKGlJ3y3F9OmjY0KXIUzM2uIvcFG7adPZbWQ6r kuu4XjQoD0V4pI4GzIf8PB52ZRABm6CA2r2JXD8D0Io2pNvgBKLrZ0o1cm8VUHIFyTWtqBPtbBD9 yuvAkiWF9Qn_GbBSlOBhlcq7Ljw-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Sun, 25 Sep 2022 08:16:21 +0000 Date: Sun, 25 Sep 2022 08:14:20 +0000 (UTC) From: Brian Lambert To: "freebsd-riscv@FreeBSD.org" Message-ID: <941635653.322403.1664093660706@mail.yahoo.com> Subject: VisionFive 2 - quad-core RISC-V dev board List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_322402_1914728916.1664093660705" References: <941635653.322403.1664093660706.ref@mail.yahoo.com> X-Mailer: WebService/1.1.20702 YMailNorrin X-Rspamd-Queue-Id: 4MZzHW2j5Gz3Pgd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.ca header.s=s2048 header.b=ekxhKZb6; dmarc=pass (policy=reject) header.from=yahoo.ca; spf=pass (mx1.freebsd.org: domain of bcblam@yahoo.ca designates 66.163.184.230 as permitted sender) smtp.mailfrom=bcblam@yahoo.ca X-Spamd-Result: default: False [-1.30 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_SHORT(-0.84)[-0.835]; DMARC_POLICY_ALLOW(-0.50)[yahoo.ca,reject]; NEURAL_HAM_MEDIUM(-0.46)[-0.462]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.ca:s=s2048]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_ENVFROM(0.00)[yahoo.ca]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-riscv@FreeBSD.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.ca:+]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.163.184.230:from]; FREEMAIL_FROM(0.00)[yahoo.ca]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N ------=_Part_322402_1914728916.1664093660705 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Noticed this=C2=A0board on Kickstarter. Thought others would be interested. quad SiFive U74 1.5GHz cores=C2=A0BXE-4-32 GPU=C2=A0 https://www.kickstarter.com/projects/starfive/visionfive-2 brian ------=_Part_322402_1914728916.1664093660705 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Noticed this board on Kickstarter. Thought others would be interested.

quad SiFive U74 1.5GHz cores 
BXE-4-32 GPU 


brian

------=_Part_322402_1914728916.1664093660705-- From nobody Sun Sep 25 12:05:19 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mb4Mz0hq1z4d6vC for ; Sun, 25 Sep 2022 12:05:35 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mb4Mx6tF8z3pPB for ; Sun, 25 Sep 2022 12:05:33 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-qk1-x730.google.com with SMTP id k12so2684345qkj.8 for ; Sun, 25 Sep 2022 05:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=fQhptHfGQXUsltcPIbtg+vsOOW3ZJVsamL5emFudfqw=; b=L5/i5ZX2jbf38e5tpKcV9pv7Tu+br6xiZjcE3fWNiuk5daMMwaCxoj00GkHHzmYkG5 KG0ka7YpNqNlpJvQj4m4AKVfoyLMJr1H0e40R6Uxr6MK9rtwyiXDZNB935xPp8LWCifw mFNlsEidoZgMfKuJIgDY2RafhyinEAEDz9akfL19CNhJRGpzDPwH896J+InvcAHmKqki M0ytg9UpKGurXPQMABO1PCntLCobmAJX/R2FkhVxVQp58MwC2bmniu4OE4h7CgmMGtPv yCPulc8ANAAxTnN2hVI4a3wya1VM5hhNpPSILm/3jx8ImW6T5ufHENj+H7AMgsNZBK+d M5Rg== 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; bh=fQhptHfGQXUsltcPIbtg+vsOOW3ZJVsamL5emFudfqw=; b=XnkPB2vZwWqnb6lq7JSrh4/VzbPrAJFMcBlBB+rlvrLq0fk8gQe7i5FPlTCwz47Q2Q O9xKaKtDzwjTWc3swGldLSdQB5t5FZi96flgaVkC4Bg+PDG18UwE1U/PcCUfJXFv0Npn wbetpc/o3D71EkJ/JPu/epP7IM9IqmAHwzlXBDg6+RwQAVvOYSsT90fEjKiRzPwuiH/w cW6ItBNZ5w1ad3SWt0e8x8874Vq1PTetqAUUGH6N3hF1V9LrlogaJqhbDXjI1qa3Q733 Z7vWvlVtZFu2t/mdBZt+o5HQevlckrMnp2fHnoXGEp6HMSVlir9RV9zTrEUq4GQW/t45 O2LA== X-Gm-Message-State: ACrzQf3+ild5Tc/7ilxiSmy8AebpeNgPgNNZEhPzYI55FByn00K5fF0Y y58G+Y6kPYGeIh/XahMeRmEdDfhuLWp0cA== X-Google-Smtp-Source: AMsMyM7mV0eE4GJMC3QxAB2qfWanyQJyLr9PMhdZf4yOFVmKiVey++FoHprdnJfM06BDxc8PFCb7Yg== X-Received: by 2002:a37:9a51:0:b0:6cf:427b:c180 with SMTP id c78-20020a379a51000000b006cf427bc180mr10818521qke.767.1664107532953; Sun, 25 Sep 2022 05:05:32 -0700 (PDT) Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com. [209.85.219.171]) by smtp.gmail.com with ESMTPSA id k8-20020ac86048000000b00338ae1f5421sm8897952qtm.0.2022.09.25.05.05.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 25 Sep 2022 05:05:31 -0700 (PDT) Received: by mail-yb1-f171.google.com with SMTP id s14so5229490ybe.7 for ; Sun, 25 Sep 2022 05:05:31 -0700 (PDT) X-Received: by 2002:a25:5607:0:b0:6b4:b1e9:2e83 with SMTP id k7-20020a255607000000b006b4b1e92e83mr16067327ybb.528.1664107531415; Sun, 25 Sep 2022 05:05:31 -0700 (PDT) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <941635653.322403.1664093660706.ref@mail.yahoo.com> <941635653.322403.1664093660706@mail.yahoo.com> In-Reply-To: <941635653.322403.1664093660706@mail.yahoo.com> From: Tomek CEDRO Date: Sun, 25 Sep 2022 14:05:19 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: VisionFive 2 - quad-core RISC-V dev board To: Brian Lambert Cc: "freebsd-riscv@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Mb4Mx6tF8z3pPB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b="L5/i5ZX2"; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::730) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::730:from,209.85.219.171:received]; TO_DN_EQ_ADDR_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-riscv@freebsd.org]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[cedro.info:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[yahoo.ca]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[cedro.info]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-ThisMailContainsUnwantedMimeParts: N On Sun, Sep 25, 2022 at 10:16 AM Brian Lambert wrote: > Noticed this board on Kickstarter. Thought others would be interested. > quad SiFive U74 1.5GHz cores > BXE-4-32 GPU > https://www.kickstarter.com/projects/starfive/visionfive-2 > brian Thanks Brian! The Kickstarter campaign is now closed (3 days ago) but it is possible to preorder at AllNetChina: https://shop.allnetchina.cn/collections/starfive/products/starfive-visionfive-2nd-generation-single-board-computer Super Early Bird (1/100MBit+1GBit Eth) is supposed to ship in 202212. Early Bird (2x1GBit Eth) is supposed to ship in 202302. I did order Early Bird 8GB RAM + WiFi6 + USBC PSU + eMMC 16GB around $150 with shipping costs. There is also LCD option with touch but its not HD only 1280x800 at 10" and its additional $55. -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Sun Sep 25 18:52:17 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MbFPX3l9Hz4cg87 for ; Sun, 25 Sep 2022 18:52:32 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MbFPW2LTJz3LLP for ; Sun, 25 Sep 2022 18:52:31 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-qt1-x830.google.com with SMTP id a20so2968638qtw.10 for ; Sun, 25 Sep 2022 11:52:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=NgiPysyjEfArGbXbLnrr0AJOemmkExGdQOXJvq63aGc=; b=FPHt7KQms/sYqI7kE81uJSqHoWJgjGELXmggyVbL0HwWB4qIDRmNkj6ns/3cmQ7vnY w92h30gTjL93aVEKuav88MFE8+jdGh0UlvGl91yGbmjkOpyW7D/zDLQVw0p/qot+eZ/E IkRcxvgMYqmN+5YUvy7wbQWCy18QpzSI65zJtEK45YK7Kp6cOWuYThwb1F02FWpl8K1k cgff4uztdTu+C7/FHa1swa56Yz+G4NeUIxTqA91ySdlm+Eu3EpvmpCjlubhaPT4/qLdw yo/W1wWJM7yLNBmJZBsgK3lyZ09djgnqUEfhLsndX1oRMGNgw1mohLeManoV4uXULqus 9ODg== 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; bh=NgiPysyjEfArGbXbLnrr0AJOemmkExGdQOXJvq63aGc=; b=G6uIatuvlHLVT8oGFxFtI13XsQ3bw0OlBbkmvqF8GFtXm8+32FogLspsECkQKmSslD 6ItZg9ir40CtmgAR2lyNd2J7beEpRSDQDkAcCSxYdo/AbYl7QKMfvFStj+zgw0FYTsPq lRGvwjER3xm4GMFwu03gEGZfoJg5ePyN/BizrdGjSn9LitwUzM7WjZE/YtEoS1Q5XYlx +XGVe/nX6qGHDs9vdoVmGFlb0jj9r5p7M8bRt0T7cpLVDE5qxQ39lTjwEe58UVT3ons3 xv+2P5Ljskeu6JhO50pj+escXqkMDJdWq+h5RaP01PTTwdG+/3oExMJKt7IPcB7K4wiN Wgfg== X-Gm-Message-State: ACrzQf29wIoGFbZcJvvYolpZQJ6+eDD/zaTncw5Mw3ITFqjDdJnPlqbx TwmG6JU8H42HzTCv1Mo7JIzk2woiJr9acQ== X-Google-Smtp-Source: AMsMyM5pTAw/Wde5ZaqYDfL7txbk13e9qqJ6pNz/YZfno2hR/upeWpNPFinL0h9/wifrMZ2nnhsYUw== X-Received: by 2002:ac8:5786:0:b0:35c:aa82:303 with SMTP id v6-20020ac85786000000b0035caa820303mr15546775qta.343.1664131950128; Sun, 25 Sep 2022 11:52:30 -0700 (PDT) Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com. [209.85.128.171]) by smtp.gmail.com with ESMTPSA id c3-20020a37e103000000b006ce3fcee2bdsm9841698qkm.50.2022.09.25.11.52.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 25 Sep 2022 11:52:29 -0700 (PDT) Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-3321c2a8d4cso48945607b3.5 for ; Sun, 25 Sep 2022 11:52:29 -0700 (PDT) X-Received: by 2002:a81:60d7:0:b0:350:999d:6a80 with SMTP id u206-20020a8160d7000000b00350999d6a80mr6508096ywb.135.1664131948847; Sun, 25 Sep 2022 11:52:28 -0700 (PDT) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <941635653.322403.1664093660706.ref@mail.yahoo.com> <941635653.322403.1664093660706@mail.yahoo.com> In-Reply-To: From: Tomek CEDRO Date: Sun, 25 Sep 2022 20:52:17 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: VisionFive 2 - quad-core RISC-V dev board To: Brian Lambert Cc: "freebsd-riscv@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4MbFPW2LTJz3LLP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=FPHt7KQm; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::830) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::830:from,209.85.128.171:received]; TO_DN_EQ_ADDR_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-riscv@freebsd.org]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[cedro.info:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[yahoo.ca]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[cedro.info]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-ThisMailContainsUnwantedMimeParts: N On Sun, Sep 25, 2022 at 2:05 PM Tomek CEDRO wrote: > On Sun, Sep 25, 2022 at 10:16 AM Brian Lambert wrote: > > Noticed this board on Kickstarter. Thought others would be interested. > > quad SiFive U74 1.5GHz cores > > BXE-4-32 GPU > > https://www.kickstarter.com/projects/starfive/visionfive-2 > > brian > > Thanks Brian! The Kickstarter campaign is now closed (3 days ago) but > it is possible to preorder at AllNetChina: > > https://shop.allnetchina.cn/collections/starfive/products/starfive-visionfive-2nd-generation-single-board-computer > > Super Early Bird (1/100MBit+1GBit Eth) is supposed to ship in 202212. > Early Bird (2x1GBit Eth) is supposed to ship in 202302. > > I did order Early Bird 8GB RAM + WiFi6 + USBC PSU + eMMC 16GB around > $150 with shipping costs. > There is also LCD option with touch but its not HD only 1280x800 at > 10" and its additional $55. I have some additional information on similar RISC-V based board called STAR64 from PINE64: https://wiki.pine64.org/wiki/STAR64 This one is also based on RISC-V QuadCore U74 StarFive JH7110, better GPU, and PCI-E slot, built in WiFi+BT. Not sure when it will be available for purchase. I have asked for status update on pine64 forum, will update here when I know more :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Mon Sep 26 23:52:33 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mc01Y3KPZz4YMsX for ; Mon, 26 Sep 2022 23:52:49 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mc01X3cYbz43Vn for ; Mon, 26 Sep 2022 23:52:48 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-qt1-x829.google.com with SMTP id a20so5119198qtw.10 for ; Mon, 26 Sep 2022 16:52:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=+j+4mj0b7If+7et4NgtHwIDT5kp/1m2sNGc8AwPhegU=; b=JteYqGFA8cxJBTiNEfCr7S8j71z463j26IYx+WxigmaYDgSkkZEnXZJYmOnqEkE5ss OzKC3nH/4Zu+LmfRinA+tf55SSYUh2cqgp/6PoTGtAjMYDN8CW4ogyrUykqNIvWLXGGt lJtUVnoKUFIDcwK6in+RJ36vqENPEpC084CcpttgBvJs/doIcjZUfoMNiMzVELL4aBdK yPcDJXy6dCNUVFO0bF2E6SUF6UqXnAItody60AlTPIPap34gHc9I3EY3jk+9D3qKa8Yo xtpA5W30VT504ZtKlTBJ9y9fAB3LiDwTqVHgUY3EB/EnuxDtc5L9SvmpNrtNqpC8dV6z lOrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=+j+4mj0b7If+7et4NgtHwIDT5kp/1m2sNGc8AwPhegU=; b=L8T7z9NNatLAZzDvKJyWXdpTSx/AdluXhJ0+Pt8soXhKtudbQbg1XvYkdtSuflEny0 muPTXOIxd76Jp7MX3Q+RroX/41Ezmw3gUy5N1ERqVSoa3v7iKpC8XFQGJ3qaJDbhGTp9 zYAut1zgNPg7WvtZElDpLHR98uMgzBn96BVMZ/DOIOCYkKhg+uimCYd4htOchgY2mhRn aRcDNGA12fQswoqcsXUuYekh+kvQF2S170tEKoohWx9R9uOM+SVmgX9q87FA6qsLyUa2 TyHbmP4B2nbgfxkgqPqytoDDdxf5T1kOds4THMaM1zAAcJoIaIJe9NNylyGIMuJbqEu4 oLIQ== X-Gm-Message-State: ACrzQf1kJfTKyNGAFF5BCLlT7m15WK+6465Tx8E2ZlRAHg+32Je91y92 pT0eIpKeDyppceW1weXuz+sebv+0pTIr8A== X-Google-Smtp-Source: AMsMyM5+j4tefHtRdlF08NeJxrqiuupJYyGUaqZx1/NlEKLlX/+mKl/8p4VlwrZWMtBgUOowJwF4fQ== X-Received: by 2002:a05:622a:287:b0:35c:edbc:98e9 with SMTP id z7-20020a05622a028700b0035cedbc98e9mr20018385qtw.280.1664236367281; Mon, 26 Sep 2022 16:52:47 -0700 (PDT) Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com. [209.85.219.173]) by smtp.gmail.com with ESMTPSA id e24-20020ac84918000000b003445d06a622sm11406987qtq.86.2022.09.26.16.52.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Sep 2022 16:52:46 -0700 (PDT) Received: by mail-yb1-f173.google.com with SMTP id e81so10305738ybb.13 for ; Mon, 26 Sep 2022 16:52:46 -0700 (PDT) X-Received: by 2002:a05:6902:10a:b0:6af:b884:840e with SMTP id o10-20020a056902010a00b006afb884840emr24268296ybh.330.1664236365718; Mon, 26 Sep 2022 16:52:45 -0700 (PDT) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <9169b2f3-7e31-775a-2456-51aab1569020@pine64.org> In-Reply-To: <9169b2f3-7e31-775a-2456-51aab1569020@pine64.org> From: Tomek CEDRO Date: Tue, 27 Sep 2022 01:52:33 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: PINE64 STAR64 To: Info Team , "freebsd-riscv@FreeBSD.org" , info@freebsdfoundation.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Mc01X3cYbz43Vn X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=JteYqGFA; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::829) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-2.32 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; SUBJ_ALL_CAPS(0.98)[13]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::829:from,209.85.219.173:received]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-riscv@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[cedro.info]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-ThisMailContainsUnwantedMimeParts: N Thank you PINE64 Team for the update on STAR64 board release date :-) I am attaching freebsd-riscv@FreeBSD.org mailing list and the FreeBSD Foundation to this reply. Mailing list is the best place for RISC-V related announcements and contact with FreeBSD Unix users and developers working on the RISC-V target implementation. Please subscribe and send further RISC-V related announcements here. If you consider sharing engineering samples with the FreeBSD developers the FreeBSD Foundation is the best contact. Waiting patiently for the STAR64 board release :-) Best regards :-) Tomek CEDRO On Tue, Sep 27, 2022 at 12:59 AM Info Team wrote: > > Hi Tomek, > > Here is teh Star64 wiki page: https://wiki.pine64.org/wiki/STAR64 > > Currently, PINE64 just release out Star64 prototype board to key > developers. The actual production boards schedule on mid Q4, 2022 released. > > Regards, > Info Team > > > > On 9/26/2022 12:19 PM, Tomek CEDRO wrote: > > Hello world :-) > > > > Is STAR64 board release known already? > > > > I have purchased StarFive VisionFive2 board recently, it has the same > > CPU.. but STAR64 board will have onboard WiFI+BT and the PCI-E slot > > :-) > > > > Is FreeBSD Unix support planned? > > > > Are engineering boards for FreeBSD developers planned? > > > > Thank you for any hints :-) > > Tomek CEDRO > > -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Tue Oct 4 10:16:26 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MhYWt34CQz4d10M for ; Tue, 4 Oct 2022 10:16:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MhYWt1zHFz3NN5 for ; Tue, 4 Oct 2022 10:16:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MhYWt0ksyzXKH for ; Tue, 4 Oct 2022 10:16:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 294AGQnN025213 for ; Tue, 4 Oct 2022 10:16:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 294AGQ4Q025212 for riscv@FreeBSD.org; Tue, 4 Oct 2022 10:16:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 258358] Fails to build on riscv: arm_bf16.h: sh: clang-tblgen: Exec format error Date: Tue, 04 Oct 2022 10:16:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: arichardson@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664878586; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cCR3jlYS4LutTaPsSTmxXWZA1ShjApCjigk44Fl4un0=; b=h1Pt7ONBEC89lxE87tk+gIgz1MFg4uUB9ja9UmPh3OaXhsgMxHwcsC9cJXQDT1kj7NeTVy VBRsW5PRV1th3h7+wej0Mm2Ku8gK3nSs6fWelIz43YwrcfyFlOURMrDNLl7rjXIcRidOIk PtwSn7vyAk7gaPw22DxgxBziGL8fLWHt3fua+9iNvOcho0IfTWG3fd3NnJpUl4C7Iziviw A35HqZnuClHbSuCrJfZoZfDGL3a75OGMZn/yjOfWwFW6gProwEuaatw1+Hc+UPe5yxbNnY +An6EuNbHtmM9qZZCt/hv1/cYfKU3FMoLl/F/jfk9GgXQ5ngfyljW5miHD0Avg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664878586; a=rsa-sha256; cv=none; b=mYPmd5evFNTc6xC2VH/Mrj6SLFi3WfFchsoerAwR6E8WY6qKNS7BTpgpxal+eD9d8Qs6+9 g7cBuRspHfIblKuOdJxvHJH0UH9HRsr9u7wqatL/pplKhHR+lM15109DomiHiRxE6Uh9+V lMjAw9a9sfF6YRCTn18bNVWzX0PuGUvbO/SsrcBO0Iw7OlgOLS+rcrNKeaVd/td78jTNP9 g1a8+fPM2kEflcoHjGio1IEQ1yETYbX2mNEv6ehZDeKzFMMlx/HmZGSehzE0JjfNaSWe0N AyLcNuQqsRlvo7M4ppHeuKCskvaY4+ambtYPxAPjJFU8lpztGo9pPKToARqf1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258358 --- Comment #10 from Alex Richardson --- I am aware a least two workarounds, but none of those can really be committ= ed as is: - Remove -Wl,--gc-sections from all makefiles (will result in larger binari= es) - Rebuilding lib/csu with https://reviews.freebsd.org/D35534 (breaks the bu= ild with older linkers/compilers - not a big deal for RISC-V, but it is for oth= er architecture). As jrtc27@ said in https://reviews.freebsd.org/D35534, the real solution wo= uld be to move the ELF notes so they can't be GC'd, but someone needs to do that work (I don't have time right now). --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Oct 7 05:59:00 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MkHhK1Qcxz4fRDQ for ; Fri, 7 Oct 2022 05:59:45 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.oetec.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MkHhJ2skDz3DV5 for ; Fri, 7 Oct 2022 05:59:44 +0000 (UTC) (envelope-from dclarke@blastwave.org) X-Spam-Status: No X-oetec-MailScanner-From: dclarke@blastwave.org X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.097, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, DKIM_VALID_EF -0.10, URIBL_BLOCKED 0.00, URIBL_DBL_BLOCKED_OPENDNS 0.00, URIBL_ZEN_BLOCKED_OPENDNS 0.00) X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-ID: 2975x0rR007006 X-oetec-MailScanner-Information: Please contact oetec for more information Received: from [172.16.35.2] (cpeac202e7325b3-cmac202e7325b0.cpe.net.cable.rogers.com [99.253.170.241]) (authenticated bits=0) by mail.oetec.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 2975x0rR007006 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 7 Oct 2022 01:59:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org; s=default; t=1665122342; bh=Fl+PeDJw8qW2x8uxTZiK7jJNQfVnvumhDZfwVbO/Pfg=; h=Date:To:From:Subject:From; b=WsYN9Gd59Suq3v4Q3O14PL6OkLRcN7f4v09mQLJMt2vXiHnAIQKSd3ICng6YxZFCR kopNfXQRhTW+BPxR0KstkY75Nh0oOKuw84ZTdV0kILlDGmzzBuz6SsfSup/GiY6fyO KrVMvTKDjVhKKpjsfeXb+s0fHRSilccQIOXN73/ceZ5+wmh30mDflcqgnAChe0r/HC E5i1rbJdoM0xsGnjHuq+YMcBDL+45UMsUKGRWoRuchlpfm0jAGW8sPk21nKLT6MvBq x9m8LNEcAdQzeHW3hLR24ULexwt7b/pVrxoePCgK9aCRE4OvlwVUAQcp5RUQ5HVf7n xvE8L7IhMwXhA== Message-ID: Date: Fri, 7 Oct 2022 01:59:00 -0400 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 To: riscv@freebsd.org Content-Language: en-US From: Dennis Clarke Subject: panic: pmap_l2_to_l3: PA out of range, PA: 0x0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4MkHhJ2skDz3DV5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=WsYN9Gd5; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org X-Spamd-Result: default: False [-4.68 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; DKIM_TRACE(0.00)[blastwave.org:+]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Saw this while trying to do buildworld .. which it was for days : login: root Password: Oct 1 21:26:36 ison login[807]: ROOT LOGIN (root) ON ttyu0 Last login: Sun May 15 17:27:43 on ttyu0 FreeBSD 14.0-CURRENT #2 main-n255202-0aef8628458-dirty: Sun May 8 20:33:55 UTC 2022 root@ison:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC . . . root@ison:~ # sysctl -a hw.ncpu hw.ncpu: 8 root@ison:~ # sysctl -a hw.physmem hw.physmem: 34325733376 root@ison:~ # sysctl -a hw.ncpu | cut -f2 -d\: 8 root@ison:~ # panic: pmap_l2_to_l3: PA out of range, PA: 0x0 cpuid = 4 time = 1664870924 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x38 kdb_backtrace() at kdb_backtrace+0x2c vpanic() at vpanic+0x154 panic() at panic+0x2a pmap_remove_pages() at pmap_remove_pages+0x6c8 vmspace_exit() at vmspace_exit+0xd6 exit1() at exit1+0x4ac sys_exit() at sys_exit+0x10 do_trap_user() at do_trap_user+0x206 cpu_exception_handler_user() at cpu_exception_handler_user+0x72 --- exception 8, tval = 0 KDB: enter: panic [ thread pid 18297 tid 100640 ] Stopped at kdb_enter+0x4a: sd zero,0(s1) db> nt No such command; use "help" to list available commands db> bt Tracing pid 18297 tid 100640 td 0xffffffc11af8a680 kdb_enter() at kdb_enter+0x48 vpanic() at vpanic+0x198 panic() at panic+0x2a pmap_remove_pages() at pmap_remove_pages+0x6c8 vmspace_exit() at vmspace_exit+0xd6 exit1() at exit1+0x4ac sys_exit() at sys_exit+0x10 do_trap_user() at do_trap_user+0x206 cpu_exception_handler_user() at cpu_exception_handler_user+0x72 --- exception 8, tval = 0 db> Anything worth looking at here or just pull the plug? -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From nobody Fri Oct 7 22:08:06 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mkj9h2Wnxz4f0rV for ; Fri, 7 Oct 2022 22:08:08 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mkj9h21xFz3f53; Fri, 7 Oct 2022 22:08:08 +0000 (UTC) (envelope-from mhorne@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665180488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ubs5VcmhQDPLJnTy5H0iP9btpt+Ccg5EaTKvEI4+z38=; b=OgIHfksojrj3o49moVkbDtRgq08wBacbSIfcDl6UlhgY2JbuSrjdYCsKm4UQY/38IttYCJ q9B8wemoVk1CkineIMozVxVH4m5lND8VmmojSKguY4D8Z36JWe/MYvFjXw2hbzeoPapUGk QP0e0PUErApqC4/Nj15hPA5XGoB7XnbDhx6eINIqwjdKv6m+5L+KK8SuVklV1HkPW8JFw/ cg2eQq7NTGd5sbx8oJU9Eb1533P2zhz/9iMY+grnTHx/s8C/9DKgWS/tj2WGo4HbY7Fa0f XwfyPqjc9i2zBCcS/4hmLN7NZozO3gce5mn3T2U0wrosNgK7Gmr1hngSq6EDbQ== Received: from [192.168.1.106] (host-173-212-76-127.public.eastlink.ca [173.212.76.127]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Mkj9g6sySzg7Q; Fri, 7 Oct 2022 22:08:07 +0000 (UTC) (envelope-from mhorne@freebsd.org) Message-ID: <13b80b07-1515-9aca-6490-a1b484c6aee4@freebsd.org> Date: Fri, 7 Oct 2022 19:08:06 -0300 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: panic: pmap_l2_to_l3: PA out of range, PA: 0x0 Content-Language: en-CA To: Dennis Clarke , riscv@freebsd.org References: From: Mitchell Horne In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665180488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ubs5VcmhQDPLJnTy5H0iP9btpt+Ccg5EaTKvEI4+z38=; b=h/02XaUP1Ah6QwdRCbvj8XvJQH6tZgDvXVJvIspQ21gaZEWUfSZ+IJ2Vhh6EHNpTBPpgco P916V11SMobnyJiSDe9rFQivPPpfF9YSs7WIua4B3Q7/O2Je0m0cknoEaqLEMXUsN4tZxP +wyQ+Yli/V8Z4kA+A5+3C4gopP0dAuuHA58PjAmiP/ujq8dafl439ESCwyWu1+qYqU3c52 2HuN35mzi91XhdAjviHrFwUunl35+gi30W9flEPFuM4SZk6Q2wuOSgKUCIKSAHW2dXb4UJ J+dwax0wMEcZUEjNo+AnWXE8aHZQRQByIg/aYX8jJawlQAz9cyY/4mrnzKuFzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665180488; a=rsa-sha256; cv=none; b=KTIq8+3998LAtAAvq3usF5X6SNJRAXyALu/sz0uYrL0trrSA+iduu02HcDOOq5XdL+Dx5O t8zzSxfbjgyu6/EelUKbG0LNUlMg2z7RfuBTH7AKAT6UEwknsMWY7ucugFhc1e8csNX+sM Dw9K/Zy8FuzmpAYBtKg7TsM8V1TW6AxawkQRwoi9UY/woHmVH0hrzU7s2szcgzc3rVfTze XTxFYjNkgYuykU/fsjZzIb5FOngJPPqp9JpVCjqsrqDDbcBxdUvafDV89tXCJ48bHSb4gZ VClMWUo8eWOdhwFrjSf0wve5qtiRoq60jxZ/Es5B/+xalQTMVgUmBQ4/ohqFKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 10/7/22 02:59, Dennis Clarke wrote: > > Saw this while trying to do buildworld .. which it was for days : > > login: root > Password: > Oct  1 21:26:36 ison login[807]: ROOT LOGIN (root) ON ttyu0 > Last login: Sun May 15 17:27:43 on ttyu0 > FreeBSD 14.0-CURRENT #2 main-n255202-0aef8628458-dirty: Sun May  8 > 20:33:55 UTC 2022     root@ison:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC > > . > . > . > > root@ison:~ # sysctl -a hw.ncpu > hw.ncpu: 8 > root@ison:~ # sysctl -a hw.physmem > hw.physmem: 34325733376 > > root@ison:~ # sysctl -a hw.ncpu | cut -f2 -d\: >  8 > root@ison:~ # panic: pmap_l2_to_l3: PA out of range, PA: 0x0 > cpuid = 4 > time = 1664870924 > KDB: stack backtrace: > db_trace_self() at db_trace_self > db_trace_self_wrapper() at db_trace_self_wrapper+0x38 > kdb_backtrace() at kdb_backtrace+0x2c > vpanic() at vpanic+0x154 > panic() at panic+0x2a > pmap_remove_pages() at pmap_remove_pages+0x6c8 > vmspace_exit() at vmspace_exit+0xd6 > exit1() at exit1+0x4ac > sys_exit() at sys_exit+0x10 > do_trap_user() at do_trap_user+0x206 > cpu_exception_handler_user() at cpu_exception_handler_user+0x72 > --- exception 8, tval = 0 > KDB: enter: panic > [ thread pid 18297 tid 100640 ] > Stopped at      kdb_enter+0x4a: sd      zero,0(s1) > db> nt > No such command; use "help" to list available commands > db> bt > Tracing pid 18297 tid 100640 td 0xffffffc11af8a680 > kdb_enter() at kdb_enter+0x48 > vpanic() at vpanic+0x198 > panic() at panic+0x2a > pmap_remove_pages() at pmap_remove_pages+0x6c8 > vmspace_exit() at vmspace_exit+0xd6 > exit1() at exit1+0x4ac > sys_exit() at sys_exit+0x10 > do_trap_user() at do_trap_user+0x206 > cpu_exception_handler_user() at cpu_exception_handler_user+0x72 > --- exception 8, tval = 0 > db> > > Anything worth looking at here or just pull the plug? > > Unlucky that you hit this, but the good news is the panic is known and recently fixed. I committed a series of changes yesterday which address the problem, ending with 1f9cc5ffc505. Cheers, Mitchell From nobody Fri Oct 7 22:28:14 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mkjdj0Qzxz4f2Wx for ; Fri, 7 Oct 2022 22:28:57 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.oetec.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mkjdh2Z8kz3gSr for ; Fri, 7 Oct 2022 22:28:56 +0000 (UTC) (envelope-from dclarke@blastwave.org) X-Spam-Status: No X-oetec-MailScanner-From: dclarke@blastwave.org X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-5.796, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, DKIM_VALID_EF -0.10, NICE_REPLY_A -2.70, URIBL_BLOCKED 0.00, URIBL_DBL_BLOCKED_OPENDNS 0.00, URIBL_ZEN_BLOCKED_OPENDNS 0.00) X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-ID: 297MSECI010483 X-oetec-MailScanner-Information: Please contact oetec for more information Received: from [172.16.35.2] (cpeac202e7325b3-cmac202e7325b0.cpe.net.cable.rogers.com [99.253.170.241]) (authenticated bits=0) by mail.oetec.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 297MSECI010483 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 7 Oct 2022 18:28:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org; s=default; t=1665181696; bh=zzg8gAuTQ8Veu4KRkLoFw63nlbM+3eZ1dN5LgKPtGTY=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Zah5/dgCTJo5+nUcYqtmw+r2S2pcqdbC/8zYAGVacWn3wJI5vEwY902Hrab5ULasX H6+hj1egv5PAqqqw56uCEksqHc5LB1+JdSWjG18V/Et6F/k7SWMFt7sz4Rh8ZGvmXF dyQ4BG4FLrBPD3TObEkCH/9L4TXeV+voU+OWzf5wEv81kxKeZ8sHzNBMzBM7rpY7um 7yCJKAR/wZDZbceDHBjSTCQ/mls0tFBMfBItiJiDGEkTW4yQtBtkqLW24VgNQENFpK y95z0Pnnjxg5cQzENBat4dPCjyo0coPgg1izOon4+hNZzBa3heDbClOt0oQr1uxA3Y onSv6m7UpeHkw== Message-ID: <55233680-630a-d800-3a06-9c13e9a7ba7d@blastwave.org> Date: Fri, 7 Oct 2022 18:28:14 -0400 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: panic: pmap_l2_to_l3: PA out of range, PA: 0x0 Content-Language: en-US To: riscv@freebsd.org References: <13b80b07-1515-9aca-6490-a1b484c6aee4@freebsd.org> From: Dennis Clarke In-Reply-To: <13b80b07-1515-9aca-6490-a1b484c6aee4@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Mkjdh2Z8kz3gSr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b="Zah5/dgC"; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org X-Spamd-Result: default: False [-4.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[blastwave.org:+]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 10/7/22 18:08, Mitchell Horne wrote: > > > On 10/7/22 02:59, Dennis Clarke wrote: >> >> Saw this while trying to do buildworld .. which it was for days : >> . . . >> db> bt >> Tracing pid 18297 tid 100640 td 0xffffffc11af8a680 >> kdb_enter() at kdb_enter+0x48 >> vpanic() at vpanic+0x198 >> panic() at panic+0x2a >> pmap_remove_pages() at pmap_remove_pages+0x6c8 >> vmspace_exit() at vmspace_exit+0xd6 >> exit1() at exit1+0x4ac >> sys_exit() at sys_exit+0x10 >> do_trap_user() at do_trap_user+0x206 >> cpu_exception_handler_user() at cpu_exception_handler_user+0x72 >> --- exception 8, tval = 0 >> db> >> >> Anything worth looking at here or just pull the plug? >> >> > > Unlucky that you hit this, but the good news is the panic is known and > recently fixed. I committed a series of changes yesterday which address > the problem, ending with 1f9cc5ffc505. Well darn. Sometimes timing in life is everything. Thank you for letting me know. I will do a zpool scrub and then start over. Tomorrow maybe. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From nobody Mon Oct 10 03:27:11 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mm49m6wRNz4fHRt for ; Mon, 10 Oct 2022 03:27:56 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.oetec.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mm49m1lG1z3DFh for ; Mon, 10 Oct 2022 03:27:56 +0000 (UTC) (envelope-from dclarke@blastwave.org) X-Spam-Status: No X-oetec-MailScanner-From: dclarke@blastwave.org X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-7.031, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, DKIM_VALID_EF -0.10, NICE_REPLY_A -3.93, URIBL_BLOCKED 0.00, URIBL_DBL_BLOCKED_OPENDNS 0.00, URIBL_ZEN_BLOCKED_OPENDNS 0.00) X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-ID: 29A3RCdS024956 X-oetec-MailScanner-Information: Please contact oetec for more information Received: from [172.16.35.2] (cpeac202e7325b3-cmac202e7325b0.cpe.net.cable.rogers.com [99.253.170.241]) (authenticated bits=0) by mail.oetec.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 29A3RCdS024956 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sun, 9 Oct 2022 23:27:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org; s=default; t=1665372433; bh=peZQWuAwSPGoHH018KdXg+QSW4u6u/r15N0R1rZroeI=; h=Date:Subject:To:References:From:In-Reply-To:From; b=BvpF968r6SJt6R/r6JMbHeimSU1N0+Q4qMYfpWqFRRQrTtK4DB5ThjD/FHiHqpsZE COpRW/tcejStBSR3WRe21DLdlpEN72pikRl1VlW9Ib1umXg5KQeoRBFbXS0lIUTz4F l/cBmLBV5l8f99MFvr9+ScVVYWAhfow9fjZLkWmzF16P8gBxBnvcUlt694UpDh8Jdy yxO4sXg4BAjHfdLimf0MwjbEV7abxQGQHymuSg4tMTFZY6IucCjKyIkvLAe5+hQGBj 0gMv4kZOhKOX3HV233yh+3QLYz35O1EeKLT+uDG43s5BXJK4uKwul7c5K+RNiJm38I G15ADsBozufvQ== Message-ID: Date: Mon, 10 Oct 2022 03:27:11 +0000 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: panic: pmap_l2_to_l3: PA out of range, PA: 0x0 Content-Language: en-US To: riscv@freebsd.org References: <13b80b07-1515-9aca-6490-a1b484c6aee4@freebsd.org> <55233680-630a-d800-3a06-9c13e9a7ba7d@blastwave.org> From: Dennis Clarke In-Reply-To: <55233680-630a-d800-3a06-9c13e9a7ba7d@blastwave.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Mm49m1lG1z3DFh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=BvpF968r; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org X-Spamd-Result: default: False [-4.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; R_SPF_ALLOW(-0.20)[+a]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; DKIM_TRACE(0.00)[blastwave.org:+]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 10/7/22 22:28, Dennis Clarke wrote: > On 10/7/22 18:08, Mitchell Horne wrote: >> >> >> On 10/7/22 02:59, Dennis Clarke wrote: . . . >>> >>> >> >> Unlucky that you hit this, but the good news is the panic is known and >> recently fixed. I committed a series of changes yesterday which >> address the problem, ending with 1f9cc5ffc505. > > Well darn.  Sometimes timing in life is everything. > Thank you for letting me know. I will do a zpool scrub and then > start over. Tomorrow maybe. > Just added salt in the wounds I used the FreeBSD snapshot for 07 Oct 2022 and sure enough install blows up : OpenSBI v1.1 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : riscv-virtio,qemu Platform Features : medeleg Platform HART Count : 4 Platform IPI Device : aclint-mswi Platform Timer Device : aclint-mtimer @ 10000000Hz Platform Console Device : uart8250 Platform HSM Device : --- Platform Reboot Device : sifive_test Platform Shutdown Device : sifive_test Firmware Base : 0x80000000 Firmware Size : 320 KB Runtime SBI Version : 1.0 Domain0 Name : root Domain0 Boot HART : 2 Domain0 HARTs : 0*,1*,2*,3* Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I) Domain0 Region01 : 0x0000000080000000-0x000000008007ffff () Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x0000000082200000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Boot HART ID : 2 Boot HART Domain : root Boot HART Priv Version : v1.12 Boot HART Base ISA : rv64imafdch Boot HART ISA Extensions : time Boot HART PMP Count : 16 Boot HART PMP Granularity : 4 Boot HART PMP Address Bits: 54 Boot HART MHPM Count : 16 Boot HART MIDELEG : 0x0000000000001666 Boot HART MEDELEG : 0x0000000000f0b509 U-Boot 2022.04 (Sep 06 2022 - 07:24:53 +0000) CPU: rv64imafdch_zicsr_zifencei_zba_zbb_zbc_zbs Model: riscv-virtio,qemu DRAM: 16 GiB Core: 24 devices, 10 uclasses, devicetree: board Flash: 32 MiB Loading Environment from nowhere... OK In: uart@10000000 Out: uart@10000000 Err: uart@10000000 Net: eth0: virtio-net#7 Hit any key to stop autoboot: 0 Consoles: EFI console ______ ____ _____ _____ | ____| | _ \ / ____| __ \ | |___ _ __ ___ ___ | |_) | (___ | | | | | ___| '__/ _ \/ _ \| _ < \___ \| | | | | | | | | __/ __/| |_) |____) | |__| | | | | | | | || | | | |_| |_| \___|\___||____/|_____/|_____/ ``` ` s` `.....---.......--.``` -/ +---------- Welcome to FreeBSD -----------+ +o .--` /y:` +. | | yo`:. :o `+- | 1. Boot Single user [Enter] | y/ -/` -o/ | 2. Boot Installer | .- ::/sy+:. | 3. Escape to loader prompt | / `-- / | 4. Reboot | `: :` | 5. Cons: Video | `: :` | | / / | Options: | .- -. | 6. Kernel: default/kernel (1 of 1) | -- -. | 7. Boot Options | `:` `:` | | .-- `--. | | .---.....----. +-----------------------------------------+ Loading kernel... /boot/kernel/kernel text=0x5b3a88 text=0x175c2c data=0xf4208 data=0x1f74+0x2738dc 0x8+0x1f46fb8+0x8+0xf3f1e- Loading configured modules... can't find '/etc/hostid' can't find '/boot/entropy' Using DTB provided by EFI at 0x87efb000. Kernel entry at 0xf680002e... Kernel args: (null) ---<>--- GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Physical memory chunk(s): 0x80000000 - 0x47fffffff, 16384 MB (4194304 pages) Excluded memory regions: 0x80000000 - 0x801fffff, 2 MB ( 512 pages) NoAlloc NoDump 0xf6800000 - 0xf9423fff, 44 MB ( 11300 pages) NoAlloc Found 4 CPUs in the device tree Copyright (c) 1992-2022 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #0 main-n258483-b05b1ecbef0: Fri Oct 7 05:52:47 UTC 2022 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffc002bff000. Preloaded TSLOG data "TSLOG" at 0xffffffc002c08288. SBI: OpenSBI v1.1 SBI Specification Version: 1.0 CPU(0): Unknown Implementer Unknown Processor real memory = 17179869184 (16384 MB) Physical memory chunk(s): 0x0000000080200000 - 0x00000000f67fffff, 1986002944 bytes (484864 pages) 0x00000000f9424000 - 0x000000046674ffff, 14716944384 bytes (3593004 pages) avail memory = 16649957376 (15878 MB) No static device mappings. Starting CPU 2 (hart 0) Starting CPU 3 (hart 1) Starting CPU 1 (hart 3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs panic: ISA string truncated cpuid = 0 time = 1 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x38 kdb_backtrace() at kdb_backtrace+0x2c vpanic() at vpanic+0x126 panic() at panic+0x2a fill_elf_hwcap() at fill_elf_hwcap+0x220 mi_startup() at mi_startup+0x1d2 va() at va+0x7e KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at kdb_enter+0x4a: sd zero,0(s1) db> So darn it again ... I better wait a week. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From nobody Mon Oct 10 03:33:52 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mm4KP0KKtz4fHyL for ; Mon, 10 Oct 2022 03:34:33 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.oetec.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mm4KN3qcwz3Dc5 for ; Mon, 10 Oct 2022 03:34:32 +0000 (UTC) (envelope-from dclarke@blastwave.org) X-Spam-Status: No X-oetec-MailScanner-From: dclarke@blastwave.org X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.097, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, DKIM_VALID_EF -0.10, URIBL_BLOCKED 0.00, URIBL_DBL_BLOCKED_OPENDNS 0.00, URIBL_ZEN_BLOCKED_OPENDNS 0.00) X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-ID: 29A3XrT0025080 X-oetec-MailScanner-Information: Please contact oetec for more information Received: from [172.16.35.2] (cpeac202e7325b3-cmac202e7325b0.cpe.net.cable.rogers.com [99.253.170.241]) (authenticated bits=0) by mail.oetec.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 29A3XrT0025080 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sun, 9 Oct 2022 23:33:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org; s=default; t=1665372834; bh=3aj0bhiksCPwYV8C5Nr6CmFYOuRZXJkxIhstjBYnAxU=; h=Date:To:From:Subject:From; b=E0BskKv1KjgHGAQXdPTgLknRGoDOaoBVSDPmTwnThu2mq46hGJWAd1SzB5uKyxpJw pJlqL2TwwdHJlvHSWG8kwUjaGfhSE4qQmPBXFUDE6QS5ok8NOiXX0RnrnchKiSOxtZ 3Bz486T2ms6lpKXAGE4s1pgIrO4XnDEevUVWd4j8Xma5+l6yAXxmq0Jr+GxDbO7mda I/lEMWJA1BKL/WjHKniETv9Q4Tys87fYpJpbnX7/VaFONabLCJBjHq0BHx9FrxWjUO BaaSOoJLlcfapHYfQxwsyaHg4zbniZtWz32L9HFMJpHefV9JgZnsvJglPYWZKE8+yF DNaXBdTowYlgQ== Message-ID: <44de855e-8c40-8744-3e05-0a94446e3369@blastwave.org> Date: Mon, 10 Oct 2022 03:33:52 +0000 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 To: riscv@freebsd.org Content-Language: en-US From: Dennis Clarke Subject: oops .. looks like the FreeBSD snapshot for 07 Oct 2022 is still a tad fried Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Mm4KN3qcwz3Dc5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=E0BskKv1; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org X-Spamd-Result: default: False [-4.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+a:c]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[blastwave.org:+]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Looking at : https://cgit.freebsd.org/src/log/ I see a bunch of goodness from Mitchel Horne there for the pmap_remove_pages() code but the install disk images for FreeBSD CURRENT snapshot still blow up. Are there going to be some new install images soonish? This week maybe? Found 4 CPUs in the device tree Copyright (c) 1992-2022 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #0 main-n258483-b05b1ecbef0: Fri Oct 7 05:52:47 UTC 2022 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffc002bff000. Preloaded TSLOG data "TSLOG" at 0xffffffc002c08288. . . . avail memory = 16649957376 (15878 MB) No static device mappings. Starting CPU 2 (hart 0) Starting CPU 3 (hart 1) Starting CPU 1 (hart 3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs panic: ISA string truncated cpuid = 0 time = 1 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x38 kdb_backtrace() at kdb_backtrace+0x2c vpanic() at vpanic+0x126 panic() at panic+0x2a fill_elf_hwcap() at fill_elf_hwcap+0x220 mi_startup() at mi_startup+0x1d2 va() at va+0x7e KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at kdb_enter+0x4a: sd zero,0(s1) db> yikes. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From nobody Mon Oct 10 16:48:36 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MmPxf5xSyz4fm82 for ; Mon, 10 Oct 2022 16:48:38 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MmPxf5PdHz4HmS; Mon, 10 Oct 2022 16:48:38 +0000 (UTC) (envelope-from mhorne@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665420518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=esGJAOGDFMwcOy/24qu1L+t5KhcimXJcxL13Xy/aUPA=; b=lUUWx8I/WYqObKykpwpbbB5Jc1RmeoYmoFwaRik71L4WcYMmoISx55IpZ8YfFvrIKzE6qH 0QAAl5VhGmURr0xoVjj6repJRPK+Yc4jXO4+XDr03hLzDUL7rl7pVKGbMMAUZH7FnoCfkP lefgbml0PXqyVccnrkblcDsHSS66HlO1MRPv9tUqNKCb2+UNZ2Px+s/yrt2xRMNLdJ1DK9 47Pe1BFXCT9UvKyb1FmTZoTPg+xUKY0w+z6VHthQU9Ng0PSN4AICn5bOXy1wt0W8c269bV Y9hTCssNFeLyyJOnwXRY7rRcpye9HdqPoNjXc4NoZiWQNXYR/lMUeZrNCAgflA== Received: from [192.168.1.106] (host-173-212-76-127.public.eastlink.ca [173.212.76.127]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id 4MmPxf36vRzv2s; Mon, 10 Oct 2022 16:48:38 +0000 (UTC) (envelope-from mhorne@freebsd.org) Message-ID: Date: Mon, 10 Oct 2022 13:48:36 -0300 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: oops .. looks like the FreeBSD snapshot for 07 Oct 2022 is still a tad fried Content-Language: en-CA To: Dennis Clarke , riscv@freebsd.org References: <44de855e-8c40-8744-3e05-0a94446e3369@blastwave.org> From: Mitchell Horne In-Reply-To: <44de855e-8c40-8744-3e05-0a94446e3369@blastwave.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665420518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=esGJAOGDFMwcOy/24qu1L+t5KhcimXJcxL13Xy/aUPA=; b=tT2iFhR26s85Dy0kCQIM9p7tNm4z2zdTnrbcCvAoKUwefjRlJX4ES3llwbfwqwhfdUxUne TXj7TzfCAk0BZp9oX6ft4vRXUoinvOgpiTUo7+CSSbnffM2cP8kOQMmqusJP9CxF08gvYq gpqlLlIT+KJXv6QOVNpr7hksEX9eTdASYLCBlCjyeBcW8/h5C1vgaDY9Qdgnu2ZxdYu395 JS/vYO6vkuS9JMpPcCTZlwTHOmhOAeoFQGQF2xkq/oOp5kKKa7DKER6Ox57jUtoBVFAW34 hWJFvPt4oV+kEKJJ0K43y878Hv6RnojhywlFC4EBpXue5LWMWp/nCbuVtOtiAg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665420518; a=rsa-sha256; cv=none; b=qSnbgfj0kXXIIs7a2qpMjWOJD6VHxj8tfe1yNK56lpT23DotfH9uD3qU2O95A/B/fuTCL8 iowU/ZhhUVT1Ij4eDNKVa/jz1SDAlSg3ejw8oQB44kQXUjusd2As6aydG4P2H/gDZ78maW K9OEjyapoIj+4MLfjK0ubb7owjj+FURZ4rixnAP/4Ir+8HvSyHNgrPBQDEYxoFqocCyas/ nUacuL5qKebpXCmovItz/rR1AF5p1HFdgtBjMFDoL+41V1/BH0rCh1Vs2rHYvj2QWRW2yx 0/MCl4oHvzfshw+BPh13TSfRHWuPdHWZjBvtFaLlFu2DoTLS3/C+XmQYbEbGYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 10/10/22 00:33, Dennis Clarke wrote: > > Looking at : https://cgit.freebsd.org/src/log/ > > I see a bunch of goodness from Mitchel Horne there for the > pmap_remove_pages() code but the install disk images for > FreeBSD CURRENT snapshot still blow up. > > Are there going to be some new install images soonish? > This week maybe? > > Found 4 CPUs in the device tree > Copyright (c) 1992-2022 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >         The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 14.0-CURRENT #0 main-n258483-b05b1ecbef0: Fri Oct  7 05:52:47 > UTC 2022 > > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC > riscv > FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git > llvmorg-14.0.5-0-gc12386ae247c) > WARNING: WITNESS option enabled, expect reduced performance. > VT: init without driver. > Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffc002bff000. > Preloaded TSLOG data "TSLOG" at 0xffffffc002c08288. > . > . > . > avail memory = 16649957376 (15878 MB) > No static device mappings. > Starting CPU 2 (hart 0) > Starting CPU 3 (hart 1) > Starting CPU 1 (hart 3) > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > panic: ISA string truncated Hi, This one is known too. There are some shortcomings with how we handle the ISA string provided by QEMU, that became apparent with the recent update to version 7.1.0. Fixing this is a priority for me this week, ideally before the next snapshot build. For progress, subscribe to: https://reviews.freebsd.org/D36601 As a workaround in the meantime, you can downgrade to the qemu6 or qemu70 packages. These versions will not cause this panic. Cheers, Mitchell > cpuid = 0 > time = 1 > KDB: stack backtrace: > db_trace_self() at db_trace_self > db_trace_self_wrapper() at db_trace_self_wrapper+0x38 > kdb_backtrace() at kdb_backtrace+0x2c > vpanic() at vpanic+0x126 > panic() at panic+0x2a > fill_elf_hwcap() at fill_elf_hwcap+0x220 > mi_startup() at mi_startup+0x1d2 > va() at va+0x7e > KDB: enter: panic > [ thread pid 0 tid 0 ] > Stopped at      kdb_enter+0x4a: sd      zero,0(s1) > db> > > yikes. > From nobody Mon Oct 10 18:06:27 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MmRhH2p5Lz4dgCh for ; Mon, 10 Oct 2022 18:07:11 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.oetec.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MmRhG58Lnz3D7f for ; Mon, 10 Oct 2022 18:07:10 +0000 (UTC) (envelope-from dclarke@blastwave.org) X-Spam-Status: No X-oetec-MailScanner-From: dclarke@blastwave.org X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-5.104, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, DKIM_VALID_EF -0.10, NICE_REPLY_A -2.01, URIBL_BLOCKED 0.00, URIBL_DBL_BLOCKED_OPENDNS 0.00, URIBL_ZEN_BLOCKED_OPENDNS 0.00) X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-ID: 29AI6SFp016707 X-oetec-MailScanner-Information: Please contact oetec for more information Received: from [172.16.35.2] (cpeac202e7325b3-cmac202e7325b0.cpe.net.cable.rogers.com [99.253.170.241]) (authenticated bits=0) by mail.oetec.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 29AI6SFp016707 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 10 Oct 2022 14:06:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org; s=default; t=1665425190; bh=8qvWV/MawV4xvdg+dGyoaKCXmclJ+e4erTmpVZvdmvM=; h=Date:Subject:To:References:From:In-Reply-To:From; b=MPUsK016EtNr09lktVhRnPmox3m4TttTBAywXVfbAOE4bPbNzxMLbADFghaAjRdf2 IiGbcCkPIy3zn7SK2HPd125OiOn/HjxrRRtCMcP8VEr66xvKuzaKzQKkmsylKQSWha oprYzgLfzPb9NJr8Uadgj6glLtxPoZVo2vN7Dg+J9iCt+GvGmND6Hb3UQkhoeJYLLk CfuVsooXHbxg1ryzeNd88JBk9B0EV07enL7bAqE2rkr3l1md4zRSYA7Q6/FUB92roC h72IEhwCm4i6mCo35nX1NcHt2Tv+pVXesuxNgk/CnfQ7Sw30qBWKkKZZGA2RmSm9g9 e7++osDZ/r+yw== Message-ID: <832a6107-e9db-07b8-1f47-47f185635ecc@blastwave.org> Date: Mon, 10 Oct 2022 18:06:27 +0000 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: oops .. looks like the FreeBSD snapshot for 07 Oct 2022 is still a tad fried Content-Language: en-US To: riscv@freebsd.org References: <44de855e-8c40-8744-3e05-0a94446e3369@blastwave.org> From: Dennis Clarke In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4MmRhG58Lnz3D7f X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=MPUsK016; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org X-Spamd-Result: default: False [-4.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+a:c]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[blastwave.org:+]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 10/10/22 16:48, Mitchell Horne wrote: > > > On 10/10/22 00:33, Dennis Clarke wrote: >> >> Looking at : https://cgit.freebsd.org/src/log/ >> >> I see a bunch of goodness from Mitchel Horne there for the >> pmap_remove_pages() code but the install disk images for >> FreeBSD CURRENT snapshot still blow up. >> >> Are there going to be some new install images soonish? >> This week maybe? >> >> Found 4 CPUs in the device tree >> Copyright (c) 1992-2022 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >>          The Regents of the University of California. All rights >> reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 14.0-CURRENT #0 main-n258483-b05b1ecbef0: Fri Oct  7 05:52:47 >> UTC 2022 >> >> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv >> >> FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git >> llvmorg-14.0.5-0-gc12386ae247c) >> WARNING: WITNESS option enabled, expect reduced performance. >> VT: init without driver. >> Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffc002bff000. >> Preloaded TSLOG data "TSLOG" at 0xffffffc002c08288. >> . >> . >> . >> avail memory = 16649957376 (15878 MB) >> No static device mappings. >> Starting CPU 2 (hart 0) >> Starting CPU 3 (hart 1) >> Starting CPU 1 (hart 3) >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >> panic: ISA string truncated > > Hi, > > This one is known too. There are some shortcomings with how we handle > the ISA string provided by QEMU, that became apparent with the recent > update to version 7.1.0. > > Fixing this is a priority for me this week, ideally before the next > snapshot build. For progress, subscribe to: > https://reviews.freebsd.org/D36601 > > As a workaround in the meantime, you can downgrade to the qemu6 or > qemu70 packages. These versions will not cause this panic. > > Cheers, > Mitchell Ah ha ! Had to be QEMU! I was testing this over and over with Steve Wills and he had a slightly previous version of QEMU on his FreeBSD 14.0 CURRENT system. I had the very latest ( okay five days ago ) and saw the panic over and over. For him, everything was working fine. What fun that was to try to explain. Thank you for letting me know! -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From nobody Tue Oct 11 04:20:40 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MmjKD1GD9z4dnKb; Tue, 11 Oct 2022 04:21:36 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.oetec.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MmjKC2l2Xz3wn6; Tue, 11 Oct 2022 04:21:35 +0000 (UTC) (envelope-from dclarke@blastwave.org) X-Spam-Status: No X-oetec-MailScanner-From: dclarke@blastwave.org X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-5.104, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, DKIM_VALID_EF -0.10, NICE_REPLY_A -2.01, URIBL_BLOCKED 0.00, URIBL_DBL_BLOCKED_OPENDNS 0.00, URIBL_ZEN_BLOCKED_OPENDNS 0.00) X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-ID: 29B4Keru031727 X-oetec-MailScanner-Information: Please contact oetec for more information Received: from [172.16.35.2] (cpeac202e7325b3-cmac202e7325b0.cpe.net.cable.rogers.com [99.253.170.241]) (authenticated bits=0) by mail.oetec.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 29B4Keru031727 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 11 Oct 2022 00:20:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org; s=default; t=1665462042; bh=5yBhqbZ0zwpOmbmnU2tH+VuxAOYB5DysWbqWTZrH8pY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kYzWRb138+LWXsoywSjZACGnSrxdM0Ik2NJBA90JnEoEBXfHbVwzjrIP+Nch+8JHj igTv9nAmhcD5iYGCZGG+nFNv4fBy9lVELfihAWL9/o0sV86YXuP3JCjM0Ti2NhM+BD XrkL6xZsF8yCaoXWtXA+LjSobexyKOhmoV4csU+GeScCY5ulkCDR7lrk3+tMrj9xXA V7lZfRL9UQSLIyFFGFCLZf13TdGUgJP4AoBn9q9pD7oOwPGCM3PoguJwx8NJJq6PCL sLKTrm6X/qgNYe898XNaZf9v9xd/DENukxspp/ni0xfDu6OtNz4E8sXbm66+aFI1S6 TWJbsNvqbMC1A== Message-ID: Date: Tue, 11 Oct 2022 04:20:40 +0000 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: Has anyone tried to build QEMU from ports lately? Content-Language: en-US To: Warner Losh Cc: FreeBSD CURRENT , riscv@freebsd.org References: <4a476b1c-74e4-9cb8-17a4-202c81b2da1d@blastwave.org> From: Dennis Clarke In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4MmjKC2l2Xz3wn6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=kYzWRb13; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org X-Spamd-Result: default: False [-3.70 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[riscv@freebsd.org,freebsd-current@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[blastwave.org:+]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 10/10/22 17:53, Warner Losh wrote: > On Mon, Oct 10, 2022 at 10:56 AM Warner Losh wrote: > >> I know what's causing this problem. I'll resolve. >> >> tl/dr: _pv_entry.h depends on sys/param.h being included before its use. >> > > https://reviews.freebsd.org/D36927 fixes it by making sys/_pv_entry.h more > self-contained and less reliant on param.h pollution. The kernel includes > that > everywhere it's used, but userland is more hit or miss because > machine/pmap.h > isn't a well defined interface, but is needed for some things sometimes. > I am not sure where this is related, however, there is a change in QEMU: https://github.com/qemu/qemu/commit/a4a9a4432e2bf280a989ca344466d7375db7993f Which seems to provide a way around some really long ISA cpu name data that gets caught in sys/riscv/riscv/identcpu.c at around line 113 or so : #ifdef FDT /* * The ISA string is made up of a small prefix (e.g. rv64) and up to 26 letters * indicating the presence of the 26 possible standard extensions. Therefore 32 * characters will be sufficient. */ #define ISA_NAME_MAXLEN 32 #define ISA_PREFIX ("rv" __XSTRING(__riscv_xlen)) #define ISA_PREFIX_LEN (sizeof(ISA_PREFIX) - 1) So if a person did not know about the new boolean thingy "short-isa-string" then any attempt to boot FreeBSD 14.0 on rv64imafdc ends up with a neato little messy KASSERT : sedna$ sedna$ uname -apKU FreeBSD sedna 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 GENERIC amd64 amd64 1301000 1301000 sedna$ /usr/local/bin/qemu-system-riscv64 --version QEMU emulator version 7.1.0 Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers sedna$ sedna$ sedna$ /usr/local/bin/qemu-system-riscv64 \ > -machine virt -m 32768M -smp 8 -nographic \ > -bios /usr/local/share/opensbi/lp64/generic/firmware/fw_jump.elf \ > -kernel /usr/local/share/u-boot/u-boot-qemu-riscv64/u-boot.bin \ > -drive file=/opt/qemu/riscv/fbsd14/fbsd14_rv64imafdc.qcow2,format=qcow2,id=hd0 \ > -device virtio-blk-device,drive=hd0 \ > -object rng-random,filename=/dev/urandom,id=rng0 \ > -device virtio-rng-device,rng=rng0 \ > -device virtio-net-device,netdev=usernet \ > -netdev user,id=usernet,hostfwd=tcp::10000-:22 OpenSBI v1.1 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : riscv-virtio,qemu Platform Features : medeleg Platform HART Count : 8 Platform IPI Device : aclint-mswi Platform Timer Device : aclint-mtimer @ 10000000Hz Platform Console Device : uart8250 Platform HSM Device : --- Platform Reboot Device : sifive_test Platform Shutdown Device : sifive_test Firmware Base : 0x80000000 Firmware Size : 352 KB Runtime SBI Version : 1.0 Domain0 Name : root Domain0 Boot HART : 7 Domain0 HARTs : 0*,1*,2*,3*,4*,5*,6*,7* Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I) Domain0 Region01 : 0x0000000080000000-0x000000008007ffff () Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x0000000082200000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Boot HART ID : 7 Boot HART Domain : root Boot HART Priv Version : v1.12 Boot HART Base ISA : rv64imafdch Boot HART ISA Extensions : time Boot HART PMP Count : 16 Boot HART PMP Granularity : 4 Boot HART PMP Address Bits: 54 Boot HART MHPM Count : 16 Boot HART MIDELEG : 0x0000000000001666 Boot HART MEDELEG : 0x0000000000f0b509 U-Boot 2022.04 (Sep 06 2022 - 07:24:53 +0000) CPU: rv64imafdch_zicsr_zifencei_zba_zbb_zbc_zbs Model: riscv-virtio,qemu DRAM: 32 GiB Core: 19 devices, 10 uclasses, devicetree: board Flash: 32 MiB Loading Environment from nowhere... OK In: uart@10000000 Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p1: FreeBSD/riscv EFI loader, Revision 1.1 (Fri Oct 7 04:52:01 UTC 2022 root@releng1.nyi.freebsd.org) Command line arguments: l Image base: 0xfe669000 EFI version: 2.90 / ______ ____ _____ _____ | ____| | _ \ / ____| __ \ | |___ _ __ ___ ___ | |_) | (___ | | | | | ___| '__/ _ \/ _ \| _ < \___ \| | | | | | | | | __/ __/| |_) |____) | |__| | | | | | | | || | | | |_| |_| \___|\___||____/|_____/|_____/ ``` ` s` `.....---.......--.``` -/ +---------- Welcome to FreeBSD -----------+ +o .--` /y:` +. | | yo`:. :o `+- | 1. Boot Multi user [Enter] | y/ -/` -o/ | 2. Boot Single user | .- ::/sy+:. | 3. Escape to loader prompt | / `-- / | 4. Reboot | `: :` | 5. Cons: Video | `: :` | | / / | Options: | .- -. | 6. Kernel: default/kernel (1 of 1) | -- -. | 7. Boot Options | `:` `:` | | .-- `--. | | .---.....----. +-----------------------------------------+ Autoboot in 0 seconds. [Space] to pause Loading kernel... /boot/kernel/kernel text=0x5b3a88 text=0x175c2c data=0xf4208 data=0x1f74+0x2738dc 0x8+0x1f46fb8+0x8+0xf3f1e Loading configured modules... can't find '/etc/hostid' can't find '/boot/entropy' Using DTB provided by EFI at 0x87efb000. Kernel entry at 0xf680002e... Kernel args: (null) ---<>--- GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2022 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #0 main-n258483-b05b1ecbef0: Fri Oct 7 05:52:47 UTC 2022 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. SBI: OpenSBI v1.1 SBI Specification Version: 1.0 CPU(0): Unknown Implementer Unknown Processor real memory = 34359738368 (32768 MB) avail memory = 33401937920 (31854 MB) Starting CPU 1 (hart 0) Starting CPU 2 (hart 1) Starting CPU 3 (hart 2) Starting CPU 4 (hart 3) Starting CPU 5 (hart 4) Starting CPU 6 (hart 5) Starting CPU 7 (hart 6) FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs panic: ISA string truncated cpuid = 0 time = 1 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x38 kdb_backtrace() at kdb_backtrace+0x2c vpanic() at vpanic+0x126 panic() at panic+0x2a fill_elf_hwcap() at fill_elf_hwcap+0x220 mi_startup() at mi_startup+0x1d2 va() at va+0x7e KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at kdb_enter+0x4a: sd zero,0(s1) db> halt qemu-system-riscv64: terminating on signal 1 from pid 2765 (csh) sedna$ due to : /* * Iterate through the CPUs and examine their ISA string. While we * could assign elf_hwcap to be whatever the boot CPU supports, to * handle the (unusual) case of running a system with hetergeneous * ISAs, keep only the extension bits that are common to all harts. */ for (node = OF_child(node); node > 0; node = OF_peer(node)) { /* Skip any non-CPU nodes, such as cpu-map. */ if (!ofw_bus_node_is_compatible(node, "riscv")) continue; len = OF_getprop(node, "riscv,isa", isa, sizeof(isa)); KASSERT(len <= ISA_NAME_MAXLEN, ("ISA string truncated")); if (len == -1) { if (bootverbose) printf("fill_elf_hwcap: " "Can't find riscv,isa property\n"); return; } else if (strncmp(isa, ISA_PREFIX, ISA_PREFIX_LEN) != 0) { if (bootverbose) printf("fill_elf_hwcap: " "Unsupported ISA string: %s\n", isa); return; } again in sys/riscv/riscv/identcpu.c However this seems to work : sedna$ /usr/local/bin/qemu-system-riscv64 \ > -machine virt -m 32768M -smp 8 -cpu rv64,short-isa-string=on \ > -nographic \ > -bios /usr/local/share/opensbi/lp64/generic/firmware/fw_jump.elf \ > -kernel /usr/local/share/u-boot/u-boot-qemu-riscv64/u-boot.bin \ > -drive file=/opt/qemu/riscv/fbsd14/fbsd14_rv64imafdc.qcow2,format=qcow2,id=hd0 \ > -device virtio-blk-device,drive=hd0 \ > -object rng-random,filename=/dev/urandom,id=rng0 \ > -device virtio-rng-device,rng=rng0 \ > -device virtio-net-device,netdev=usernet \ > -netdev user,id=usernet,hostfwd=tcp::10000-:22 OpenSBI v1.1 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : riscv-virtio,qemu Platform Features : medeleg Platform HART Count : 8 Platform IPI Device : aclint-mswi Platform Timer Device : aclint-mtimer @ 10000000Hz Platform Console Device : uart8250 Platform HSM Device : --- Platform Reboot Device : sifive_test Platform Shutdown Device : sifive_test Firmware Base : 0x80000000 Firmware Size : 352 KB Runtime SBI Version : 1.0 Domain0 Name : root Domain0 Boot HART : 7 Domain0 HARTs : 0*,1*,2*,3*,4*,5*,6*,7* Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I) Domain0 Region01 : 0x0000000080000000-0x000000008007ffff () Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x0000000082200000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Boot HART ID : 7 Boot HART Domain : root Boot HART Priv Version : v1.12 Boot HART Base ISA : rv64imafdch Boot HART ISA Extensions : time Boot HART PMP Count : 16 Boot HART PMP Granularity : 4 Boot HART PMP Address Bits: 54 Boot HART MHPM Count : 16 Boot HART MIDELEG : 0x0000000000001666 Boot HART MEDELEG : 0x0000000000f0b509 U-Boot 2022.04 (Sep 06 2022 - 07:24:53 +0000) CPU: rv64imafdch Model: riscv-virtio,qemu DRAM: 32 GiB Core: 19 devices, 10 uclasses, devicetree: board Flash: 32 MiB Loading Environment from nowhere... OK In: uart@10000000 Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p1: FreeBSD/riscv EFI loader, Revision 1.1 (Fri Oct 7 04:52:01 UTC 2022 root@releng1.nyi.freebsd.org) Command line arguments: l Image base: 0xfe669000 EFI version: 2.90 ______ ____ _____ _____ | ____| | _ \ / ____| __ \ | |___ _ __ ___ ___ | |_) | (___ | | | | | ___| '__/ _ \/ _ \| _ < \___ \| | | | | | | | | __/ __/| |_) |____) | |__| | | | | | | | || | | | |_| |_| \___|\___||____/|_____/|_____/ ``` ` s` `.....---.......--.``` -/ +---------- Welcome to FreeBSD -----------+ +o .--` /y:` +. | | yo`:. :o `+- | 1. Boot Single user [Enter] | y/ -/` -o/ | 2. Boot Multi user | .- ::/sy+:. | 3. Escape to loader prompt | / `-- / | 4. Reboot | `: :` | 5. Cons: Video | `: :` | | / / | Options: | .- -. | 6. Kernel: default/kernel (1 of 1) | -- -. | 7. Boot Options | `:` `:` | | .-- `--. | | .---.....----. +-----------------------------------------+ Loading kernel... /boot/kernel/kernel text=0x5b3a88 text=0x175c2c data=0xf4208 data=0x1f74+0x2738dc 0x8+0x1f46fb8+0x8+0xf3f1e Loading configured modules... can't find '/etc/hostid' can't find '/boot/entropy' Using DTB provided by EFI at 0x87efb000. Kernel entry at 0xf680002e... Kernel args: (null) ---<>--- GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2022 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #0 main-n258483-b05b1ecbef0: Fri Oct 7 05:52:47 UTC 2022 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. SBI: OpenSBI v1.1 SBI Specification Version: 1.0 CPU(0): Unknown Implementer Unknown Processor real memory = 34359738368 (32768 MB) avail memory = 33401909248 (31854 MB) Starting CPU 1 (hart 0) Starting CPU 2 (hart 1) Starting CPU 3 (hart 2) Starting CPU 4 (hart 3) Starting CPU 5 (hart 4) Starting CPU 6 (hart 5) Starting CPU 7 (hart 6) FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. random: entropy device external interface kbd0 at kbdmux0 ofwbus0: simplebus0: on ofwbus0 simplebus1: on ofwbus0 plic0: mem 0xc000000-0xc5fffff irq 10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25 on simplebus1 timer0: Timecounter "RISC-V Timecounter" frequency 10000000 Hz quality 1000 Event timer "RISC-V Eventtimer" frequency 10000000 Hz quality 1000 riscv_syscon0: mem 0x100000-0x100fff on simplebus1 rcons0: cpulist0: on ofwbus0 cpu0: on cpulist0 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 cpu4: on cpulist0 cpu5: on cpulist0 cpu6: on cpulist0 cpu7: on cpulist0 goldfish_rtc0: mem 0x101000-0x101fff irq 0 on simplebus1 goldfish_rtc0: registered as a time-of-day clock, resolution 1.000000s uart0: <16550 or compatible> mem 0x10000000-0x100000ff irq 1 on simplebus1 uart0: console (115200,n,8,1) syscon_power0: on simplebus1 syscon_power1: on simplebus1 pcib0: mem 0x30000000-0x3fffffff on simplebus1 pci0: on pcib0 virtio_mmio0: mem 0x10008000-0x10008fff irq 2 on simplebus1 vtblk0: on virtio_mmio0 vtblk0: 6176MB (12649600 512 byte sectors) virtio_mmio1: mem 0x10007000-0x10007fff irq 3 on simplebus1 virtio_mmio2: mem 0x10006000-0x10006fff irq 4 on simplebus1 vtnet0: on virtio_mmio2 vtnet0: Ethernet address: 52:54:00:12:34:56 Timecounters tick every 1.000 msec usb_needs_explore_all: no devclass Trying to mount root from ufs:/dev/gpt/rootfs [rw]... Release APs WARNING: WITNESS option enabled, expect reduced performance. random: unblocking device. Enter full pathname of shell or RETURN for /bin/sh: root@:/ # uname -apKU FreeBSD 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n258483-b05b1ecbef0: Fri Oct 7 05:52:47 UTC 2022 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv riscv64 1400072 1400072 root@:/ # sysctl hw.ncpu hw.ncpu: 8 root@:/ # sysctl hw.model sysctl: unknown oid 'hw.model' root@:/ # sysctl hw.physmem hw.physmem: 34312138752 root@:/ # shutdown -p 'now' Shutdown NOW! shutdown: [pid 22] root@:/ # wall: can't open temporary file: Read-only file system 2022-10-11T04:17:08.354519+00:00 - shutdown 22 - - power-down by root: System shutdown time has arrived Waiting (max 60 seconds) for system process `vnlru' to stop... done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining... 0 0 0 0 0 0 0 0 0 0 done All buffers synced. Uptime: 56s sedna$ Sort of makes me wonder if perhaps a longer cpu ISA name string would be of any benefit? I am curious what the string was that tossed the KASSERT myself. Also funny that sysctl hw.model returns nothing useful. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From nobody Tue Oct 11 04:24:31 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MmjPW4Q0kz4dp19; Tue, 11 Oct 2022 04:25:19 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.oetec.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MmjPW0PsVz40Rg; Tue, 11 Oct 2022 04:25:19 +0000 (UTC) (envelope-from dclarke@blastwave.org) X-Spam-Status: No X-oetec-MailScanner-From: dclarke@blastwave.org X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-5.104, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, DKIM_VALID_EF -0.10, NICE_REPLY_A -2.01, URIBL_BLOCKED 0.00, URIBL_DBL_BLOCKED_OPENDNS 0.00, URIBL_ZEN_BLOCKED_OPENDNS 0.00) X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-ID: 29B4OVml031876 X-oetec-MailScanner-Information: Please contact oetec for more information Received: from [172.16.35.2] (cpeac202e7325b3-cmac202e7325b0.cpe.net.cable.rogers.com [99.253.170.241]) (authenticated bits=0) by mail.oetec.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 29B4OVml031876 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 11 Oct 2022 00:24:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org; s=default; t=1665462273; bh=Mvf4kgaje8DEwWvBdRxEbzdESVG0rNsk/HHYW1ggqSs=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=W97J6Pcbdx3m4IbExzq9YGYXMZi4BdUJ/5XEKmJddZHkmYwLdFTRp1ZDylyy6KGyr WnjpGvmW5YMFv6JW6ROEFllt/ckdJXJJDJZCZU68X6GDPF8Ibxin07Eite/NDzC4/t 4yW95EPZq7YvEelLyjJTnbvOSjve87cKUrpB4QWi9dYLjuE5xftClHRVq6nX+n71uo 3VfJ9FlDFUUyi0/syatMUljto9Wa58GFd+WlZrFT40igUzQenH80X4igL4f/rfAP2N NjGPc9OoGFfOJcqlIG8E54ts1NA9QzKY8afQPuLdk4AB/px809nyKZTq55kCmdlEon UYbZVHL/YctlA== Message-ID: <11c1eb3b-0ef4-2c2f-513e-6555346a67ea@blastwave.org> Date: Tue, 11 Oct 2022 04:24:31 +0000 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: Has anyone tried to build QEMU from ports lately? Content-Language: en-US From: Dennis Clarke To: Warner Losh Cc: FreeBSD CURRENT , riscv@freebsd.org References: <4a476b1c-74e4-9cb8-17a4-202c81b2da1d@blastwave.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4MmjPW0PsVz40Rg X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=W97J6Pcb; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org X-Spamd-Result: default: False [-3.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; R_SPF_ALLOW(-0.20)[+mx:c]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[riscv@freebsd.org,freebsd-current@freebsd.org]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[blastwave.org:+]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 10/11/22 04:20, Dennis Clarke wrote: > On 10/10/22 17:53, Warner Losh wrote: >> On Mon, Oct 10, 2022 at 10:56 AM Warner Losh wrote: >> >>> I know what's causing this problem. I'll resolve. >>> >>> tl/dr: _pv_entry.h depends on sys/param.h being included before its use. >>> >> >> https://reviews.freebsd.org/D36927 fixes it by making sys/_pv_entry.h >> more >> self-contained and less reliant on param.h pollution. The kernel includes >> that >> everywhere it's used, but userland is more hit or miss because >> machine/pmap.h >> isn't a well defined interface, but is needed for some things sometimes. >> > > I am not sure where this is related, however, there is a change in QEMU: > > > https://github.com/qemu/qemu/commit/a4a9a4432e2bf280a989ca344466d7375db7993f > > > > Which seems to provide a way around some really long ISA cpu name data > that gets caught in sys/riscv/riscv/identcpu.c at around line 113 or > so : > > Forgot to mention : https://github.com/qemu/qemu/blob/master/hw/riscv/virt.c#L248 I wonder what the string is that tossed the KASSERT. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From nobody Thu Oct 13 15:09:50 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MpCcG4M5Xz4dwh7 for ; Thu, 13 Oct 2022 15:09:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MpCcG2bQvz3QFg for ; Thu, 13 Oct 2022 15:09:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MpCcG1fTNzRlB for ; Thu, 13 Oct 2022 15:09:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29DF9oDp080863 for ; Thu, 13 Oct 2022 15:09:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29DF9ob7080862 for riscv@FreeBSD.org; Thu, 13 Oct 2022 15:09:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267020] benchmarks/uica: fix build on riscv and in time zones west of Greenwich Date: Thu, 13 Oct 2022 15:09:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665673790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NUVgYTPUIlyiNBfXXvd7yqj//QeuY95ceXUfU1SBHeM=; b=UjsJTJTRC5YnhkWAFNonC6eRF4vDl6n+p0h505RWKIfpcXDkaRF6PtHGIsbzV6954eTk8m 10Mk4j03gtOxRtnRE5gMmVm5IuRVfd3MxcEJJ2HNvyRG88Hfn5NYh2JyVomKifDequHoZs KSSZrnOW9gaJtMO/uEXr3JHS4Ml6Dg0O8zus2FU3lviVq2qqa6hjBglyKmrxYSgJmqSldz FGTjsgZOibdWckrVJyGyKuvzt1j8SC9ajOL6eRKH9IXdymsvjk0bDis4ey/wknnl/DkQvq YEDXlQN/XpUmgoPQZS6i8oRQhj16Str460CR0FsigPGFpgeRh+H0jCAxepMU/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665673790; a=rsa-sha256; cv=none; b=lFPnyWIGSuMSpDmHW/lR0sQZCcWRXiL8rhkxgr1JmpeORDvO+TKBuZRdOUDndAcyexw3Rj dmaoBjD3s6QL0qzDGPSUWZO573QcIHAB9eqZD1DlQYA4avUZHJHF/pgktwPLHf9+KMdXA6 9b6T21VfNyQ2GLLL5z7Z0DSiB03rkwYzURSDFr9hr8jA18rJZIbU5hAGX+UxgZ1LkYXYxd u7PAAdWfla27DGpj34JOZxtxceI3ypjjrHqlSZrFtcIeOYHP3U4NB/Zht2pRMtG/tFEe4o bKwvTP5a2M0c1yc08CRNpkI2wS2vbs9U6ltc/a/iMJAzUnAOpcTZchfpoLMHoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267020 Bug ID: 267020 Summary: benchmarks/uica: fix build on riscv and in time zones west of Greenwich Product: Ports & Packages Version: Latest Hardware: riscv OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: fuz@fuz.su CC: riscv@FreeBSD.org Attachment #237266 maintainer-approval+ Flags: CC: riscv@FreeBSD.org Flags: merge-quarterly? Created attachment 237266 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237266&action= =3Dedit benchmarks/uica: fix build on riscv and in time zones west of Greenwich - inform mbuild CPU type detection script about the existence of this newfangled architecture. - pass TZ=3DUTC to date(1) while generating distfile name to avoid off by one error on the first day of the month in time zones west of Greenwich. Tested with Poudriere on riscv armv7 arm64 FreeBSD 13.1. Please MFH if possible. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Oct 13 15:20:46 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MpCrt4ZGXz4dxdy for ; Thu, 13 Oct 2022 15:20:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MpCrt2q3mz3QYX for ; Thu, 13 Oct 2022 15:20:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MpCrt1pWTzS5b for ; Thu, 13 Oct 2022 15:20:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29DFKkaC091373 for ; Thu, 13 Oct 2022 15:20:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29DFKkkW091372 for riscv@FreeBSD.org; Thu, 13 Oct 2022 15:20:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267021] deskutils/remind: fix build on riscv64 Date: Thu, 13 Oct 2022 15:20:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665674446; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0D2QAa7SuZwv1uUlHzQW1nxuDapxZihTbWGisjY2kBo=; b=kaoFcv1A7eN2LVq8JUAr3puul+iyW0EJ9XcyydArtwBrcmTYQehEBKG/tOxJuf6n0isjyu bMHAWew5ncwA7f6JAEBT5ghAW6yQju6XD90Lt4pRHcorqjSxlNGIPR+fCQew1dWtynOvVQ Nv5AtcRVm6pe0vMuWcnoAOfr2iMZfC6vom7CyixLR1VqfYz1JFQHddy6hOBhfDgiruv3fT smEz4QQMe0+eNTgyNln4nVlvaGHhSSCGCFUyquLfhrBnBIlOFPqk7u8/uoQVg7lP+LgYZv 6GFHxXl+36WkpaQw0evoWVvUv+Y7Jk8k/L+QWG5uYgEV0ZZdYWMtmAFHuUq8SQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665674446; a=rsa-sha256; cv=none; b=JE8sGpaf2dd5z4yrSLi3CzM8L6rvIIw5menUC2B0VvAQpMKxUg9tYL4a7JXXFWyWWVKmem ySJHJAgc3lGT7TkN/YZ9zsj4O6fB+AUExXCvGT2mFrQCz+kF4Ipov8dSslgA5d+U93Iwgd kFnbjMOpJH9KCqagZDvcjk7p6Gxa9uDgdr1ZAG6PqvnnUjOHZbCXS3njnA/1qaCCtoIxAK wg2cue8Q4MUTrEAiv7EKXfUk+C5P6u2Igvh12+0QRoAidLASqUPjg3RyYiT3W2A1oTwaYq uEGWGxiOvWKDAy97MYJQG9RFjVV5rFPiNs73IJIcttuhC4VVBvfJ5M7ScH/2Gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267021 Bug ID: 267021 Summary: deskutils/remind: fix build on riscv64 Product: Ports & Packages Version: Latest Hardware: riscv OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: fuz@fuz.su CC: riscv@FreeBSD.org Attachment #237268 maintainer-approval+ Flags: Flags: merge-quarterly? CC: riscv@FreeBSD.org Created attachment 237268 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237268&action= =3Dedit deskutils/remind: fix build on riscv64 The LTO build fails on riscv64 due to a phony linker error about ABI incompatibility. Disable LTO on riscv64 to make the build succeed. Tested with Poudriere on armv7 risc64 FreeBSD 13.1. Please MFH if possible. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 15 15:32:03 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqS0z1tZlz4fqcZ for ; Sat, 15 Oct 2022 15:32:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqS0y6kz4z3n6L for ; Sat, 15 Oct 2022 15:32:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqS0y5rTHz190x for ; Sat, 15 Oct 2022 15:32:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FFW2X1037282 for ; Sat, 15 Oct 2022 15:32:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FFW22s037281 for riscv@FreeBSD.org; Sat, 15 Oct 2022 15:32:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267020] benchmarks/uica: fix build on riscv and in time zones west of Greenwich Date: Sat, 15 Oct 2022 15:32:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fluffy@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: cc bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665847922; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hTl1rFgmm1Z9NcIOUqXiV3H9LndocB/ChV8Dh9EkM2c=; b=OF8grVyRWiA9mqaLyOltSAc1CxSrH/h1cY6M4MRN+ygmd5RItgccUSGLDgo6k7ibxEY2U3 Yc/PbTkST7XTMxgyCcSNN9tO7pK533WB1CYvkav4rVq9owAmLylSfm78JExrxJFUMSuRtR WjT/mkvl3cDAeWsCjRTBliEyW+xIQu0aY+3vMlsi/tLf/VIFhEwbi00tgREHEfZKrfM2AT VqTLasdAqnTzBnFsoZoy29TQxyCTEbItyvxmOZk73xG+ZzXP5dYZUGudr1sJOM+lOfD6To gh4qp3UbvHyYwT9uaoBmQaFs5LuoFaJnLzfJbFjoVNbCX0tAlGJwoWG1OVojEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665847922; a=rsa-sha256; cv=none; b=IAPQ/4ZtxPSTk7ma37FrKV6RHxphH7P61clccmxAIv6DBMz+IFsx8KQkIrWq8Lq8XAwWFM /0SYs8Q3r8AgxQKL5p+7Q+ZpQuEgKcUhu5IDtUM2ezPrIGyTVQpDxKegXbuFwzUmFm3z2y E3RkA6j0SyprfLyhjM9HwYfu+tEyys8rGTPnyZQzlUj7D/okBz0CVXDlWLKREa50OxeS5B O3wZtNf/RINm+b8C5tFg41fkzaq0rjBTuA0Y7UX4TlrkZhe8RfETGJRb5eygbzLFGLxz1c 0OdMromFMQ3t5otI5dFaHafyJOZKPPbsYyjON6GlkT26GMB31y5HzchFLQATmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267020 Dima Panov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fluffy@FreeBSD.org Status|New |Open Assignee|ports-bugs@FreeBSD.org |fluffy@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 15 15:32:32 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqS1X1Sp6z4fqnX for ; Sat, 15 Oct 2022 15:32:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqS1W6bSGz3nJ0 for ; Sat, 15 Oct 2022 15:32:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqS1W5fgsz199q for ; Sat, 15 Oct 2022 15:32:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FFWVkd038342 for ; Sat, 15 Oct 2022 15:32:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FFWVAk038340 for riscv@FreeBSD.org; Sat, 15 Oct 2022 15:32:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267021] deskutils/remind: fix build on riscv64 Date: Sat, 15 Oct 2022 15:32:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fluffy@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: cc assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665847951; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1ovMeC2dKLf+F9pUHcF/l9Xc6f24MQzMtp+N1TjIctU=; b=JMu//ZrT7hqCWjTjo5THQkugtw+vb72xHCqMzisHgV2BGpAPbLATW9GtuBqAEWH3xvVSFr lsj+QtMhkGKAnRvZri68pk06FZxdLoh3F7zF38gNoI6LQC8JUQDXNlCf/lLydPf6Optw4n qAy5bLONolSjF5GUhi05ZnPHQ9PJTeybdhewndRjXfGmd6ByW60Exv5dgfvsjAlpTkdFuy gsJk4MSt8jc5KkGSCJqDOVqrLIX99378wvQ4cqAF0AzwKYSqE+Bot9yK/bTcGWCxfER5Cc eIIL5t6yh141oE2PtOxWp9iP/kUBQcuv+qEmv3UpUEcovApD/ErL7Ip92bk2Tg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665847951; a=rsa-sha256; cv=none; b=R4AyRh69qYcuwjcsxZUFeOTSkq+eJL/xPE6S+uuYqeIx0qMCJMZdI5Wcsb8LvG9ZJJ+Zvy Fds9+L9HoCrP8znMegf8PF25EKV+HN1/acNzIhZjF3PzJORCh+S6O1l4TmlmGi9bcWbYvV ORq/C5mugHwlDKMpcS0svhq+Tl2RrivnHKgNcx028INVpLQM14R8uA1gPKQm1T7VeAQStD QmrwvQj4ecqRlh7Zc6hcriyMKaP8x/F62OiQWzopDkB7kuMsNdT0FLd9Rf72QJmVH5Q0NX yWqOgaxKTjdUsJA0Fjm/hq9UVqweJ1xlw11tJg8UeWHd+dBeGWtvusl2m77FBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267021 Dima Panov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fluffy@FreeBSD.org Assignee|ports-bugs@FreeBSD.org |fluffy@FreeBSD.org Status|New |Open --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 15 16:00:41 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqSf16m5Xz4f8MY for ; Sat, 15 Oct 2022 16:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqSf12httz3qY9 for ; Sat, 15 Oct 2022 16:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqSf11nMkz19Kd for ; Sat, 15 Oct 2022 16:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FG0ftB067754 for ; Sat, 15 Oct 2022 16:00:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FG0fJ7067753 for riscv@FreeBSD.org; Sat, 15 Oct 2022 16:00:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267020] benchmarks/uica: fix build on riscv and in time zones west of Greenwich Date: Sat, 15 Oct 2022 16:00:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665849641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vBhFkgmpgiu8+2qVXuaShGxgYvywltrgJ+NFgwqZ3RY=; b=Eqo6mT7GiqatOU2cWUMV+LuuIz4D1YAvVJSJp2KhUCaGTkhnq4y5YWfNBzWaac2vQp2KLr drlVSRgG9PlLsVQdg/jrszdNtlE428eXB6dX6AtyB+Tt4X0bSl36S7GIUTvH1TB6hoiPJf WBvl6Bi9iDtUxD9e2aMzh97ekXv0PpWYWnOMRV8quop9vYWitty/AYSIFusgy2Hr4p9vnw WZTyIqahq2l2Ny18xybzkJYab6fegjcvhhHmf4s02xM+ZjArg1kGDdLy2Lz29a8aZ2vP0I gRj7Ldk/5QQkMYAgjrZ6hqEIemMgKVF7IkxMkUnju9XX/6SCOqxQ/4WaTlgItA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665849641; a=rsa-sha256; cv=none; b=xAt0hTd9aibn/lmsBffmahF75GNBB535/4SuyehXKZ/iMEOBF6e/GRbpFkjlsKe4SoYdjP yA6p+OJb5HpTwJrzAlBWFgX79i875L7ja3OQ0VP1ah5+NOYdmqOsIvpj7dinDv4DYhITmJ dr1N2ivRQPZPEASUQ04VsLNdxXjoVU+FLcC5VCgeRpo8ShEcuZBN1ir7ihWBnVGqMqgKZx eFb6mh0yukOQTTrsenX6268Pw+Eh/3mVWwLpTD7hCJ1RDRhASSbiruEsI1Seh+Bnku9+Lq uly/teueprsTtQGEFlMrpwjk/vj4MZA1DvDfNTxOPxG/6runeC7UUUP17g92lA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267020 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D56f224add65df796bf57c49ea782e00= 470a56885 commit 56f224add65df796bf57c49ea782e00470a56885 Author: Robert Clausecker AuthorDate: 2022-09-11 13:02:49 +0000 Commit: Dima Panov CommitDate: 2022-10-15 15:59:34 +0000 benchmarks/uica: fix build on riscv and in UTC-... time zones - inform mbuild CPU type detection script about the existence of this newfangled architecture. - pass TZ=3DUTC to date(1) while generating distfile name to avoid off by one error on the first day of the month in time zones west of Greenwich. PR: 267020 Submitted by: maintainer MFH: 2022Q4 benchmarks/uica/Makefile | 2 +- benchmarks/uica/files/patch-mbuild_mbuild_env.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 15 16:01:42 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqSgB3znTz4f8Y0 for ; Sat, 15 Oct 2022 16:01:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqSgB2Ywqz3qcp for ; Sat, 15 Oct 2022 16:01:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqSgB1g0lz19JL for ; Sat, 15 Oct 2022 16:01:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FG1gOw070541 for ; Sat, 15 Oct 2022 16:01:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FG1gRi070540 for riscv@FreeBSD.org; Sat, 15 Oct 2022 16:01:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267020] benchmarks/uica: fix build on riscv and in time zones west of Greenwich Date: Sat, 15 Oct 2022 16:01:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665849702; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vOfAfNfZtpmdM1F0Sx9W4Zf92H+pYMKawJVFy84JZHg=; b=LP/43W/oN4fVpb8cNSH+kzGYkgRhUC0LvlvR1a/ebEMxK1nXZjOQcecSWMHNP2MUvMeFg7 3schslk83OUVa2wsaJfBNVE/UvtkBLAQbWMxCTcof7nqAtGWl+qbgw4120SAm3vqkVvdgJ 3TmygHxpQPR8qUPdb7QOD2wtNfONsJf8wwXCtqBM6I5VleDcU4yvW91JFf0NpCiIjnmb1s Oz6G2KlupZJDSJ5RErxgZTIfBPIaRXMFjzwj6YzhMwPE/n7EXyft62w8XcGohKIgjbF46l V7Jox8FCsDOk872qHF8/mo1HxdzgYlDNvRx5wkZVzTs1KGEw1yxtoIWfEfpdDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665849702; a=rsa-sha256; cv=none; b=bgghIeDbKkKkhTkl+vXBtlBLBADYskAvEim9VOgFNXDCuWtq6Z1a2AqN7hPi3Wo3tdc707 73UdcRhaVZTKO9tVm2D7HykzMgI7V8caCeNMOD1b+tDeA5jmXdJ/GbB9jm2+nOYO9nCZNS pAV3UyBrnuJhppz5vFVSCLh9Avn0STl7ayIZDyxPOF8bUTLJaDMgafxtGu3nBu0KRnOLth 1DMt9ldOiJ9DgN4UcyzTWeiSc6ccuSZOX7VbkySDG3q/127pqWsAKWewTAwVEWrcKR4eFw XUA8R1J0a4sMvH7fHFZjKN13zks/NGCGdCLC/gdTreqeioZQHg0L0nHNkew4lw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267020 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch 2022Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D7be261e9dcc7b2d3f7f39dc19a40c19= c40e73618 commit 7be261e9dcc7b2d3f7f39dc19a40c19c40e73618 Author: Robert Clausecker AuthorDate: 2022-09-11 13:02:49 +0000 Commit: Dima Panov CommitDate: 2022-10-15 16:00:34 +0000 benchmarks/uica: fix build on riscv and in UTC-... time zones - inform mbuild CPU type detection script about the existence of this newfangled architecture. - pass TZ=3DUTC to date(1) while generating distfile name to avoid off by one error on the first day of the month in time zones west of Greenwich. PR: 267020 Submitted by: maintainer MFH: 2022Q4 (cherry picked from commit 56f224add65df796bf57c49ea782e00470a56885) benchmarks/uica/Makefile | 2 +- benchmarks/uica/files/patch-mbuild_mbuild_env.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 15 16:02:03 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqSgb2GJ3z4f8dx for ; Sat, 15 Oct 2022 16:02:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqSgb1FLZz3rBF for ; Sat, 15 Oct 2022 16:02:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqSgb0Jfsz19LK for ; Sat, 15 Oct 2022 16:02:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FG22wB071727 for ; Sat, 15 Oct 2022 16:02:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FG22DB071725 for riscv@FreeBSD.org; Sat, 15 Oct 2022 16:02:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267020] benchmarks/uica: fix build on riscv and in time zones west of Greenwich Date: Sat, 15 Oct 2022 16:02:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fluffy@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665849723; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V2FB5B/AHfr1/s1qy6T+wjFcPYsj7wX9z57lBRBsd+w=; b=poVjTz9x/AscLVOfq5Tp7DkKl5ZFgsFWZ2SE9JFnJ3IEsMP1sBYSozs/7t/oP41QPfJBgy 4OdEDE9JkpvVN0rUuL1ZJk5wQnc3oAA22znWgK+ylmOsgWVf7v2u7ERbspEknECUJVy/cw Zaa308bVZqWi3ynPeqSYe+4/esw7qi/l6mpKaDkC7f+yjW2cVOyoCICT4DmoxIhtNhHOT4 qOoclgGmcr5vzk7H7U7Va8qLp2onDwMlcdcPPCJEoFY/viHFmLS2pPGid0Vswvrwy+jy/g NdWOcvmGfxpaGMsLFs4Wf2G3sPh0AGS2f/kPdtCexAfSlDncqR2eien4zh53lQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665849723; a=rsa-sha256; cv=none; b=Uj6QzxlZn1lvOh7pj8d15wPCQXJZe7tKWUAz7RFjS3IdAklz3aujCIBWN2cOZHWYQ5T6MT ckcXptuRb3eQSazL22gCIFYDC/svKJEYyp4aQe4FrGXHA+6Sa8eLJw2zbhz9dyw3OAWKn3 aorW2O9fgf2uwDxs24KeEbrbpcMRMunafELWI2oc5COUumvbF76ylLAQeDtohKrNxbSdei +HyDrNijXEhQXjj5uqfHhdFhxFZBir+ganp2KmLzx5fkIQBpqlsMZUGRASZZNpUCrO/HGu gj0mPvItDorha69JKrYZMKPZOcIoz4aBXQu8Jx+LZuRll1qp6/pGJ7gE/u8hMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267020 Dima Panov changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Open |Closed --- Comment #3 from Dima Panov --- Committed and MFHed, thanks! --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 15 16:53:53 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqTqQ17Xpz4fGD4 for ; Sat, 15 Oct 2022 16:53:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqTqP6D2pz3xGN for ; Sat, 15 Oct 2022 16:53:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqTqP5GFkz19p1 for ; Sat, 15 Oct 2022 16:53:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FGrrRk041649 for ; Sat, 15 Oct 2022 16:53:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FGrrZK041648 for riscv@FreeBSD.org; Sat, 15 Oct 2022 16:53:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267021] deskutils/remind: fix build on riscv64 Date: Sat, 15 Oct 2022 16:53:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: attachments.isobsolete flagtypes.name attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665852833; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g90gNG6aF6B1tq1niDFfDW/pOTviVnIeU56+NYQ/z48=; b=jk8/L+AivVtsELHRyRFrPtoUMh23iqAhAkoJDqi1hXlTanOTF9aext0lCkadIWwgCVVK+F nVFC+T9Z5cHjPy/cICIxSeT/ZmKzff6dgDb3n0hlotCStaqa1BhLnQzNX5Xn2OdJdiwXmg FCV/mfo2mU2UzZc0QH0IL3R7uCLxAD1R+PcWzviwHeE77rUV4YkkZgVKCxq5MjkB0BYCex sH4CM3UF3PsChLDkH8fGzZlCMT+A0PX2rVoE6LzWD6qNKfmhMwveAksHrDPZExLOK7RnMw wf3IQkxQJsPRzBWsJfYEvYM1W9n+JJ0nyAV5T2dNmTtH+W9MPv3JbTaN/TLvkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665852833; a=rsa-sha256; cv=none; b=s2D1L4MI/ve/9bidVVII5B1B6wFJbXMArFIKQHQsIKcVenjPLZNF16DCLx5Q/R3gKRss7L nsPB44ySiOWUjW29fUHbH33RGZsD+t8d2jQPTtfqmc/NqpWqEDP+IxZvJ2TvzufqyM6Own PrKhgYfbUKiqmQnIse+GHRPmAyfiWFVwgrMowbjtcEvt7yyFWDm1c9g9jRkUZCDq22FrPT H2Gc58qdxAL1HwuEc1rqLL34HzanOo8UyUIG0X/a7D8z6H4VdGYq9V239cc35/PYKicD6V ay2l6ltp47GqVNkAgA0tpw8YPg+Nl7oBxBYc/3t8O5B9wDsgVpx+MlRNnV/QFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267021 Robert Clausecker changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #237268|0 |1 is obsolete| | Attachment #237341| |maintainer-approval+ Flags| | --- Comment #1 from Robert Clausecker --- Created attachment 237341 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237341&action= =3Dedit deskutils/remind: fix build on riscv64 Replace patch with one that is well formed. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 15 22:10:19 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqcrW6YW0z4fr89 for ; Sat, 15 Oct 2022 22:10:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqcrW3Kd0z3LtQ for ; Sat, 15 Oct 2022 22:10:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqcrW2HQyzGKw for ; Sat, 15 Oct 2022 22:10:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FMAJxs017557 for ; Sat, 15 Oct 2022 22:10:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FMAJle017556 for riscv@FreeBSD.org; Sat, 15 Oct 2022 22:10:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267021] deskutils/remind: fix build on riscv64 Date: Sat, 15 Oct 2022 22:10:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665871819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3aFGM5mlvgNIoUxSpRYXVWhM+ICNSpH2w2H+hnTHnRI=; b=BsaaKncLkh0tv8o40z10zt4yfmxT43DHUBEdJnySTYtRu/nB6wNcLy3kDtCHp9Ul6Yro42 J4GgpPohNzRUGUUJ5vcsjJLkgOcPCvPdXs11Tj+Cn3zpLwLJt+k3HX6c74lYRVeLzjoe4Z Y7EbfjBbIE705iDCpPPzZbeF8Gs1B6ISszXykuBOKcr+2ynn55sklyLIT+sBtAH8SmPV/l oKM5qqiLeKPTSSCU//dsx9WxnsDnpgFK8Rc64fu0xFrsX8PD7alaGeqEUrNDP7bYrCxcyL VyHZCUdYEu0PPbXW0QkLs0/p/tV7s0g8lLjKdW4lt2ZWA5Y4g7UzcHLOF53ObA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665871819; a=rsa-sha256; cv=none; b=d7yrl5VPN+YuhsVr99q7V16Xmznyq3OuHP1kdykqfxt2KR3sCPjCwIT/h92MJZqG2ia8V1 ddAw2qVY2GQR0XmJgath+MiEwRy7XxGIUC1bYsJhYrfD0/r0p/g+iSm/avFDDHJbGpFGxb cM3yY00ZO1pYNp//JcgM+8kkSBgogF5Ca8SqKsBEhk3XvhrvEfV7eynRdIFamsVqNfvYkZ l7I/mThuIl+G6dqJm5NkheD/64TdTPqpXyTUEzDsuO/Kzztp+O2gqbqXmQuzU4LRsyGhID h+J7dXpaJ3EtGAMaEIcwSOKCXdJ9iYIAAYmEjNLCOlMSttUBVEMDw37ZP+MQbw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267021 Robert Clausecker changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |267109 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267109 [Bug 267109] deskutils/remind: update to 04.02.00 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 15 23:26:55 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqfXv6q5Sz4fyQX for ; Sat, 15 Oct 2022 23:26:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqfXv2v7Bz3S7C for ; Sat, 15 Oct 2022 23:26:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqfXv1wHJzHCQ for ; Sat, 15 Oct 2022 23:26:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FNQtXH011734 for ; Sat, 15 Oct 2022 23:26:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FNQtuo011733 for riscv@FreeBSD.org; Sat, 15 Oct 2022 23:26:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267021] deskutils/remind: fix build on riscv64 Date: Sat, 15 Oct 2022 23:26:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665876415; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=coouUFqEbipZofDGB1dH2bTE2+3UEDXlDdemI9m3lOc=; b=qkNU6JGZ/YhPLdc4BsqQFx0cuc3yoZusdBXLxgxZj4mU+I5Ab1GYnfaW0ICjEahaKOZrAT VfD1VjvavmCGYC58acija48CK1ahiANQUjSv9bFAqMgCOfUn25Wv+S6655ubUwIm25iLPK cyG+iAyIKHKshfHjxodvKF4nwDdrYro2bzKuxOdS+EDONHHMqQ5i0YicYlMhFsKFIoEA+p OdheIgk5DfwXWKmsSQ0ZyFafyjkRDS14nJWo3bf0uxbXVFdrHnzt3mDZaUOzKpu6AmTJDz eZn7bj//9fbcXwKfOeT1kqNwB80rE95LxzWWP4hd8yQdR9ffP0BTJ26cfBfMNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665876415; a=rsa-sha256; cv=none; b=WPrOg9dJnakpVzUJaf82ICdYeYnNqpUDxwskvD9vkNpD6gTAPBlkIM+EhS5cdY61oBtlPC dezD7qQ6cDkVepx/8Woog4xyHSJEYPU4ADDwyMQpu8nkoNmrcNNtRKzMAfZol8hQXByoM6 3kCwhTwkNLDTFvD/mBGmbQVevGS7lQnxKC1paF32WDiWAdNe6RNO9rhHs5+ukDYWox/q2w +7a2QebLLNuM9unGyjaEuUgCsFeFfcK7HE6bUz6yKjOLnCnY+h0LkZL6tRU/R2PHYOzcdu 06iL48tem0Oyq5075ciw8375r0FmD1R87ozbnIGTiB2IZtn4j1N7Fd3JCEnDIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267021 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Df3d5006d3dc86ff052a735666f0d15d= a6fb8858a commit f3d5006d3dc86ff052a735666f0d15da6fb8858a Author: Robert Clausecker AuthorDate: 2022-10-13 14:41:21 +0000 Commit: Dima Panov CommitDate: 2022-10-15 23:26:28 +0000 deskutils/remind: fix build on riscv64 (+) The LTO build fails on riscv64 due to a phony linker error about ABI incompatibility. Disable LTO on riscv64 to make the build succeed. PR: 267021 MFH: 2022Q4 deskutils/remind/Makefile | 6 ++++++ deskutils/remind/files/extra-patch-configure.in (new) | 10 ++++++++++ 2 files changed, 16 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 15 23:27:56 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqfZ44lQ9z4fyqS for ; Sat, 15 Oct 2022 23:27:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqfZ41ym2z3S9c for ; Sat, 15 Oct 2022 23:27:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqfZ4152QzHLN for ; Sat, 15 Oct 2022 23:27:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FNRuXH012083 for ; Sat, 15 Oct 2022 23:27:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FNRupl012082 for riscv@FreeBSD.org; Sat, 15 Oct 2022 23:27:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267021] deskutils/remind: fix build on riscv64 Date: Sat, 15 Oct 2022 23:27:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665876476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8vlk6wgozelYKQgNhSx3AJPJMJqzyQu2jeqV37Mav+Y=; b=Souzf6aCbLGqESFExNGu14fGPGUJyzdkwq1Ef4lZV7dCB08PekEyOphYd0L/TWJ3DgGYkG RIXC0LpAd6AJOe1ywf7KoMLzw09IK0hEN7PAoyiRj9pvE1hJWmByDb8rBy3/IHXFBY4Gjz OZn5VkhcoYMPJ11CFmpVy7YvuOPGaC7u0M8STZgX12QmaWzV+r2A+Tz2K/XTbB+AAKbv0b jOfm3ESvjIDj89Asi95j/sfnJJEgRmor3/xtnNFwbNfH0iA+xe8NdeJUzvDT5LQ51d1Bqj UGErJTG6s/mLljuZSj2Jl16P0PMQnd7lPi28B2gjf1QuZ2BV6qW2bKqBvwrNPw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665876476; a=rsa-sha256; cv=none; b=ywU4xF6jQNZVWMvjCA1ToMY1SLoBJJbkRS26pmeH5wL+bPASMH5z+c052kNlSKGoIncPCL ASZH/qVIbN0qxTqHXFaPfr+YzOuYfz7QOBUpzBdabb5v1DFK0hxwOljjmZzCNXjGyTGWDy 4e9B+Jr0ZiOZknVbhPYvq0Oyn7X2ELNls52WlEuaqdxeF3oUsYrtOLZzpMRs031rxVQplT CQwCUJ/l8vN8OvoJ7jnMN6V47TmxcpMRNtJMl3Zw9Kjt2P8qyuq1ONgG1zIMzCd8i3r0vD EQYVc7/vnb/4mQRUX4q2PcyOzSrrxXFOEw1VK1X5oxJEB7+WgjePKEFPSjW/vg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267021 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch 2022Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Debacba0188f872c64f84eaa157d99e2= f558bc6e7 commit ebacba0188f872c64f84eaa157d99e2f558bc6e7 Author: Robert Clausecker AuthorDate: 2022-10-13 14:41:21 +0000 Commit: Dima Panov CommitDate: 2022-10-15 23:27:34 +0000 deskutils/remind: fix build on riscv64 (+) The LTO build fails on riscv64 due to a phony linker error about ABI incompatibility. Disable LTO on riscv64 to make the build succeed. PR: 267021 MFH: 2022Q4 (cherry picked from commit f3d5006d3dc86ff052a735666f0d15da6fb8858a) deskutils/remind/Makefile | 6 ++++++ deskutils/remind/files/extra-patch-configure.in (new) | 10 ++++++++++ 2 files changed, 16 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 15 23:28:27 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqfZg3m2Lz4fyw9 for ; Sat, 15 Oct 2022 23:28:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqfZg3DSPz3SJM for ; Sat, 15 Oct 2022 23:28:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqfZg2JDPzHLP for ; Sat, 15 Oct 2022 23:28:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FNSRxY012330 for ; Sat, 15 Oct 2022 23:28:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FNSR7i012329 for riscv@FreeBSD.org; Sat, 15 Oct 2022 23:28:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267021] deskutils/remind: fix build on riscv64 Date: Sat, 15 Oct 2022 23:28:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fluffy@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665876507; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nlsxLHRfmH1YprCvzbom7cTYCW8SPzpeivRa5TEXKXs=; b=szE4eRq5HGNW2WgR7+sOJCDxq3nqFIob3kVZbtwEsCRbRzCU/vRrFZEnm7spB57tg8ZB4v E3k77wcZSSH4+K+OG5RqK7+yRcL8O5jZ45AIzSd8fYw4RYfW/KxfBzO38dilLHl4kTx6rG CCHtUGOLYsGo6hE6bW19ha7bv/wL9EuA6diiySEMp3s78Tbfv1naUw1+0fR1pnl7JbDjAM FfvYdTTKTlXyAVa5zqlP1ooFZ6EBrEmYOx+TMSXYzeKU6MZ6xS4DCfiW5GnxTl5zVAhxN6 DN+NUo3xltzMSpN/64/yzdX5a05hGYHkA7yZcZl/HdLk4hJd8kOf32I8FmtKQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665876507; a=rsa-sha256; cv=none; b=kJHwXE6HrLU2Xj13DI7qawJGXhOmBuZQ+kxqmAB2e+rGI2j12XmeQpQ8oGGL00Cp6fytV4 mOUd61/dIbVP+cWy98FFP3c0MEqWeNPvdqtIL3jSrnfXdcFQns9GG+eaxR5MyNSVurSN/6 R1dIdYOztlxNsCL7ETyoguLBxbWWh3I0yyhF5nUDh17+qSlIcHQZP8y+rReTDy34jSEfJy 5BvKyqKiRZ4ZkP19GhaxCGPBp0vMZONIx3G4wRJn74RLAgzofLxol33Ra5agJglmYE0GQZ 0RDVbiSGZNu+o3xtzY4Btv9R0/7gKcLDwoJZfaIRUcB3d5uiFTvwFtlSxqklxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267021 --- Comment #4 from Dima Panov --- Committed and MFHed, thanks! --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 15 23:28:34 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqfZp07gmz4fywB for ; Sat, 15 Oct 2022 23:28:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqfZn69NQz3SJd for ; Sat, 15 Oct 2022 23:28:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqfZn5D9HzH7j for ; Sat, 15 Oct 2022 23:28:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FNSXsH012365 for ; Sat, 15 Oct 2022 23:28:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FNSXeD012364 for riscv@FreeBSD.org; Sat, 15 Oct 2022 23:28:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267021] deskutils/remind: fix build on riscv64 Date: Sat, 15 Oct 2022 23:28:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fluffy@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665876513; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NUmgdFjZ0GPfZ5Xp4K8a5Rsb1pgtZhXW7khk+oiYcz4=; b=yec8BemhlmOxN5D/Kkmv1/rtKlD5xyun+0S/ZVFkq0ccZUOabQqhFFui71iLwu2+yRgMUT UsqLdmVjQ4EFMOkLVu+6QrCJG6e42Xa+JiBy54zJABNdvtYw/arGDA6CWeeS+0nW8f34Di DdrzCYsa9uaLY1T6MkxXk6cA73ukoKYB/IjKQW/kPjQHcGoP5eK7rekFuwSR8JePo3gEES cWp9Iu/KGbe7tiq1vGFBks5cYuTMPmmrOOpp+W5a4Mwni+fWs8jCP/wGhG4PaDfEABBrGV /E+RWQ8+CDUBJ+Dtr8pVLadkaGIYBql46FpLz3vtE7UCiU86DH+encRehlCt7g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665876513; a=rsa-sha256; cv=none; b=fBc6qrWWDesCgszT4N20epLxDACsR8kAtEQRF6RbGu8EvC/9546QG7cG10SbZ1vPIiuniO IeKmX/Z0XHb9DPsWAAzxQTcEStl41ViT0tAqHmB0ppj0x7zSzXtC4A72fBUMl7E4DlOQ4c xd0Nrn9QbRJTIjhWuWzODfnQEAOAQ5GcbzUm3EBsQEDrN5FnyW9WiQIQaB9KUeWsFbkb8B yAeRSorxI4TzVEGKEgtJl+cPsJdtrjE5OfSqAON4x4BaOrXSVjho6Nh90WgwUUxhD0VPoH vKyNKDDZWkI5N4WMAUmXUfEmDuHqnutmT7RsIQzB83SBHd6zgxxK5GHT+vt1kA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267021 Dima Panov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Oct 27 17:03:42 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MysTC1Vvlz4gWlN for ; Thu, 27 Oct 2022 17:03:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MysTC0BX2z3vvr for ; Thu, 27 Oct 2022 17:03:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MysTB6CK8z15Fg for ; Thu, 27 Oct 2022 17:03:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29RH3gAc034615 for ; Thu, 27 Oct 2022 17:03:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29RH3ghJ034614 for riscv@FreeBSD.org; Thu, 27 Oct 2022 17:03:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267395] graphics/libemf: fix build on riscv64 Date: Thu, 27 Oct 2022 17:03:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666890223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4YkLKl1jEL+WY9ExE1355pi6QvAYG5p2VSfLGEF6H9M=; b=YAx3W7Shntp09w+675GrQJKRXFHvTv81PsM/Gz/1KO9DGNAO5Mkd5DNPqLvQzMc6uvF2xL wm9qZGBaxyyA/r1YY992I2oWHlPI3TjsQDWtjweCZggNPWX8A0Pv/wGH7ZDEsL+Yiiue+d MfKItaqMpfCsZfKmXTX3JLUvF8kEq2LLUivlGsjK/ppAT+E8rdk6VoXc96GK5ZqOMNYeuE 9PgT08qRaxquASnE6vKDrahk+gbMS3/e6vwbxBim7QqaHai6qi4z25Y3TMzi660o49bAKK CCDjvBfHbceTiZnwTsNhsx/Cmz2BRBk+AI4Tl2Ya7Au9G4Q+tJFpGkaHnTcVEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666890223; a=rsa-sha256; cv=none; b=Uojw2U6LK52aXphnnRFyYeRrecNWHBkCdJWpfD+vcNMDU8lLRqGIhvlKsFVisvyPny6/iS 6ZaaUebfvPzEARmdT4Ppjsss9T1n9+tkr3cU2IGGooWJA/zHxQ7YkeOC/RBIL2SqkzjhDy 88Ico4QcRZkTk0Gp7nJuui5vyu4oZyWlVsctRoRTjC7XcWHuSaLT+zmecEW6W196nFmSWv xsUvaoKFm7tLffy7SHmhR/QYVWuEWA8s9S5WkpZkqNwHgSy1+YOibCE4Lnro/QfG0tyhm7 TkAdZtVmVA3aOQS917KHI0H8cs7YWXHn8xCAFCBMYlbyfdc3Q5zWusj9HrLimg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267395 Bug ID: 267395 Summary: graphics/libemf: fix build on riscv64 Product: Ports & Packages Version: Latest Hardware: riscv OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: office@FreeBSD.org Reporter: fuz@fuz.su CC: office@FreeBSD.org, riscv@FreeBSD.org CC: riscv@FreeBSD.org Flags: maintainer-feedback?(office@FreeBSD.org) Assignee: office@FreeBSD.org Attachment #237684 maintainer-approval?(office@FreeBSD.org) Flags: CC: office@FreeBSD.org Created attachment 237684 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237684&action= =3Dedit graphics/libemf: fix build on riscv64 Add missing RISC-V specific bits to winnt.h to make the build succeed. These bits are custom written stubs. Test with Poudriere on riscv64 armv7 arm64 FreeBSD 13.1. "make test" passes. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Nov 11 10:23:18 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N7vtH5vPCz4XJ0f for ; Fri, 11 Nov 2022 10:23:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N7vtH3Lhgz3LkN for ; Fri, 11 Nov 2022 10:23:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668162199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0/o4tsnuotrmVsLQc8A1u08SW70m/Ii7i+zD0h/RIAE=; b=lSWYzU7mmDj5nAHAdRWwgv0B6e06IkNnpNEKLFpCEnKokWQ36y+mqzYNtw9NrzlKVsHHQ4 f1sIb27o1LNaAj23k1on+byawzkh+7W5HaRSMqTG9E3u2AdXstzMrZtd1qTk4yA+Q8v5Ri noL0Uhgq8Yi75IWnIEvNBaPZkEACfG55L036CYbP7g7Oy0RnTjc48DGvDP3VtbFyhVbSTd Gxj50OIDlOdzaNEXEQam2dCRZCw4+BMVwA6QTHUkwX+nh8RufdZR0yRDF9JpjF3FKqpoYd SFe0ZmUmxjkXeabQ8lRWFP3qdX4mHc2rltV9dXE/rievlG8lDLnV3NkBiT5yvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668162199; a=rsa-sha256; cv=none; b=LeWZ3BSUGGlnSuNw+ngo2FLE2SIrJ2kU7jfl2Qevg5aXD5RF21sL9fK45ELzeQ/QqXQe/A XcrOqeOaUMH7Dz0dkpevFR87LSLFKB2x/R80Ter+UwxAn9cPtNC+49PnoaaZW+38hKw84Z z4hKVl1dx4YmtajXQXyTAr6skLpYeiFtWobMiaIDxp5oTak+vlHB4Rm/rUY+wFl0CGsRj1 Wh9MKNye/nuE1gdr/ACkTfNnSGBJtVM8nkzQ1e8jGKQwwOs3VBNFV+L78Gh/0TiPf8+8hu CKzbkusGgruVpGwMPsMP8/zXyuKwAFYPFAT0xEM5coaIl/i63GY4NdBVMrcToA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N7vtH2TByzdjS for ; Fri, 11 Nov 2022 10:23:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ABANJq2003798 for ; Fri, 11 Nov 2022 10:23:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ABANJWf003797 for riscv@FreeBSD.org; Fri, 11 Nov 2022 10:23:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267395] graphics/libemf: fix build on riscv64 Date: Fri, 11 Nov 2022 10:23:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267395 Robert Clausecker changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #237684|maintainer-approval?(office |maintainer-approval+ Flags|@FreeBSD.org) | --- Comment #1 from Robert Clausecker --- Comment on attachment 237684 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237684 graphics/libemf: fix build on riscv64 maintainer timeout on patch --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Nov 11 10:23:28 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N7vtS67z5z4XJ5V for ; Fri, 11 Nov 2022 10:23:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N7vtS3qvGz3Ltw for ; Fri, 11 Nov 2022 10:23:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668162208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ruGWvOiP/sHYKeriI4WjV/oh2Wj3fPKoa/xXhoH2oSQ=; b=xXepv5OvdYg/HnC8/q6lAEUfAZFgHinV1tcmdZsNsdR5qTrf58ocvk7JLzWDq+yBeCLRhX la1sz+g+cXzQAICfniJexUIx8/2uVLTTujB2236JQmJRGhXBv8QB1BxlJGsTuVjbcWyDmM HHfqlSjbeHJnumxdIZd5Hk2djkCcxWjsRd3+fwxQztvduTSaqoNBIjJ+xun+i5ImM+phqR BZ3AR4ILHnIAszjysfLNJFsnPRFQz5L9F5SEff27jkryIH6h27e1DoWjA8IpjRPnZbHXGF Ye2rrLobiMVaCpEHkHM5F4p8qOvtj35GY4tJPm+PPBiBJngPzqfYOiQRKFVDDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668162208; a=rsa-sha256; cv=none; b=MXqruMSfouYOOwR9Iue7H65e0OHPFZsSqbMponkHgbYFOFDQnD57b6SwfGET3ZUdCvkD1O Ww8BC503Ha2zoucUnKb46yPIARQ2D8NRF+YqmoRPhJFEBer4eECz4qitwfF9x62DvHvQ/B ZmVscJV/KzwwLW4HObqSL9MrimJIruBWe4u2ZZjIIyrzCemN9hUKsJBE6jRZPVqCxgYhpq l4cBSFCFV5OoDtW1PRnBVqAH9fsJg0lwK/hwOnzOoqRBaejv+n8GLtDEdoKq0m31JYzBak L0cXCICXaQ4mC6w2X9HV2o2KLDXxxhDQG8M3PjJ73DVgkeMLwL0TLHwF43VFjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N7vtS2vvPzdq8 for ; Fri, 11 Nov 2022 10:23:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ABANSDN003863 for ; Fri, 11 Nov 2022 10:23:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ABANSCN003862 for riscv@FreeBSD.org; Fri, 11 Nov 2022 10:23:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267395] graphics/libemf: fix build on riscv64 Date: Fri, 11 Nov 2022 10:23:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267395 Robert Clausecker changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(office |maintainer-feedback- |@FreeBSD.org) | --- Comment #2 from Robert Clausecker --- maintainer timeout --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Nov 11 20:50:29 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N89nx6CCCz4g1mG for ; Fri, 11 Nov 2022 20:50:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N89nx4YgZz4TRX for ; Fri, 11 Nov 2022 20:50:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668199829; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iw29bcqsAB6RPBKWAKBCIAiZ2DBaSg5+qssA2YW6pKc=; b=DjVZgZ026o574X7Z9UdD1ZiLKMwJDznq2ATh9+xvPfNuqPfuxsQO1UYeEVubPCsmfnlkpB IcX7MbC8hJ/ikvSrypFhkwyVY4uyFkstwtjN4Sg2rFdjI7hKJoPhcOJvFGCmTIjpIxW+in LW1ORrKKIUwGrcZj9yS0zITKGew0G+0Fu+7R/D+aTeDbOfLRPJ7Svs3NBnC2RreBr2sW9C 03Qtfu0J2DrgiSvkbNWp2fCLbsIbPSCvAzSr6N76QcPouY7ve0f7xUt7uZKZqIvLc5dIIK 25ZdqAgvpHKDnqR0W6bPkXqMXFqLybA200uhOlzR5gnjzq6QI9AAKzVj3xybjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668199829; a=rsa-sha256; cv=none; b=Z9cshq1MJQaPmTbMSspgvJ8YbUve2zdByfkcmgYYqINh2U9/VFIbZiU61H0McUVJyhZkKJ 484rQKEDFmY4lcfoFegTYyYqPnsQGWCl5LZPkt/LPANEHL+mgqD8E9MHVf2Bk4DpsnhTIN 04FSQU8fSQ7I5DQbH/HALZ+737i3OX7ByrOOb25xAOCQ+k/n/9UEMGu/o7VS9X8vHrVW4+ qI8nFhSvbt1L0eeOKdQgZW4FaSUqC/9mM5B3Q8EMYzk5nevFEliwz8wkoflq/O+sl01qbK dwuht0idbnrVIoW9i950/guyHWtTLsm4CtHqMaLZW9jDXM7MbPI2gjgz+fDAkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N89nx3XG0zxLt for ; Fri, 11 Nov 2022 20:50:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ABKoTP0032872 for ; Fri, 11 Nov 2022 20:50:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ABKoTLD032871 for riscv@FreeBSD.org; Fri, 11 Nov 2022 20:50:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267395] graphics/libemf: fix build on riscv64 Date: Fri, 11 Nov 2022 20:50:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267395 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D2ff55486c6332a41e6ce8ebd9fcee56= d467a012e commit 2ff55486c6332a41e6ce8ebd9fcee56d467a012e Author: Robert Clausecker AuthorDate: 2022-11-11 20:49:16 +0000 Commit: Juraj Lutter CommitDate: 2022-11-11 20:49:16 +0000 graphics/libemf: fix build on riscv64 Add missing RISC-V specific bits to winnt.h to make the build succeed. These bits are custom written stubs. PR: 267395 Approved by: maintainer timeout graphics/libemf/Makefile | 2 - .../files/patch-include_libEMF_wine_winnt.h (new) | 85 ++++++++++++++++++= ++++ 2 files changed, 85 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Nov 11 20:52:17 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N89r205cQz4g25q for ; Fri, 11 Nov 2022 20:52:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N89r155fFz4VL2 for ; Fri, 11 Nov 2022 20:52:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668199937; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ml7oP8zxKEw/LSUYGhom/0rW6omOtf1tpJOXygdVwgU=; b=d7AoFuYlYkf7I7QkCUcO3pskPulGMcnpkeq/+Honv2FongzkhtHUEbVSsqSDx/jbGbMgCJ vp9GeN8b9KUeE2AGjDMv08DyAIUCZM9bnkCOqBJa9vfIFLGOkpkLMUSUWijyCRyH4Evxy0 On1NzWPZd1W7DU8iUl7dzgT+XpYlt06TqPlhpWGodPqrkDbVqPwgBHBuLk7OgJySsVSKMY zOQrsP4mh3VfCTZvOMQUy9QZPn06biu0WJ1IH08dVYMmhaZnbtBP+sbjtL7xYQomczxgQi AxdxlTJ5CI31W+rhx8D4Om47M8im9VeHX/tZOWX+g0QFHa9HqMnMLe0y2pI9tQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668199937; a=rsa-sha256; cv=none; b=IOZ9jL99HTjb2SF9YWwacpvIChCZ1M/RF/qfDMZyTI0eqUwYDBdtaYXqCPLwes8y3P2MZc h+8KXK75RnAWiYiJCaDvKWsdUUvSjARXN3+5vKk0L/EYYVtUw6+cZZk6CDyuxPj8hWy2g6 CTaw8ldGhx5rEiW08zEBzNUizdY/Pz1BAAl8J5qFX9x8NJQZEil5+auGh0+I3Ql8H783lP AqbTAH2jjhPdhm12VKkGE+5d5FWwbezwhIyKim9bhLKVGvIkZpnPtu8WDywzkXnYlZ+Xtc tKMtql5FcmLOvRVWizTxuBrcpwPfNPp283ZWepUsG9z1KRHnDBDNOhwo+9r3UQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N89r13srpzxMY for ; Fri, 11 Nov 2022 20:52:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ABKqHo4040884 for ; Fri, 11 Nov 2022 20:52:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ABKqHjl040883 for riscv@FreeBSD.org; Fri, 11 Nov 2022 20:52:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267395] graphics/libemf: fix build on riscv64 Date: Fri, 11 Nov 2022 20:52:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: otis@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- X-Bugzilla-Changed-Fields: bug_status resolution cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267395 Juraj Lutter changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED CC| |otis@FreeBSD.org --- Comment #4 from Juraj Lutter --- Committed, thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Nov 13 00:45:09 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N8tyF3cmkz4dFVG for ; Sun, 13 Nov 2022 00:45:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N8tyF1d9Qz4H7N for ; Sun, 13 Nov 2022 00:45:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668300309; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U/56dN39qbTOWJBz7yTwJNkG/qdLorVj3X3kv3CsPso=; b=LgOsuuOjQuTnJHk2XSRT7qbjpCMP5AtAvqQ4cYW6XjLiMFW1Ck1XD/hTfOetwogSSsQmyD RG0lge/VXjrLaLPvf/fPs+SpJ+VISuYCENi+YhncE9+JNI0CElu6wX7zyToFojraEsVFlz 7QzGrpXigizfy/dZftWdMVMfckhmspFBhN+M/bw1yeWvUCvadSbHvIxhME0Jk1RPgKuQ9C ktaA4X6xE1/gckQEV53ggrPi1bbPFpP00SqC8GDu2kH2kZOs32WK+IzWil3mA4QnxDqNQw w/sHgKgQlPafM7Y+c4l5i325iF97gt0wsDQFBDt6QwRia3KC8wtcNEZeKJXlBw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668300309; a=rsa-sha256; cv=none; b=qH+qAa2b7ZbH24rNC/dUirfTrvt19N9eUOLWGCs/LLfCXTqUAz3o4id1jnHibb/W1R/jos M3hZV36OJg0lfVB1f1q9S2LYwBW5dZA99qNiMswoMtJUnrzrnjlv41k6r/kMX7+VL8tkxp sZySTxmThr1/ZfpKoM/x3ai1OnCy303f6ofJlryKFxBIWl1bi7Cf3zOpt53ohLftNfygCI REQEXC8u+ZXKqRT0hNmCYLqyx+2ETEU0SoIC7KPgW4nCcpAISexuma4PYYMlp6Y3wMrJ1/ w81K7aS1R/d/TJ4AQdNVbBkVeBbllhj6s5eUyM4a36PZq9Jb1S410FR8SOqtrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N8tyF0bddzjMW for ; Sun, 13 Nov 2022 00:45:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2AD0j98M010364 for ; Sun, 13 Nov 2022 00:45:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AD0j98H010363 for riscv@FreeBSD.org; Sun, 13 Nov 2022 00:45:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267395] graphics/libemf: fix build on riscv64 Date: Sun, 13 Nov 2022 00:45:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: otis@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- merge-quarterly? X-Bugzilla-Changed-Fields: cc bug_status flagtypes.name bug_file_loc bug_severity resolution assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267395 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grahamperrin@freebsd.org Status|Closed |In Progress Flags| |merge-quarterly? URL| |https://github.com/freebsd/ | |freebsd-ports/commit/2ff554 | |86c6332a41e6ce8ebd9fcee56d4 | |67a012e Severity|Affects Only Me |Affects Some People Resolution|FIXED |--- Assignee|office@FreeBSD.org |otis@FreeBSD.org --- Comment #5 from Graham Perrin --- Merge from main to 2022Q4? Thanks --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Nov 13 12:39:54 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N9Bpz0Xlxz4fc6y for ; Sun, 13 Nov 2022 12:39:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N9Bpy6VSwz4Qbv for ; Sun, 13 Nov 2022 12:39:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668343194; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eX5qHXs1GcgaOvaUEqnt3FMLTc6VAIif2WSp+UDkOI8=; b=yZMhGTITrM8GTdjg0YZZv+0tU+kbtUgcKOAfFbfLkHLJmtS36M17zBNRtOH2naCutbeAmV pUQOnJT0OPYCH4C5EWIzbaGm1x9LEqMKqTERVT1hBViLJ35N94p7qUzGbMFGQjwQ5AU+wy BoM0936lVif95sSjVJInEj8+/PurGlGN0nG0LI2ryAtO0DXOYv4rUeW0tCcYvvddEj2654 PRhbKoRVgLHfEGeS6XW0nvmm1dRsm5L3AoDpsiiicrzvjBcGI8pOqPARbKccam4eplLMBs zHU/3ymzC84bK6GJExeSZiDQF7sVVg3tXeCSGYuAT36jqh34Kb2RIe/ZZYlupA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668343194; a=rsa-sha256; cv=none; b=U2GU6NSGtz/4epLbmvHX3De7K029MSwwv2nbQO3b5iZpNmwHiD2WnLgtx4Zp81NcqOqWeQ xzjrleQTdTOoHVFWwKVfqL/KhPJXv3+cyFy5jGysuvPzCi1szN+YWVmhBJHCP0hvyHUVJV /yfDSFwiGHIBlNUGwqexz12+Z95Cxy7fGkFFDptIHuGSjeNQ6DNVXsU5tUU74yY3GRQYaq E4kRS8ksNTkZr3BlorKLVLZlGABL12gbUrhovjMltFA+6hrLfMbBmo/RC7/M+Z5jz1DXcf 0rykytQVlFyDdh0dqLfXh2OIUMBUFnlCjeaFOYX5sgwAQHej9pkn7d1WZ8wv1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N9Bpy5byfz134H for ; Sun, 13 Nov 2022 12:39:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ADCds4L051940 for ; Sun, 13 Nov 2022 12:39:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ADCdscR051939 for riscv@FreeBSD.org; Sun, 13 Nov 2022 12:39:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267395] graphics/libemf: fix build on riscv64 Date: Sun, 13 Nov 2022 12:39:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: otis@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267395 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch 2022Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D96ca1951b9af07aea6c84f36eb36284= b16282a0b commit 96ca1951b9af07aea6c84f36eb36284b16282a0b Author: Robert Clausecker AuthorDate: 2022-11-11 20:49:16 +0000 Commit: Juraj Lutter CommitDate: 2022-11-13 12:39:13 +0000 graphics/libemf: fix build on riscv64 Add missing RISC-V specific bits to winnt.h to make the build succeed. These bits are custom written stubs. PR: 267395 Approved by: maintainer timeout (cherry picked from commit 2ff55486c6332a41e6ce8ebd9fcee56d467a012e) graphics/libemf/Makefile | 2 - .../files/patch-include_libEMF_wine_winnt.h (new) | 85 ++++++++++++++++++= ++++ 2 files changed, 85 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Nov 13 13:48:06 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N9DKf50Nnz4fqkX for ; Sun, 13 Nov 2022 13:48:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N9DKf2wHdz3Hng for ; Sun, 13 Nov 2022 13:48:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668347286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FP1czrVdo6rcVoMSrWWFNVisXMo8aUP7Bc9u3+unJYQ=; b=VyjRiI1YDVdYdcJgKdIu9OxhjK57NGGAUfVX7OyVydy++8oV8RMLllw6HCLs/myjf6Wq6M +P1uKRE/FWm9NOCoEUo9yAICs7XcsHabYxnX3R11efFKImZe1K/6w/qOzUZ43qjC75N5Ij Fa4JuuIr6EzsLqXQmftsd6aXHUo+VcUXCaLpIPC4c/wEJmPvjBmA2gX1qh/Qck9Tw6KDMa n3a2FubPPUE+uhxew5wwa8GcSqYwmQqeDzhO8aFtkLUNhkC3UHWQP5lPim5dtpsdu6e+M8 1l0j9g3n8l9SodTo6cUIYIyJHQlcghUfdtaYBh1p08AJSILHbQplv8svWB0rJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668347286; a=rsa-sha256; cv=none; b=VPTdpZ3ZzaD77S6e6sjPusVuhPBVdqflev3tqroqdw6ALOaVmN9n1Ogdhn2vuglvKyaqm2 4+xIKvv2cgSFsLF75RenME2yfAaeoz4PYfG8EiGDu4cBVZCxY75/GXfz5XUu5trR/aR3Zv LPoTqjMJIQ8EiFnS1IOcV56e0HJNrssunXyhIU4g69ondyEWHRpqfZEwbeMnSbaEH6h5d9 Kypw42SNJ8YKGPexuLwDj2TR3MMFuE22OffHSWl47qtzENJdMeUYQj9CBNci1A/ILnRvN4 deKIkEaBy37DD+f9GDML0xwxojb1hFDeG4cNtmhnMwovo/Pz/vg/SFPGCsAZqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N9DKf20Bkz145G for ; Sun, 13 Nov 2022 13:48:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ADDm6Bt058935 for ; Sun, 13 Nov 2022 13:48:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ADDm6FS058934 for riscv@FreeBSD.org; Sun, 13 Nov 2022 13:48:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 267395] graphics/libemf: fix build on riscv64 Date: Sun, 13 Nov 2022 13:48:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: otis@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: otis@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- merge-quarterly? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267395 Juraj Lutter changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|In Progress |Closed --- Comment #7 from Juraj Lutter --- MFH'd. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Nov 28 17:16:32 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NLXFF0W2Cz4jPdG for ; Mon, 28 Nov 2022 17:16:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NLXFD5JKBz40LG for ; Mon, 28 Nov 2022 17:16:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669655792; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bCzwNtvS7R9JBuSw1W6e/WX+FwH4hfU79Tualq+e7ng=; b=GKLh4GgNrFqDECKHfbKmgkGswOX6qzh7sZt9hmfdMl9MqseHiSlIjRez5KDCdsBqUgM3z/ uWk32Payk2PUlk6HLK5heABHuuHO0+Jn/L2OqVoI9mHNQkrt7p013k492OwJ/UdZs0Ksdc 48Eu78gRz421byvhRBTgugsE5ZFKg2j4CB86wufBRsQVARNupHnEVjO8Z+LaSue4h1ZLUw 1FFagyAYKLfCgCzkPYs6FFhClWkgn6W/mKHeDu4BeySnJpHSW1tkVZvOlMcIkfVncf3zvT ImmYSzKKpEVm8/DHJQj0oxMc5z4V8oy0MReysDs3eT0lf1C06clsczBWCxXJrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669655792; a=rsa-sha256; cv=none; b=SdMMz3YfVtlPQ2Sz6ODw1OJtUsdZYpKk0BEzLWqyagNNsEMw+rhb+7XWXFhfOifQlhlePb n0mmSfkH65KDrzBDzfM66WyqE307P9tBtKVPcp+kuVRIuT8r1uBTZhA4NXLEt1o3LfNoQT 6cuJETR8I8HSrqJNkWOx3BR/Ig19cV3o4AL72MC45S27MIRGF/0NaPqu8Uw+plGjkJHuJy ydE8W9fb2F3P4rIwXKNOpIzM2TMegSlQnRISvWWEO0J9HyvJVkr53UH5SZdQGjGdZkrccL 9y8t5GmCLV70xHUfXdGetaW/M1E6i/Z05m9jxyzqQqMi7yOmF8GbNUYeT6cRIA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NLXFD4KxMzlRL for ; Mon, 28 Nov 2022 17:16:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ASHGWsk087543 for ; Mon, 28 Nov 2022 17:16:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ASHGWxu087542 for riscv@FreeBSD.org; Mon, 28 Nov 2022 17:16:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 268044] NUL-byte FS corruption using QCOW2 image for RISC-V Date: Mon, 28 Nov 2022 17:16:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fbb@tril.bespin.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268044 Bug ID: 268044 Summary: NUL-byte FS corruption using QCOW2 image for RISC-V Product: Base System Version: CURRENT Hardware: riscv OS: Any Status: New Severity: Affects Some People Priority: --- Component: riscv Assignee: riscv@FreeBSD.org Reporter: fbb@tril.bespin.org This issue is for the following image specifically: BAD: FreeBSD-14.0-CURRENT-riscv-riscv64.qcow2.xz 520116860 2022-Nov-23 11:18 I tried it on 2 different versions of QEMU (5.2.0 and 6.1.0) on 2 different host machines. The symptom is it will boot and seem to work. But soon aft= er writing to some files, files will begin to have a string of NUL bytes overwriting the beginning of the files, corrupting the files. The files th= at are written have modification timestamps and the NULs can be viewed in vi as ^@. Whatever is causing this also affects the filesystem metadata, since o= ften the entire root FS becomes unmountable due to corruption. Using the RAW image from the same directory https://download.freebsd.org/snapshots/VM-IMAGES/14.0-CURRENT/riscv64/Lates= t/ results in a successful, stable system that does not exhibit the NUL corrup= tion problem. GOOD: FreeBSD-14.0-CURRENT-riscv-riscv64.raw.xz 520071464 2022-Nov-23 11:29 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Nov 28 17:27:04 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NLXTN4Yjtz4jQwQ for ; Mon, 28 Nov 2022 17:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NLXTN2MH0z43bG for ; Mon, 28 Nov 2022 17:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669656424; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=n7gOPPVT3mX2zv78moFb9s+18DRd5lIthKc1dAVePyE=; b=jRmKDaekb8JjX6ACiofXZtKa0Wh9vbxKWO006EuwwrNxIgfYC85l62RJcHsNEEj2xietJF YvSxGdd81jwNGTRDd0m+VqSA8Q4GpnlsDbYrMdbBKZCljSU5kdRc1Ev/E7+FG3+jhNY9zg jHeTZgdVz7plZ64KaLJpNES49ozyxZKVoltF2NEIkMLLWfrsDuovBfrHBgHnhHGaBkodZa l+YA1D902X5IrXDn2CHOv0u5BkSLl9cwd2RI6WLRVNR9W4ht6hlWGtNEcnB9OL7AazErH0 cNKP6LNxqMzZAo3gs/xSdsPTpjDDwdYq+mzDbu8r3u1hqt2F6DCp1GSMM1IslA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669656424; a=rsa-sha256; cv=none; b=pDQUSvuXkkkgnoyYYD8LW3QblcfRbLTovhu1ZvsR40rbraP5siiHV8q6Y2bua33xx17ZUq snU0BIj++A82sHSOPy1reuq8YChXoWBlMRXg+OmeW+Z3rK413VpsUV5WXppScJCmsOhUgq OJJZWpSE+ffpIY5EIFhCZxHzhLXH0EiV/820s1XX5eZHh7Di3SFXy6qgpou205eC07uFsw g4AlmMVVvVDW0QMGZ2NoWhSRotlOFpWJzdPSRy2LVY+inoqfNnGRHTjTh0gLElrgXlkhsH uELqk25nVf8TTs4Kmbbq2IFIwI9vQ5vfguC+oOz40lWKvBWUMRgRA6gbWwT0fA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NLXTN1K38zm5Z for ; Mon, 28 Nov 2022 17:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ASHR43j002090 for ; Mon, 28 Nov 2022 17:27:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ASHR4dK002089 for riscv@FreeBSD.org; Mon, 28 Nov 2022 17:27:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 268044] NUL-byte FS corruption using QCOW2 image for RISC-V Date: Mon, 28 Nov 2022 17:27:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jrtc27@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268044 Jessica Clarke changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jrtc27@freebsd.org --- Comment #1 from Jessica Clarke --- How are you running QEMU? This is unlikely to be an OS issue as QCOW2 vs raw should be completely invisible to the OS and handled in QEMU. It's possible something mangled the QCOW2 image during its production but if QEMU's not complaining about it then probably not? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Nov 28 17:32:15 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NLXbM319Pz4jRlR for ; Mon, 28 Nov 2022 17:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NLXbM1JKqz49SP for ; Mon, 28 Nov 2022 17:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669656735; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wmoPKqgLxQtzphnaGcW+hLiBXfVhxnVNHPWTT7gJpWM=; b=KFi7ClneVSyexZCnGL3gX7xD35x6NZSxtZyzDgBUdeSEStxVpznyuuz3W5z6fXe8GBWlzI P1jhFXt0vet4ov53DmgRSawI6b9Tk/4qM2f8fClSB+GAHCQ0YuGgBqqCutiwRWtxFsZA0D 5nKSpcA70lroDgwFfxLr6n/wsx0PlZIIQbn5pm5CxoC8AGLTTySoQ8QhHT7wGamIsOq/Mw a5e1bNEyi7gATlgWMHwUlOJVuzS+WGUHXsfD7fj1MAkic/A+UOhheTOxt/O7mQ3Z/dMSpu PMLS0JSYdeO446D2YTEv0EgBTwRWmrA/rm4sIpGqk8MZ5bXlJynIYFYZCpXn2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669656735; a=rsa-sha256; cv=none; b=lxELJ1zALdJ0sCfid/f8i3NQvwZaipcb12Tihnn2dLFTZif3yu8Q39UXPHVfjzohpRMzRS tWuXDdI2InK2YegwzuuM9jjBpIuhNgsbaZL0drHuXbNZFL7c89bg3VmFSqvoxYLEzIgHsn 2IIEH6UpPnslZCIPGU/1KyUNXklwxEBnxVNDfJroB3VYX7mpX2BqhXLYSltFDNW4OhmWMZ An+nOTD2ckz+bZP2xhILkS5g6O7Jj4Ybi9vvYqeqW35VYb6IH9M6ZRHv3d7xYMpmU3azK7 7+8u82ZwtO3jHBS5cf4iof/IipuKmmY+OW2zcF5LuBW4Sqlwdy64hW1/vWGifg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NLXbM0MJ0zm68 for ; Mon, 28 Nov 2022 17:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ASHWEmm010531 for ; Mon, 28 Nov 2022 17:32:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ASHWEHi010530 for riscv@FreeBSD.org; Mon, 28 Nov 2022 17:32:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 268044] NUL-byte FS corruption using QCOW2 image for RISC-V Date: Mon, 28 Nov 2022 17:32:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fbb@tril.bespin.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268044 --- Comment #2 from Tril --- 6.1.0 qemu script #!/bin/sh VID=3D1 NETDRIVER=3Dvirtio-net-pci USER=3Dtril exec /home/tril/.guix-profile/bin/qemu-system-riscv64 \ -machine virt \ -nographic \ -m 2048 \ -smp 4 \ -bios /home/tril/.guix-profile/fw_jump.elf \ -kernel /home/tril/.guix-profile/libexec/u-boot \ -net tap,ifname=3Dtap${VID} \ -net nic,model=3D$NETDRIVER,macaddr=3D52:54:00:12:46:0${VID} \ -drive file=3DFreeBSD-14.0-CURRENT-riscv-riscv64.qcow2,format=3Dqcow2,if=3Dvirtio \ -boot c \ -runas $USER 5.2.0 qemu script #!/bin/sh exec qemu-system-riscv64 \ -machine virt \ -nographic \ -m 2048 \ -smp 4 \ -bios /home/tril/.guix-profile/fw_jump.elf \ -kernel /home/tril/.guix-profile/libexec/u-boot.bin \ -device virtio-net-device,netdev=3Deth0 \ -netdev user,id=3Deth0 \ -drive file=3DFreeBSD-14.0-CURRENT-riscv-riscv64.qcow2,format=3Dqcow2,if=3Dvirtio \ -cdrom FreeBSD-14.0-CURRENT-riscv-riscv64-20221123-fd5882e1f2ca-259385-disc1.iso \ -boot c The only change necessary to fix it is to change the image to the raw image with format=3Draw. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Nov 29 06:50:06 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NLtHy6LBJz4j0Zy for ; Tue, 29 Nov 2022 06:50:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NLtHy39Pyz3Kwb for ; Tue, 29 Nov 2022 06:50:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669704606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1nvEtQTrfW3iv2H0JrA2J7hsHrusTCrf+KDq1XwUAd4=; b=UQq5XByUIdKiDaj/4Nc+Gi7gwovqjua40ZC4Iw3XK9Xp9YRvPVREVQchfNnqEKk7tLzDX5 Hy2ufXhdV+U9S2eyqOhlVrKovkh4YMx03tA369C1u5v810N4Eq/+MDvNO+kNpmOE6zNLiq Tbh6TSmpShsNXKQMJPPGobClK28kQKdTmbZmDtmZRmWTRdJE6FJgIRA0+VAXOOjWxEgqbh SLRnZgSpDqqEhybMw9dcvUc6Wfgds8mJVzbxbvYor3VMi3OR6HcW1esymFhep0o5O1EcvH GgiqNKqMQMQL5EI/71OT0YF8RzAkJ+lKkgqDfp9ecNEdj18ueX4KvnFdFZLdfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669704606; a=rsa-sha256; cv=none; b=GHkf/Qd+aSIzbpt0+z1LSeBpKpWDzxfRi2KFbiliD7KD9sSu49xKyL413+zmbbotyNxpDv rsU15FkX7lJR+cNI2x5AuimBU73Od7ThfEj3xF+0qlhlEFZNOvfcfqqN1IRxgOIqMvnXuq SYIXBk75iFG7FzUc6AoVKCJi4s2PWgv6/2IoxKEww2Pr7R+yLkuo6uKUtImeLUS3E95bSi N1yovju2Bj5MbdBNTYphQWXgb97K1ycUHhfoHq+9verLO7FPsMl5iGDoEXVcwcqrKah1wY GAevClP+D3CVxS9tmnEO2VwBDV2thxz6cUu0QycPl2kmZsloMhdbZ2kVrQvAcA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NLtHy2D1dz178N for ; Tue, 29 Nov 2022 06:50:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2AT6o6lL056700 for ; Tue, 29 Nov 2022 06:50:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AT6o6wm056699 for riscv@FreeBSD.org; Tue, 29 Nov 2022 06:50:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 268044] NUL-byte FS corruption using QCOW2 image for RISC-V Date: Tue, 29 Nov 2022 06:50:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fbb@tril.bespin.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268044 --- Comment #3 from Tril --- On the machine using RAW for the root FS, I added a second disk with type Q= COW2 and have been using it and haven't detected any corruption yet. so I'm lean= ing toward a corrupt QCOW2 on the archive server as opposed to a QEMU bug. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 2 09:04:24 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with UTF8SMTP id 4NNn7f2WjMz4jp5p for ; Fri, 2 Dec 2022 09:04:30 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4NNn7c2svWz438b for ; Fri, 2 Dec 2022 09:04:28 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-riscv@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-riscv@dino.sk; dmarc=none Received: from zeta.dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 00000000025A823F.000000006389BF99.0000C614; Fri, 02 Dec 2022 10:04:25 +0100 Date: Fri, 2 Dec 2022 10:04:24 +0100 From: Milan Obuch To: riscv@freebsd.org Subject: Re: PINE64 STAR64 [and now: new board available now] Message-ID: <20221202100255.73917292@zeta.dino.sk> In-Reply-To: References: <9169b2f3-7e31-775a-2456-51aab1569020@pine64.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[dino.sk]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4NNn7c2svWz438b X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Tue, 27 Sep 2022 01:52:33 +0200 Tomek CEDRO wrote: > Thank you PINE64 Team for the update on STAR64 board release date :-) > > I am attaching freebsd-riscv@FreeBSD.org mailing list and the FreeBSD > Foundation to this reply. > > Mailing list is the best place for RISC-V related announcements and > contact with FreeBSD Unix users and developers working on the RISC-V > target implementation. Please subscribe and send further RISC-V > related announcements here. > > If you consider sharing engineering samples with the FreeBSD > developers the FreeBSD Foundation is the best contact. > Hi, While Star64 is not yet available, it would be nice if someone more knowledgeable could do some preliminary evaluation from FreeBSD side, i.e. how much work would it make to run FreeBSd on the board. Good starting point is wiki page, https://wiki.pine64.org/wiki/STAR64, where links to documents for various parts used could be found. Most interesting would be datasheet for StarFive JH1170 SoC, I think. No idea how detailed it is. Today there is new board avalable for purchase, Ox64, really small one, for US$ 6 and US$ 8... So one quick question - is 64 MB RAM enough for FreeBSD on RISC-V architecture? It would be really great for small devices (something like IoT, sensors, etc.), even if it could be limited somehow. Regards, Milan From nobody Fri Dec 2 09:07:52 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NNnCc2lfkz4jpKc for ; Fri, 2 Dec 2022 09:07:56 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NNnCc0Xxpz43CT for ; Fri, 2 Dec 2022 09:07:56 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wr1-f54.google.com with SMTP id bs21so6829878wrb.4 for ; Fri, 02 Dec 2022 01:07:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BsptJ9EnQWGWl9kXvezH2cgI/CUFAMh/t8u7E17I3Gs=; b=X8YZV7fe7ffK8/HF66aTIfjz7/B7tRSjXOiAwNPPOAiv1ffZtZ7eQ24tJGCCyp7hIx S4gRUdCmwef43Zh/0sWanKmTkdc0MCZVvTGM2Jm8NS660d07W5gkuHeeVM70qcYoIdLY 1uapZH5tvi8uMRKeelTXicr8+Md7hCNzxJXuCqmeiwNXM2Ak7+byL8APwu4JPFDm4gTO 65IEXJdLa0FMpkr3iWkNaA3dznr3dZPS8fX0Dpd0WiNavWj/n0ZAktWAhookn/p5JpP9 RMry192f3sTag+s0HP2a7+a9QPsPPmVm/Sj8hPmcbt4ry6OTeEHufRxL62+DpcqVXzQv OYyA== X-Gm-Message-State: ANoB5plXPGeotpToseCf+1kxVSDB8S0U0d2voQ2Cdu8hiyWAZyLPa7W8 zCAV6AOfFWup5zW0pSbJRJaUpabBKxe17z5j X-Google-Smtp-Source: AA0mqf5a///10pWdEIWnOp6FnwTNVgYO9RhkN601szKIrxCmtviS6/aZL+P4Xm3NScFi+2vdzP3tUQ== X-Received: by 2002:adf:ea4d:0:b0:22e:38b9:5d6d with SMTP id j13-20020adfea4d000000b0022e38b95d6dmr33478924wrn.276.1669972074200; Fri, 02 Dec 2022 01:07:54 -0800 (PST) Received: from smtpclient.apple (global-5-141.n-2.net.cam.ac.uk. [131.111.5.141]) by smtp.gmail.com with ESMTPSA id n187-20020a1ca4c4000000b003d005aab31asm8173364wme.40.2022.12.02.01.07.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Dec 2022 01:07:53 -0800 (PST) Content-Type: text/plain; charset=utf-8 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: PINE64 STAR64 [and now: new board available now] From: Jessica Clarke In-Reply-To: <20221202100255.73917292@zeta.dino.sk> Date: Fri, 2 Dec 2022 09:07:52 +0000 Cc: riscv@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <9169b2f3-7e31-775a-2456-51aab1569020@pine64.org> <20221202100255.73917292@zeta.dino.sk> To: Milan Obuch X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4NNnCc0Xxpz43CT X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 2 Dec 2022, at 09:04, Milan Obuch wrote: >=20 > On Tue, 27 Sep 2022 01:52:33 +0200 > Tomek CEDRO wrote: >=20 >> Thank you PINE64 Team for the update on STAR64 board release date :-) >>=20 >> I am attaching freebsd-riscv@FreeBSD.org mailing list and the FreeBSD >> Foundation to this reply. >>=20 >> Mailing list is the best place for RISC-V related announcements and >> contact with FreeBSD Unix users and developers working on the RISC-V >> target implementation. Please subscribe and send further RISC-V >> related announcements here. >>=20 >> If you consider sharing engineering samples with the FreeBSD >> developers the FreeBSD Foundation is the best contact. >>=20 >=20 > Hi, >=20 > While Star64 is not yet available, it would be nice if someone more > knowledgeable could do some preliminary evaluation from FreeBSD side, > i.e. how much work would it make to run FreeBSd on the board. >=20 > Good starting point is wiki page, https://wiki.pine64.org/wiki/STAR64, > where links to documents for various parts used could be found. Most > interesting would be datasheet for StarFive JH1170 SoC, I think. No > idea how detailed it is. >=20 > Today there is new board avalable for purchase, Ox64, really small = one, > for US$ 6 and US$ 8... So one quick question - is 64 MB RAM enough for > FreeBSD on RISC-V architecture? It would be really great for small > devices (something like IoT, sensors, etc.), even if it could be > limited somehow. It uses the C906 which willingly violates the RISC-V spec and would need =E2=80=9Cerrata=E2=80=9D handling to work, aside from the memory = question. Jess From nobody Fri Dec 2 09:13:13 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with UTF8SMTP id 4NNnKn42H1z4hqp2 for ; Fri, 2 Dec 2022 09:13:17 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4NNnKm60sFz446T for ; Fri, 2 Dec 2022 09:13:16 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-riscv@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-riscv@dino.sk; dmarc=none Received: from zeta.dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 00000000025A8254.000000006389C1AA.00016E57; Fri, 02 Dec 2022 10:13:14 +0100 Date: Fri, 2 Dec 2022 10:13:13 +0100 From: Milan Obuch To: riscv@freebsd.org Subject: Re: PINE64 STAR64 [and now: new board available now] Message-ID: <20221202101313.361c4025@zeta.dino.sk> In-Reply-To: References: <9169b2f3-7e31-775a-2456-51aab1569020@pine64.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.27 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.970]; R_SPF_ALLOW(-0.20)[+mx:c]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[dino.sk]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4NNnKm60sFz446T X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Fri, 2 Dec 2022 10:04:24 +0100 I wrote: > On Tue, 27 Sep 2022 01:52:33 +0200 > Tomek CEDRO wrote: > > > Thank you PINE64 Team for the update on STAR64 board release date > > :-) > > > > I am attaching freebsd-riscv@FreeBSD.org mailing list and the > > FreeBSD Foundation to this reply. > > > > Mailing list is the best place for RISC-V related announcements and > > contact with FreeBSD Unix users and developers working on the RISC-V > > target implementation. Please subscribe and send further RISC-V > > related announcements here. > > > > If you consider sharing engineering samples with the FreeBSD > > developers the FreeBSD Foundation is the best contact. > > > > Hi, > > While Star64 is not yet available, it would be nice if someone more > knowledgeable could do some preliminary evaluation from FreeBSD side, > i.e. how much work would it make to run FreeBSd on the board. > > Good starting point is wiki page, https://wiki.pine64.org/wiki/STAR64, > where links to documents for various parts used could be found. Most > interesting would be datasheet for StarFive JH1170 SoC, I think. No > idea how detailed it is. > > Today there is new board avalable for purchase, Ox64, really small > one, for US$ 6 and US$ 8... So one quick question - is 64 MB RAM > enough for FreeBSD on RISC-V architecture? It would be really great > for small devices (something like IoT, sensors, etc.), even if it > could be limited somehow. > > Regards, > Milan [ Follow-up to my mail ] Ah, links forgotten: https://pine64.com/product/128mb-ox64-sbc-available-on-december-2-2022/ https://wiki.pine64.org/wiki/Ox64 Milan From nobody Fri Dec 2 12:35:38 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NNsqX2WQ2z4jLkK for ; Fri, 2 Dec 2022 12:35:52 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NNsqX0PB2z4QJF for ; Fri, 2 Dec 2022 12:35:52 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x82f.google.com with SMTP id fp23so4552845qtb.0 for ; Fri, 02 Dec 2022 04:35:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=My9dABjO91CK+/DY3aGOa90hFPW9wIn/+XXCk5N/FKc=; b=cX5IIEVFqBC62IAsTzET0FlrLHW2ndDZWz2X/2eCxf09DS7voHzRPR5+nRlVXf9oSb I2Iv3pVCAHILA4gZhfZ5Gp/yQW5uOMMJun+80EAJSnAb7bW9/nkBSPRf0Cn/xvRn3tG9 rhAi4wUkkgQxoS01da3feR5wPFwZ5Bbwb9L+HewULYUPBe0xLwFcgvHuVMr1G5uVBrd4 TU7fpz0rAus6QlH8dqXqfXMaltPYVsg1XAmSm91ttD2+VyjVIgEfZF09i3c/G+W1Rmvs HDUtNgsNvw5GWuIs/jVU3yuHp9Xsx4xhuoUm8xVOLJAOBMVVfAjAN45x0ectbBFL07MO 1pdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=My9dABjO91CK+/DY3aGOa90hFPW9wIn/+XXCk5N/FKc=; b=tlWapkucYahhy8/dWGhYoQL+nhnfDvLPvkpBM8VaP47gl1M4dWZkrY3rYChbobZvrK 2AKbDeYn1ih0K4pEhGTYbjnHz3pZnz+MQF0JpnZjCmbojab1r9t2xy+qDIXKkQddFPlK wzNjHVmoub39ac99gLBZAUndSwfz+6/tvWXtywf8K3+0KyS7Kjg4jYWs85dkcVG736Zv 8OV+/+fy1A2QcwBWf3J0UcsukkgBAZrDRDi0FmxT7Cu9z+q53iBgC9Ertsx+7cAhXE8Y nWBg5R6PWvgLAv6aLHt0HLLWxj5HByeeiTDIkL712At+c8amz+OYreHYbtP2GXxRXuIn 9X2A== X-Gm-Message-State: ANoB5ploDm7Li+nfeVnm7PYAsk6YZPICa5ZWamHmoZwjssie4Q8jndVp XqJGHSY7y2QozEnzLLzVxeRwX447563syN+R X-Google-Smtp-Source: AA0mqf6R5wpvl0VwAa1Z7e0TvvCB4m8jtTsjlnyGMttBHrCTBeQ6Kuk7m1HK8ZB3nr7zcMBI3LyJyQ== X-Received: by 2002:ae9:f80e:0:b0:6fa:ffd4:d7d8 with SMTP id x14-20020ae9f80e000000b006faffd4d7d8mr48964707qkh.696.1669984551060; Fri, 02 Dec 2022 04:35:51 -0800 (PST) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com. [209.85.219.178]) by smtp.gmail.com with ESMTPSA id ay18-20020a05620a179200b006ef1a8f1b81sm5392262qkb.5.2022.12.02.04.35.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Dec 2022 04:35:50 -0800 (PST) Received: by mail-yb1-f178.google.com with SMTP id j196so5878643ybj.2; Fri, 02 Dec 2022 04:35:50 -0800 (PST) X-Received: by 2002:a25:2fc2:0:b0:6f2:2369:23f7 with SMTP id v185-20020a252fc2000000b006f2236923f7mr37816317ybv.437.1669984549785; Fri, 02 Dec 2022 04:35:49 -0800 (PST) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <9169b2f3-7e31-775a-2456-51aab1569020@pine64.org> <20221202100255.73917292@zeta.dino.sk> In-Reply-To: From: Tomek CEDRO Date: Fri, 2 Dec 2022 13:35:38 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: PINE64 STAR64 [and now: new board available now] To: Jessica Clarke , Milan Obuch Cc: riscv@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4NNsqX0PB2z4QJF X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Fri, Dec 2, 2022 at 10:07 AM Jessica Clarke wrote: > > On 2 Dec 2022, at 09:04, Milan Obuch wrote: > > (..) > > Today there is new board avalable for purchase, Ox64, really small one, > > for US$ 6 and US$ 8... So one quick question - is 64 MB RAM enough for > > FreeBSD on RISC-V architecture? It would be really great for small > > devices (something like IoT, sensors, etc.), even if it could be > > limited somehow. Wow, these RISC-V devices getting more and more interesting :-) This tiny and inexpensive board would be probably better suited for NuttX RTOS that is tiny Unix for MCU.. even if you made FreeBSD kernel work on it then what other apps would fit? https://nuttx.apache.org/ > It uses the C906 which willingly violates the RISC-V spec and would need > =E2=80=9Cerrata=E2=80=9D handling to work, aside from the memory question= . Jess, what are the violations and their impact? What are mitigations? Compiler level? Thanks :-) Tomek --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Sun Dec 11 10:15:01 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NVLH00577z4kBPC for ; Sun, 11 Dec 2022 10:15:08 +0000 (UTC) (envelope-from gehaowu@bitmoe.com) Received: from out20-87.mail.aliyun.com (out20-87.mail.aliyun.com [115.124.20.87]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NVLGy0sQXz442S for ; Sun, 11 Dec 2022 10:15:05 +0000 (UTC) (envelope-from gehaowu@bitmoe.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of gehaowu@bitmoe.com designates 115.124.20.87 as permitted sender) smtp.mailfrom=gehaowu@bitmoe.com; dmarc=pass (policy=quarantine) header.from=bitmoe.com X-Alimail-AntiSpam:AC=CONTINUE;BC=0.4239375|-1;BR=01201311R181S30ruler365_34042_170522;CH=green;DM=|CONTINUE|false|;DS=SPAM|spam_porn|0.91487-0.000217525-0.0849122;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047194;MF=gehaowu@bitmoe.com;NM=0;PH=DW;RN=1;RT=1;SR=0;TI=W4_0.1.39_v5ForWebDing_210DDE03_1670753503510_o7001c113m; Received: from WS-web (gehaowu@bitmoe.com[W4_0.1.39_v5ForWebDing_210DDE03_1670753503510_o7001c113m]) at Sun, 11 Dec 2022 18:15:01 +0800 Date: Sun, 11 Dec 2022 18:15:01 +0800 From: "=?UTF-8?B?6JGb6LGq5q2m?=" To: "freebsd-riscv" Reply-To: "=?UTF-8?B?6JGb6LGq5q2m?=" Message-ID: <2ced3777-1e7b-4028-bcb1-ea8ba3f9761d.gehaowu@bitmoe.com> Subject: =?UTF-8?B?V2hldGhlciB0aGUgU2lwZWVkIExpY2hlZSBSViBlcXVpcG1lbnQgaXMgc3VwcG9ydGVk?= X-Mailer: [Alimail-Mailagent][W4_0.1.39][v5ForWebDing][Firefox] List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 x-aliyun-mail-creator: W4_0.1.39_v5ForWebDing_sgcTW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTA3LjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTA3LjA=2N Content-Type: multipart/alternative; boundary="----=ALIBOUNDARY_99145_7f9c1c8c9700_6395ada5_1e7b7e" X-Spamd-Result: default: False [2.56 / 15.00]; SUBJ_EXCESS_BASE64(1.50)[]; URI_COUNT_ODD(1.00)[7]; MID_CONTAINS_FROM(1.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.66)[-0.657]; DMARC_POLICY_ALLOW(-0.50)[bitmoe.com,quarantine]; NEURAL_SPAM_LONG(0.42)[0.419]; R_SPF_ALLOW(-0.20)[+ip4:115.124.20.0/24]; MIME_BASE64_TEXT(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_ONE(0.00)[1]; HAS_REPLYTO(0.00)[gehaowu@bitmoe.com]; MLMMJ_DEST(0.00)[freebsd-riscv@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[115.124.20.87:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[115.124.20.87:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:37963, ipnet:115.124.20.0/22, country:CN]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4NVLGy0sQXz442S X-Spamd-Bar: ++ X-ThisMailContainsUnwantedMimeParts: N ------=ALIBOUNDARY_99145_7f9c1c8c9700_6395ada5_1e7b7e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 aGVsbG8gZXZlcnlvbmU6CkkgaGF2ZSBvYnRhaW5lZCBhIFNpcGVlZCBMaWNoZWUgUlZbaHR0cHM6 Ly93aWtpLnNpcGVlZC5jb20vaGFyZHdhcmUvZW4vbGljaGVlL1JWL1JWLmh0bWwgPGh0dHBzOi8v d2lraS5zaXBlZWQuY29tL2hhcmR3YXJlL2VuL2xpY2hlZS9SVi9SVi5odG1sID5dIGRldmljZSwg d2hpY2ggZG9lcyBub3Qgc2VlbSB0byBzdXBwb3J0IGZyZWVic2QuIERvIHlvdSBoYXZlIGEgc3Vw cG9ydCBwbGFuIGFuZCBzY2hlZHVsZT8gVGhhbmsgeW91ClNpcGVlZCBMaWNoZWUgUlYKIDxodHRw czovL2ZhbnlpLmJhaWR1LmNvbS8jIyMgPiAKaGVsbG8gZXZlcnlvbmU6IApJIGhhdmUgb2J0YWlu ZWQgYSBMSUNIRUVSViBkZXZpY2UsIHdoaWNoIGRvZXMgbm90IHNlZW0gdG8gc3VwcG9ydCBmcmVl YnNkLiBEbyB5b3UgaGF2ZSBhIHN1cHBvcnQgcGxhbiBhbmQgc2NoZWR1bGU/IFRoYW5rIHlvdSAK ------=ALIBOUNDARY_99145_7f9c1c8c9700_6395ada5_1e7b7e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64 PGRpdiBjbGFzcz0iX19hbGl5dW5fZW1haWxfYm9keV9ibG9jayI+PGRpdiAgc3R5bGU9ImxpbmUt aGVpZ2h0OjEuNztmb250LWZhbWlseTpUYWhvbWEsQXJpYWwsU1RIZWl0aSxTaW1TdW47Zm9udC1z aXplOjE0LjBweDtjb2xvcjojMDAwMDAwOyI+PGRpdiAgc3R5bGU9ImNsZWFyOmJvdGg7Ij5oZWxs byBldmVyeW9uZTo8YnIgPkkgaGF2ZSBvYnRhaW5lZCBhIFNpcGVlZCBMaWNoZWUgUlZbPGEgIGhy ZWY9Imh0dHBzOi8vd2lraS5zaXBlZWQuY29tL2hhcmR3YXJlL2VuL2xpY2hlZS9SVi9SVi5odG1s IiB0YXJnZXQ9Il9ibGFuayI+aHR0cHM6Ly93aWtpLnNpcGVlZC5jb20vaGFyZHdhcmUvZW4vbGlj aGVlL1JWL1JWLmh0bWw8L2E+XSBkZXZpY2UsIHdoaWNoIGRvZXMgbm90IHNlZW0gdG8gc3VwcG9y dCBmcmVlYnNkLiBEbyB5b3UgaGF2ZSBhIHN1cHBvcnQgcGxhbiBhbmQgc2NoZWR1bGU/IFRoYW5r IHlvdTxiciA+PGJyID48L2Rpdj48ZGl2ICBzdHlsZT0iY2xlYXI6Ym90aDsiPjxiciA+PC9kaXY+ PGRpdiAgc3R5bGU9ImNsZWFyOmJvdGg7Ij48YnIgPjwvZGl2PjxkaXYgIHN0eWxlPSJwb3NpdGlv bjphYnNvbHV0ZTt0b3A6MjYuMHB4O2xlZnQ6LTEwMDAuMHB4O3dpZHRoOjEuMHB4O292ZXJmbG93 OmhpZGRlbjsiPjxoMSA+U2lwZWVkIExpY2hlZSBSVjwvaDE+PC9kaXY+PGRpdiAgc3R5bGU9InBv c2l0aW9uOmFic29sdXRlO3RvcDozLjBweDtsZWZ0Oi0xMDAwLjBweDt3aWR0aDoxLjBweDtvdmVy ZmxvdzpoaWRkZW47Ij48ZGl2ICBjbGFzcz0idGV4dGFyZWEtd3JhcCB3aXRob3V0LXRleHRhcmVh LWJnIiBzdHlsZT0icGFkZGluZy1ib3R0b206MTQuMHB4OyI+CiAgICAgICAgICAgICAgICAKICAg ICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgPHRleHRhcmVhICBjbGFzcz0idGV4dGFyZWEg c21hbGwtZm9udCIgZGF0YS1oZWlnaHQ9IjcwIiBpZD0iYmFpZHVfdHJhbnNsYXRlX2lucHV0IiBz dHlsZT0ib3ZlcmZsb3c6aGlkZGVuOyI+PC90ZXh0YXJlYT4KICAgICAgICAgICAgPC9kaXY+CiAg ICAgICAgICAgIAogICAgICAgICAgICA8ZGl2ICBjbGFzcz0iaW5wdXQtb3BlcmF0ZSI+CiAgICAg ICAgICAgICAgICA8YSAgY2xhc3M9Im9wZXJhdGUtYnRuIG9wLXNvdW5kIGRhdGEtaG92ZXItdGlw IiBkYXRhLWhvdmVyLXRpcC10ZXh0PSLlj5Hpn7MiIGhyZWY9Imh0dHBzOi8vZmFueWkuYmFpZHUu Y29tLyMjIyIgc3R5bGU9ImRpc3BsYXk6YmxvY2s7Ij48L2E+CiAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2ICBjbGFzcz0i b3AtZmF2b3ItY29udGFpbmVyIj4KICAgICAgICAgICAgICAgICAgICA8c3BhbiA+PC9zcGFuPgog ICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgPC9kaXY+CiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgCiAgICAg ICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj4KICAgICAgICAgICAgCiAgICAgICAgICAgIAog ICAgICAgIAogICAgCgoKCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgIDxk aXYgIGNsYXNzPSJvdXRwdXQtYmQiIGRpcj0ibHRyIiBzdHlsZT0icGFkZGluZy1ib3R0b206LjBw eDsiPiAgICAgICA8cCAgY2xhc3M9Im9yZGluYXJ5LW91dHB1dCB0YXJnZXQtb3V0cHV0IGNsZWFy Zml4Ij4gPHNwYW4gPmhlbGxvIGV2ZXJ5b25lOjwvc3Bhbj4gPC9wPiAgICAgICAgICA8cCAgY2xh c3M9Im9yZGluYXJ5LW91dHB1dCB0YXJnZXQtb3V0cHV0IGNsZWFyZml4Ij4gPHNwYW4gIGNsYXNz PSIiPkkgaGF2ZSBvYnRhaW5lZCBhIExJQ0hFRVJWIGRldmljZSwgd2hpY2ggZG9lcyBub3Qgc2Vl bSB0byBzdXBwb3J0IGZyZWVic2QuIERvIHlvdSBoYXZlIGEgc3VwcG9ydCBwbGFuIGFuZCBzY2hl ZHVsZT8gVGhhbmsgeW91PC9zcGFuPiA8L3A+ICAgICA8L2Rpdj48L2Rpdj48L2Rpdj48L2Rpdj4= ------=ALIBOUNDARY_99145_7f9c1c8c9700_6395ada5_1e7b7e-- From nobody Sun Dec 11 10:44:16 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with UTF8SMTP id 4NVLwp4fGtz4kFbt for ; Sun, 11 Dec 2022 10:44:26 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4NVLwn67bLz45gl for ; Sun, 11 Dec 2022 10:44:25 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Authentication-Results: mx1.freebsd.org; none Received: from zeta.dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 00000000027301B7.000000006395B481.0000C9D6; Sun, 11 Dec 2022 11:44:17 +0100 Date: Sun, 11 Dec 2022 11:44:16 +0100 From: Milan Obuch To: freebsd-riscv@freebsd.org Cc: gehaowu@bitmoe.com, julien.cassette@gmail.com Subject: Re: Whether the Sipeed Lichee RV equipment is supported Message-ID: <20221211114416.6f28a2c4@zeta.dino.sk> In-Reply-To: <2ced3777-1e7b-4028-bcb1-ea8ba3f9761d.gehaowu@bitmoe.com> References: <2ced3777-1e7b-4028-bcb1-ea8ba3f9761d.gehaowu@bitmoe.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4NVLwn67bLz45gl X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; TAGGED_RCPT(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Sun, 11 Dec 2022 18:15:01 +0800 "=E8=91=9B=E8=B1=AA=E6=AD=A6" wrote: > hello everyone: > I have obtained a Sipeed Lichee > RV[https://wiki.sipeed.com/hardware/en/lichee/RV/RV.html > ] device, > which does not seem to support freebsd. Do you have a support plan > and schedule? Thank you Sipeed Lichee RV > hello everyone: I have obtained a LICHEERV device, which does not > > seem to support freebsd. Do you have a support plan and schedule? > > Thank you=20 Allwinner D1 uses C906 core, which means something special needs to be done to support it. See older post on this list, available at URL https://lists.freebsd.org/archives/freebsd-riscv/2022-December/000229.html Some time ago, however, there was a thread on the subject as well, most interesting one (I think) is from March 13, 2022, archived copy at https://lists.freebsd.org/archives/freebsd-riscv/2022-March/000159.html I don't know more, but maybe Julien achieved something, added as CC. It would be nice if he can share in case he has anything done. Regards, Milan From nobody Sun Dec 11 14:29:24 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NVRwc5FWXz4kf82 for ; Sun, 11 Dec 2022 14:29:36 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NVRwc3XqKz4MMS for ; Sun, 11 Dec 2022 14:29:36 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb33.google.com with SMTP id d128so10818290ybf.10 for ; Sun, 11 Dec 2022 06:29:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wc3wuEYBlYc0Cmf2wWroVQc8ceLJ4QqGidhvv+h14Fs=; b=js7JlR8usmtzSla54Zas6MtTZceFrqq47gZWf+Sp7tJEyyP5MU3cXL3fRCTaOkQgIg DeirH9tlpu2PEbWlgBIQlpyrbjGW/6FgnCJyJDUOHv+Uf/KAiY16qN5YWkX6xn+uuv/a EtIUHiblJT32A5zqFVDUkKCp5qeO58R9EQGe9HykQEx3jrhxgwGZKcu6y6rY45f07Yrs 72BdWjcaVHyIzyr1qDf0O60BrJMaWPGLaBUGTpIRp10UTpNbf+ayEIOjYDC4lIZFRxjA 7dANmTg3FtWpUiF2bW4l4IgSjBosF6IwTu7XYY4T97up4Nju2IaXNVpZzf0BwU3a8YG6 Lxew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=wc3wuEYBlYc0Cmf2wWroVQc8ceLJ4QqGidhvv+h14Fs=; b=Z5UWwfaMO/rEJbpXhcTQhlabhWaIy/EqkzjmGNTzsjqH3SbTXsn2YWs4OdH2SR9wbX 2pYEe9hK9j8da+N/2ZrzYcErrbvG1RLBkOtI2ctD9h4T7dEwFwR+8oq7E5AbXYKy0bny cRYk+UegIA6AipMDQkGSadG4srgH6zhRD9BhCstFS6NHc+8TunMbwdLNqxz71FLX6TUl SbgmXBCMTKnPKbSiGe24DDgkkojcUty/lrOB4BZ2Iol5WRMYBhloN4rS+QO1oHlhBmYL CP22oYWUUfih9fi+hTwh0z4MAnqu38dxMafWNsHuXZASyotf+WY0zjnq/8YEsuTw+5wA Jgsw== X-Gm-Message-State: ANoB5pn4iVET0Y0T5bzULRyT6LXLhgGhjDq2RMI01XKK7lLzFrlG+5VY sl85SddXCIbgeNte90TfSAKydvP+x7hWbkR0urL+fLr6VXXV8w== X-Google-Smtp-Source: AA0mqf7wQ9+wPHaS5TQEDpKs8OE5zo8oThGyHIdO4OXH0aooPA4PMGUUhEOYA1kULPMAXQGB6ffL+0x3TxDcI1K/NB4= X-Received: by 2002:a25:1e89:0:b0:6f6:b3d1:edcc with SMTP id e131-20020a251e89000000b006f6b3d1edccmr47892421ybe.125.1670768975675; Sun, 11 Dec 2022 06:29:35 -0800 (PST) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <2ced3777-1e7b-4028-bcb1-ea8ba3f9761d.gehaowu@bitmoe.com> <20221211114416.6f28a2c4@zeta.dino.sk> In-Reply-To: <20221211114416.6f28a2c4@zeta.dino.sk> From: Julien Cassette Date: Sun, 11 Dec 2022 15:29:24 +0100 Message-ID: Subject: Re: Whether the Sipeed Lichee RV equipment is supported To: Milan Obuch Cc: freebsd-riscv@freebsd.org, gehaowu@bitmoe.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4NVRwc3XqKz4MMS X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Le dim. 11 d=C3=A9c. 2022 =C3=A0 11:44, Milan Obuch = a =C3=A9crit : > > On Sun, 11 Dec 2022 18:15:01 +0800 > "=E8=91=9B=E8=B1=AA=E6=AD=A6" wrote: > > > hello everyone: > > I have obtained a Sipeed Lichee > > RV[https://wiki.sipeed.com/hardware/en/lichee/RV/RV.html > > ] device, > > which does not seem to support freebsd. Do you have a support plan > > and schedule? Thank you Sipeed Lichee RV > > hello everyone: I have obtained a LICHEERV device, which does not > > > seem to support freebsd. Do you have a support plan and schedule? > > > Thank you > > Allwinner D1 uses C906 core, which means something special needs to be > done to support it. See older post on this list, available at URL > https://lists.freebsd.org/archives/freebsd-riscv/2022-December/000229.htm= l > > Some time ago, however, there was a thread on the subject as well, most > interesting one (I think) is from March 13, 2022, archived copy at > https://lists.freebsd.org/archives/freebsd-riscv/2022-March/000159.html > > I don't know more, but maybe Julien achieved something, added as CC. It > would be nice if he can share in case he has anything done. > > Regards, > Milan Hello I have ported the following drivers: watchdog, interrupt, clock/reset, i/o pins, memory card; and implemented C906-specific cache management functions. So in September I could boot from MFS, get a shell and mount the MMC. But I could not boot directly from MMC and I stalled there. Also I had to disable T-Head memory extensions in the bootloader. I don't know if other C906-specific things are needed. Sources: https://github.com/freebsd-d1/freebsd-d1 Reviews: https://reviews.freebsd.org/people/revisions/13728/ Regards, Julien From nobody Mon Dec 12 01:25:29 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NVkTh0PVHz4l035 for ; Mon, 12 Dec 2022 01:25:44 +0000 (UTC) (envelope-from gehaowu@bitmoe.com) Received: from out20-110.mail.aliyun.com (out20-110.mail.aliyun.com [115.124.20.110]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NVkTd1HGLz4QCQ for ; Mon, 12 Dec 2022 01:25:39 +0000 (UTC) (envelope-from gehaowu@bitmoe.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of gehaowu@bitmoe.com designates 115.124.20.110 as permitted sender) smtp.mailfrom=gehaowu@bitmoe.com; dmarc=pass (policy=quarantine) header.from=bitmoe.com X-Alimail-AntiSpam:AC=CONTINUE;BC=0.08581376|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.10001-0.0268911-0.873099;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047190;MF=gehaowu@bitmoe.com;NM=0;PH=DW;RN=3;RT=3;SR=0;TI=W4_0.1.39_v5ForWebDing_211293AF_1670808329617_o7001c221n; Received: from WS-web (gehaowu@bitmoe.com[W4_0.1.39_v5ForWebDing_211293AF_1670808329617_o7001c221n]) at Mon, 12 Dec 2022 09:25:29 +0800 Date: Mon, 12 Dec 2022 09:25:29 +0800 From: "Haowu Ge" To: "Julien Cassette" , "Milan Obuch" Cc: "freebsd-riscv" Reply-To: "Haowu Ge" Message-ID: <3dd970d7-5211-41b0-9acc-5593f847d03f.gehaowu@bitmoe.com> Subject: =?UTF-8?B?5Zue5aSN77yaV2hldGhlciB0aGUgU2lwZWVkIExpY2hlZSBSViBlcXVpcG1lbnQgaXMgc3Vw?= =?UTF-8?B?cG9ydGVk?= X-Mailer: [Alimail-Mailagent][W4_0.1.39][v5ForWebDing][Firefox] List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <2ced3777-1e7b-4028-bcb1-ea8ba3f9761d.gehaowu@bitmoe.com> <20221211114416.6f28a2c4@zeta.dino.sk>, x-aliyun-mail-creator: W4_0.1.39_v5ForWebDing_sgcTW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTAyLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTAyLjA=2N In-Reply-To: Content-Type: multipart/alternative; boundary="----=ALIBOUNDARY_8276_7f85ddbff700_63968309_20f3b7" X-Spamd-Result: default: False [2.39 / 15.00]; MID_CONTAINS_FROM(1.00)[]; URI_COUNT_ODD(1.00)[35]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_SPAM_SHORT(0.73)[0.725]; NEURAL_HAM_MEDIUM(-0.63)[-0.632]; DMARC_POLICY_ALLOW(-0.50)[bitmoe.com,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:115.124.20.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_BASE64_TEXT(0.10)[]; MLMMJ_DEST(0.00)[freebsd-riscv@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com,dino.sk]; ASN(0.00)[asn:37963, ipnet:115.124.20.0/22, country:CN]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; HAS_REPLYTO(0.00)[gehaowu@bitmoe.com]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4NVkTd1HGLz4QCQ X-Spamd-Bar: ++ X-ThisMailContainsUnwantedMimeParts: N ------=ALIBOUNDARY_8276_7f85ddbff700_63968309_20f3b7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 VGhhbmsgeW91LiBJJ2xsIHRyeSB0byBjb21waWxlIGZyZWVic2QtZDEKLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCuWPkeS7 tuS6uu+8mkp1bGllbiBDYXNzZXR0ZSA8anVsaWVuLmNhc3NldHRlQGdtYWlsLmNvbT4K5Y+R6YCB 5pe26Ze077yaMjAyMuW5tDEy5pyIMTHml6Uo5pif5pyf5pelKSAyMjoyOQrmlLbku7bkurrvvJpN aWxhbiBPYnVjaCA8ZnJlZWJzZC1yaXNjdkBkaW5vLnNrPgrmioTjgIDpgIHvvJpmcmVlYnNkLXJp c2N2IDxmcmVlYnNkLXJpc2N2QGZyZWVic2Qub3JnPjsg6JGb6LGq5q2mIDxnZWhhb3d1QGJpdG1v ZS5jb20+CuS4u+OAgOmimO+8mlJlOiBXaGV0aGVyIHRoZSBTaXBlZWQgTGljaGVlIFJWIGVxdWlw bWVudCBpcyBzdXBwb3J0ZWQKTGUgZGltLiAxMSBkw6ljLiAyMDIyIMOgIDExOjQ0LCBNaWxhbiBP YnVjaCA8ZnJlZWJzZC1yaXNjdkBkaW5vLnNrPiBhIMOpY3JpdCA6Cj4KPiBPbiBTdW4sIDExIERl YyAyMDIyIDE4OjE1OjAxICswODAwCj4gIuiRm+ixquatpiIgPGdlaGFvd3VAYml0bW9lLmNvbT4g d3JvdGU6Cj4KPiA+IGhlbGxvIGV2ZXJ5b25lOgo+ID4gSSBoYXZlIG9idGFpbmVkIGEgU2lwZWVk IExpY2hlZQo+ID4gUlZbaHR0cHM6Ly93aWtpLnNpcGVlZC5jb20vaGFyZHdhcmUvZW4vbGljaGVl L1JWL1JWLmh0bWwgPGh0dHBzOi8vd2lraS5zaXBlZWQuY29tL2hhcmR3YXJlL2VuL2xpY2hlZS9S Vi9SVi5odG1sID4KPiA+IDxodHRwczovL3dpa2kuc2lwZWVkLmNvbS9oYXJkd2FyZS9lbi9saWNo ZWUvUlYvUlYuaHRtbCA8aHR0cHM6Ly93aWtpLnNpcGVlZC5jb20vaGFyZHdhcmUvZW4vbGljaGVl L1JWL1JWLmh0bWwgPiA+XSBkZXZpY2UsCj4gPiB3aGljaCBkb2VzIG5vdCBzZWVtIHRvIHN1cHBv cnQgZnJlZWJzZC4gRG8geW91IGhhdmUgYSBzdXBwb3J0IHBsYW4KPiA+IGFuZCBzY2hlZHVsZT8g VGhhbmsgeW91IFNpcGVlZCBMaWNoZWUgUlYgPGh0dHBzOi8vZmFueWkuYmFpZHUuY29tLyMjIyA8 aHR0cHM6Ly9mYW55aS5iYWlkdS5jb20vIyMjID4KPiA+ID4gaGVsbG8gZXZlcnlvbmU6IEkgaGF2 ZSBvYnRhaW5lZCBhIExJQ0hFRVJWIGRldmljZSwgd2hpY2ggZG9lcyBub3QKPiA+ID4gc2VlbSB0 byBzdXBwb3J0IGZyZWVic2QuIERvIHlvdSBoYXZlIGEgc3VwcG9ydCBwbGFuIGFuZCBzY2hlZHVs ZT8KPiA+ID4gVGhhbmsgeW91Cj4KPiBBbGx3aW5uZXIgRDEgdXNlcyBDOTA2IGNvcmUsIHdoaWNo IG1lYW5zIHNvbWV0aGluZyBzcGVjaWFsIG5lZWRzIHRvIGJlCj4gZG9uZSB0byBzdXBwb3J0IGl0 LiBTZWUgb2xkZXIgcG9zdCBvbiB0aGlzIGxpc3QsIGF2YWlsYWJsZSBhdCBVUkwKPiBodHRwczov L2xpc3RzLmZyZWVic2Qub3JnL2FyY2hpdmVzL2ZyZWVic2QtcmlzY3YvMjAyMi1EZWNlbWJlci8w MDAyMjkuaHRtbCA8aHR0cHM6Ly9saXN0cy5mcmVlYnNkLm9yZy9hcmNoaXZlcy9mcmVlYnNkLXJp c2N2LzIwMjItRGVjZW1iZXIvMDAwMjI5Lmh0bWwgPgo+Cj4gU29tZSB0aW1lIGFnbywgaG93ZXZl ciwgdGhlcmUgd2FzIGEgdGhyZWFkIG9uIHRoZSBzdWJqZWN0IGFzIHdlbGwsIG1vc3QKPiBpbnRl cmVzdGluZyBvbmUgKEkgdGhpbmspIGlzIGZyb20gTWFyY2ggMTMsIDIwMjIsIGFyY2hpdmVkIGNv cHkgYXQKPiBodHRwczovL2xpc3RzLmZyZWVic2Qub3JnL2FyY2hpdmVzL2ZyZWVic2QtcmlzY3Yv MjAyMi1NYXJjaC8wMDAxNTkuaHRtbCA8aHR0cHM6Ly9saXN0cy5mcmVlYnNkLm9yZy9hcmNoaXZl cy9mcmVlYnNkLXJpc2N2LzIwMjItTWFyY2gvMDAwMTU5Lmh0bWwgPgo+Cj4gSSBkb24ndCBrbm93 IG1vcmUsIGJ1dCBtYXliZSBKdWxpZW4gYWNoaWV2ZWQgc29tZXRoaW5nLCBhZGRlZCBhcyBDQy4g SXQKPiB3b3VsZCBiZSBuaWNlIGlmIGhlIGNhbiBzaGFyZSBpbiBjYXNlIGhlIGhhcyBhbnl0aGlu ZyBkb25lLgo+Cj4gUmVnYXJkcywKPiBNaWxhbgpIZWxsbwpJIGhhdmUgcG9ydGVkIHRoZSBmb2xs b3dpbmcgZHJpdmVyczogd2F0Y2hkb2csIGludGVycnVwdCwgY2xvY2svcmVzZXQsCmkvbyBwaW5z LCBtZW1vcnkgY2FyZDsgYW5kIGltcGxlbWVudGVkIEM5MDYtc3BlY2lmaWMgY2FjaGUgbWFuYWdl bWVudApmdW5jdGlvbnMuClNvIGluIFNlcHRlbWJlciBJIGNvdWxkIGJvb3QgZnJvbSBNRlMsIGdl dCBhIHNoZWxsIGFuZCBtb3VudCB0aGUgTU1DLgpCdXQgSSBjb3VsZCBub3QgYm9vdCBkaXJlY3Rs eSBmcm9tIE1NQyBhbmQgSSBzdGFsbGVkIHRoZXJlLgpBbHNvIEkgaGFkIHRvIGRpc2FibGUgVC1I ZWFkIG1lbW9yeSBleHRlbnNpb25zIGluIHRoZSBib290bG9hZGVyLiBJCmRvbid0IGtub3cgaWYg b3RoZXIgQzkwNi1zcGVjaWZpYyB0aGluZ3MgYXJlIG5lZWRlZC4KU291cmNlczogaHR0cHM6Ly9n aXRodWIuY29tL2ZyZWVic2QtZDEvZnJlZWJzZC1kMSA8aHR0cHM6Ly9naXRodWIuY29tL2ZyZWVi c2QtZDEvZnJlZWJzZC1kMSA+ClJldmlld3M6IGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9w ZW9wbGUvcmV2aXNpb25zLzEzNzI4LyA8aHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3Blb3Bs ZS9yZXZpc2lvbnMvMTM3MjgvID4KUmVnYXJkcywKSnVsaWVuCg== ------=ALIBOUNDARY_8276_7f85ddbff700_63968309_20f3b7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64 PGRpdiBjbGFzcz0iX19hbGl5dW5fZW1haWxfYm9keV9ibG9jayI+PGRpdiAgc3R5bGU9ImxpbmUt aGVpZ2h0OjEuNztmb250LWZhbWlseTpUYWhvbWEsQXJpYWwsU1RIZWl0aSxTaW1TdW47Zm9udC1z aXplOjE0LjBweDtjb2xvcjojMDAwMDAwOyI+PGRpdiAgc3R5bGU9ImNsZWFyOmJvdGg7Ij48c3Bh biA+VGhhbmsgeW91LiBJJ2xsIHRyeSB0byBjb21waWxlIGZyZWVic2QtZDE8L3NwYW4+PC9kaXY+ PGRpdiAgc3R5bGU9ImNsZWFyOmJvdGg7Ij48YnIgPjwvZGl2PjxibG9ja3F1b3RlICBzdHlsZT0i bWFyZ2luLXJpZ2h0Oi4wcHg7bWFyZ2luLXRvcDouMHB4O21hcmdpbi1ib3R0b206LjBweDtmb250 LWZhbWlseTpUYWhvbWEsQXJpYWwsU1RIZWl0aSxTaW1TdW47Zm9udC1zaXplOjE0LjBweDtjb2xv cjojMDAwMDAwOyI+PGRpdiAgc3R5bGU9ImNsZWFyOmJvdGg7Ij4tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS08L2Rpdj48ZGl2 ICBzdHlsZT0iY2xlYXI6Ym90aDsiPuWPkeS7tuS6uu+8mkp1bGllbiBDYXNzZXR0ZSAmbHQ7anVs aWVuLmNhc3NldHRlQGdtYWlsLmNvbSZndDs8L2Rpdj48ZGl2ICBzdHlsZT0iY2xlYXI6Ym90aDsi PuWPkemAgeaXtumXtO+8mjIwMjLlubQxMuaciDEx5pelKOaYn+acn+aXpSkgMjI6Mjk8L2Rpdj48 ZGl2ICBzdHlsZT0iY2xlYXI6Ym90aDsiPuaUtuS7tuS6uu+8mk1pbGFuIE9idWNoICZsdDtmcmVl YnNkLXJpc2N2QGRpbm8uc2smZ3Q7PC9kaXY+PGRpdiAgc3R5bGU9ImNsZWFyOmJvdGg7Ij7mioTj gIDpgIHvvJpmcmVlYnNkLXJpc2N2ICZsdDtmcmVlYnNkLXJpc2N2QGZyZWVic2Qub3JnJmd0Ozsg 6JGb6LGq5q2mICZsdDtnZWhhb3d1QGJpdG1vZS5jb20mZ3Q7PC9kaXY+PGRpdiAgc3R5bGU9ImNs ZWFyOmJvdGg7Ij7kuLvjgIDpopjvvJpSZTogV2hldGhlciB0aGUgU2lwZWVkIExpY2hlZSBSViBl cXVpcG1lbnQgaXMgc3VwcG9ydGVkPC9kaXY+PGRpdiAgc3R5bGU9ImNsZWFyOmJvdGg7Ij48YnIg PjwvZGl2PkxlIGRpbS4gMTEgZMOpYy4gMjAyMiDDoCAxMTo0NCwgTWlsYW4gT2J1Y2ggJmx0O2Zy ZWVic2QtcmlzY3ZAZGluby5zayZndDsgYSDDqWNyaXQgOjxiciA+Jmd0OzxiciA+Jmd0OyBPbiBT dW4sIDExIERlYyAyMDIyIDE4OjE1OjAxICswODAwPGJyID4mZ3Q7ICLokZvosarmraYiICZsdDtn ZWhhb3d1QGJpdG1vZS5jb20mZ3Q7IHdyb3RlOjxiciA+Jmd0OzxiciA+Jmd0OyAmZ3Q7IGhlbGxv IGV2ZXJ5b25lOjxiciA+Jmd0OyAmZ3Q7IEkgaGF2ZSBvYnRhaW5lZCBhIFNpcGVlZCBMaWNoZWU8 YnIgPiZndDsgJmd0OyBSVls8YSAgaHJlZj0iaHR0cHM6Ly93aWtpLnNpcGVlZC5jb20vaGFyZHdh cmUvZW4vbGljaGVlL1JWL1JWLmh0bWwiIHRhcmdldD0iX2JsYW5rIj5odHRwczovL3dpa2kuc2lw ZWVkLmNvbS9oYXJkd2FyZS9lbi9saWNoZWUvUlYvUlYuaHRtbDwvYT48YnIgPiZndDsgJmd0OyAm bHQ7PGEgIGhyZWY9Imh0dHBzOi8vd2lraS5zaXBlZWQuY29tL2hhcmR3YXJlL2VuL2xpY2hlZS9S Vi9SVi5odG1sIiB0YXJnZXQ9Il9ibGFuayI+aHR0cHM6Ly93aWtpLnNpcGVlZC5jb20vaGFyZHdh cmUvZW4vbGljaGVlL1JWL1JWLmh0bWw8L2E+ICZndDtdIGRldmljZSw8YnIgPiZndDsgJmd0OyB3 aGljaCBkb2VzIG5vdCBzZWVtIHRvIHN1cHBvcnQgZnJlZWJzZC4gRG8geW91IGhhdmUgYSBzdXBw b3J0IHBsYW48YnIgPiZndDsgJmd0OyBhbmQgc2NoZWR1bGU/IFRoYW5rIHlvdSBTaXBlZWQgTGlj aGVlIFJWICZsdDs8YSAgaHJlZj0iaHR0cHM6Ly9mYW55aS5iYWlkdS5jb20vIyMjIiB0YXJnZXQ9 Il9ibGFuayI+aHR0cHM6Ly9mYW55aS5iYWlkdS5jb20vIyMjPC9hPjxiciA+Jmd0OyAmZ3Q7ICZn dDsgaGVsbG8gZXZlcnlvbmU6IEkgaGF2ZSBvYnRhaW5lZCBhIExJQ0hFRVJWIGRldmljZSwgd2hp Y2ggZG9lcyBub3Q8YnIgPiZndDsgJmd0OyAmZ3Q7IHNlZW0gdG8gc3VwcG9ydCBmcmVlYnNkLiBE byB5b3UgaGF2ZSBhIHN1cHBvcnQgcGxhbiBhbmQgc2NoZWR1bGU/PGJyID4mZ3Q7ICZndDsgJmd0 OyBUaGFuayB5b3U8YnIgPiZndDs8YnIgPiZndDsgQWxsd2lubmVyIEQxIHVzZXMgQzkwNiBjb3Jl LCB3aGljaCBtZWFucyBzb21ldGhpbmcgc3BlY2lhbCBuZWVkcyB0byBiZTxiciA+Jmd0OyBkb25l IHRvIHN1cHBvcnQgaXQuIFNlZSBvbGRlciBwb3N0IG9uIHRoaXMgbGlzdCwgYXZhaWxhYmxlIGF0 IFVSTDxiciA+Jmd0OyA8YSAgaHJlZj0iaHR0cHM6Ly9saXN0cy5mcmVlYnNkLm9yZy9hcmNoaXZl cy9mcmVlYnNkLXJpc2N2LzIwMjItRGVjZW1iZXIvMDAwMjI5Lmh0bWwiIHRhcmdldD0iX2JsYW5r Ij5odHRwczovL2xpc3RzLmZyZWVic2Qub3JnL2FyY2hpdmVzL2ZyZWVic2QtcmlzY3YvMjAyMi1E ZWNlbWJlci8wMDAyMjkuaHRtbDwvYT48YnIgPiZndDs8YnIgPiZndDsgU29tZSB0aW1lIGFnbywg aG93ZXZlciwgdGhlcmUgd2FzIGEgdGhyZWFkIG9uIHRoZSBzdWJqZWN0IGFzIHdlbGwsIG1vc3Q8 YnIgPiZndDsgaW50ZXJlc3Rpbmcgb25lIChJIHRoaW5rKSBpcyBmcm9tIE1hcmNoIDEzLCAyMDIy LCBhcmNoaXZlZCBjb3B5IGF0PGJyID4mZ3Q7IDxhICBocmVmPSJodHRwczovL2xpc3RzLmZyZWVi c2Qub3JnL2FyY2hpdmVzL2ZyZWVic2QtcmlzY3YvMjAyMi1NYXJjaC8wMDAxNTkuaHRtbCIgdGFy Z2V0PSJfYmxhbmsiPmh0dHBzOi8vbGlzdHMuZnJlZWJzZC5vcmcvYXJjaGl2ZXMvZnJlZWJzZC1y aXNjdi8yMDIyLU1hcmNoLzAwMDE1OS5odG1sPC9hPjxiciA+Jmd0OzxiciA+Jmd0OyBJIGRvbid0 IGtub3cgbW9yZSwgYnV0IG1heWJlIEp1bGllbiBhY2hpZXZlZCBzb21ldGhpbmcsIGFkZGVkIGFz IENDLiBJdDxiciA+Jmd0OyB3b3VsZCBiZSBuaWNlIGlmIGhlIGNhbiBzaGFyZSBpbiBjYXNlIGhl IGhhcyBhbnl0aGluZyBkb25lLjxiciA+Jmd0OzxiciA+Jmd0OyBSZWdhcmRzLDxiciA+Jmd0OyBN aWxhbjxiciA+PGJyID5IZWxsbzxiciA+PGJyID5JIGhhdmUgcG9ydGVkIHRoZSBmb2xsb3dpbmcg ZHJpdmVyczogd2F0Y2hkb2csIGludGVycnVwdCwgY2xvY2svcmVzZXQsPGJyID5pL28gcGlucywg bWVtb3J5IGNhcmQ7IGFuZCBpbXBsZW1lbnRlZCBDOTA2LXNwZWNpZmljIGNhY2hlIG1hbmFnZW1l bnQ8YnIgPmZ1bmN0aW9ucy48YnIgPjxiciA+U28gaW4gU2VwdGVtYmVyIEkgY291bGQgYm9vdCBm cm9tIE1GUywgZ2V0IGEgc2hlbGwgYW5kIG1vdW50IHRoZSBNTUMuPGJyID5CdXQgSSBjb3VsZCBu b3QgYm9vdCBkaXJlY3RseSBmcm9tIE1NQyBhbmQgSSBzdGFsbGVkIHRoZXJlLjxiciA+PGJyID5B bHNvIEkgaGFkIHRvIGRpc2FibGUgVC1IZWFkIG1lbW9yeSBleHRlbnNpb25zIGluIHRoZSBib290 bG9hZGVyLiBJPGJyID5kb24ndCBrbm93IGlmIG90aGVyIEM5MDYtc3BlY2lmaWMgdGhpbmdzIGFy ZSBuZWVkZWQuPGJyID48YnIgPlNvdXJjZXM6IDxhICBocmVmPSJodHRwczovL2dpdGh1Yi5jb20v ZnJlZWJzZC1kMS9mcmVlYnNkLWQxIiB0YXJnZXQ9Il9ibGFuayI+aHR0cHM6Ly9naXRodWIuY29t L2ZyZWVic2QtZDEvZnJlZWJzZC1kMTwvYT48YnIgPlJldmlld3M6IDxhICBocmVmPSJodHRwczov L3Jldmlld3MuZnJlZWJzZC5vcmcvcGVvcGxlL3JldmlzaW9ucy8xMzcyOC8iIHRhcmdldD0iX2Js YW5rIj5odHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvcGVvcGxlL3JldmlzaW9ucy8xMzcyOC88 L2E+PGJyID48YnIgPlJlZ2FyZHMsPGJyID5KdWxpZW48L2Jsb2NrcXVvdGU+PGRpdiAgc3R5bGU9 ImxpbmUtaGVpZ2h0OjIwLjBweDtjbGVhcjpib3RoOyI+PGJyID48L2Rpdj48L2Rpdj48L2Rpdj4= ------=ALIBOUNDARY_8276_7f85ddbff700_63968309_20f3b7-- From nobody Sat Dec 31 19:38:25 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Nksqj5Xyyz2l9VW for ; Sat, 31 Dec 2022 19:38:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nksqj0nMCz3mGV for ; Sat, 31 Dec 2022 19:38:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672515505; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jiYAaEhrCXSkBc4ueSKpKB+INhja3eTwuVnO9sPd0qw=; b=AspvHtLi/6PgCcPLq6Q1MI0HFtLImav3Twfqd/FIEVA0vw5kVMIo5P7b5DNVrBdptX8VAW C92QPvDlBBeB1oGnsn0VvowqyW4w+RSJuUOmUScaObVnoWmxj0ewDkWKap2NfZrxx1Btua fBuBLcbHZJ3xq0EFQcJrs6QpeG6a5vwcS+cDqhIvxc0aEgeQK8LvYA1pSkYAi5UxeymXGv 602sw6uQdTnNRrIzR6ozsmk8+f+k5ZuYvHNpB0BLZA7pM7HGR3tD9w/zTGYElK6Mi/fkNB 1BEnGtL4KQaaxxgQ66QJ6jBin7pZxawLp9y8jn+lY5gASseQt6y9kAQbr9Dg8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672515505; a=rsa-sha256; cv=none; b=K3HSsubOG9i93wWueeJdLyh97GjwvzgaTWUTbIu9No/kD8sx8MOIg7V9NFsW+cZ1z8F7B4 aUDQtyCpufpxCts6ye3/6SxPpD/NmWFpnZhkWTt/v/xwUWkuGZQy4BLf6iMWoXBpAll/zG RDfv2vAllkwcA0gZ2MAezaoKXDVGbHVnrhLhsiyL9BgrIT7i6F8skRp9CErqGxNWyHN6NH L6xmksBwg2hUp8u6t58ygo/z2h6WSJGvOWS+Ge91o6yGkHjfD0i6vY6BqutLlf2L/hwVP9 jnQYbuE2oiiq/gMfcXFJTsusFVgb1X5v0r4+FISmFQ4Hi97/aUITKmeUS7xMGw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Nksqh6pjrz10PB for ; Sat, 31 Dec 2022 19:38:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BVJcOsc025135 for ; Sat, 31 Dec 2022 19:38:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BVJcOAt025134 for riscv@FreeBSD.org; Sat, 31 Dec 2022 19:38:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 268684] [PATCH] riscv libc: fix longjmp with 0 value Date: Sat, 31 Dec 2022 19:38:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: alois+freebsd@aloisklink.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268684 Bug ID: 268684 Summary: [PATCH] riscv libc: fix longjmp with 0 value Product: Base System Version: CURRENT Hardware: riscv OS: Any Status: New Severity: Affects Many People Priority: --- Component: riscv Assignee: riscv@FreeBSD.org Reporter: alois+freebsd@aloisklink.com Created attachment 239166 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239166&action= =3Dedit `git format-patch` patch file On RISC-V, calling `longjmp(x, 0);` makes `setjmp(x)` return 0, which norma= lly causes an infinite loop, and is against the ISO C standard for setjmp/longj= mp.=20 Instead, using a value of 0 should make `setjmp` return 1: > The `longjmp` function cannot cause the `setjmp` macro to return the > value 0; if `val` is 0, the `setjmp` macro returns the value 1. > > _Taken from =C2=A77.13.2.1.4 of the C99 spec_ See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268521 for my simil= ar patch for arm64 libc. That patch also has a test-case that I used to test t= his RISC-V implementation. --- I think I've actually managed to beat the compiler in this patch. Both GCC and Clang do something like the following at `-Os`: ```Assembly mv a0,a1 bne a1,zero,.L2 li a0,1 .L2: ret ``` It took a while of scouring the RISC-V ISA spec (it's my first time using RISC-V assembly), but I found a method that doesn't use branching and has l= ess one less instruction! --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jan 2 12:30:07 2023 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NlwDc161dz2pJFJ for ; Mon, 2 Jan 2023 12:30:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NlwDb5VQ7z4BnN for ; Mon, 2 Jan 2023 12:30:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672662607; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LOeMUwH51Sdwe+iToBPQAmqJmf8x8Qo1LZa2K/6qZpw=; b=n3F5vuhbAYwgh3Lo0tIPzKDlfluY/maU+tgjU9HW0kwK2bi4k9hQICpsEkbpEjC9CYmx2g WZFt8vJe6CQGvBnU9nFLhywV8SK1TTq08APPfR9IKTttdT1m9co5bNJK9Ha+cIISnNcAYr oJ173s5quP+fnEXf6OOrzvU7wdj01cVpL6Y7xF7rbBLtX2YdpOo9eEasy0tMPXx50HsPTY FFcCae24jXzb+6y3e0iS8kK6kEmrlk6NPmMlERwv811eop/Yn5yNEHPHECaloTbF3xO+XT adNZ/WA03EaaYpYMGo59n8xYOVEzC/WQZdvLA7LbaNaEKLM+wKXD3G8O1GLo0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672662607; a=rsa-sha256; cv=none; b=lWxH5xlaa9toEHxlTMlltPEh0uJxQIChuCdR+ZM2WgeAXBRkDmA/pLIvObxqN5fjQahDUR ukqp1GgNcioCVULDfttaE0T6c6FUlT/7c8eKzqlge8f7V8ylZmoini9MtmHKff+e9HEVyr Vatxfs2qXW3cIb+y3vvj1CK13QV0/TCFqBbEBKhm5YbOeOPhItzkhrfF+mZJhMb4E97pxZ uPbJsKR8j3lVE80zLDfnJayJzYU3zs5sezcp7Ms3NJ/NIvpW5g3GMxybmbbk5iFPAo+qxc qHBr9esUYFnSaclNx6nTHJq5r74MBeGZW6N9hMFVnXOvEZtb9QbsZULzQqWvWA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NlwDb4ZjTz16RD for ; Mon, 2 Jan 2023 12:30:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 302CU7MR031337 for ; Mon, 2 Jan 2023 12:30:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 302CU7FY031336 for riscv@FreeBSD.org; Mon, 2 Jan 2023 12:30:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 268684] riscv libc: fix longjmp with 0 value Date: Mon, 02 Jan 2023 12:30:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: grahamperrin@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268684 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[PATCH] riscv libc: fix |riscv libc: fix longjmp |longjmp with 0 value |with 0 value Status|New |Open --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jan 2 13:04:21 2023 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Nlx055NzXz2pNV9 for ; Mon, 2 Jan 2023 13:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nlx052kMpz4DtR for ; Mon, 2 Jan 2023 13:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672664661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HZtx2wU57Yyg1DCTUrFfpUycBKZXpT00bQqQoLG7Uxc=; b=bveHVAKif0eC/tfOn8lhPUuObgDnv+E/Op+m6zfV6JqmB+VwWwmGDsZB3rOi9AqkrQFwFf 1Fw29XdF+JmDzv4ungOa/EZcJDaBOt92FrREE0A9mordhIGg1huHrqQ8FVltX3AJo+9G4d DueCy65/IbRYCPbIWsTqpGayoecON9YW9fv0QJxmDtQSxHtIhyw5SuvfBeu8Lolz8W6w4w HKBzFIpMRpiPMacYl8islNeiZzEibd9iYJGQsoBsH/PHA6ghiA/amhgj48XZV44EEfD0Lq HpD0F4uixujoVEfeDVn+doGdwFUPVLZDJXOuBNPEMa6Meem3pWSO1HWGbjPwEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672664661; a=rsa-sha256; cv=none; b=QEM3DIRQD4bPNz2Ps2T9hvu6ep3hsPh2kJw+hTIGokNFbvUUSmq2yMuz9KrcswqJs3RY4U tyO/nU3uPqHqCDmusnqPcYG5Ehz3CMJZLSm3dzRcfMC8jkghqRFjlTDIrfllDlXNOFIzgO TkDajBUzLDqUBCQnNBfA62vp9rHW7X3A40J/8qFuG0dgP5lQx3XB7GV36fnrwtywXpWTWj 0hSG7tkWLm7NZHIUEP3/6/Tn8c2M6Z37BsUz1EsJ5Jl6BU9JBlX11kZt6m/i3p+ck6huQ8 bNsoEoXu3P6qb9IYkc6576oMJQOr2X3Sner/j1ty7YtkYqe9VcEG560zvnpxkQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Nlx051nLmz17BD for ; Mon, 2 Jan 2023 13:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 302D4LuC087950 for ; Mon, 2 Jan 2023 13:04:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 302D4LJ8087949 for riscv@FreeBSD.org; Mon, 2 Jan 2023 13:04:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 268684] riscv libc: fix longjmp with 0 value Date: Mon, 02 Jan 2023 13:04:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jrtc27@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268684 Jessica Clarke changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jrtc27@freebsd.org --- Comment #1 from Jessica Clarke --- This is a subset of https://reviews.freebsd.org/D29363 which I should get b= ack to. Note I instead opted for a conditional li, as both those instructions compress and in theory should be macro-op fusable, or have a short forward-branch optimisation applied, on cores that implement that. I believe the SiFive 7 series does the latter. --=20 You are receiving this mail because: You are the assignee for the bug.=