Hello !
Testing tinycc from the repository on a windows 7 32 bits with mingw32 the
following tests fail:
abitest.c: ret_2double_test
abitest.c: reg_pack_longlong_test
abitest.c: sret_test
abitest.c: many_struct_test
Cheers !
___
Tinycc-devel mailing li
Hello all !
I finished phase1 of code refactoring of tinycc to remove global variables,
not all global variables are removed yet but most of then are, with that it
can cross compile all platforms on my linux X86_64 and till only on real
test was done on linux.
Here you can find the repository to
It's simple remove the zeroing CValues and try "make clean", "make" and
"make test" you'll see that on linux 32 bits and linux 64 bits and you'll
see that it doesn't pass the tests, on linux 32 bits try "make test -i" and
you'll see garbage been generated.
And I did not create that code I only fou
Hi,
On Wed, 26 Mar 2014, Domingo Alvarez Duarte wrote:
On my commit
It would be easier if you wrote your reasons for doing things in mails,
not only in commit messages, it makes quoting much harder. Anyway, in the
commit message you wrote:
I found the problem it was because CValue sta
Yes you are right, it was pointed by scan-build from llvm/clang and indeed
is a false positive, thanks for pointing it.
Cheers !
On Fri, Mar 28, 2014 at 7:13 PM, grischka wrote:
> Domingo Alvarez Duarte wrote:
>
>>
>> Fix a incorrect size for malloc.
>>
>> -
Domingo Alvarez Duarte wrote:
Fix a incorrect size for malloc.
--- libtcc.c ---
index 601999e..9f486f3 100644
@@ -328,11 +328,11 @@ static void tcc_split_path(TCCState *s, void ***p_ary,
int *p_nb_ary, const char
ST_FUNC Se
The strange thing is that on linux 32bits it works fine without the las
hack.
On Fri, Mar 28, 2014 at 5:05 PM, Domingo Alvarez Duarte
wrote:
> I found that on X86_64 linux if I do not free the memory on __va_end(),
> the compiled fossil-scm server works, I suspect is something with the
> fork/th
I found that on X86_64 linux if I do not free the memory on __va_end(), the
compiled fossil-scm server works, I suspect is something with the
fork/threads.
---
void __va_end(struct __va_list_struct *ap)
{
//free(ap);
}
Cheers !
On Thu, Mar 27, 2014 at 12:23 PM, Domingo Alvarez Duarte wrote:
And also on ubuntu 13.10 arm for the fossil-scm compiled with tcc:
==16261== Nulgrind, the minimal Valgrind tool
==16261== Copyright (C) 2002-2012, and GNU GPL'd, by Nicholas Nethercote.
==16261== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==16261== Command: bld/translate ./
Now that valgrind works I run it on linux X86_64 against fossil-scm
compiled with tcc and got this:
==32200== Nulgrind, the minimal Valgrind tool
==32200== Copyright (C) 2002-2013, and GNU GPL'd, by Nicholas Nethercote.
==32200== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==
Hello !
Trying to test tinycc on linux X86_64 I get this error with valgrind:
Inconsistency detected by ld.so: rtld.c: 1284: dl_main: Assertion
`_rtld_local._dl_rtld_map.l_libname' failed!
Comparing the headers generated by other compilers it seem that tinycc is
missing the PHDR entry, and makin
11 matches
Mail list logo