unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Ekaitz Zarraga <ekaitz@elenq.tech>
Cc: "Ludovic Courtès" <ludo@gnu.org>,
	"Pjotr Prins" <pjotr.public12@thebird.nl>,
	"Christopher Baines" <mail@cbaines.net>,
	guix-devel@gnu.org
Subject: Re: RISCV porting effort
Date: Tue, 28 Jun 2022 11:54:42 +0300	[thread overview]
Message-ID: <YrrB0sdLxIUY4mbM@3900XT> (raw)
In-Reply-To: <uwcJPAiHcaCQuglQb3ac6qfL8J5bnBmvMYTEltdgXLQf0WCwz15f1vPssQl1oDyyU02PJxg_z9EuqEPhGNESfyVK2bNrcad6FKzZIg7gXF0=@elenq.tech>

[-- Attachment #1: Type: text/plain, Size: 8047 bytes --]

On Wed, Jun 22, 2022 at 03:19:43PM +0000, Ekaitz Zarraga wrote:
> Also, hi!
> 
> We kinda have a working bootstrappable GCC.
> 
> If you want to know more you can read here:
> 
> https://ekaitz.elenq.tech/bootstrapGcc4.html
> 
> :)
> 

I haven't been keeping much of a log of where I'm at, but here's the
result of running 'guix weather' against my machine.

(ins)efraim@3900XT ~/workspace/guix$ time ./pre-inst-env guix weather -s riscv64-linux --substitute-urls="http://localhost:3000" -c100
computing 15,205 package derivations for riscv64-linux...
looking for 15,948 store items on http://localhost:3000...
http://localhost:3000
  14.3% substitutes available (2,274 out of 15,948)
  unknown substitute sizes
  12,540.3 MiB on disk (uncompressed)
  0.033 seconds per request (525.2 seconds in total)
  30.4 requests per second
  (continuous integration information unavailable)
