Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-16 Thread grischka

Basile STARYNKEVITCH wrote:


It does not compile the GCC trunk rev 147441 on Debian/AMD64

/usr/src/Lang/gcc-trunk-bstarynk/configure --disable-bootstrap 
--enable-languages=c --with-ppl=/usr/local CC=tcc
tcc -c -DHAVE_CONFIG_H -g  -I. 
-I/usr/src/Lang/gcc-trunk-bstarynk/libiberty/../include  -W -Wall 
-Wwrite-strings -Wc++-compat -Wstrict-prototypes 
/usr/src/Lang/gcc-trunk-bstarynk/libiberty/cp-demangle.c -o cp-demangle.o
/usr/src/Lang/gcc-trunk-bstarynk/libiberty/cp-demangle.c:4520: constant 
expression expected


The faulty lines are
 {
#ifdef CP_DYNAMIC_ARRAYS
   __extension__ struct demangle_component comps[di.num_comps];
   __extension__ struct demangle_component *subs[di.num_subs];


#else
???

I figure there is maybe code for compilers that don't have dynamic
arrays.  There are some C99 extensions in TinyCC, just not this
one (yet?).

--- grischka



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-16 Thread Stefan de Konink

Basile STARYNKEVITCH wrote:

The faulty lines are
 {
#ifdef CP_DYNAMIC_ARRAYS
   __extension__ struct demangle_component comps[di.num_comps];
   __extension__ struct demangle_component *subs[di.num_subs];



I had to disable this for binutils as well.


Stefan


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-14 Thread grischka

Stefan de Konink wrote:

Stefan de Konink wrote:

grischka wrote:

I have put together a release candidate for 0.9.25:

http://repo.or.cz/w/tinycc.git

which I plan to upload at savannah in a week or so.  Say unless
there is something important still missing.


I think getting any of the previously known alloca patches in before 
the next release would probably make us compatible with binutils 
aswell...


Compatible in what sense?

I found this one; it doesn't cleanly apply anymore, so might need some 
loving: http://www.dwheeler.com/trusting-trust/alloca-v3.patch


There is something in mob now...



Looks like it's missing something.  Also, what's wrong with
the alloca that we already have?

--- grischka



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-14 Thread Basile STARYNKEVITCH

grischka wrote:

Stefan de Konink wrote:

Stefan de Konink wrote:

grischka wrote:

I have put together a release candidate for 0.9.25:

http://repo.or.cz/w/tinycc.git



It does not compile the GCC trunk rev 147441 on Debian/AMD64

/usr/src/Lang/gcc-trunk-bstarynk/configure --disable-bootstrap 
--enable-languages=c --with-ppl=/usr/local CC=tcc
tcc -c -DHAVE_CONFIG_H -g  -I. 
-I/usr/src/Lang/gcc-trunk-bstarynk/libiberty/../include  -W -Wall 
-Wwrite-strings -Wc++-compat -Wstrict-prototypes 
/usr/src/Lang/gcc-trunk-bstarynk/libiberty/cp-demangle.c -o cp-demangle.o
/usr/src/Lang/gcc-trunk-bstarynk/libiberty/cp-demangle.c:4520: constant 
expression expected


The faulty lines are
 {
#ifdef CP_DYNAMIC_ARRAYS
   __extension__ struct demangle_component comps[di.num_comps];
   __extension__ struct demangle_component *subs[di.num_subs];

Regards

--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basileatstarynkevitchdotnet mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-13 Thread Stefan de Konink

grischka wrote:

I have put together a release candidate for 0.9.25:

http://repo.or.cz/w/tinycc.git

which I plan to upload at savannah in a week or so.  Say unless
there is something important still missing.


I think getting any of the previously known alloca patches in before the 
next release would probably make us compatible with binutils aswell...



I found this one; it doesn't cleanly apply anymore, so might need some 
loving: http://www.dwheeler.com/trusting-trust/alloca-v3.patch


Stefan


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-13 Thread Stefan de Konink

Stefan de Konink wrote:

grischka wrote:

I have put together a release candidate for 0.9.25:

http://repo.or.cz/w/tinycc.git

which I plan to upload at savannah in a week or so.  Say unless
there is something important still missing.


I think getting any of the previously known alloca patches in before the 
next release would probably make us compatible with binutils aswell...



I found this one; it doesn't cleanly apply anymore, so might need some 
loving: http://www.dwheeler.com/trusting-trust/alloca-v3.patch


There is something in mob now...


Stefan


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-12 Thread Stefan de Konink

Stefan de Konink wrote:

Stefan de Konink wrote:

grischka wrote:

I have put together a release candidate for 0.9.25:

http://repo.or.cz/w/tinycc.git

which I plan to upload at savannah in a week or so.  Say unless
there is something important still missing.

--- grischka


Does this release also have support for uclibc?


Negative :(


Could anyone help me with detecting uclibc and use the applied target? 
In anycase the attached patch works :)



Stefan
diff --git a/tccelf.c b/tccelf.c
index 5971442..8de293a 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -1279,6 +1279,8 @@ static char elf_interp[] = /usr/libexec/ld-elf.so.1;
 static char elf_interp[] = /lib/ld-linux.so.3;
 #elif defined(TCC_TARGET_X86_64)
 static char elf_interp[] = /lib/ld-linux-x86-64.so.2;
+#elif defined(TCC_TARGET_UCLIBC)
+static char elf_interp[] = /lib/ld-uClibc.so.0;
 #else
 static char elf_interp[] = /lib/ld-linux.so.2;
 #endif
___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-12 Thread Stefan de Konink

grischka wrote:

Does this work:
http://repo.or.cz/w/tinycc.git?a=commitdiff;h=41530212587759831141f993e80fdbcd263e4c72 



Btw, you can push anytime on our mob branch:
$ git push ssh://m...@repo.or.cz/srv/git/tinycc.git mob:mob


For some strange reason I don't see your patch. I do see it on the web.

How do I check it out?


git pull
git checkout mob

doesn't show me your changes :S


Stefan



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-12 Thread Stefan de Konink

Stefan de Konink wrote:

doesn't show me your changes :S


NVM :)

git checkout -b mob origin/mob


:)


Stefan


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-12 Thread Stefan de Konink

grischka wrote:

Does this work:
http://repo.or.cz/w/tinycc.git?a=commitdiff;h=41530212587759831141f993e80fdbcd263e4c72 


It does! I think you should announce this on the uclibc list for the 
next release too :) :) I don't know if the 64bit compilation of uclibc 
does something special with the same file, we might need to catch that too.



