Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

Compile error on linux using -ipo

avayasheik
Beginner
155 Views
Hi;
I'm new here and not sure if this is the right place to seek assistance.

We recently downloaded an eval copy of 32 bit Intel Compose XE2011 for linux as we are looking
to possible switch compilers from gcc.

The system compiles ok but when I add the -ipo option, i get an error (below).
Anyone knows what might be the issue? Much oblighed.

intel-linux.link.dll /mcp/mcp_mas/mediaserver/bin/Linux/release/libmylib.so
ipo: remark #11000: performing multi-file optimizations
ipo-1: remark #11006: generating object file /tmp/ipo_icpc188woc1.o
ipo-2: remark #11006: generating object file /tmp/ipo_icpc188woc2.o
ipo-3: remark #11006: generating object file /tmp/ipo_icpc188woc3.o
ipo-4: remark #11006: generating object file /tmp/ipo_icpc188woc4.o
/tmp/icpcRc6RQcas_2.s: Assembler messages:
/tmp/icpcRc6RQcas_2.s:260185: Error: symbol `.single_core' is already defined
/tmp/icpcRc6RQcas_2.s:260187: Error: symbol `.multi_core' is already defined
/tmp/icpcRc6RQcas_2.s:260301: Error: symbol `.single_core' is already defined
/tmp/icpcRc6RQcas_2.s:260303: Error: symbol `.multi_core' is already defined
0 Kudos
3 Replies
Dale_S_Intel
Employee
155 Views
What's your environment? Are you building on the command line, with Makefiles or an IDE?
Any extra info you can provide may be helpful.
Thanks!
Dale
avayasheik
Beginner
155 Views
Hi Thanks for replying.
Acually there are some asm code in one file which aparrently ipo does not like. I commented them out and it compiles. I am using a Makefile.
Dale_S_Intel
Employee
155 Views
Can I assume that these asm blocks include labels like ".single_core" and ".multi_core"?
Dale
Reply