Hi all,

If it helps, on arm (RPi 32bit), I get a different error:

$ tcc -static test.c
tcc: error: Unknown relocation type for got: 107

-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On 
Behalf Of Arthur Williams via Tinycc-devel
Sent: Thursday, May 26, 2022 07:22
To: tinycc-devel@nongnu.org
Cc: Arthur Williams
Subject: [Tinycc-devel] Segfault when using '-static'

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
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to