Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7683 Discussions

Availability -fsplit-stack with Intel compiler ?

aazue
New Contributor I
192 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
192 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
aazue
New Contributor I
192 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
Feilong_H_Intel
Employee
192 Views

Hi bustaf,

This feature has been implemented in 16.0.  FYI.

Thanks.

Reply