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

Itanium C++ 9.1 on linux

suitam2003
Beginner
296 Views
The Itanium C++ compiler on linux libirc.a had been spun off libipgo.a for
profiling.
I got a linking error:
usr/bin/ld:myexecutable: hidden symbol '_PGOPTI_Prof_Div_VP" in libipgo.a(pgopti.o) is referenced by DSO.
When I read an article regarding preemptive symbols, it seemed that
a newer version ofld will detect incompatible symbol errors.
So my question is:
1) Is this error caused by the spunoff of the libipgo, because this error
did not happen in the 8.1 linux itanium compiler.
2) How can I get around this problem?
0 Kudos
1 Reply
mario__Intel_
Beginner
296 Views
Hi,

I'm not sure if I understand the problem. The function definition is in the library, so I'm wondering what the linker is complaining about.

nm libipgo.a | grep _PGOPTI_Prof_Div_VP
00000000000004b0 T _PGOPTI_Prof_Div_VP

What exactly do you do to trigger this problem. Have you updated ld or the binutils package. Which ld version you're using ?
0 Kudos
Reply