Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Maarten_Hoeben1
Beginner
1,099 Views

Execstack on Linux intel64 libraries

Hi,
We found that the execstack flag is set for the intel64shared library binaries. We find this generally undesirable, although we understand that for some optimizations executing from the local stack may be required to get the most out of the platform, we would like to know how to work around requiring our application to inherit this. Are there libraries available that do not require execstack? Is there an overview of which functions require execstack?
Thanks in advance for the response.
Maarten Hoeben
0 Kudos
3 Replies
Ying_H_Intel
Employee
1,099 Views

Hi Maarten,

The Intel 64 shared library, do you mean the IPP 7.0.6 or IPP 7.0.7 for linux, right?

And your question have been escalated to IPP developer. Hope get back to you soon.

Regards,
Ying
Ying_H_Intel
Employee
1,099 Views

Hi Maarten,

Our developer investigated the problem and verified we dont set the flag for shared libraries. So haven't idea about what we can do here.

Regards,
Ying
Tom_Truscott
Beginner
1,099 Views

The problem is likely one or more assembler (.s) files that lack the following line, which icc/icpc/... puts at the end of the assembler output:

        .section        .note.GNU-stack,"",@progbits

This indicates that the .s code does not need an executable stack.  The linux linker default is to mark its output "execstack" unless *all* the objectsin the link have this note.

(The MKL library has many 100s of machine-generated .s files that neglect this detail.)

Reply