Re: [Tinycc-devel] Debian x64 bootstrap error with clang

2020-09-18 Thread Herman ten Brugge via Tinycc-devel
Can you test attached patch. There might be more places that use __APPLE__ that should be done differently. You can commit if it works because I cannot test it.     Herman On 2020-09-19 06:48, Christian Jullien wrote: Hi I generally test tcc Linux x64 on Fedora 32, giving a try on an up to

[Tinycc-devel] Debian x64 bootstrap error with clang

2020-09-18 Thread Christian Jullien
Hi I generally test tcc Linux x64 on Fedora 32, giving a try on an up to date Debian v10.5, while it works with gcc, using clang, I get: jullien@debian64:~/tinycc$ uname -a Linux debian64 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux jullien@debian64:~/tinycc$

Re: [Tinycc-devel] Issues with default-initialization of bitfields

2020-09-18 Thread Herman ten Brugge via Tinycc-devel
On 2020-09-04 23:07, Petr Skocik wrote: Hi. I don't know if this is known, but tinycc seems to have some issues zero-initializing bitfields. I just committed a patch to mob to fix this.     Herman ___ Tinycc-devel mailing list

Re: [Tinycc-devel] Fix boundschecking for signal/sigaction/fork

2020-09-18 Thread Herman ten Brugge via Tinycc-devel
On 2020-09-17 22:28, grischka wrote: Herman ten Brugge via Tinycc-devel wrote: +#if 0 /* does not work with fork */ ptr = mmap (NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); prx = mmap (NULL, size, PROT_READ|PROT_EXEC, MAP_SHARED, fd, 0); +#else +    ptr = prx = mmap (NULL,