Re: GCC's -fsplit-stack disturbing Mach's vm_allocate

2014-04-26 Thread Justus Winter
Quoting Svante Signell (2014-04-24 10:39:10) On Fri, 2014-04-18 at 10:03 +0200, Samuel Thibault wrote: Samuel Thibault, le Thu 17 Apr 2014 00:03:45 +0200, a écrit : Thomas Schwinge, le Wed 09 Apr 2014 09:36:42 +0200, a écrit : Well, the first step is to verify that

Re: your mail

2014-04-26 Thread Justus Winter
Quoting Solal (2014-04-24 09:53:45) ../device/net_io.c:1184:5: error: function definition is not allowed here { ^ 4 warnings and 1 error generated. You stumbled across the only file in gnumach containing nested functions. Maybe your compiler just does not support them? Justus

Re: your mail

2014-04-26 Thread Solal
What's nested functions? That's as closures in JavaScript? Le 26/04/2014 09:04, Justus Winter a écrit : Quoting Solal (2014-04-24 09:53:45) ../device/net_io.c:1184:5: error: function definition is not allowed here { ^ 4 warnings and 1 error generated. You stumbled across the only

Re: your mail

2014-04-26 Thread Justus Winter
Quoting Solal (2014-04-26 10:06:59) What's nested functions? It is a gcc extension: http://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html That's as closures in JavaScript? Yes. Justus

Re: GCC's -fsplit-stack disturbing Mach's vm_allocate

2014-04-26 Thread Svante Signell
±On Sat, 2014-04-26 at 08:53 +0200, Justus Winter wrote: Quoting Svante Signell (2014-04-24 10:39:10) On Fri, 2014-04-18 at 10:03 +0200, Samuel Thibault wrote: Samuel Thibault, le Thu 17 Apr 2014 00:03:45 +0200, a écrit : Thomas Schwinge, le Wed 09 Apr 2014 09:36:42 +0200, a écrit :

Re: GCC's -fsplit-stack disturbing Mach's vm_allocate

2014-04-26 Thread Justus Winter
Quoting Svante Signell (2014-04-26 13:59:57) For reference, here are my notes about one of these crashes (Svante, is this still current?): Yes it is, thanks for your help so far. Is the rpctrace bug you mentioned that the wrong ports are reported? ~~~ snip ~~~ [...]

Re: your mail

2014-04-26 Thread Justus Winter
Hi :) Quoting Solal (2014-04-26 11:29:06) How active them on LLVM? You don't: http://clang.llvm.org/docs/UsersManual.html#gcc-extensions-not-implemented-yet You could propose a patch to turn this into a normal function. Or you could use gcc. Justus

Re: your mail

2014-04-26 Thread Solal
I've tried to compile GCC but that's still LLVM which I call when I type gcc. Le 26/04/2014 15:59, Justus Winter a écrit : Hi :) Quoting Solal (2014-04-26 11:29:06) How active them on LLVM? You don't: http://clang.llvm.org/docs/UsersManual.html#gcc-extensions-not-implemented-yet You

Re: your mail

2014-04-26 Thread Justus Winter
Hey Solal :) Quoting Solal (2014-04-26 16:09:03) I've tried to compile GCC but that's still LLVM which I call when I type gcc. My mind-reading device tells me that you are using Mac OS X 10.9. Entering installing gcc on mac os x 10.9 into a popular search engine turned up various hits, e.g.:

Re: your mail

2014-04-26 Thread Solal
Le 26/04/2014 16:29, Justus Winter a écrit : Hey Solal :) Quoting Solal (2014-04-26 16:09:03) I've tried to compile GCC but that's still LLVM which I call when I type gcc. My mind-reading device tells me that you are using Mac OS X 10.9. Entering installing gcc on mac os x 10.9 into a