Re: [Tinycc-devel] Segfault when using '-static'

2022-05-26 Thread Herman ten Brugge via Tinycc-devel
ligis=orange...@nongnu.org] On Behalf Of Herman ten Brugge via Tinycc-devel Sent: Thursday, May 26, 2022 16:04 To: tinycc-devel@nongnu.org Cc: Herman ten Brugge Subject: Re: [Tinycc-devel] Segfault when using '-static' I fixed the core dump problem but still cannot use -static on any

Re: [Tinycc-devel] Segfault when using '-static'

2022-05-26 Thread Christian Jullien
l-bounces+eligis=orange...@nongnu.org] On Behalf Of Herman ten Brugge via Tinycc-devel Sent: Thursday, May 26, 2022 16:04 To: tinycc-devel@nongnu.org Cc: Herman ten Brugge Subject: Re: [Tinycc-devel] Segfault when using '-static' I fixed the core dump problem but still cannot us

Re: [Tinycc-devel] Segfault when using '-static'

2022-05-26 Thread Herman ten Brugge via Tinycc-devel
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 wor

Re: [Tinycc-devel] Segfault when using '-static'

2022-05-25 Thread Christian Jullien
: 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 t

[Tinycc-devel] Segfault when using '-static'

2022-05-25 Thread Arthur Williams via Tinycc-devel
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. Simpl