- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I build a .so by icc 10.1.011 64bit version on linux.
but i got many segment fault when running .so.
i caught the segmentation fault in gdb. found all segmentation fault is due to icc use movaps to initialized struct or copy struct, the the variant doesn't aligned to 128bit.
which compile option should i use when i build 64bit .so to make sure all variant will be aligned to 128bit if it will use movaps?
i have tried dbg version and release version, they have the same issue.
for debug version, following compile optionare used:
-g -O0 -static-intel -pthread -fno-rtti -fno-exception
for release version
-static-intel -pthread -fno-rtti -fno-exception -O3
I also tried following options, results are same:(.
-alias, -ffnalias, -Zp16, -alias-args -falign-function=16..
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, we have use sse code in another files.
did you means if we have use sse code in project, icc will automatically generate code with sse intrinsics for all project?
but why i doesn't see segmentfaultation fault if i build it with icc 32bit version?
i also noticed in msvc2003 and msvc2005, it will use sse intrinsics automatically for 64bit compiler, how about icc?
i am afraid it is hard to seperate a example from my project, maybe i can paste some disassamle code from gdb, if it can give you some help.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page