- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
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 ?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page