leaningtech / webvm

Virtual Machine for the Web

Home Page:https://webvm.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gcc fails to start with an Alpine image

mattx433 opened this issue · comments

commented

Running /usr/bin/gcc using an Alpine image hangs with the following error in the JS console:

Fault addr 4d4782b4, ip 555b777d, tid 14
Fault from Inode 22

Dockerfile: https://github.com/mattx433/webvm/blob/main/dockerfiles/alpine
Mini.WebVM with the above: https://mattx433.github.io/webvm/

This bug is also fixed with the latest build of CheerpX. There was a bug in the handling of non-PIC executable.