MTuner icon indicating copy to clipboard operation
MTuner copied to clipboard

libdep.a (i.e. binutils under MSYS2) is either not designed to run on Microsoft Windows or it contains an error

Open phobos-dthorga opened this issue 4 years ago • 11 comments

Hello!

In the process of attempting to use your amazing memory profiling application, I am greeted with the following error depicted at the screenshot [ 1 ] shown below.

[ 1 ] - https://imgur.com/a/MNi1e34

The library it references seems to be tied towards binutils within MSYS2 which we use for compiling our Small World Deluxe project (i.e. the application under test) and we are not able to proceed any further from here, with MTuner immediately freezing after closing that dialog (which appears at least twice). We have to forcibly end the task.

I see that MSYS2 is referenced within the Issues database of this project (see: Issue #38), albeit sometime ago, so I'm not sure why support for it is no longer present? Unless perhaps something has changed in the meantime since then. Any and all help would be sincerely appreciated, thank you, as I'd very much like to use MTuner as part of the testing and qualifying process for Small World Deluxe.

-- Regards, Phobos D'thorga

phobos-dthorga avatar Feb 08 '21 14:02 phobos-dthorga

Can you attach the screenshot here? I can't seem to open it.

milostosic avatar Feb 09 '21 02:02 milostosic

Hello @milostosic,

Apologies, I didn't know you could attach screenshots to GitHub! You may view it below :)

MTuner_77CuAfoWpR

-- Regards, Phobos D'thorga

phobos-dthorga avatar Feb 09 '21 06:02 phobos-dthorga

Getting the same error when building open source package harbour.

prgwiz avatar Feb 25 '21 16:02 prgwiz

the same error

Since quite a few people seem to have this problem - does anyone have a simple way to reproduce it? Would save me a lot of time that I'm quite short on anyway

milostosic avatar Feb 26 '21 02:02 milostosic

I have no clue how you'd reproduce this. Hopefully, someone knows a way.

phobos-dthorga avatar Feb 26 '21 03:02 phobos-dthorga

https://github.com/MarcosLeonardoMendezGerencir/hb-raylib This library gives the error

It's clearly toolchain related and, by extension, build process used. So sending me a link to code doesn't help - if you can share your build process/scripts that I can follow to locally reproduce a problem then it should be reasonably fast for me to find the problem.

milostosic avatar Feb 26 '21 08:02 milostosic

Does it have something to do with the executables being dependent on the libwinpthread-1.dll?

Looks like it has something to do with the ar command. Capture

prgwiz avatar Mar 04 '21 14:03 prgwiz

https://github.com/msys2/MINGW-packages/issues/7890

prgwiz avatar Mar 04 '21 14:03 prgwiz