[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2007-01-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24959

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2006-03-03 Thread echristo at apple dot com
--- Comment #14 from echristo at apple dot com 2006-03-03 20:17 --- Fixed. -- echristo at apple dot com changed: What|Removed |Added Status|ASSIGNED

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2006-02-27 Thread echristo at apple dot com
--- Comment #13 from echristo at apple dot com 2006-02-28 01:48 --- Patch in testing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24959

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2006-02-27 Thread gcc at microbizz dot nl
--- Comment #12 from gcc at microbizz dot nl 2006-02-27 12:03 --- Subject: Re: Trampolines fail on i686-apple-darwin because stack is not executable I agree that calling mprotect is the best fix. Adriaan van Os -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24959

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2006-02-27 Thread echristo at apple dot com
--- Comment #11 from echristo at apple dot com 2006-02-27 08:35 --- There are two ways to fix this, the easiest way is to pass -allow_stack_execute through to the linker when we want an executable stack. This is problematic since we'll not be specifying it on the command line. We can tur

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2006-02-20 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-02-20 23:53 --- No longer working on this, too much troubles are causing to me to fix Darwin bugs. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2006-01-25 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-01-25 18:35 --- (In reply to comment #8) > Currently it is not necessary for powerpc, but Apple may indeed change > this in a future version of powerpc-darwin. In a way it is already needed for powerpc-darwin. -- http://gcc.gn

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2006-01-17 Thread gcc at microbizz dot nl
--- Comment #8 from gcc at microbizz dot nl 2006-01-17 15:30 --- Subject: Re: Trampolines fail on i686-apple-darwin because stack is not executable Currently it is not necessary for powerpc, but Apple may indeed change this in a future version of powerpc-darwin. -- http://gcc.gn

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2006-01-17 Thread ssen at opendarwin dot org
--- Comment #7 from ssen at opendarwin dot org 2006-01-17 15:15 --- I think this should be done for both PowerPC and x86 targets for Darwin. The vendor compiler rejects nested functions for both targets presumably because of this, and so trampolines should enable stack execution for both

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2006-01-11 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-01-12 01:57 --- I will submit this. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2006-01-11 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-01-12 01:56 --- gcc.c-torture/execute/2822-1.c fails the same way. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24959

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2005-11-22 Thread gcc at microbizz dot nl
--- Comment #4 from gcc at microbizz dot nl 2005-11-22 09:12 --- Subject: Trampolines fail on i686-apple-darwin because stack is not executable Clarification - I forgot to mention that the code above (the ENABLE_EXECUTE_STACK macro) must be added to gcc/config/i386/darwin.h not to gc

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2005-11-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfi

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2005-11-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-21 20:43 --- I should note that in Apple's GCC for i686-darwin, they warn about this. I think they should look into fixing the issue here. Anyways confirmed. -- pinskia at gcc dot gnu dot org changed: What|R

[Bug target/24959] Trampolines fail on i686-apple-darwin

2005-11-21 Thread gcc at microbizz dot nl
--- Comment #2 from gcc at microbizz dot nl 2005-11-21 19:28 --- Subject: Trampolines fail on i686-apple-darwin On closer inspection, the problem is that the stack is non-executable. Adding the following code (borrowed from gcc/config/netbsd.h) to darwin.h fixes the problem Adriaan

[Bug target/24959] Trampolines fail on i686-apple-darwin

2005-11-20 Thread gcc at microbizz dot nl
--- Comment #1 from gcc at microbizz dot nl 2005-11-20 21:17 --- Subject: Trampolines fail on i686-apple-darwin Note the gcc.c-torture/execute/nestfunc-5.c fails also (with a bus error). Adriaan van Os -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24959