Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

icc-11 produces binaries with executable stacks (bad!)

mattst88
Beginner
289 Views
When testing icc-11 on Gentoo, we found that icc produces binaries with executable stacks, which are generally considered bad. See http://bugs.gentoo.org/show_bug.cgi?id=246516

Why is this? Is it a bug? Will it be fixed?
0 Kudos
1 Reply
Dale_S_Intel
Employee
289 Views
Quoting - mattst88
When testing icc-11 on Gentoo, we found that icc produces binaries with executable stacks, which are generally considered bad. See http://bugs.gentoo.org/show_bug.cgi?id=246516

Why is this? Is it a bug? Will it be fixed?

Well, to be honest I'm not real familiar with this particular detail, but my understanding is that icc does support binaries without executable stacks, though in some cases that may not be possible. Is the behavior seeing that it always produces binaries with executable stacks, or just sometimes? Can you describe a simple test case where I can see what you're seeing without building up an entire gentoo installation (though it is on my to-do list to do just that :-). I tried a trivial program with 11.0.081 and it seemed to act as expected, if I'm reading the out put of "execstack -q" properly. As I mentioned, though, I'm not terribly familiar with this feature, so if you can help enlightmen me that would be appreciated.

Thanks!
Dale

0 Kudos
Reply