Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7805845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:20:30+00:00 2026-06-02T02:20:30+00:00

I am using MinGW for the 64 bit platform to compile a simple c++

  • 0

I am using MinGW for the 64 bit platform to compile a simple c++ test application:

g++ -g3 -c test.cpp
g++ test.o -o test

With the -g3 flag test.exe should now contain all necessary symbol information for profiling it… is this correct?

When I make a hotspot analysis with VTune Amplifyer XE it shows me a callstack like this:

test.exe![test.exe] - [Unknown]
test.exe![test.exe]+0x15fa - [Unknown]
test.exe![test.exe]+0x13cd - [Unknown]
test.exe![test.exe]+0x14e7 - [Unknown]
kernel32.dll!BaseThreadInitThunk+0x1f33c - [Unknown]
ntdll.dll!RtlUserThreadStart+0x32ca0 - [Unknown]

When clicking on one of these items it shows me assembly code and for the top most element it says: “Failed to show source and assembly code”.

This doesn’t change, if I specify the source code/binary directory in the VTune project settings.

How should I compile my program or set up VTune in order to get more meaningful results?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T02:20:32+00:00Added an answer on June 2, 2026 at 2:20 am

    The reason for this is, that currently only the linux version of VTune supports standard debug formats like f.e. dwarf. The windows version only understands the microsoft PDB files.
    Apparently supporting dwarf is a feature request for the windows version (see this thread).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have downloaded MinGW-64, so I can now compile 64-bit programs for Windows 7,
I am trying to learn the wxWidgets library, using MinGW and msys to compile
Is there possibility to compile windows service using only mingw c++ compiler and library?
I want to make my C++ project cross platform, and I'm considering using Cygwin/MinGW.
I use GNUStep to compile Objective-C on Windows 7 using GCC and MinGW. I'd
I'm using minGW on windows, trying to compile a c++ program. I've used sockets
I would like to test bit size of unsigned long using macro. One would
I'm using MinGW with GCC 3.4.5 (mingw-special vista r3). My C application uses a
I'm trying to compile this program using MinGW on Windows 7. On my first
I have a bunch of old C code, which I compiled using MinGW, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.