![](https://secure.gravatar.com/avatar/58a5209b61cc09379468fe48275f2ddf.jpg?s=120&d=mm&r=g)
On Wed, 23 Feb 2005 06:22:11 -0500, Ivan Gyurdiev wrote:
Can it be corrected, then?
Maybe, but you need to find out why GCC is triggering PT_GNU_STACK generation. At various times GCC will generate trampolines on the stack, the Ada compiler does this in particular so maybe these days g++ does too.
Once we understand why it's being generated, then it makes sense to talk about overriding it.
Well, I wouldn't know why exactly it gets marked RWE, but that's what happens. This is gcc-3.4.3-19
Unless it was changed yet again, this version should not put the marker in as soon as it sees inline assembly. So it may be some other issue.
You could start by figuring out which .o file causes it (using objdump or something?) and then get G++ to spit out the assembly it's producing and look at that. Or just try disabling all the MMX in the build and see if it affects it.
thanks -mike