4659 packages are missing from 'http://localhost:3000' for 'riscv64-linux', among which:
  6434	rust@1.39.0	/gnu/store/61j2d2i6x8ppyqrq9l9mk49iq19vxnbs-rust-1.39.0-cargo /gnu/store/3wdwsfq3fgmcd3b1y3hiw19ircxbpr18-rust-1.39.0
  1438	ghc@7.10.2	/gnu/store/3y6d44cbgkl17gs5j82yxfgnjk8sap45-ghc-7.10.2-doc /gnu/store/qly5mgmipmxspnc4fgp4lvnkklz492mx-ghc-7.10.2
  1149	go@1.4-bootstrap-20171003	/gnu/store/cmldbfr2lrdrxp5qf2axaancsm970zxz-go-1.4-bootstrap-20171003-doc /gnu/store/4dj7715iyg7qpvbdzvwjdhhqg2mqflr0-go-1.4-bootstrap-20171003 /gnu/store/yr8a1g6bkxyhczsismwllwnzglplfx98-go-1.4-bootstrap-20171003-tests
  1090	postgresql@13.6/gnu/store/zvkkdqz0m7kk6hxy9pxciqz03c4ijqfn-postgresql-13.6
  1019	libunwind@1.5.0/gnu/store/j8nq3nlpmh8mfx84lidsraksdbbkzx7m-libunwind-1.5.0
   759	valgrind@3.17.0/gnu/store/7sda8rwv5jaxqasfpvvbihfbyznqp5xz-valgrind-3.17.0-doc /gnu/store/wajixlncl3915qval3ipsx71mqnixjdl-valgrind-3.17.0
   639	classpath@0.93	/gnu/store/skbpf6pn077qia0rh83mjj0wb4kgb1qh-classpath-0.93
   597	libatomic-ops@7.6.10	/gnu/store/xn2nfq5rsnc9ngwpflna2dy43kmvy0wr-libatomic-ops-7.6.10-debug /gnu/store/k66nqxnd5lmplj91jnaxg398ipb64a37-libatomic-ops-7.6.10
   486	sbcl-flexi-streams@1.0.19	/gnu/store/p0lrgja4k3f5radbsmfhdpm5kxbg25rw-sbcl-flexi-streams-1.0.19
   434	python-attrs@21.2.0	/gnu/store/35hnb2yxkc70i3igaaibxl0lmwxibhbr-python-attrs-21.2.0
   394	tbb@2021.5.0	/gnu/store/ni817qivyqriygfcyd81s1fry3lds0k7-tbb-2021.5.0
   317	sbcl-cffi@0.24.1	/gnu/store/pw0dp4glvc50gsgpkcxi9zmbldhnymnf-sbcl-cffi-0.24.1
   307	cl-trivial-backtrace@1.1.0-1.6eb65bd	/gnu/store/0ivylbjp19vs992flg9nys0c6fd0dwnq-cl-trivial-backtrace-1.1.0-1.6eb65bd
   282	emacs-dash@2.19.1	/gnu/store/ymca65i1phq9k45xc6np6ary5iwvbll4-emacs-dash-2.19.1
   273	openlibm@0.7.4	/gnu/store/abf1nfdgl8cilbj3b8lgjvy3fmihprc6-openlibm-0.7.4
   272	libunwind-julia@1.3.1	/gnu/store/ag87bkgg8gyaqbsyfzai83has0v4s1ps-libunwind-julia-1.3.1
   263	eigen@3.3.8	/gnu/store/7s2fpnsqx666c8fsjmbhi5yiy8vgp2rx-eigen-3.3.8
   222	emacs@28.1	/gnu/store/7lnkc3abxp33lrqdgfv4r9imkp12f6sw-emacs-28.1
   222	postgresql@13.6/gnu/store/zvkkdqz0m7kk6hxy9pxciqz03c4ijqfn-postgresql-13.6
   204	cl-hu.dwim.stefil@0.0.0-2.414902c	/gnu/store/mhyvzdp4m8r51mxwxz64wpjhj59bhvg4-cl-hu.dwim.stefil-0.0.0-2.414902c
   191	node@10.24.1	/gnu/store/15gy69cskj0zxzmxyrlazanq4alhwfw5-node-10.24.1
   186	libunwind@1.5.0/gnu/store/j8nq3nlpmh8mfx84lidsraksdbbkzx7m-libunwind-1.5.0
   183	icu4c@70.1	/gnu/store/qzj7817x1g61a5cz4qw14gz9v309b905-icu4c-70.1
   172	python-tornado@6.1	/gnu/store/mvgv54nx1k338vdxm0snkp5v16cjc0a6-python-tornado-6.1
   171	python-pandas@1.4.2	/gnu/store/6nnf4l6w17pymbs9bgaw47wyx7d55hin-python-pandas-1.4.2
   158	python-parso@0.8.3	/gnu/store/aw7kxbgnwrjfwqq3bqk0z3irvbii714p-python-parso-0.8.3
   153	trytond-country@6.0.1	/gnu/store/fhi8kxvad42nfr0mb4kdldv3995gwc2j-trytond-country-6.0.1
   147	trytond-currency@6.0.1	/gnu/store/38xd4nmdx3kmkdqz9577yfryw5rmcr5g-trytond-currency-6.0.1
   143	gconf@3.2.6	/gnu/store/s9ldmz47da5hgc266gdzq4sbqly6p02z-gconf-3.2.6
   141	python-testscenarios-bootstrap@0.5.0	/gnu/store/a88b42xxgyrds2iw9fmk8khc0sixkdk9-python-testscenarios-bootstrap-0.5.0
   136	emacs-shut-up@0.3.3	/gnu/store/jwshj5y4qdawy49w6pgph9qbcwqx01bh-emacs-shut-up-0.3.3
   130	camlboot@0.0.0-1.45045d0	/gnu/store/6slbf5bihlyackrrnpwfbv7d2h3418g4-camlboot-0.0.0-1.45045d0
   129	gnome-mime-data@2.18.0	/gnu/store/a423f1pwwdcfvnqys5kmn007kca755dh-gnome-mime-data-2.18.0
   128	libbonobo@2.32.1	/gnu/store/vr4gr7s89bxp7bw39v59rrpgmzj356s5-libbonobo-2.32.1
   127	python-itsdangerous@2.0.1	/gnu/store/nmg1854ichi2wja31lsgb0kc3yn2hh17-python-itsdangerous-2.0.1
   127	python-astor@0.8.1	/gnu/store/k5b2z98c62d3c24yg2hhani3q0jkfyvi-python-astor-0.8.1
   127	taglib@1.12	/gnu/store/369jf6qaijhkgwh39j0xksz3inc6k5ma-taglib-1.12
   126	libgnomecanvas@2.30.3	/gnu/store/81zsxqmf7z8x972fjrqs25zab6vw093c-libgnomecanvas-2.30.3
   126	libmodplug@0.8.9.0	/gnu/store/pfwmwd8iwv6jgfik0dy9iav0c0rsvp5r-libmodplug-0.8.9.0
   125	mpg123@1.28.2	/gnu/store/rg54jv54gyzrlcyjx1qqjwafg01wgdw4-mpg123-1.28.2
   121	gtksourceview@2.10.5	/gnu/store/5wmanhmb3vn9km9yp2j50h4aky4fry52-gtksourceview-2.10.5
   120	python-curio@1.5	/gnu/store/garr7dkd5q303kgkpfpm8ww3f0h8khsb-python-curio-1.5
   119	tini@0.19.0	/gnu/store/55xi1h9khssf05v2gfgsmfcfrimsx81m-tini-0.19.0
   117	python-tqdm@4.62.3	/gnu/store/7vryqfzrmcbn0hc8zk5hjxmdr6p24ipv-python-tqdm-4.62.3
   116	gnuplot@5.4.3	/gnu/store/7wv950s9g0ng2c2vn91ixixc98yidd1l-gnuplot-5.4.3
   116	ao@1.2.2-5-g20dc8ed	/gnu/store/1rbf934rk5jp0hkap3m04rx57dhgqdmg-ao-1.2.2-5-g20dc8ed
   114	hwloc@2.7.1	/gnu/store/08cgryw6gkrdm42nn6gfj76m0dkbigxa-hwloc-2.7.1-debug /gnu/store/af434fxgnh9ixygpvaxr6hs7qy79nx1w-hwloc-2.7.1-doc /gnu/store/yvryx12bg0i0lp9qnihjjr6jzrrhg7fq-hwloc-2.7.1-lib /gnu/store/bznxn2nldbi4wj68i281s33c4hw2ka1a-hwloc-2.7.1
   113	ocaml-cppo@1.6.9	/gnu/store/4qkcp8qm2zgxj2fba73ralag7nsnr73b-ocaml-cppo-1.6.9
   111	python-sqlparse@0.4.2	/gnu/store/cb7x6c94li98rrm83bmraw109r1zcjwl-python-sqlparse-0.4.2
   110	startup-notification@0.12	/gnu/store/qzv1fnh244mbhk6463czxnrfjm32dl5n-startup-notification-0.12
   110	ocaml-bigarray-compat@1.1.0	/gnu/store/3cq3fvbrdah0x9dgq3pmx4jpwgcaiqgj-ocaml-bigarray-compat-1.1.0
   110	libsodium@1.0.18	/gnu/store/717c1w080zk9ccjrvqj3xvmyr7n2s69q-libsodium-1.0.18
   109	ocaml-seq@0.1	/gnu/store/hw77kargqcxyzw20wf3kkpfwag6aiix4-ocaml-seq-0.1
   109	jack2@1.9.21	/gnu/store/5fiyvy82cja63k1ppfq32j6rky5d9x1b-jack2-1.9.21
   108	python-argon2-cffi@20.1.0	/gnu/store/v7l03xws8xp89pqi9bzk297m0nlnjvjg-python-argon2-cffi-20.1.0
   108	openh264@2.1.1	/gnu/store/xhkm8xhh71z5985bb3n7lgdpggw8djr2-openh264-2.1.1
   107	python-objgraph@3.4.1	/gnu/store/wwr253m9l19nmx71ir47qy82s7gmw934-python-objgraph-3.4.1
   106	python-tblib@1.6.0	/gnu/store/kfmqhcx9ikxfdpjd7c9bydf4ysw5hhl5-python-tblib-1.6.0
   104	cl-named-readtables@0.9-3.585a28e	/gnu/store/9x4hwjpks13qxaigdwy5mar26b9f6i67-cl-named-readtables-0.9-3.585a28e
   104	xorg-rgb@1.0.6	/gnu/store/r0lxyx4pyr685vjcmlfd3czy9r078lkr-xorg-rgb-1.0.6
   101	fltk@1.3.6	/gnu/store/1cq2wpljwchq1i2brbs8s3q8whlilv8s-fltk-1.3.6
   101	guile@2.2.7	/gnu/store/b5an0vs7psjkx1rncmx8g907sxaqx2g4-guile-2.2.7-debug /gnu/store/33cj2zfvmxx0y5km6b1akw988b2q34zn-guile-2.2.7

