tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] When is planned to be released the next version of Tc


From: Barath Aron
Subject: Re: [Tinycc-devel] When is planned to be released the next version of Tcc?
Date: Sun, 23 Dec 2018 11:44:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

After looking into the code, my guess is that it's garbage.

I traced the whole object loading procedure with gdb:
- ARM_EXIDX (section 6) is definitely not loaded, I traced it with gdb.
- However, section 7 is loaded, despite of it refers to an unloaded section (in my case: section 6).

Aron


On 12/23/18 11:21 AM, Christian Jullien wrote:
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]