Stefan


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-12 Thread grischka

Stefan de Konink wrote:

grischka wrote:

Does this work:
http://repo.or.cz/w/tinycc.git?a=commitdiff;h=41530212587759831141f993e80fdbcd263e4c72 



It does! I think you should announce this on the uclibc list for the 
next release too :) :) 


Maybe you can do that? ;)

I don't know if the 64bit compilation of uclibc does something 
special with the same file, we might need to catch that too.


Okay, so like this:
http://repo.or.cz/w/tinycc.git?a=commitdiff;h=30739cb068bead21f61b94d606b24b724a9e3473;hp=bf8d8f5f3e0a15c790adeb13eae68091d52fb58f

Actually it could be done in configure, maybe something with uname 

--- grischka



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-12 Thread Stefan de Konink

grischka wrote:

Stefan de Konink wrote:

grischka wrote:

Does this work:
http://repo.or.cz/w/tinycc.git?a=commitdiff;h=41530212587759831141f993e80fdbcd263e4c72 




It does! I think you should announce this on the uclibc list for the 
next release too :) :) 


Maybe you can do that? ;)


I'll do it when you announce the changelog ;)


Okay, so like this:
http://repo.or.cz/w/tinycc.git?a=commitdiff;h=30739cb068bead21f61b94d606b24b724a9e3473;hp=bf8d8f5f3e0a15c790adeb13eae68091d52fb58f 


That is the same or not?


Stefan


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-12 Thread Stefan de Konink

grischka wrote:

Stefan de Konink wrote:

I'll do it when you announce the changelog ;)


Thanks.


Okay, so like this:
http://repo.or.cz/w/tinycc.git?a=commitdiff;h=30739cb068bead21f61b94d606b24b724a9e3473;hp=bf8d8f5f3e0a15c790adeb13eae68091d52fb58f 




That is the same or not?


No.  See the shortlog
http://repo.or.cz/w/tinycc.git?a=shortlog;h=refs/heads/mob


Ok, I now see... what I ment, maybe the linker in 64bit mode has got a 
different filename.



Stefan


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


[Tinycc-devel] release 0.9.25 candidate

2009-05-11 Thread grischka

I have put together a release candidate for 0.9.25:

http://repo.or.cz/w/tinycc.git

which I plan to upload at savannah in a week or so.  Say unless
there is something important still missing.

--- grischka



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-11 Thread Stefan de Konink

grischka wrote:

I have put together a release candidate for 0.9.25:

http://repo.or.cz/w/tinycc.git

which I plan to upload at savannah in a week or so.  Say unless
there is something important still missing.

--- grischka


Does this release also have support for uclibc?


Stefan


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] release 0.9.25 candidate

2009-05-11 Thread pancake
Would be good to send the changelog together with the release announce  
email.


Congratulations for the release :)

On May 11, 2009, at 7:18 PM, grischka gris...@gmx.de wrote:


I have put together a release candidate for 0.9.25:

   http://repo.or.cz/w/tinycc.git

which I plan to upload at savannah in a week or so.  Say unless
there is something important still missing.

--- grischka



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel




___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel