On 11/20/2018 10:50 PM, Ozkan Sezer wrote:
On 11/21/18, Edward Diener <[email protected]> wrote:
I am building an application using clang-7.0 targeting gcc with
mingw-64/gcc-8.1 as the backend. The application shows no errors
compiling or linking. When I try to debug the application I get the
messages from within gdb:

[New Thread 6432.0x1b38]
Mingw-w64 runtime failure:
    Unknown pseudo relocation protocol version 65536

When building/running the same application with just mingw-64/gcc-8.1
everything works fine.

I realize that this is a clang-7.0 problem and may well be that I can
not use gcc-8.1 as my clang-7.0 backend for some reason. But I was
wondering if anybody on the mingw-64/gcc side would have any idea what
would cause the run-time error to occur ?


This may be related:
https://sourceware.org/bugzilla/show_bug.cgi?id=23872

If it is the case, you will need an updated binutils
(or manually edit your linker scripts.)

Thanks for the help.

How do I get an updated binutils for mingw.w64 ?
Where is the linker script located in a mingw.w64 distro ?





_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to