jvm-dump-proxy
jvm-dump-proxy copied to clipboard
relocation truncated to fit: R_X86_64_32S against `.bss'
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!
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?
This is an issue with using more recent versions of mingw, I can confirm it happens with 9+.