Re: [Tinycc-devel] riscv64 feedback

2020-05-26 Thread Christian Jullien
Hello Herman, Sure I know those pages. I try to avoid as much as possible local VM when internet access exist for architecture/OS I'm looking for. I currently consider riscv32/64 only Copper ports for OpenLisp (vs. Gold and Silver). I make copper ports mainly to verify that my complex fully

Re: [Tinycc-devel] riscv64 feedback

2020-05-26 Thread Christian Jullien
Hello Michael, I thought that --with-selinux was mandatory for all distribs like Fedora/RHEL/CentOS ... Without this flag, it works like a charm and passed all the tests. It only displayed ../tccrun.c:844: warning: #warning add arch specific rt_get_caller_pc() You aware of. Your yesterday commit

Re: [Tinycc-devel] riscv64 feedback

2020-05-26 Thread Herman ten Brugge via Tinycc-devel
I got it working with: https://fedoraproject.org/wiki/Architectures/RISC-V https://fedorapeople.org/groups/risc-v/disk-images/ Follow the readme and copy tcc to the disk image: /git clone git://repo.or.cz/tinycc.git/ scp -P 1 -r tinycc root@localhost:. Run configure/make/make test as

Re: [Tinycc-devel] riscv64 feedback

2020-05-26 Thread Michael Matz
Hello, On Tue, 26 May 2020, Christian Jullien wrote: Tcc is configured with: ./configure --with-selinux Does it work without selinux? I've not tried that for riscv, my qemu userspace (debian) isn't selinux enabled, and as the symptom you see is related to mapping executable memory that

Re: [Tinycc-devel] riscv64 feedback

2020-05-26 Thread Christian Jullien
Thank you you're your suggestion, but same issue with setenforce 0 [root@localhost tinycc]# setenforce 0 setenforce: SELinux is disabled [root@localhost tinycc]# make test make[1]: Entering directory '/root/tinycc/tests' hello-exe Hello World

Re: [Tinycc-devel] riscv64 feedback

2020-05-26 Thread bauen1 via Tinycc-devel
On 5/26/20 7:43 AM, Christian Jullien wrote: > > For Michael, > >   > > Again, many thanks for riscv64 backend. > > I finally found a way to give riscv64 a try … and it is again from > Fabrice Bellard solution using jslinux online VM. > >   > > For that I use the fedora29 risvc64 vm in text mode