Some notes:
* rust is definitely TODO
* GHC shouldn't be there on the list.
* gccgo should replace go@1.4. Currently I can't use gccgo@10 to build
  go@1.16.15, 1.17.9 or 1.17.11 on riscv64. gccgo@10 works for
  go@1.16.15 and 1.17.11.
* postgresql@13.6 I think is missing a patch currently
* libunwind isn't supported until 1.6.*
* valgrind isn't supported
* classpath@0.93 is the java bootstrap path
* openlibm, tbb and libunwind-julia are for julia
* node@10 doesn't (yet) recognize riscv64

After that I don't remember offhand. I'm not sure I've tried yet to
build anything after ~170 so those can be ignored.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-06-28  9:14 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07  7:09 RISCV porting effort Efraim Flashner
2021-06-07 15:37 ` Christopher Lemmer Webber
2021-06-08 13:43 ` Ludovic Courtès
2021-06-08 22:28   ` Gabriel Wicki
2021-06-10 13:22     ` Efraim Flashner
2021-06-11 21:07     ` Ludovic Courtès
2021-06-10 13:20   ` Efraim Flashner
2021-06-11 22:07     ` Ludovic Courtès
2021-06-18 13:05     ` RISCV porting effort (now in stock @mouser) Gabriel Wicki
2021-06-11 11:16 ` RISCV porting effort Efraim Flashner
2021-06-13 17:24 ` Vagrant Cascadian
2021-06-14  7:27   ` Efraim Flashner
2021-06-15  1:00     ` Vagrant Cascadian
2021-06-15 12:37       ` Efraim Flashner
2021-06-13 21:21 ` Christopher Baines
2021-06-20 15:37   ` Ludovic Courtès
2022-06-16  1:46     ` Pjotr Prins
2022-06-16 18:12       ` Maxim Cournoyer
2022-06-17 16:08       ` Ludovic Courtès
2022-06-17 22:52         ` Pjotr Prins
2022-06-20  7:45           ` Pjotr Prins
2022-06-22 13:37             ` Ludovic Courtès
2022-06-22 15:19               ` Ekaitz Zarraga
2022-06-28  8:54                 ` Efraim Flashner [this message]
2022-06-30 12:01                   ` Ludovic Courtès
2022-07-03  9:07                     ` Efraim Flashner
2022-06-24  6:37               ` Pjotr Prins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YrrB0sdLxIUY4mbM@3900XT \
    --to=efraim@flashner.co.il \
    --cc=ekaitz@elenq.tech \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    --cc=mail@cbaines.net \
    --cc=pjotr.public12@thebird.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).