[Tinycc-devel] tcc now displays the right system name with -v or -vv

2016-10-15 Thread Christian Jullien
Please feel free to add your favorite system here : --- a/tcc.c +++ b/tcc.c @@

[Tinycc-devel] anyone ?

2016-10-15 Thread naruto canada
hi anyone ? ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] cleanups

2016-10-15 Thread David Mertens
D'oh! Thanks! On Sat, Oct 15, 2016 at 6:09 PM, Michael Matz wrote: > Hello, > > On Sat, 15 Oct 2016, David Mertens wrote: > > This commit: >> >> 0a624782dfc8fee6f0600066b135d3b20e4274f4 >> >> causes "make test" to fail on my 64-bit Linux (ubuntu 16.04). Any idea of >>

Re: [Tinycc-devel] cleanups

2016-10-15 Thread David Mertens
Ah, now I get errors running the preprocessor tests. Here's a representative result: PPTest 14 ... --- 14.expect2016-10-15 13:07:53.790016538 -0400 +++ 14.output2016-10-15 22:36:25.971293975 -0400 @@ -1,3 +1,8 @@ + return Z(Z(1,2),2); + return Q(1,2); + return ((A + A) * (A + A)) + ((B

Re: [Tinycc-devel] cleanups

2016-10-15 Thread Michael Matz
Hi, On Sat, 15 Oct 2016, David Mertens wrote: Ah, now I get errors running the preprocessor tests. Here's a representative result: PPTest 14 ... --- 14.expect    2016-10-15 13:07:53.790016538 -0400 +++ 14.output    2016-10-15 22:36:25.971293975 -0400 @@ -1,3 +1,8 @@ +  return Z(Z(1,2),2); +  

Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues

2016-10-15 Thread Michael Matz
Hi, On Sat, 15 Oct 2016, grischka wrote: Christian Jullien wrote: Ok, The point is that it compiles ROOTB but then a single line program using only ISO include and std C library fails because of __aligned in a **system** header. I agree that __aligned is a probably a macro or a gcc FreeBSD

Re: [Tinycc-devel] cleanups

2016-10-15 Thread Michael Matz
Hello, On Sat, 15 Oct 2016, David Mertens wrote: This commit: 0a624782dfc8fee6f0600066b135d3b20e4274f4 causes "make test" to fail on my 64-bit Linux (ubuntu 16.04). Any idea of what's going on? Below is the output of "make" followed by "make test". $ make test ../tcc -B.. -I/include -I -I..

Re: [Tinycc-devel] tcc now displays the right system name with -v or -vv

2016-10-15 Thread Christian Jullien
Right, Google pretends it's 'DragonFly BSD' with a space. Done in mod. Thanks. From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of Michael B. Smith Sent: samedi 15 octobre 2016 19:54 To: tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] tcc now displays

Re: [Tinycc-devel] tcc now displays the right system name with -v or -vv

2016-10-15 Thread Michael B. Smith
Sorry. I really wasn't serious. I've known Matt for over 20 years, although you would probably have to remind him about "dcc" and "AmigaUUCP" for him to remember me. :) I think his take on the kernel is very interesting. But I haven't had time to get involved - yet. From: Tinycc-devel

[Tinycc-devel] save_reg_upstack miscompile

2016-10-15 Thread Michael Matz
Hi grischka, commit b69158578 "tccgen: arm/i386: save_reg_upstack" miscompiles tccboot. It ultimately boils down to this routine: % cat bug.c #define APIC_DIVISOR 16 #define HZ 1000 extern long getl(); extern unsigned long long getull(); extern void printk(const char *, ...); int

Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues

2016-10-15 Thread Christian Jullien
Ok Michael, It is defined in sys/cdefs.h as: #if __GNUC_PREREQ__(2, 7) || defined(__INTEL_COMPILER) #define __dead2 __attribute__((__noreturn__)) #define __pure2 __attribute__((__const__)) #define __unused__attribute__((__unused__)) #define __used

Re: [Tinycc-devel] tcc now displays the right system name with -v or -vv

2016-10-15 Thread Michael B. Smith
Shouldn't it be DragonFlyBSD ?? :) From: Tinycc-devel [mailto:tinycc-devel-bounces+michael=theessentialexchange@nongnu.org] On Behalf Of Christian Jullien Sent: Saturday, October 15, 2016 3:53 AM To: tinycc-devel@nongnu.org Subject: [Tinycc-devel] tcc now displays the right system name with

Re: [Tinycc-devel] cleanups

2016-10-15 Thread David Mertens
This commit: 0a624782dfc8fee6f0600066b135d3b20e4274f4 causes "make test" to fail on my 64-bit Linux (ubuntu 16.04). Any idea of what's going on? Below is the output of "make" followed by "make test". David $ make gcc -o tcc.o -c tcc.c -DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\""

Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues

2016-10-15 Thread Christian Jullien
+++ 46_grep.output  2016-10-15 18:14:30.387382000 +0200 Was easy to fix in http://repo.or.cz/tinycc.git/commitdiff/06db384f8a557c05f68e6a4d465031d051ab 1d45 --- a/libtcc.c +++ b/libtcc.c @@ -847,6 +847,8 @@ LIBTCCAPI TCCState *tcc_new(void)  # endif  # if defined(__FreeBSD__)  

[Tinycc-devel] Governance (Re: cleanups)

2016-10-15 Thread David Mertens
Hello all, Jean-Claude articulates concerns I have felt as well. Sometimes we'll get a series of ridiculous commits from hitherto unknown programmers trying to "help". Sometimes we get commits from people trying to extend tcc's behavior beyond its core intent. Other times core hackers (OK, mostly

Re: [Tinycc-devel] Governance (Re: cleanups)

2016-10-15 Thread Christian Jullien
Gentlemen, I will don’t blame anybody here, especially Grischka that does an amazing job. The real issue I see with most computer languages having ports on different systems and processors is that they lack of compressive test suite and tcc is not an exception. Here, I’m not talking about

Re: [Tinycc-devel] Governance (Re: cleanups)

2016-10-15 Thread Chris Marshall
I would like to have the ability to contribute to tcc in a more structured fashion. I have been working to get tcc to build/run on cygwin but only in private work. Without a way to publicly contribute to tcc development I have little hope of having other contributers to assist with the cygwin

[Tinycc-devel] Removal of certain windows headers---why?

2016-10-15 Thread David Mertens
Hello everyone, A couple of weeks ago Grishka removed some header files copied from the msys project. (Or is in MinSys? I don't know, but you know what I'm talking about.) These were added so that tcc could compile Perl header files on Windows. I had previously added a number of msys files to tcc

Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues

2016-10-15 Thread grischka
Christian Jullien wrote: Ok, The point is that it compiles ROOTB but then a single line program using only ISO include and std C library fails because of __aligned in a **system** header. I agree that __aligned is a probably a macro or a gcc FreeBSD specific extension, but no one wants to