https://open-source-silicon.dev logo
d

Dan Knoblach

04/15/2021, 2:08 AM
Silly question but what systems have people been getting openlane to compile on? I've had trouble with both WSL Ubuntu and Debian. I think it's Docker related but I've no experience with that so don't know what to fix.
m

Matthew Guthaus

04/15/2021, 3:15 AM
I've used it on Ubuntu but not WSL. What error are you getting? Specifics might be easier to fix.
m

Matt Venn

04/15/2021, 9:45 AM
what kind of issues? I only have tried ubuntu but as long as I follow the instructions in the readme I've not had any issues.
d

Dan Knoblach

04/15/2021, 11:07 AM
I seem to have gotten it working in a Debian VM but in Ubuntu WLS I get
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:319: getting the final child's pid from pipe caused \"EOF\"": unknown.
make: *** [Makefile:119: build-pdk] Error 125
when making the pdk. The Docker daemon itself just spits out
stream copy error: reading from a closed fifo
which isn't very helpful
m

Matt Venn

04/15/2021, 11:17 AM
though I have never used WSL
d

Dan Knoblach

04/15/2021, 12:07 PM
Thanks, unfortunately docker versions before 19.3.08 don't seem to be available anymore, but I don't have much experience installing older packages so I could be missing something
m

Matthew Guthaus

04/15/2021, 12:56 PM
Running docker in WSL is tricky since WSL itself is a VM. Does the hello-world docker work?
d

Dan Knoblach

04/15/2021, 1:16 PM
No. Looks like docker is definitely the problem. I've got everything working in a VM for now so I'll play with that in the mean time.
m

Maximo Balestrini

04/15/2021, 7:02 PM
I can run OpenLANE inside WSL2 with Ubuntu 18.04 I had to install the Docker Desktop WSL2 backend following this instructions: https://docs.docker.com/docker-for-windows/wsl/
d

Dan Knoblach

04/15/2021, 8:32 PM
Thanks it worked!
👍 1