- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I am trying to profiling a C program using Vtune. on Linux.
the error shows below:
I tried the compile flag -u SYMBOL as another post on 2017.
but it remain the same. I cannot understand the problem.
Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities. We were unable to reproduce the issue from our end. Steps we followed are mentioned below. Could you please provide the following information so that we can investigate the issue from our end?
1. A minimal sample reproducer code
2. Steps to reproduce the issue
3. Vtune version
“If the binary file does not export some of the symbols, use the -u linker switch (for example, specify -Wl,-u__errno_location if you use compiler for linking) to include symbols into the binary file at the linking stage of compilation.”
While we investigate the issue from our end, could you please try -Wl,-u__errno_location if you are using compiler for linking
Please refer the latest documentation on Analyze Statically Linked Binaries on Linux* Targets for more information on the error: https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/linux-targets/analyze-statically-linked-binaries-linux-targets.html
Steps we tried from our end
1. Created a sample c program program.c
2.
icc -O2 -g program.c -o program2
(Refer Prepare a C++ Application on Linux for more information)
3.
vtune -collect performance-snapshot -- ./program2 //ran performance snapshot on it
Regards
Gopika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have not heard from you. Is your issue is resolved? Can we discontinue monitoring this thread?
Regards
Gopika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.
Regards
Gopika

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