[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] mksh fails to buid with bound check
From: |
Thomas Preud'homme |
Subject: |
[Tinycc-devel] mksh fails to buid with bound check |
Date: |
Wed, 08 Jan 2014 15:31:09 +0800 |
User-agent: |
KMail/4.11.3 (Linux/2.6.38-ac2-ac100; KDE/4.11.3; armv7l; ; ) |
Hi Kirill,
it seems you are with Fabrice Bellard the most familiar person with bound
check code in tcc. Long time ago a bug was reported in Debian about mksh
failing to work when compiled with tcc and we later found that it was due to
bound check. Since you did many improvement in the last release, I tried again
a few days ago but unfortunately it still segfaults when compiled with tcc and
bound checking mode on.
Would you mind to take a look? Recent version of mksh have disabled the use of
tcc -b so I use the version 38.3 of mksh (it is the version where the problem
was found). Once the source downloaded, you just need to go in mksh directory
in the source and enter CC=tcc CFLAGS=-g sh Build.sh -r. Then try running mksh
with the most basic command: ./mksh -c true and look at the segfault. This
procedure is described at [0].
[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537622
Anyway, even if you can't or don't want to take a look at this bug I'd like to
thank you for improving the bound check code in tcc. It's one of its key
feature that makes this project cool and that people like.
Best regards,
Thomas
- [Tinycc-devel] mksh fails to buid with bound check,
Thomas Preud'homme <=