Aron, I really would love to help you but I know nothing about ELF.
From your mail, I'm only able to tall that s (0x4) from:
$2 = {s = 0x4, offset = 0, new_section = 45 '-', link_once = 0 '\000'}
Is not a valid address to allow to take sh_num. Don't ask me why.
sm_table[sh->sh_info].s->sh_num;
Are you able to trace why/who set this value to 4?
C.
-----Original Message-----
From: Tinycc-devel [mailto:address@hidden On Behalf Of Barath Aron
Sent: dimanche 23 décembre 2018 10:23
To: address@hidden
Subject: Re: [Tinycc-devel] When is planned to be released the next version of
Tcc?
Scroll back to my mail dated on 12/3/18, 5:34 PM for details of the crash.
On 12/23/18 10:07 AM, Christian Jullien wrote:
Ouch! I don’t know about ARCH ARM Linux, I can just say it works nicely on RPi
ARM board:
address@hidden:~ $ tcc -v
tcc version 0.9.27 (ARM Hard Float Linux)
address@hidden:~ $ uname -a
Linux sims3 4.14.89-v7+ #1182 SMP Tue Dec 18 00:35:25 GMT 2018 armv7l GNU/Linux
address@hidden:~ $ cat hello1.c
#include <stdio.h>
int main(int argc, char* argv[])
{
printf("Hello World!\n");
return 0;
}
address@hidden:~ $ tcc hello1.c
address@hidden:~ $ ./a.out
Hello World!
This tcc version allows me to pass my Lisp compiler huge non regression test
suite.
From: Tinycc-devel [mailto:address@hidden On Behalf Of Barath Aron
Sent: dimanche 23 décembre 2018 09:23
To: address@hidden
Subject: Re: [Tinycc-devel] When is planned to be released the next version of
Tcc?
Let we argue about the "almost bug free" thing. I have a major issue with
0.9.27:
$ tcc -v
tcc version 0.9.27 (ARM Linux)
$ uname -a
Linux alarm 4.18.13-1-ARCH #1 SMP PREEMPT Thu Oct 11 02:22:56 UTC 2018 armv7l
GNU/Linux
$ cat hello1.c
#include <stdio.h>
int main(int argc, char* argv[])
{
printf("Hello World!\n");
return 0;
}
$ tcc hello1.c
Segmentation fault (core dumped)
I suppose this is not the intended behavior. Same effect with official package
and with mob.
(I already reported this bug, but it seems nobody cares.)
Aron
On 12/23/18 8:25 AM, Christian Jullien wrote:
I’m not the maintainer of tcc but I’ve no sign of a new version anytime soon.
What I can say however is that:
- 0.9.27 released last year is damn good and almost bug free on supported
platforms (I personally tested)
- Since last release, tcc activity has been rather low and I see no real
reasons to publish a 0.9.28
- I you want the latest version, I invite you to use mod which is also very
stable.
- As a general rule for a new version is that it comes out … when it’s ready
M2c
From: Tinycc-devel [mailto:address@hidden On Behalf Of Kantor Zsolt
Sent: samedi 22 décembre 2018 14:52
To: address@hidden
Subject: [Tinycc-devel] When is planned to be released the next version of Tcc?
The question is in the subject.
Thanks.
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel