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

Bug#599625: unblock: tcc/0.9.25-5



On Sat, 2010-10-09 at 19:47 +0200, Thomas Preud'homme wrote:
> tcc in squeeze is unable to link a program into an executable on amd64
> when it uses string functions (strlen and co). As almost all C program
> use string functions, I consider this bug serious. The version in
> unstable contains a fix and it consists of just a few lines. The fix
> was introduced in tcc 0.9.25-4 which stayed in unstable for almost 2
> months without bringing any new bug.

+--- a/libtcc.c
++++ b/libtcc.c
+@@ -1431,7 +1431,11 @@ static void rt_printline(unsigned long wanted_pc)
[...]
++#ifdef STT_IFUNC
++            if ((type == STT_FUNC) || (type == STT_GNU_IFUNC)) {

Should the ifdef not also refer to STT_GNU_IFUNC?  This appears to be
the only occurrence of STT_IFUNC in the package.

> Version 0.9.25-5 is there only for
> a few days but the only change is to drop armel architecture as tcc
> doesn't build on armel because of a failure in the test suite.

p-a-s still says that tcc should be built on armel; that should also be
fixed.

Regards,

Adam




Reply to: