jvm-dump-proxy icon indicating copy to clipboard operation
jvm-dump-proxy copied to clipboard

relocation truncated to fit: R_X86_64_32S against `.bss'

Open yzp3646 opened this issue 4 years ago • 2 comments

I get some problems when I try to compile vm-dump-proxy: CMakeFiles\version.dir/objects.a(hook.cpp.obj):D:/xxxx/jvm-dump-proxy-master/proxy.h:13:(.text+0x3f): relocation truncated to fit: R_X86_64_32S against .bss' ;CMakeFiles\version.dir/objects.a(hook.cpp.obj):D:/teng/jvm-dump-proxy-master/proxy.h:14:(.text+0x49): relocation truncated to fit: R_X86_64_32S against .bss' all these problems aims to:

#define WRAPPER_GENFUNC(name)
FARPROC orig_##name;
extern "C" __declspec(naked) void ##name()
{
asm("jmp *orig
"#name);
} Look forward to receiving your immediate reply,thank you!

yzp3646 avatar Sep 29 '20 08:09 yzp3646

Hey, I'm not sure why you're getting this error. Are you compiling using mingw-w64 7.0.0+, as stated in the README? Could you give some details on how to reproduce this error?

ViRb3 avatar Sep 29 '20 23:09 ViRb3

This is an issue with using more recent versions of mingw, I can confirm it happens with 9+.

ViRb3 avatar Mar 02 '22 23:03 ViRb3