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

Availability -fsplit-stack with Intel compiler ?

aazue
New Contributor I
388 Views
Hii
Last Icc compiler version can drive flag proccess similar -fsplit-stack GCC for
large number thread or not ?

More information about :
http://gcc.gnu.org/wiki/SplitStacks

Also I don't even know if it could be an coexisting active with OpenMp
default initialized.
Regards
0 Kudos
3 Replies
Feilong_H_Intel
Employee
388 Views
Hi bustaf,

It appears that icc 12.0 doesn't support this option/feature yet. I'm submitting a feature request to our engineering team now.

Thank you.
--
Feilong H.
Intel Developer Support

Tools Knowledge Base: http://software.intel.com/en-us/articles/tools
0 Kudos
aazue
New Contributor I
388 Views
Hi Feilong H.
Thank for your answer
I have made several test Gnu compiler
Observed as that is true... in http://gcc.gnu.org/wiki/SplitStacks

When the linker links an executable or shared library,
it will look for calls from split-stack code to non-split-stack code.
This will include calls to non-split-stack shared libraries
(thus, a program linked against a split-stack shared library
may fail if at runtime the dynamic linker finds a non-split-stack shared library;
it might be desirable to use a new segment type to detect this situation).

Strange that it work without problem with OpenMp using build shared. (I have rebuild the source compiler
and gomp lib is without)

With my library are personal required it build also same...
To problem (runtime) side , use this flag I think is same you add the mother your
wife sharing your house....

When i find time i make test address breakpoint (BRK) to control if It work really on OpenMP..
Regards
0 Kudos
Feilong_H_Intel
Employee
388 Views

Hi bustaf,

This feature has been implemented in 16.0.  FYI.

Thanks.

0 Kudos
Reply