WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

GCC symbol resolution fails using recent mingw-64/gcc with ASLR #83

@merovingien

Description

@merovingien

Hello,

I try to profile and analyse a program compiled with gcc 11.2 from MSys2 project, and in all my tests I get a stack but functions, source files and lines are missing (Unknown).

I think that it may be caused by ASLR that is now enabled in all recent gcc / mingw64 releases. (https://www.msys2.org/news/#2021-01-31-aslr-enabled-by-default).

I tested with a mingw / gcc 7.5 (without ASLR) and it works.

I use last MTuner release from github (v4.5.0).

Thanks in advance for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions