I fixed the core dump problem but still cannot use -static on any platform.
The problem is that TLS support is needed that is not implemented.
I tried x86-64, i386, rasperry pi 32 and 64, riscv64 and macos, freebsd,
netbsd.
All failed for me because of missing TLS support.
I only got this working on openbsd 7.1 (only tried x86_64).
Herman
On 5/26/22 07:21, Arthur Williams wrote:
So noticed that I can no longer build static packages with tcc.
```
$ cat test.c
int main(){return 0;}
$./tcc -static test.c
Segmentation fault
```
I ran through git-bisect and concluded the regression was introduced in
4c82b003420fabbb95e077866784badc1a49189b: Update for elflint problems.
Simply reverting the commit allows the above example to not error. Any
objection to just reverting the offending commit.
- Arthur
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel